@byteluck-fe/model-driven-core-all 1.7.7 → 1.7.9
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 +1 -1
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var In=(c,we,Xe)=>new Promise((Wf,Nn)=>{var Kf=ye=>{try{Tt(Xe.next(ye))}catch(St){Nn(St)}},Xf=ye=>{try{Tt(Xe.throw(ye))}catch(St){Nn(St)}},Tt=ye=>ye.done?Wf(ye.value):Promise.resolve(ye.value).then(Kf,Xf);Tt((Xe=Xe.apply(c,we)).next())});(function(c,we){typeof exports=="object"&&typeof module!="undefined"?we(exports):typeof define=="function"&&define.amd?define(["exports"],we):(c=typeof globalThis!="undefined"?globalThis:c||self,we(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Xe=function e(){we(this,e)};function Wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Nn=function e(){Wf(this,e)},Kf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Xf="\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",aw="{caption}\u5FC5\u586B",lw="\u8BF7\u8F93\u5165\u6807\u9898",sw="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",yw="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",vw="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",hw="\u8BF7\u7ED1\u5B9A\u8868\u5355",_w="\u8BF7\u7ED1\u5B9A\u5217\u8868",dw="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",pw="\u8BF7\u8F93\u5165\u663E\u793A\u503C",bw="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ow="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",gw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",mw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Pw="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Rw="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ww="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",$w="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Tw="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Sw="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Ew="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Iw="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Nw="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Cw="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Bw="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",jw="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",kw="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Aw="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Mw="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Dw="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Fw="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Lw="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xw="\u8BF7\u9009\u62E9\u7701",zw="\u8BF7\u9009\u62E9\u5E02",Gw="\u8BF7\u9009\u62E9\u533A",Vw="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Hw="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Yw="\u8BF7\u8F93\u5165\u5217\u5BBD",qw="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Uw="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ww="\u8BF7\u9009\u62E9\u63A7\u4EF6",Kw="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Xw="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Qw="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Jw="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Zw="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",e$="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",t$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",n$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",r$="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",o$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",i$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",u$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",c$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",f$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",a$="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",l$="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",s$="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",y$="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",v$="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",h$="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_$="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",d$={isNotNumber:Kf,isNotString:Xf,isNotObject:Tt,isNotArray:ye,isNotBoolean:St,runtimeRequired:aw,pleaseEnterCaption:lw,pleaseEnterCaptionTip:sw,pleaseEnterPlaceholder:yw,pleaseEnterFieldCode:vw,pleaseEnterForm:hw,pleaseEnterList:_w,pleaseEnterProcess:dw,pleaseEnterLabel:pw,pleaseEnterValue:bw,bizKeyNotBindFiled:Ow,pleaseEnterNumberRange:gw,pleaseEnterAValueGreaterThanMin:mw,pleaseEnterAValueLessThanMax:Pw,numberRangeSetError:Rw,stringRangeError:ww,attachmentMaxSize:$w,pleaseEnterTotalScoreSetting:Tw,theTotalScoreMustNotBeLessThan1:Sw,scoreDefaultValueRange:Ew,attachmentLimitError:Iw,PleaseReselectTheOptionalQuantity:Nw,TheMaximumLengthIsGreaterThanTheMinimumLength:Cw,TheMinimumLengthIsGreaterThanTheMaximumLength:Bw,PleaseSelectTheCorrectOptionSettings:jw,optionIdIsRepeat:kw,optionIsRequired:Aw,pleaseEnterDataCode:Mw,pleaseEnterValueFieldCode:Dw,pleaseEnterSvcCode:Fw,pleaseBindAtLeastOneDisplayValue:Lw,pleaseSelectProvince:xw,pleaseSelectCity:zw,pleaseSelectDistrict:Gw,limitRowsCannotBeLessThan0:Vw,TheNumberOfRowsCannotBeLessThanMinRows:Hw,pleaseEnterColumnWidth:Yw,pleaseSetTheLogicalRelationshipOfAllRuleConditions:qw,pleaseCompleteAllRulesAndConditions:Uw,pleaseSelectControl:Ww,pleaseSelectAtLeastOneColumn:Kw,pleaseSelectFillBackMode:Xw,pleaseSelectDashboard:Qw,rootNodeIsRequired:Jw,theViewNameCannotBeEmpty:Zw,pleaseSelectOcrType:e$,pleaseSelectAtLeastOneFieldToFillIn:t$,pleaseChooseAtLeastOne:n$,pleaseEnterButtonContent:r$,pleaseEnterDataCodeInDataSetting:o$,pleaseEnterValueFieldCodeInDataSetting:i$,pleaseEnterSvcCodeInDataSetting:u$,pleaseBindAtLeastOneDisplayValueInDataSetting:c$,rootNodeIsRequiredInDataSetting:f$,pleaseEnterMaxHeight:a$,pleaseEnter:l$,pleaseEnterWatermark:s$,pleaseEnterFileName:y$,pleaseUploadAtLeastOnePrintTemplate:v$,pleaseAssignBusiness:h$,pleaseAssignExternal:_$},p$="Please enter a number",b$="Please enter a string",O$="Please enter an object",g$="Please enter an array",m$="Please enter a boolean",P$="{caption} Required",R$="Please enter the title",w$="Please enter the bubble prompt",$$="Please enter the prompt text",T$="Please bind data items",S$="Please bind the form",E$="Please bind the list",I$="Please bind the process",N$="Please enter the displayed value",C$="Please enter the stored value",B$="The document number is not bound to the data item",j$="Please enter a value greater than or equal to {min} and less than or equal to {max}",k$="Please enter a value greater than or equal to {min}",A$="Please enter a value less than or equal to {max}",M$="The value range is set incorrectly",D$="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",F$="The attachment size must be between 0MB and 1000MB",L$="Please fill in the total score setting",x$="The total score cannot be less than 1",z$="The default value must be between {min} and {max}",G$="The number of attachments uploaded must be between {min} and {max}",V$="Please re-select the optional quantity",H$="The maximum length of the control must be greater than the minimum length",Y$="The minimum length of the control must be less than the maximum length",q$="Please select the correct option setting",U$="Option ID cannot be repeated",W$="Please enter at least one option",K$="Please bind the data source",X$="Please bind the stored value",Q$="Please bind the service",J$="At least one display value must be bound",Z$="Please select a province",eT="Please select a city",tT="Please select a district",nT="The minimum number of lines to fill in cannot be less than 0",rT="The number of rows cannot be less than {min} rows",oT="Please enter the column width",iT="Please set the logical relationship of all rule conditions",uT="Please complete all rules and conditions",cT="please select control",fT="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",aT="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",lT="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",sT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",yT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",vT="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",hT="\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",dT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",pT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",bT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",OT="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",gT="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",mT="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",PT="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",RT="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",wT="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$T="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",TT={isNotNumber:p$,isNotString:b$,isNotObject:O$,isNotArray:g$,isNotBoolean:m$,runtimeRequired:P$,pleaseEnterCaption:R$,pleaseEnterCaptionTip:w$,pleaseEnterPlaceholder:$$,pleaseEnterFieldCode:T$,pleaseEnterForm:S$,pleaseEnterList:E$,pleaseEnterProcess:I$,pleaseEnterLabel:N$,pleaseEnterValue:C$,bizKeyNotBindFiled:B$,pleaseEnterNumberRange:j$,pleaseEnterAValueGreaterThanMin:k$,pleaseEnterAValueLessThanMax:A$,numberRangeSetError:M$,stringRangeError:D$,attachmentMaxSize:F$,pleaseEnterTotalScoreSetting:L$,theTotalScoreMustNotBeLessThan1:x$,scoreDefaultValueRange:z$,attachmentLimitError:G$,PleaseReselectTheOptionalQuantity:V$,TheMaximumLengthIsGreaterThanTheMinimumLength:H$,TheMinimumLengthIsGreaterThanTheMaximumLength:Y$,PleaseSelectTheCorrectOptionSettings:q$,optionIdIsRepeat:U$,optionIsRequired:W$,pleaseEnterDataCode:K$,pleaseEnterValueFieldCode:X$,pleaseEnterSvcCode:Q$,pleaseBindAtLeastOneDisplayValue:J$,pleaseSelectProvince:Z$,pleaseSelectCity:eT,pleaseSelectDistrict:tT,limitRowsCannotBeLessThan0:nT,TheNumberOfRowsCannotBeLessThanMinRows:rT,pleaseEnterColumnWidth:oT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:iT,pleaseCompleteAllRulesAndConditions:uT,pleaseSelectControl:cT,pleaseSelectDashboard:fT,theViewNameCannotBeEmpty:aT,pleaseSelectOcrType:lT,pleaseSelectAtLeastOneFieldToFillIn:sT,pleaseChooseAtLeastOne:yT,pleaseEnterButtonContent:vT,pleaseEnterDataCodeInDataSetting:hT,pleaseEnterValueFieldCodeInDataSetting:_T,pleaseEnterSvcCodeInDataSetting:dT,pleaseBindAtLeastOneDisplayValueInDataSetting:pT,rootNodeIsRequiredInDataSetting:bT,pleaseEnterMaxHeight:OT,pleaseEnter:gT,pleaseEnterWatermark:mT,pleaseEnterFileName:PT,pleaseUploadAtLeastOnePrintTemplate:RT,pleaseAssignBusiness:wT,pleaseAssignExternal:$T},ST="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ET="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",IT="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",NT="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CT="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",BT="{caption}\u5FC5\u9808",jT="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kT="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",AT="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MT="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",DT="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",FT="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",LT="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xT="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zT="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",GT="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",VT="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",HT="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YT="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qT="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",UT="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WT="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",KT="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",XT="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",QT="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",JT="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ZT="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eS="\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",tS="\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",nS="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rS="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",oS="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",iS="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uS="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cS="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fS="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",aS="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lS="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sS="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yS="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vS="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hS="\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",dS="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",pS="please select control",bS="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",OS="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gS="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",mS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",PS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",RS="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$S="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",TS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",SS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ES="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",IS="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",NS="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",CS="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",BS="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",jS="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",kS="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",AS="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",MS={isNotNumber:ST,isNotString:ET,isNotObject:IT,isNotArray:NT,isNotBoolean:CT,runtimeRequired:BT,pleaseEnterCaption:jT,pleaseEnterCaptionTip:kT,pleaseEnterPlaceholder:AT,pleaseEnterFieldCode:MT,pleaseEnterForm:DT,pleaseEnterList:FT,pleaseEnterProcess:LT,pleaseEnterLabel:xT,pleaseEnterValue:zT,bizKeyNotBindFiled:GT,pleaseEnterNumberRange:VT,pleaseEnterAValueGreaterThanMin:HT,pleaseEnterAValueLessThanMax:YT,numberRangeSetError:qT,stringRangeError:UT,attachmentMaxSize:WT,pleaseEnterTotalScoreSetting:KT,theTotalScoreMustNotBeLessThan1:XT,scoreDefaultValueRange:QT,attachmentLimitError:JT,PleaseReselectTheOptionalQuantity:ZT,TheMaximumLengthIsGreaterThanTheMinimumLength:eS,TheMinimumLengthIsGreaterThanTheMaximumLength:tS,PleaseSelectTheCorrectOptionSettings:nS,optionIdIsRepeat:rS,optionIsRequired:oS,pleaseEnterDataCode:iS,pleaseEnterValueFieldCode:uS,pleaseEnterSvcCode:cS,pleaseBindAtLeastOneDisplayValue:fS,pleaseSelectProvince:aS,pleaseSelectCity:lS,pleaseSelectDistrict:sS,limitRowsCannotBeLessThan0:yS,TheNumberOfRowsCannotBeLessThanMinRows:vS,pleaseEnterColumnWidth:hS,pleaseSetTheLogicalRelationshipOfAllRuleConditions:_S,pleaseCompleteAllRulesAndConditions:dS,pleaseSelectControl:pS,pleaseSelectDashboard:bS,theViewNameCannotBeEmpty:OS,pleaseSelectOcrType:gS,pleaseSelectAtLeastOneFieldToFillIn:mS,pleaseChooseAtLeastOne:PS,pleaseEnterButtonContent:RS,pleaseEnterDataCodeInDataSetting:wS,pleaseEnterValueFieldCodeInDataSetting:$S,pleaseEnterSvcCodeInDataSetting:TS,pleaseBindAtLeastOneDisplayValueInDataSetting:SS,rootNodeIsRequiredInDataSetting:ES,pleaseEnterMaxHeight:IS,pleaseEnter:NS,pleaseEnterWatermark:CS,pleaseEnterFileName:BS,pleaseUploadAtLeastOnePrintTemplate:jS,pleaseAssignBusiness:kS,pleaseAssignExternal:AS},DS={zhCN:d$,enUS:TT,jaJP:MS};function FS(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 LS=function e(t){FS(this,e);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:c.CALC_TOKEN_TYPE.Number;var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var u;this.subTableName=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var f;this.aggregateType=(f=t==null?void 0:t.aggregateType)!==null&&f!==void 0?f:void 0},Kd="zh-CN",xS=function(){};function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(c.FieldTypes||(c.FieldTypes={}));var W,zS=(W={},J(W,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),J(W,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),J(W,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),J(W,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),J(W,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),J(W,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),J(W,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),J(W,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),J(W,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),J(W,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),J(W,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),J(W,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),J(W,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),W);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var Xd="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",GS=Xd+"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?Xd:GS,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Qf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function VS(e){if(Array.isArray(e))return Qf(e)}function HS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Cn(e,t,r){return YS()?Cn=Reflect.construct:Cn=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},Cn.apply(null,arguments)}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Et(e)}function Jd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&It(e,t)}function qS(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function US(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function WS(){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 KS(e,t){return t&&(XS(t)==="object"||typeof t=="function")?t:HS(e)}function It(e,t){return It=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},It(e,t)}function Zd(e){return VS(e)||US(e)||QS(e)||WS()}var XS=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QS(e,t){if(!!e){if(typeof e=="string")return Qf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qf(e,t)}}function Jf(e){var t=typeof Map=="function"?new Map:void 0;return Jf=function(n){if(n===null||!qS(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 Cn(n,arguments,Et(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),It(o,n)},Jf(e)}function JS(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ep(e){var t=JS();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 KS(this,o)}}var Zf=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=Zf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Zd(o)))}function Nt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Zf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Zd(o)))}function ZS(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ea=function(e){Jd(r,e);var t=ep(r);function r(n){Qd(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?ZS(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Jf(Error)),eE=function(e){Jd(r,e);var t=ep(r);function r(n){Qd(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(ea);function _e(e){throw new ea(e)}function ta(e){throw new eE(e)}function tp(e){Zf.error(new ea(e))}function na(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":na(r==null?void 0:r.children,t);break;case"search":na(r==null?void 0:r.children,t);break;case"form":t(r)}})}var tE=Object.prototype.toString;function np(e,t){return tE.call(e)==="[object "+t+"]"}function nE(e){return np(e,"String")}function rE(e){return np(e,"Promise")}var oE=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();rE(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&&!nE(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 iE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var v=function(){function e(){iE(this,e)}return e.getMessage=function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)},e.resetI18n=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kd;return new oE({locale:r,messages:DS})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();v.$i18n=v.resetI18n();function rp(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,f,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){$e("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return f===a.length-1&&!Object.is(l[u],r)&&(l[u]=r,o=!0),l[u]}},e),o}var uE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ra={exports:{}};(function(e){(function(t){var r=function(_,g,$){if(!l(g)||y(g)||h(g)||p(g)||a(g))return g;var m,E=0,P=0;if(s(g))for(m=[],P=g.length;E<P;E++)m.push(r(_,g[E],$));else{m={};for(var T in g)Object.prototype.hasOwnProperty.call(g,T)&&(m[_(T,$)]=r(_,g[T],$))}return m},n=function(_,g){g=g||{};var $=g.separator||"_",m=g.split||/(?=[A-Z])/;return _.split(m).join($)},o=function(_){return b(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(g,$){return $?$.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},i=function(_){var g=o(_);return g.substr(0,1).toUpperCase()+g.substr(1)},u=function(_,g){return n(_,g).toLowerCase()},f=Object.prototype.toString,a=function(_){return typeof _=="function"},l=function(_){return _===Object(_)},s=function(_){return f.call(_)=="[object Array]"},y=function(_){return f.call(_)=="[object Date]"},h=function(_){return f.call(_)=="[object RegExp]"},p=function(_){return f.call(_)=="[object Boolean]"},b=function(_){return _=_-0,_===_},d=function(_,g){var $=g&&"process"in g?g.process:g;return typeof $!="function"?_:function(m,E){return $(m,_,E)}},O={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(_,g){return r(d(o,g),_)},decamelizeKeys:function(_,g){return r(d(u,g),_,g)},pascalizeKeys:function(_,g){return r(d(i,g),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=O:t.humps=O})(uE)})(ra);function ve(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function q(e){return oa(e)&&"zh"in e}function oa(e){return Object.prototype.toString.call(e)==="[object Object]"}function cE(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Te(e){return Array.isArray(e)}function op(e){return typeof e=="string"}function ia(e){return typeof e=="number"}function fE(e){return typeof e=="function"}function aE(e){return Te(e)&&e.every(function(t){return op(t)})}function lE(e){return Te(e)&&e.every(function(t){return ia(t)})}function sE(e){return Te(e)&&e.every(function(t){return ia(t)||t===""})}function yE(e){return/^\[.*?]$/.test(e)}function vE(e){return/^{.*?}$/.test(e)}function Se(e){return isNaN(parseFloat(e))?"":Number(e)}function ip(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function hE(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 oe(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=oe(n.children,t)),t(o)})),r}function up(e){return ra.exports.camelizeKeys(e)}function Ee(e){return ra.exports.decamelizeKeys(e)}function dE(e){return Object.values(c.CONTROL_TYPE).includes(e)}function ua(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 pE(e){if(Array.isArray(e))return ua(e)}function cp(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function bE(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){cp(i,n,o,u,f,"next",a)}function f(a){cp(i,n,o,u,f,"throw",a)}u(void 0)})}}function OE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mE(){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 ca(e){return pE(e)||gE(e)||PE(e)||mE()}function PE(e,t){if(!!e){if(typeof e=="string")return ua(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 ua(e,t)}}var RE=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},fp=function(){function e(){OE(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 bE(function(){var a,l,s,y,h,p,b,d,O,_,g,$;return RE(this,function(m){switch(m.label){case 0:if(a=f._events.get(n),l=[],!a)return[3,10];s=a.slice(),y=!0,h=!1,p=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),b=s[Symbol.iterator](),m.label=2;case 2:if(y=(d=b.next()).done)return[3,7];if(O=d.value,!a.includes(O))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),f.debug&&Nt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(ca(i))),[4,O.apply(null,ca(i))];case 4:return _=m.sent(),f.debug&&Nt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ca(i),[_])),l.push(_),_===!1?[3,7]:[3,6];case 5:return g=m.sent(),tp(String(g)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return $=m.sent(),h=!0,p=$,[3,10];case 9:try{!y&&b.return!=null&&b.return()}finally{if(h)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 wE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var $E=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"}],ap=function(){function e(){wE(this,e)}var t=e.prototype;return t.getEventsFromKeys=function(n){var o=typeof n=="string"?[n]:n;return e.events.filter(function(i){return o.includes(i.key)})},e}();ap.events=$E;function TE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var lp=[],Bn=function(){function e(r){TE(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}();Bn.staticControls=lp,Bn.staticRegisteredTypes=new Set(lp.map(function(e){return e.Designer.controlType})),Bn.staticRegisteredConfigs=new Map;function sp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(e){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jn(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&&fa(e,t)}function yp(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function SE(e,t){return t&&(EE(t)==="object"||typeof t=="function")?t:sp(e)}function fa(e,t){return fa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fa(e,t)}var EE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=IE();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 SE(this,o)}}var Z=function e(t){R(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:""},kn=function e(t){R(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},vp=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(kn),hp=function e(t){R(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},aa=function e(t){R(this,e);var r,n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new hp(u)}))!==null&&i!==void 0?i:[]},_p=function e(t){R(this,e);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},dp=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var f;o.isOpenFilter=(f=n==null?void 0:n.isOpenFilter)!==null&&f!==void 0?f:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(kn),pp=function e(t){R(this,e);var r,n;this.type="sublist-page",this.formBind=new kn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new _p(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new dp(u)}))!==null&&i!==void 0?i:[]},bp=function e(t){R(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Qe=function e(t){R(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Op=function e(t){var r=this;R(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n: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 la(f);(s=r.children)===null||s===void 0||s.push(y)}}))},la=function e(t){R(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r: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 bp(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Qe(t==null?void 0:t.rightVariableBo)},Q=function e(t){R(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},An=function e(t){R(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},sa=function e(t){R(this,e);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},gp=function e(t){R(this,e);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},NE=function e(t){R(this,e);var r,n,o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(l){return new sa(l)}))!==null&&f!==void 0?f:[];var a;this.dataSet=(a=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(l){return new gp(l)}))!==null&&a!==void 0?a:[]};function ya(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(i){return i.children!==void 0?new Op(i):new la(i)}))!==null&&r!==void 0?r:[],yp(this,z)||yp(this,Mn)){var n,o;this.orders=(o=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(i){return new sa(i)}))!==null&&o!==void 0?o:[]}}var z=function e(t){var r=this;R(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[],Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(a){var l;(l=r.displayBoList)===null||l===void 0||l.push(new An(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:"",ya.call(this,t)},mp=function e(t){R(this,e);var r,n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new An(u)}))!==null&&i!==void 0?i:[]},Ct=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o,i;o=t.call(this,n);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new mp(f)}))!==null&&u!==void 0?u:[],o}return r}(z),Pp=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;return o=t.call(this,n),o.rootNode=new Qe(n==null?void 0:n.rootNode),o}return r}(Ct),Rp=function e(t){R(this,e);var r,n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Q(u)}))!==null&&i!==void 0?i:[]},Mn=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;return o=t.call(this,n),ya.call(sp(o),n),o}return r}(Rp),va=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(Rp),CE=function e(t){R(this,e);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},ha=function e(t){R(this,e);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},_a=function e(t){R(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},wp=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(_a);function ae(e){var t;return(t=e==null?void 0:e.map(function(r){return new _a(r)}))!==null&&t!==void 0?t:[]}function BE(e){var t;return(t=e==null?void 0:e.map(function(r){return new wp(r)}))!==null&&t!==void 0?t:[]}var Dn=function e(){R(this,e)},$p=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;return o=t.call(this),o.amount=new Z(n==null?void 0:n.amount),o.currency=new Z(n==null?void 0:n.currency),o}return r}(Dn),Tp=function e(t){R(this,e);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:c.AMOUNT_TYPE.CNY},Sp=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;return o=t.call(this),o.min=new Z(n==null?void 0:n.min),o.max=new Z(n==null?void 0:n.max),o}return r}(Dn),Ep=function e(t){R(this,e);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},Ip=function e(t){R(this,e);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},Np=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;return o=t.call(this),o.result=new Z(n==null?void 0:n.result),o.unit=new Z(n==null?void 0:n.unit),o}return r}(Dn),Cp=function e(t){R(this,e);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};c.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var ee=function e(t){R(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},Bp=function e(t){R(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 hp(u)}))!==null&&i!==void 0?i:[],ya.call(this,t)},jE=function e(t){R(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:""},jp=function e(t){R(this,e);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function kE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function da(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Fn(e,t,r){return AE()?Fn=Reflect.construct:Fn=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},Fn.apply(null,arguments)}function Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(e)}function ME(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function FE(e,t){return t&&(LE(t)==="object"||typeof t=="function")?t:kE(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jt(e,t)}var LE=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||!DE(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 Fn(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 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 zE(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 FE(this,o)}}var F=function e(t){da(this,e),this.isHide={type:"boolean"}},de=function(e){ME(r,e);var t=zE(r);function r(n){return da(this,r),t.call(this)}return r}(pa(Array)),G=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";da(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new jp(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};G.Rules=F,G.RuntimeRules=de;function le(){return le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},le.apply(this,arguments)}function GE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function Ln(e,t){return Ln=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ln(e,t)}function VE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function xn(e,t,r){return VE()?xn=Reflect.construct:xn=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&Ln(l,u.prototype),l},xn.apply(null,arguments)}function HE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Oa(e){var t=typeof Map=="function"?new Map:void 0;return Oa=function(n){if(n===null||!HE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return xn(n,arguments,ba(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ln(o,n)},Oa(e)}var YE=/%[sdj%]/g,kp=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(kp=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function ga(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function te(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(YE,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 qE(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function L(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||qE(t)&&typeof e=="string"&&!e)}function UE(e,t,r){var n=[],o=0,i=e.length;function u(f){n.push.apply(n,f),o++,o===i&&r(n)}e.forEach(function(f){t(f,u)})}function Ap(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var f=n;n=n+1,f<o?t(e[f],i):r([])}i([])}function WE(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Mp=function(e){GE(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}(Oa(Error));function KE(e,t,r,n){if(t.first){var o=new Promise(function(y,h){var p=function(O){return n(O),O.length?h(new Mp(O,ga(O))):y()},b=WE(e);Ap(b,r,p)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),f=u.length,a=0,l=[],s=new Promise(function(y,h){var p=function(d){if(l.push.apply(l,d),a++,a===f)return n(l),l.length?h(new Mp(l,ga(l))):y()};u.length||(n(l),y()),u.forEach(function(b){var d=e[b];i.indexOf(b)!==-1?Ap(d,r,p):UE(d,r,p)})});return s.catch(function(y){return y}),s}function Dp(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Fp(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=le(le({},e[r]),n):e[r]=n}}return e}function Lp(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||L(t,i||e.type))&&n.push(te(o.messages.required,e.fullField))}function XE(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(te(o.messages.whitespace,e.fullField))}var ma={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(ma.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(ma.url)},hex:function(t){return typeof t=="string"&&!!t.match(ma.hex)}};function QE(e,t,r,n,o){if(e.required&&t===void 0){Lp(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?kt[u](t)||n.push(te(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(te(o.messages.types[u],e.fullField,e.type))}function JE(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",h=typeof t=="string",p=Array.isArray(t);if(y?s="number":h?s="string":p&&(s="array"),!s)return!1;p&&(l=t.length),h&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(te(o.messages[s].len,e.fullField,e.len)):u&&!f&&l<e.min?n.push(te(o.messages[s].min,e.fullField,e.min)):f&&!u&&l>e.max?n.push(te(o.messages[s].max,e.fullField,e.max)):u&&f&&(l<e.min||l>e.max)&&n.push(te(o.messages[s].range,e.fullField,e.min,e.max))}var Je="enum";function ZE(e,t,r,n,o){e[Je]=Array.isArray(e[Je])?e[Je]:[],e[Je].indexOf(t)===-1&&n.push(te(o.messages[Je],e.fullField,e[Je].join(", ")))}function eI(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(te(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(te(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var w={required:Lp,whitespace:XE,type:QE,range:JE,enum:ZE,pattern:eI};function tI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t,"string")&&!e.required)return r();w.required(e,t,n,i,o,"string"),L(t,"string")||(w.type(e,t,n,i,o),w.range(e,t,n,i,o),w.pattern(e,t,n,i,o),e.whitespace===!0&&w.whitespace(e,t,n,i,o))}r(i)}function nI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&w.type(e,t,n,i,o)}r(i)}function rI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),L(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&(w.type(e,t,n,i,o),w.range(e,t,n,i,o))}r(i)}function oI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&w.type(e,t,n,i,o)}r(i)}function iI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();w.required(e,t,n,i,o),L(t)||w.type(e,t,n,i,o)}r(i)}function uI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&(w.type(e,t,n,i,o),w.range(e,t,n,i,o))}r(i)}function cI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&(w.type(e,t,n,i,o),w.range(e,t,n,i,o))}r(i)}function fI(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();w.required(e,t,n,i,o,"array"),t!=null&&(w.type(e,t,n,i,o),w.range(e,t,n,i,o))}r(i)}function aI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&w.type(e,t,n,i,o)}r(i)}var lI="enum";function sI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(L(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&w[lI](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(L(t,"string")&&!e.required)return r();w.required(e,t,n,i,o),L(t,"string")||w.pattern(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(L(t,"date")&&!e.required)return r();if(w.required(e,t,n,i,o),!L(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),w.type(e,f,n,i,o),f&&w.range(e,f.getTime(),n,i,o)}}r(i)}function hI(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;w.required(e,t,n,i,o,u),r(i)}function Pa(e,t,r,n,o){var i=e.type,u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(L(t,i)&&!e.required)return r();w.required(e,t,n,u,o,i),L(t,i)||w.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(L(t)&&!e.required)return r();w.required(e,t,n,i,o)}r(i)}var At={string:tI,method:nI,number:rI,boolean:oI,regexp:iI,integer:uI,float:cI,array:fI,object:aI,enum:sI,pattern:yI,date:vI,url:Pa,hex:Pa,email:Pa,required:hI,any:_I};function Ra(){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 wa=Ra();function pe(e){this.rules=null,this._messages=wa,this.define(e)}pe.prototype={messages:function(t){return t&&(this._messages=Fp(Ra(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,f=n;if(typeof u=="function"&&(f=u,u={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function a(d){var O,_=[],g={};function $(m){if(Array.isArray(m)){var E;_=(E=_).concat.apply(E,m)}else _.push(m)}for(O=0;O<d.length;O++)$(d[O]);_.length?g=ga(_):(_=null,g=null),f(_,g)}if(u.messages){var l=this.messages();l===wa&&(l=Ra()),Fp(l,u.messages),u.messages=l}else u.messages=this.messages();var s,y,h={},p=u.keys||Object.keys(this.rules);p.forEach(function(d){s=o.rules[d],y=i[d],s.forEach(function(O){var _=O;typeof _.transform=="function"&&(i===t&&(i=le({},i)),y=i[d]=_.transform(y)),typeof _=="function"?_={validator:_}:_=le({},_),_.validator=o.getValidationMethod(_),_.field=d,_.fullField=_.fullField||d,_.type=o.getType(_),_.validator&&(h[d]=h[d]||[],h[d].push({rule:_,value:y,source:i,field:d}))})});var b={};return KE(h,u,function(d,O){var _=d.rule,g=(_.type==="object"||_.type==="array")&&(typeof _.fields=="object"||typeof _.defaultField=="object");g=g&&(_.required||!_.required&&d.value),_.field=d.field;function $(P,T){return le(le({},T),{},{fullField:_.fullField+"."+P})}function m(P){P===void 0&&(P=[]);var T=P;if(Array.isArray(T)||(T=[T]),!u.suppressWarning&&T.length&&pe.warning("async-validator:",T),T.length&&_.message!==void 0&&(T=[].concat(_.message)),T=T.map(Dp(_)),u.first&&T.length)return b[_.field]=1,O(T);if(!g)O(T);else{if(_.required&&!d.value)return _.message!==void 0?T=[].concat(_.message).map(Dp(_)):u.error&&(T=[u.error(_,te(u.messages.required,_.field))]),O(T);var A={};if(_.defaultField)for(var se in d.value)d.value.hasOwnProperty(se)&&(A[se]=_.defaultField);A=le(le({},A),d.rule.fields);for(var re in A)if(A.hasOwnProperty(re)){var Mie=Array.isArray(A[re])?A[re]:[A[re]];A[re]=Mie.map($.bind(null,re))}var fw=new pe(A);fw.messages(u.messages),d.rule.options&&(d.rule.options.messages=u.messages,d.rule.options.error=u.error),fw.validate(d.value,d.rule.options||u,function(Wd){var $t=[];T&&T.length&&$t.push.apply($t,T),Wd&&Wd.length&&$t.push.apply($t,Wd),O($t.length?$t:null)})}}var E;_.asyncValidator?E=_.asyncValidator(_,d.value,m,d.source,u):_.validator&&(E=_.validator(_,d.value,m,d.source,u),E===!0?m():E===!1?m(_.message||_.field+" fails"):E instanceof Array?m(E):E instanceof Error&&m(E.message)),E&&E.then&&E.then(function(){return m()},function(P){return m(P)})},function(d){a(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!At.hasOwnProperty(t.type))throw new Error(te("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?At.required:At[this.getType(t)]||!1}},pe.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");At[t]=r},pe.warning=kp,pe.messages=wa,pe.validators=At;var dI={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function xp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new pe(e);return r.messages(Object.assign(dI,t)),r}var zp=new fp;function $a(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 pI(e){if(Array.isArray(e))return e}function bI(e){if(Array.isArray(e))return $a(e)}function Gp(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function Vp(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Gp(i,n,o,u,f,"next",a)}function f(a){Gp(i,n,o,u,f,"throw",a)}u(void 0)})}}function OI(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 gI(e,t,r){return t&&Hp(e.prototype,t),r&&Hp(e,r),e}function mI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yp(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function qp(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function PI(){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 RI(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Up(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){mI(e,o,r[o])})}return e}function wI(e){return pI(e)||qp(e)||Wp(e)||PI()}function Ta(e){return bI(e)||qp(e)||Wp(e)||RI()}function Wp(e,t){if(!!e){if(typeof e=="string")return $a(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 $a(e,t)}}var Kp=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},C=function(){function t(n){var o=this;OI(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Qp,this.removeSetting=Xp,this._callControlHooks("preInstance",n);var i=Yp(this,t)?this.constructor:void 0,u=i.controlName,f=i.controlIcon,a=i.controlType,l=i.controlFieldType,s=i.controlEventKeys,y=i.controlCustomEvents,h=i.name,p=i.setting;u&&f&&a||ta("The ".concat(h," 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 d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new G(n==null?void 0:n.props,(Yp(this,t)?this.constructor:void 0).controlName);var O;this.controlType=(O=n==null?void 0:n.controlType)!==null&&O!==void 0?O:"base",this.setting=ve(p);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:l,this.eventKeys=ve(s),this.customEvents=ve(y),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];var f,a=wI(i),l=a[0],s=a.slice(1);return(f=zp).emit.apply(f,[l,this].concat(Ta(s)))},r.preUpdate=function(o,i){this._callControlHooks("preUpdateProps",o,i)},r.postUpdate=function(o,i){this._callControlHooks("postUpdateProps",o,i)},r.updateProps=function(o,i){this.preUpdate(o,i),rp(this.props,o,i),this.postUpdate(o,i)},r.preValidate=function(){var o=this;return Vp(function(){var i,u,f;return Kp(this,function(a){switch(a.label){case 0:return i=Up({},o.rules),[4,o._callControlHooks("preValidate",i)];case 1:return u=a.sent(),f=u[u.length-1],[2,f===!1?void 0:f]}})})()},r.validate=function(o,i){var u=this;return Vp(function(){var f,a,l,s;return Kp(this,function(y){switch(y.label){case 0:return[4,u.preValidate()];case 1:f=y.sent(),a=f!==void 0?f:Up({},u.rules),Array.isArray(i)&&i.forEach(function(h){a.hasOwnProperty(h)&&delete a[h]}),l=xp(a,o),y.label=2;case 2:return y.trys.push([2,4,,5]),[4,l.validate(u.props)];case 3:return y.sent(),[2,!0];case 4:throw s=y.sent(),s.control||(s.control=u),s;case 5:return[2]}})})()},r.toDataBindModel=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this.fieldType,u=this.id,f=this.type,a=this.props,l=a.dataBind,s=a.datasourceBind,y=a.optionConfig,h=a.caption,p=a.required,b=a.maxLength,d=a.options,O=a.encrypted,_=a.encryptedMode;if(!(!i&&!l&&!s)){var g={parentId:o,fieldType:i,controlId:u,caption:h,type:f,props:{}};switch(l&&(g.dataBind=l),y){case"datasource":case void 0:s&&(g.datasourceBind=s);break;case"custom":g.props.options=d;break}return p!==void 0&&(g.required=p),b!==void 0&&(g.maxLength=b),O!==void 0&&(g.encrypted=O),_!==void 0&&(g.encryptedMode=_),g}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ve(this.props),fieldType:this.fieldType,controlType:this.controlType}},t.updateBasicControl=function(o,i){if(o==="setting"){if(i.add){var u;(u=this.setting).push.apply(u,Ta(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}},gI(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}}]),t}();C.controlName="\u63A7\u4EF6",C.controlIcon="icon",C.controlType="control",C.controlEventKeys=[],C.controlCustomEvents=[],C.setting=[],C.__is_control__=!0,C.removeSettingItem=Xp,C.updateSettingItem=Qp;function Xp(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o=typeof n!="string",i=t.setting.findIndex(function(a){return a.key===(o?n.key:n)});if(i!==-1){var u,f;o?t.setting[i].showItems=(u=t.setting[i].showItems)===null||u===void 0?void 0:u.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(i,1),o&&!(!((f=t.setting[i].showItems)===null||f===void 0)&&f.length)&&t.setting.splice(i,1)}})}function Qp(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,f=(u=t.type)!==null&&u!==void 0?u:"replace";if(f==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Ta(t.showItems))}}}})}function $I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TI(e,t,r){return t&&Jp(e.prototype,t),r&&Jp(e,r),e}function SI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var V=function(){function t(r){$I(this,t),this.customEvents=[],this.parent=null;var n=SI(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,f=n.controlCustomEvents;o||ta("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 G(r==null?void 0:r.props),this.customEvents=f;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var h;this.pageStatus=(h=r==null?void 0:r.pageStatus)!==null&&h!==void 0?h:c.PAGE_STATUS.UNKNOWN}return TI(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();V.controlType="control",V.__is_control__=!0,V.controlCustomEvents=[];function zn(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:v.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:v.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(f){return f.value}),u=ip(i);i.length!==u.length?o(v.getMessage("optionIdIsRepeat")):o()},message:v.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:v.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}])}function Gn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:v.getMessage("isNotString")},key:{type:"string",required:!0,message:v.getMessage("isNotString")},value:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}]}function Zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hn(e)}function Yn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sa(e,t)}function EI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function II(e,t){return t&&(NI(t)==="object"||typeof t=="function")?t:Zp(e)}function Sa(e,t){return Sa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sa(e,t)}var NI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=CI();return function(){var n=Hn(e),o;if(t){var i=Hn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return II(this,o)}}var U=function(e){Yn(r,e);var t=qn(r);function r(n){Vn(this,r);var o;o=t.call(this,n),o.dataBind={},o.caption={type:"string",required:!0,message:v.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:v.getMessage("pleaseEnterCaptionTip")};var i={fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}};if(EI(n.dataBind,Z))o.dataBind={type:"object",required:!0,fields:ve(i),message:v.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:v.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){u.fields[f]={type:"object",required:!0,fields:ve(i),message:v.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),B=function(e){Yn(r,e);var t=qn(r);function r(n){Vn(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:v.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(de),S=function(e){Yn(r,e);var t=qn(r);function r(n){Vn(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 h;o.required=(h=n==null?void 0:n.required)!==null&&h!==void 0?h:!1;var p;o.requiredMessage=(p=n==null?void 0:n.requiredMessage)!==null&&p!==void 0?p:"",o.dataBind=new Z(n==null?void 0:n.dataBind);var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o}return r}(G);S.Rules=U,S.RuntimeRules=B;var Ie=function(e){Yn(r,e);var t=qn(r);function r(n){Vn(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:v.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")}],zn.call(Zp(o),n),o}return r}(U);function BI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(e)}function kI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ea(e,t)}function AI(e,t){return t&&(MI(t)==="object"||typeof t=="function")?t:BI(e)}function Ea(e,t){return Ea=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ea(e,t)}var MI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FI(e){var t=DI();return function(){var n=Un(e),o;if(t){var i=Un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AI(this,o)}}var I=function(e){kI(r,e);var t=FI(r);function r(n){jI(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new S(n==null?void 0:n.props),o}return r}(C);I.controlEventKeys=["on_change","on_focus","on_blur"];function LI(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 Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function zI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ia(e,t)}function GI(e,t){return t&&(VI(t)==="object"||typeof t=="function")?t:LI(e)}function Ia(e,t){return Ia=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ia(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 YI(e){var t=HI();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 GI(this,o)}}var N=function(e){zI(r,e);var t=YI(r);function r(n){xI(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new S(n==null?void 0:n.props),o}return r}(V);function qI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(e)}function WI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Na(e,t)}function KI(e,t){return t&&(XI(t)==="object"||typeof t=="function")?t:qI(e)}function Na(e,t){return Na=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Na(e,t)}var XI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JI(e){var t=QI();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 KI(this,o)}}var k=function(e){WI(r,e);var t=JI(r);function r(n){return UI(this,r),t.call(this,n)}return r}(G);function Ca(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 ZI(e){if(Array.isArray(e))return Ca(e)}function eN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tN(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eb(e){return ZI(e)||eN(e)||nN(e)||tN()}function nN(e,t){if(!!e){if(typeof e=="string")return Ca(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 Ca(e,t)}}function tb(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Ba(e,t){e.parent=t,tb(e,"parent")}function nb(e,t){e.forEach(function(r){Ba(r,t)})}var rb=Symbol("targetKey");function ob(e){var t;return(t=e[rb])!==null&&t!==void 0?t:e}function ib(e,t){return nb(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),f=2;f<i;f++)u[f-2]=arguments[f];var a;return o===rb?n:(a=Reflect).get.apply(a,[n,o].concat(eb(u)))},set:function(n,o,i){for(var u=arguments.length,f=new Array(u>3?u-3:0),a=3;a<u;a++)f[a-3]=arguments[a];var l;if(Te(e)&&o==="length"&&i===e.length)return!0;var s=(l=Reflect).set.apply(l,[n,o,i].concat(eb(f)));return oa(i)&&Ba(i,t),s}})}function be(e,t,r,n){var o=n!=null?n:e,i=ib(ob(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=ib(ob(f),o)},enumerable:!0})}function ja(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function rN(e){if(Array.isArray(e))return ja(e)}function ub(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cb(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function oN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){cb(i,n,o,u,f,"next",a)}function f(a){cb(i,n,o,u,f,"throw",a)}u(void 0)})}}function iN(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 Ze(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ze=Reflect.get:Ze=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}},Ze(e,t,r||e)}function Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oe(e)}function 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&&ka(e,t)}function fN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function aN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lN(){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 sN(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 yN(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 vN(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function hN(e,t){return t&&(dN(t)==="object"||typeof t=="function")?t:ub(e)}function ka(e,t){return ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ka(e,t)}function _N(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Oe(e),e!==null););return e}function fb(e){return rN(e)||aN(e)||pN(e)||lN()}var dN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pN(e,t){if(!!e){if(typeof e=="string")return ja(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ja(e,t)}}function bN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ON(e){var t=bN();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 hN(this,o)}}var gN=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}}},mN=1e4,M=function(t){cN(n,t);var r=ON(n);function n(i){iN(this,n);var u;u=r.call(this,i),u.controlType="layout";var f=fN(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new k(i==null?void 0:i.props),be(ub(u),"children",i==null?void 0:i.children),u.excludes=ve(a),u.childrenMaxLength=l,u}var o=n.prototype;return o.judgeExcludesChildren=function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)},o.judgeJoinChildren=function(u){var f=this.judgeExcludesChildren(u);return f&&this.childrenMaxLength>this.children.length},o.validate=function(u,f){var a=this,l=this,s=function(){return Ze(Oe(n.prototype),"validate",a)};return oN(function(){return gN(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(h){return h.validate(u,f)}))];case 2:return y.sent(),[2,!0]}})})()},o.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,f=Ze(Oe(n.prototype),"toDataBindModel",this).call(this),a=f?[f]:[];return this.children.reduce(function(l,s){var y=s.toDataBindModel(u);if(Array.isArray(y)){var h=y.filter(function(p){return!!p});return fb(l).concat(fb(h))}return y&&l.push(y),l},a)},o.toSchema=function(){var u=Ze(Oe(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return vN(sN({},u),{children:f})},n}(C);M.excludes=!1,M.childrenMaxLength=mN;function ab(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(e)}function RN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Aa(e,t)}function wN(e,t){return t&&($N(t)==="object"||typeof t=="function")?t:ab(e)}function Aa(e,t){return Aa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Aa(e,t)}var $N=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SN(e){var t=TN();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 wN(this,o)}}var x=function(e){RN(r,e);var t=SN(r);function r(n){PN(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new k(n==null?void 0:n.props),be(ab(o),"children",n==null?void 0:n.children),o}return r}(V);function lb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EN(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 IN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ma(e,t)}function NN(e,t){return t&&(CN(t)==="object"||typeof t=="function")?t:lb(e)}function Ma(e,t){return Ma=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ma(e,t)}var CN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jN(e){var t=BN();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 NN(this,o)}}var Mt=function(e){IN(r,e);var t=jN(r);function r(n,o){EN(this,r);var i;return i=t.call(this,o),be(lb(i),"headers",o==null?void 0:o.headers,n),i}return r}(G);function 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 kN(e){if(Array.isArray(e))return Da(e)}function sb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yb(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function AN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){yb(i,n,o,u,f,"next",a)}function f(a){yb(i,n,o,u,f,"throw",a)}u(void 0)})}}function MN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DN(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=VN(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},et(e,t,r||e)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(e)}function FN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fa(e,t)}function LN(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 vb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){DN(e,o,r[o])})}return e}function zN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function hb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function GN(e,t){return t&&(HN(t)==="object"||typeof t=="function")?t:sb(e)}function Fa(e,t){return Fa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fa(e,t)}function VN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ge(e),e!==null););return e}function _b(e){return kN(e)||LN(e)||YN(e)||xN()}var HN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YN(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 qN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UN(e){var t=qN();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 GN(this,o)}}var WN=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}}},Jn=function(e){FN(r,e);var t=UN(r);function r(o){MN(this,r);var i;return i=t.call(this,o),i.controlType="list",i.props=new Mt(sb(i),o==null?void 0:o.props),i}var n=r.prototype;return n.validate=function(i,u){var f=this,a=this,l=function(){return et(ge(r.prototype),"validate",f)};return AN(function(){return WN(this,function(s){switch(s.label){case 0:return[4,l().call(a,i)];case 1:return s.sent(),[4,Promise.all(a.props.headers.map(function(y){return y.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var i=et(ge(r.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],f=this.id;return this.props.headers.reduce(function(a,l){var s=l.toDataBindModel(f);if(Array.isArray(s)){var y=s.filter(function(h){return!!h});return _b(a).concat(_b(y))}return s&&a.push(s),a},u)},n.toSchema=function(){var i=et(ge(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(f){return f.toSchema()});return hb(vb({},i),{props:hb(vb({},this.props),{headers:u})})},r}(C);Jn.controlFieldType=c.FieldTypes.LIST;function La(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XN(e,t,r){return t&&db(e.prototype,t),r&&db(e,r),e}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zn(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&&xa(e,t)}function JN(e,t){return t&&(ZN(t)==="object"||typeof t=="function")?t:La(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 eC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tC(e){var t=eC();return function(){var n=Zn(e),o;if(t){var i=Zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JN(this,o)}}var za=function(e){QN(r,e);var t=tC(r);function r(n){KN(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new Mt(La(o),n==null?void 0:n.props),be(La(o),"children",n==null?void 0:n.children),o}return XN(r,[{key:"length",get:function(){return this.children.length}}]),r}(V);function pb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ga(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(e)}function Va(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nC(e,t){return t&&(rC(t)==="object"||typeof t=="function")?t:pb(e)}function Ha(e,t){return Ha=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ha(e,t)}var rC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=oC();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 nC(this,o)}}var Dt=function(e){Va(r,e);var t=Ya(r);function r(n){Ga(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")},o.width.required=n.widthType==="px",o}return r}(F),D=function(e){Va(r,e);var t=Ya(r);function r(n){Ga(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 Z(n==null?void 0:n.dataBind);var a;return o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan,o}return r}(G);D.Rules=Dt;var qa=function(e){Va(r,e);var t=Ya(r);function r(n){Ga(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource","none"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:v.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")}],zn.call(pb(o),n),o}return r}(Dt);function iC(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 tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(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&&Ua(e,t)}function fC(e,t){return t&&(aC(t)==="object"||typeof t=="function")?t:iC(e)}function Ua(e,t){return Ua=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ua(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=tr(e),o;if(t){var i=tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fC(this,o)}}var H=function(e){cC(r,e);var t=sC(r);function r(n){uC(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new D(n==null?void 0:n.props),o}return r}(C);function yC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function hC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _C(e,t){return t&&(dC(t)==="object"||typeof t=="function")?t:yC(e)}function Wa(e,t){return Wa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wa(e,t)}var dC=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 bC(e){var t=pC();return function(){var n=nr(e),o;if(t){var i=nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _C(this,o)}}var Y=function(e){hC(r,e);var t=bC(r);function r(n){vC(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new D(n==null?void 0:n.props),o}return r}(V);function OC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rr(e)}function mC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PC(e,t){return t&&(RC(t)==="object"||typeof t=="function")?t:OC(e)}function Ka(e,t){return Ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ka(e,t)}var RC=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 $C(e){var t=wC();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 PC(this,o)}}var or=function(e){mC(r,e);var t=$C(r);function r(n){gC(this,r);var o;return o=t.call(this,n),o.dataBind=new Z(n==null?void 0:n.dataBind),o}return r}(k);function TC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function EC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IC(e,t){return t&&(NC(t)==="object"||typeof t=="function")?t:TC(e)}function Xa(e,t){return Xa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xa(e,t)}var NC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BC(e){var t=CC();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 IC(this,o)}}var bb=function(e){EC(r,e);var t=BC(r);function r(n){SC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new or(n==null?void 0:n.props),o}return r}(M);function jC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ur(e)}function AC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MC(e,t){return t&&(DC(t)==="object"||typeof t=="function")?t:jC(e)}function Qa(e,t){return Qa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qa(e,t)}var DC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LC(e){var t=FC();return function(){var n=ur(e),o;if(t){var i=ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MC(this,o)}}var Ob=function(e){AC(r,e);var t=LC(r);function r(n){kC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new or(n==null?void 0:n.props),o}return r}(x);function xC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cr(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 VC(e,t){return t&&(HC(t)==="object"||typeof t=="function")?t:xC(e)}function Ja(e,t){return Ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ja(e,t)}var HC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qC(e){var t=YC();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 VC(this,o)}}var Za=function(e){GC(r,e);var t=qC(r);function r(n){return zC(this,r),t.call(this,n)}return r}(k);function UC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fr(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 XC(e,t){return t&&(QC(t)==="object"||typeof t=="function")?t:UC(e)}function el(e,t){return el=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},el(e,t)}var QC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZC(e){var t=JC();return function(){var n=fr(e),o;if(t){var i=fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XC(this,o)}}var e1=function(e){KC(r,e);var t=ZC(r);function r(n){WC(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new Za(n==null?void 0:n.props),o}return r}(M);function t1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n1(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 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&&tl(e,t)}function o1(e,t){return t&&(i1(t)==="object"||typeof t=="function")?t:t1(e)}function tl(e,t){return tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tl(e,t)}var i1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c1(e){var t=u1();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 o1(this,o)}}var f1=function(e){r1(r,e);var t=c1(r);function r(n){n1(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new Za(n==null?void 0:n.props),o}return r}(x);function a1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l1(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 s1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y1(e,t){return t&&(v1(t)==="object"||typeof t=="function")?t:a1(e)}function nl(e,t){return nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nl(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 _1(e){var t=h1();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 y1(this,o)}}var rl=function(e){s1(r,e);var t=_1(r);function r(n){l1(this,r);var o;o=t.call(this,n);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"page-hint";var a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var l;return o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:"\u8BF4\u660E\u6587\u5B57",o}return r}(G);function d1(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 gb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b1(e,t,r){return t&&gb(e.prototype,t),r&&gb(e,r),e}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(e)}function O1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g1(e,t){return t&&(m1(t)==="object"||typeof t=="function")?t:d1(e)}function ol(e,t){return ol=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ol(e,t)}var m1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=P1();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 g1(this,o)}}var mb=function(e){O1(r,e);var t=R1(r);function r(n){p1(this,r);var o;return o=t.call(this,n),o.props=new rl(n==null?void 0:n.props),o}return b1(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(C);mb.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];function w1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T1(e,t,r){return t&&Pb(e.prototype,t),r&&Pb(e,r),e}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yr(e)}function S1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E1(e,t){return t&&(I1(t)==="object"||typeof t=="function")?t:w1(e)}function il(e,t){return il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},il(e,t)}var I1=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 C1(e){var t=N1();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 E1(this,o)}}var B1=function(e){S1(r,e);var t=C1(r);function r(n){$1(this,r);var o;return o=t.call(this,n),o.props=new rl(n==null?void 0:n.props),o}return T1(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(V),Rb={Designer:mb,Runtime:B1,Property:rl};function j1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vr(e)}function A1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M1(e,t){return t&&(D1(t)==="object"||typeof t=="function")?t:j1(e)}function ul(e,t){return ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ul(e,t)}var D1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L1(e){var t=F1();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 M1(this,o)}}var cl=function(e){A1(r,e);var t=L1(r);function r(n){k1(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(G);function x1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G1(e,t,r){return t&&wb(e.prototype,t),r&&wb(e,r),e}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(e)}function V1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 H1(e,t){return t&&(Y1(t)==="object"||typeof t=="function")?t:x1(e)}function fl(e,t){return fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fl(e,t)}var Y1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U1(e){var t=q1();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 H1(this,o)}}var al=function(e){V1(r,e);var t=U1(r);function r(n){z1(this,r);var o;return o=t.call(this,n),o.props=new cl(n==null?void 0:n.props),o}return G1(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(C);al.controlEventKeys=["on_click"],al.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 W1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K1(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 X1(e,t,r){return t&&$b(e.prototype,t),r&&$b(e,r),e}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function 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&&ll(e,t)}function J1(e,t){return t&&(Z1(t)==="object"||typeof t=="function")?t:W1(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(e,t)}var Z1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tB(e){var t=eB();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 J1(this,o)}}var nB=function(e){Q1(r,e);var t=tB(r);function r(n){K1(this,r);var o;return o=t.call(this,n),o.props=new cl(n==null?void 0:n.props),o}return X1(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(V),Tb={Designer:al,Runtime:nB,Property:cl};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 dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(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&&sl(e,t)}function uB(e,t){return t&&(cB(t)==="object"||typeof t=="function")?t:rB(e)}function sl(e,t){return sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sl(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=dr(e),o;if(t){var i=dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uB(this,o)}}var K=function(e){iB(r,e);var t=aB(r);function r(n){oB(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 h;return o.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1,o}return r}(G);function lB(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 Sb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yB(e,t,r){return t&&Sb(e.prototype,t),r&&Sb(e,r),e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(e)}function 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&&yl(e,t)}function hB(e,t){return t&&(_B(t)==="object"||typeof t=="function")?t:lB(e)}function yl(e,t){return yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yl(e,t)}var _B=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dB();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 hB(this,o)}}var X=function(e){vB(r,e);var t=pB(r);function r(n){sB(this,r);var o;return o=t.call(this,n),o.props=new K(n==null?void 0:n.props),o}return yB(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(C);X.controlEventKeys=["on_click"],X.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];function bB(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 Eb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gB(e,t,r){return t&&Eb(e.prototype,t),r&&Eb(e,r),e}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(e)}function 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&&vl(e,t)}function PB(e,t){return t&&(RB(t)==="object"||typeof t=="function")?t:bB(e)}function vl(e,t){return vl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vl(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=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PB(this,o)}}var ne=function(e){mB(r,e);var t=$B(r);function r(n){OB(this,r);var o;return o=t.call(this,n),o.props=new K(n==null?void 0:n.props),o}return gB(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(V),Ib={Designer:X,Runtime:ne,Property:K};function he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}c.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar"}(c.TitleConfigEnum||(c.TitleConfigEnum={})),c.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(c.DATE_CONFIG_TYPE||(c.DATE_CONFIG_TYPE={})),c.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(c.DATE_LIMIT_TYPE||(c.DATE_LIMIT_TYPE={}));var Or=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:c.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:c.DATE_LIMIT_TYPE.FILE_IN_TIME,id:ie(8),value:["",""]};he(this,e),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var gr=function e(t){he(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r: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 hl=function e(t){he(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Qe((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Qe((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var f,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Qe((f=t==null?void 0:t.company)!==null&&f!==void 0?f:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},Nb=function e(t){he(this,e);var r,n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new hl(a)}))!==null&&o!==void 0?o:[new hl];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:""},_l=function e(t){he(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},dl=function e(t){he(this,e);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},Cb=function e(t){he(this,e);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new dl(t==null?void 0:t.watermark),this.autoRename=new dl(t==null?void 0:t.autoRename)},Bb=480;function Ft(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var jb=function e(t){he(this,e);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},kb=function e(t){he(this,e);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function 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 mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(e)}function EB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IB(e,t){return t&&(NB(t)==="object"||typeof t=="function")?t:TB(e)}function pl(e,t){return pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pl(e,t)}var NB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BB(e){var t=CB();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 IB(this,o)}}var bl=function(e){EB(r,e);var t=BB(r);function r(n){SB(this,r);var o;o=t.call(this,n);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:c.LINE_STYLE.SOLID,o}return r}(G);function jB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ab(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AB(e,t,r){return t&&Ab(e.prototype,t),r&&Ab(e,r),e}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(e)}function 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&&Ol(e,t)}function DB(e,t){return t&&(FB(t)==="object"||typeof t=="function")?t:jB(e)}function Ol(e,t){return Ol=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ol(e,t)}var FB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=LB();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 DB(this,o)}}var Mb=function(e){MB(r,e);var t=xB(r);function r(n){kB(this,r);var o;return o=t.call(this,n),o.props=new bl(n==null?void 0:n.props),o}return AB(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(C);Mb.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];function zB(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 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 VB(e,t,r){return t&&Db(e.prototype,t),r&&Db(e,r),e}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(e)}function HB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YB(e,t){return t&&(qB(t)==="object"||typeof t=="function")?t:zB(e)}function gl(e,t){return gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gl(e,t)}var qB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WB(e){var t=UB();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 YB(this,o)}}var KB=function(e){HB(r,e);var t=WB(r);function r(n){GB(this,r);var o;return o=t.call(this,n),o.props=new bl(n==null?void 0:n.props),o}return VB(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(V),Fb={Designer:Mb,Runtime:KB,Property:bl};function XB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function xb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ml(e,t)}function QB(e,t){return t&&(JB(t)==="object"||typeof t=="function")?t:XB(e)}function ml(e,t){return ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ml(e,t)}var JB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ZB();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 QB(this,o)}}var ej=function(e){xb(r,e);var t=zb(r);function r(n){Lb(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:v.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:v.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")}},message:v.getMessage("bizKeyNotBindFiled")}),o}return r}(F),$r=function(e){xb(r,e);var t=zb(r);function r(n){Lb(this,r);var o;o=t.call(this,n),o.dataBind=new Z(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar];var u,f;return o.caption=(f=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:tt==null?void 0:tt.controlName)!==null&&f!==void 0?f:"",o}return r}(G);$r.Rules=ej;function tj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rj(e,t,r){return t&&Gb(e.prototype,t),r&&Gb(e,r),e}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(e)}function 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&&Pl(e,t)}function ij(e,t){return t&&(uj(t)==="object"||typeof t=="function")?t:tj(e)}function Pl(e,t){return Pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pl(e,t)}var uj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fj(e){var t=cj();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 ij(this,o)}}var tt=function(e){oj(r,e);var t=fj(r);function r(n){nj(this,r);var o;return o=t.call(this,n),o.props=new $r(n==null?void 0:n.props),o}return rj(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(C);tt.controlFieldType=c.FieldTypes.AUTO_NUMBER,tt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];function aj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sj(e,t,r){return t&&Vb(e.prototype,t),r&&Vb(e,r),e}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(e)}function yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rl(e,t)}function vj(e,t){return t&&(hj(t)==="object"||typeof t=="function")?t:aj(e)}function Rl(e,t){return Rl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rl(e,t)}var hj=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 dj(e){var t=_j();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 vj(this,o)}}var pj=function(e){yj(r,e);var t=dj(r);function r(n){lj(this,r);var o;return o=t.call(this,n),o.props=new $r(n==null?void 0:n.props),o}return sj(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(V),Hb={Designer:tt,Runtime:pj,Property:$r};function bj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(e)}function qb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wl(e,t)}function Oj(e,t){return t&&(gj(t)==="object"||typeof t=="function")?t:bj(e)}function wl(e,t){return wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wl(e,t)}var gj=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 Ub(e){var t=mj();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 Oj(this,o)}}var Pj=function(e){qb(r,e);var t=Ub(r);function r(n){Yb(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:v.getMessage("pleaseEnterForm")},o}return r}(F),Ir=function(e){qb(r,e);var t=Ub(r);function r(n){Yb(this,r);var o;o=t.call(this,n);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Lt.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Lt.controlName;var f;o.formKey=(f=n==null?void 0:n.formKey)!==null&&f!==void 0?f:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(K);Ir.Rules=Pj;function Rj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $j(e,t,r){return t&&Wb(e.prototype,t),r&&Wb(e,r),e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function 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&&$l(e,t)}function Sj(e,t){return t&&(Ej(t)==="object"||typeof t=="function")?t:Rj(e)}function $l(e,t){return $l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$l(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=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sj(this,o)}}var Lt=function(e){Tj(r,e);var t=Nj(r);function r(n){wj(this,r);var o;return o=t.call(this,n),o.props=new Ir(n==null?void 0:n.props),o}return $j(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(X);Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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 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 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 jj(e,t,r){return t&&Kb(e.prototype,t),r&&Kb(e,r),e}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(e)}function 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&&Tl(e,t)}function Aj(e,t){return t&&(Mj(t)==="object"||typeof t=="function")?t:Cj(e)}function Tl(e,t){return Tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tl(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=Cr(e),o;if(t){var i=Cr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aj(this,o)}}var Lj=function(e){kj(r,e);var t=Fj(r);function r(n){Bj(this,r);var o;return o=t.call(this,n),o.props=new Ir(n==null?void 0:n.props),o}return jj(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ne),Xb={Designer:Lt,Runtime:Lj,Property:Ir};function xj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(e)}function Jb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sl(e,t)}function zj(e,t){return t&&(Gj(t)==="object"||typeof t=="function")?t:xj(e)}function Sl(e,t){return Sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sl(e,t)}var Gj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zb(e){var t=Vj();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 zj(this,o)}}var Hj=function(e){Jb(r,e);var t=Zb(r);function r(n){Qb(this,r);var o;return o=t.call(this,n),o.processKey=[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterProcess")}],o}return r}(F),jr=function(e){Jb(r,e);var t=Zb(r);function r(n){Qb(this,r);var o;o=t.call(this,n);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:xt.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:xt.controlName;var f;o.initiatorMode=(f=n==null?void 0:n.initiatorMode)!==null&&f!==void 0?f:"currentInitiator";var a;o.processKey=(a=n==null?void 0:n.processKey)!==null&&a!==void 0?a:"";var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(K);jr.Rules=Hj;function Yj(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 eO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uj(e,t,r){return t&&eO(e.prototype,t),r&&eO(e,r),e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function Wj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&El(e,t)}function Kj(e,t){return t&&(Xj(t)==="object"||typeof t=="function")?t:Yj(e)}function El(e,t){return El=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},El(e,t)}var Xj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jj(e){var t=Qj();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 Kj(this,o)}}var xt=function(e){Wj(r,e);var t=Jj(r);function r(n){qj(this,r);var o;return o=t.call(this,n),o.props=new jr(n==null?void 0:n.props),o}return Uj(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(X);xt.controlEventKeys=["on_click","on_click_finish"],xt.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 Zj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tk(e,t,r){return t&&tO(e.prototype,t),r&&tO(e,r),e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function nk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Il(e,t)}function rk(e,t){return t&&(ok(t)==="object"||typeof t=="function")?t:Zj(e)}function Il(e,t){return Il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Il(e,t)}var ok=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ik(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uk(e){var t=ik();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 rk(this,o)}}var ck=function(e){nk(r,e);var t=uk(r);function r(n){ek(this,r);var o;return o=t.call(this,n),o.props=new jr(n==null?void 0:n.props),o}return tk(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ne),nO={Designer:xt,Runtime:ck,Property:jr};function fk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ak(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(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&&Nl(e,t)}function sk(e,t){return t&&(yk(t)==="object"||typeof t=="function")?t:fk(e)}function Nl(e,t){return Nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nl(e,t)}var yk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hk(e){var t=vk();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 sk(this,o)}}var Cl=function(e){lk(r,e);var t=hk(r);function r(n){ak(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:zt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:zt.controlIcon,o}return r}(K);function _k(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 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 pk(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function bk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bl(e,t)}function Ok(e,t){return t&&(gk(t)==="object"||typeof t=="function")?t:_k(e)}function Bl(e,t){return Bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bl(e,t)}var gk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pk(e){var t=mk();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 Ok(this,o)}}var zt=function(e){bk(r,e);var t=Pk(r);function r(n){dk(this,r);var o;return o=t.call(this,n),o.props=new Cl(n==null?void 0:n.props),o}return pk(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(X);zt.controlEventKeys=["on_click"],zt.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 Rk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $k(e,t,r){return t&&oO(e.prototype,t),r&&oO(e,r),e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(e)}function Tk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jl(e,t)}function Sk(e,t){return t&&(Ek(t)==="object"||typeof t=="function")?t:Rk(e)}function jl(e,t){return jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jl(e,t)}var Ek=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ik(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nk(e){var t=Ik();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 Sk(this,o)}}var Ck=function(e){Tk(r,e);var t=Nk(r);function r(n){wk(this,r);var o;return o=t.call(this,n),o.props=new Cl(n==null?void 0:n.props),o}return $k(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ne),iO={Designer:zt,Runtime:Ck,Property:Cl};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 Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(e)}function kk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kl(e,t)}function Ak(e,t){return t&&(Mk(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 Mk=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 Fk(e){var t=Dk();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 Ak(this,o)}}var Al=function(e){kk(r,e);var t=Fk(r);function r(n){jk(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:Gt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Gt.controlName;var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(l){return new _l(l)}))!==null&&a!==void 0?a:[new _l({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(K);function Lk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zk(e,t,r){return t&&uO(e.prototype,t),r&&uO(e,r),e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(e)}function 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&&Ml(e,t)}function Vk(e,t){return t&&(Hk(t)==="object"||typeof t=="function")?t:Lk(e)}function Ml(e,t){return Ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ml(e,t)}var Hk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qk(e){var t=Yk();return function(){var n=xr(e),o;if(t){var i=xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vk(this,o)}}var Gt=function(e){Gk(r,e);var t=qk(r);function r(n){xk(this,r);var o;return o=t.call(this,n),o.props=new Al(n==null?void 0:n.props),o}return zk(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(X);Gt.controlEventKeys=["on_click","on_click_finish"],Gt.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 Uk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kk(e,t,r){return t&&cO(e.prototype,t),r&&cO(e,r),e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function Xk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dl(e,t)}function Qk(e,t){return t&&(Jk(t)==="object"||typeof t=="function")?t:Uk(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 Zk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e3(e){var t=Zk();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 Qk(this,o)}}var t3=function(e){Xk(r,e);var t=e3(r);function r(n){Wk(this,r);var o;return o=t.call(this,n),o.props=new Al(n==null?void 0:n.props),o}return Kk(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ne),fO={Designer:Gt,Runtime:t3,Property:Al};function n3(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 Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function o3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fl(e,t)}function i3(e,t){return t&&(u3(t)==="object"||typeof t=="function")?t:n3(e)}function Fl(e,t){return Fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fl(e,t)}var u3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f3(e){var t=c3();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 i3(this,o)}}var Ll=function(e){o3(r,e);var t=f3(r);function r(n){r3(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Vt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Vt.controlIcon,o}return r}(K);function a3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 s3(e,t,r){return t&&aO(e.prototype,t),r&&aO(e,r),e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vr(e)}function y3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xl(e,t)}function v3(e,t){return t&&(h3(t)==="object"||typeof t=="function")?t:a3(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(e,t)}var h3=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 d3(e){var t=_3();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 v3(this,o)}}var Vt=function(e){y3(r,e);var t=d3(r);function r(n){l3(this,r);var o;return o=t.call(this,n),o.props=new Ll(n==null?void 0:n.props),o}return s3(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(X);Vt.controlEventKeys=["on_click"],Vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];function p3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b3(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 O3(e,t,r){return t&&lO(e.prototype,t),r&&lO(e,r),e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function g3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 m3(e,t){return t&&(P3(t)==="object"||typeof t=="function")?t:p3(e)}function zl(e,t){return zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zl(e,t)}var P3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w3(e){var t=R3();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 m3(this,o)}}var $3=function(e){g3(r,e);var t=w3(r);function r(n){b3(this,r);var o;return o=t.call(this,n),o.props=new Ll(n==null?void 0:n.props),o}return O3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ne),sO={Designer:Vt,Runtime:$3,Property:Ll};function T3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function S3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E3(e,t){return t&&(I3(t)==="object"||typeof t=="function")?t:T3(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(e,t)}var I3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C3(e){var t=N3();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 E3(this,o)}}var B3=function e(t){yO(this,e),this.dataCode=t.dataCode},Vl=function(e){S3(r,e);var t=C3(r);function r(n){yO(this,r);var o,i;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Ht.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Ht.controlIcon;var a;return o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new B3(l)}))!==null&&a!==void 0?a:[],o}return r}(K);function j3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k3(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 A3(e,t,r){return t&&vO(e.prototype,t),r&&vO(e,r),e}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(e)}function M3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D3(e,t){return t&&(F3(t)==="object"||typeof t=="function")?t:j3(e)}function Hl(e,t){return Hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hl(e,t)}var F3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x3(e){var t=L3();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 D3(this,o)}}var Ht=function(e){M3(r,e);var t=x3(r);function r(n){k3(this,r);var o;return o=t.call(this,n),o.props=new Vl(n==null?void 0:n.props),o}return A3(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(X);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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];function z3(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 hO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V3(e,t,r){return t&&hO(e.prototype,t),r&&hO(e,r),e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function 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&&Yl(e,t)}function Y3(e,t){return t&&(q3(t)==="object"||typeof t=="function")?t:z3(e)}function Yl(e,t){return Yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yl(e,t)}var q3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W3(e){var t=U3();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 Y3(this,o)}}var K3=function(e){H3(r,e);var t=W3(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 V3(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ne),_O={Designer:Ht,Runtime:K3,Property:Vl};function Wr(){return{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}}}}}}function X3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(e)}function pO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ql(e,t)}function bO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Q3(e,o,r[o])})}return e}function J3(e,t){return t&&(Z3(t)==="object"||typeof t=="function")?t:X3(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(e,t)}var Z3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OO(e){var t=eA();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 J3(this,o)}}var tA=function(e){pO(r,e);var t=OO(r);function r(n){dO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:bO({},Wr())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:bO({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},Wr())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}),o}return r}(F),Xr=function(e){pO(r,e);var t=OO(r);function r(n){dO(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Yt.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Yt.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new Mn(n==null?void 0:n.fillPayload),o.formBind=new vp(n==null?void 0:n.formBind),o.fillBack=new va(n==null?void 0:n.fillBack),o}return r}(K);Xr.Rules=tA;function nA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oA(e,t,r){return t&&gO(e.prototype,t),r&&gO(e,r),e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function iA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ul(e,t)}function uA(e,t){return t&&(cA(t)==="object"||typeof t=="function")?t:nA(e)}function Ul(e,t){return Ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ul(e,t)}var cA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aA(e){var t=fA();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 uA(this,o)}}var Yt=function(e){iA(r,e);var t=aA(r);function r(n){rA(this,r);var o;return o=t.call(this,n),o.props=new Xr(n==null?void 0:n.props),o}return oA(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(X);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 lA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sA(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 yA(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(e)}function vA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hA(e,t){return t&&(_A(t)==="object"||typeof t=="function")?t:lA(e)}function Wl(e,t){return Wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wl(e,t)}var _A=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dA();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 hA(this,o)}}var bA=function(e){vA(r,e);var t=pA(r);function r(n){sA(this,r);var o;return o=t.call(this,n),o.props=new Xr(n==null?void 0:n.props),o}return yA(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ne),PO={Designer:Yt,Runtime:bA,Property:Xr};function OA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(e)}function wO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kl(e,t)}function $O(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){gA(e,o,r[o])})}return e}function mA(e,t){return t&&(PA(t)==="object"||typeof t=="function")?t:OA(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(e,t)}var PA=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 TO(e){var t=RA();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 mA(this,o)}}var wA=function(e){wO(r,e);var t=TO(r);function r(n){RO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:$O({},Wr())},o.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}},o.fillBack={type:"object",fields:$O({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},Wr())},o}return r}(F),eo=function(e){wO(r,e);var t=TO(r);function r(n){RO(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:qt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:qt.controlIcon,o.fillPayload=new Mn(n==null?void 0:n.fillPayload),o.listPageBind=new aa(n==null?void 0:n.listPageBind),o.fillBack=new va(n==null?void 0:n.fillBack),o}return r}(K);eo.Rules=wA;function $A(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 SO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SA(e,t,r){return t&&SO(e.prototype,t),r&&SO(e,r),e}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function 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&&Xl(e,t)}function IA(e,t){return t&&(NA(t)==="object"||typeof t=="function")?t:$A(e)}function Xl(e,t){return Xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xl(e,t)}var NA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BA(e){var t=CA();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 IA(this,o)}}var qt=function(e){EA(r,e);var t=BA(r);function r(n){TA(this,r);var o;return o=t.call(this,n),o.props=new eo(n==null?void 0:n.props),o}return SA(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(X);qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function jA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AA(e,t,r){return t&&EO(e.prototype,t),r&&EO(e,r),e}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},no(e)}function MA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DA(e,t){return t&&(FA(t)==="object"||typeof t=="function")?t:jA(e)}function Ql(e,t){return Ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ql(e,t)}var FA=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 xA(e){var t=LA();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 DA(this,o)}}var zA=function(e){MA(r,e);var t=xA(r);function r(n){kA(this,r);var o;return o=t.call(this,n),o.props=new eo(n==null?void 0:n.props),o}return AA(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ne),IO={Designer:qt,Runtime:zA,Property:eo};function GA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function Zl(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}function VA(e,t){return t&&(HA(t)==="object"||typeof t=="function")?t:GA(e)}function es(e,t){return es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},es(e,t)}var HA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ts(e){var t=YA();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 VA(this,o)}}var qA=function(e){Zl(r,e);var t=ts(r);function r(n){return Jl(this,r),t.call(this,n)}return r}(F),UA=function(e){Zl(r,e);var t=ts(r);function r(n){return Jl(this,r),t.call(this,n)}return r}(de),Ut=function(e){Zl(r,e);var t=ts(r);function r(n){return Jl(this,r),t.call(this,n)}return r}(G);Ut.Rules=qA,Ut.RuntimeRules=UA;function WA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KA(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 XA(e,t,r){return t&&NO(e.prototype,t),r&&NO(e,r),e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function 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&&ns(e,t)}function JA(e,t){return t&&(ZA(t)==="object"||typeof t=="function")?t:WA(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ns(e,t)}var ZA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t2(e){var t=e2();return function(){var n=oo(e),o;if(t){var i=oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JA(this,o)}}var CO=function(e){QA(r,e);var t=t2(r);function r(n){KA(this,r);var o;return o=t.call(this,n),o.props=new Ut(n==null?void 0:n.props),o}return XA(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(C);CO.setting=[];function n2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 o2(e,t,r){return t&&BO(e.prototype,t),r&&BO(e,r),e}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function 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&&rs(e,t)}function u2(e,t){return t&&(c2(t)==="object"||typeof t=="function")?t:n2(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rs(e,t)}var c2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a2(e){var t=f2();return function(){var n=io(e),o;if(t){var i=io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u2(this,o)}}var l2=function(e){i2(r,e);var t=a2(r);function r(n){r2(this,r);var o;return o=t.call(this,n),o.props=new Ut(n==null?void 0:n.props),o}return o2(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(V),jO={Designer:CO,Runtime:l2,Property:Ut};function s2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(e)}function AO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&os(e,t)}function y2(e,t){return t&&(v2(t)==="object"||typeof t=="function")?t:s2(e)}function os(e,t){return os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},os(e,t)}var v2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MO(e){var t=h2();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 y2(this,o)}}var _2=function(e){AO(r,e);var t=MO(r);function r(n){kO(this,r);var o;return o=t.call(this,n),o.dashboardKey={type:"string",required:!0,message:v.getMessage("pleaseSelectDashboard")},o.caption={type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.captionTip={type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),co=function(e){AO(r,e);var t=MO(r);function r(n){kO(this,r);var o;o=t.call(this,n);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(G);co.Rules=_2;function d2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 b2(e,t,r){return t&&DO(e.prototype,t),r&&DO(e,r),e}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(e)}function O2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function g2(e,t){return t&&(m2(t)==="object"||typeof t=="function")?t:d2(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}var m2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R2(e){var t=P2();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 g2(this,o)}}var FO=function(e){O2(r,e);var t=R2(r);function r(n){p2(this,r);var o;return o=t.call(this,n),o.props=new co(n==null?void 0:n.props),o}return b2(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(C);FO.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function w2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 T2(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(e)}function S2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&us(e,t)}function E2(e,t){return t&&(I2(t)==="object"||typeof t=="function")?t:w2(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(e,t)}var I2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C2(e){var t=N2();return function(){var n=ao(e),o;if(t){var i=ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E2(this,o)}}var B2=function(e){S2(r,e);var t=C2(r);function r(n){$2(this,r);var o;return o=t.call(this,n),o.props=new co(n==null?void 0:n.props),o}return T2(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(V),xO={Designer:FO,Runtime:B2,Property:co};function j2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function GO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function k2(e,t){return t&&(A2(t)==="object"||typeof t=="function")?t:j2(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var A2=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 VO(e){var t=M2();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 k2(this,o)}}var D2=function(e){GO(r,e);var t=VO(r);function r(n){zO(this,r);var o;return o=t.call(this,n),o.showType={type:"enum",enum:["select","tabs"]},o.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:v.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}},o}return r}(F),so=function(e){GO(r,e);var t=VO(r);function r(n){zO(this,r);var o,i;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var f;return o.viewList=(f=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new Bp(a)}))!==null&&f!==void 0?f:[],o}return r}(G);so.Rules=D2;function F2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x2(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yo(e)}function z2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function G2(e,t){return t&&(V2(t)==="object"||typeof t=="function")?t:F2(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(e,t)}var V2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y2(e){var t=H2();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 G2(this,o)}}var YO=function(e){z2(r,e);var t=Y2(r);function r(n){L2(this,r);var o;return o=t.call(this,n),o.props=new so(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}(C);YO.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function q2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W2(e,t,r){return t&&qO(e.prototype,t),r&&qO(e,r),e}function vo(e){return vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vo(e)}function K2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}function X2(e,t){return t&&(Q2(t)==="object"||typeof t=="function")?t:q2(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var Q2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z2(e){var t=J2();return function(){var n=vo(e),o;if(t){var i=vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X2(this,o)}}var eM=function(e){K2(r,e);var t=Z2(r);function r(n){U2(this,r);var o;return o=t.call(this,n),o.props=new so(n==null?void 0:n.props),o}return W2(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(V),UO={Designer:YO,Runtime:eM,Property:so};function tM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(e)}function KO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function nM(e,t){return t&&(rM(t)==="object"||typeof t=="function")?t:tM(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var rM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XO(e){var t=oM();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 nM(this,o)}}var iM=function(e){KO(r,e);var t=XO(r);function r(n){WO(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.ocrType={type:"string",required:!0,message:v.getMessage("pleaseSelectOcrType")},o.fillList={type:"array",validator:function(u,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},o.captionTip={type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),_o=function(e){KO(r,e);var t=XO(r);function r(n){WO(this,r);var o,i;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:nt.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:nt.controlName;var h;o.icon=(h=n==null?void 0:n.icon)!==null&&h!==void 0?h:nt.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var b;return o.fillList=(b=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(d){return new Q(d)}))!==null&&b!==void 0?b:[],o}return r}(K);_o.Rules=iM;function uM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fM(e,t,r){return t&&QO(e.prototype,t),r&&QO(e,r),e}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(e)}function aM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ss(e,t)}function lM(e,t){return t&&(sM(t)==="object"||typeof t=="function")?t:uM(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var sM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vM(e){var t=yM();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 lM(this,o)}}var nt=function(e){aM(r,e);var t=vM(r);function r(n){cM(this,r);var o;return o=t.call(this,n),o.props=new _o(n==null?void 0:n.props),o}return fM(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(X);nt.controlEventKeys=["on_click","on_click_finish"],nt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function hM(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 JO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dM(e,t,r){return t&&JO(e.prototype,t),r&&JO(e,r),e}function bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bo(e)}function 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&&ys(e,t)}function bM(e,t){return t&&(OM(t)==="object"||typeof t=="function")?t:hM(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(e,t)}var OM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mM(e){var t=gM();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 bM(this,o)}}var PM=function(e){pM(r,e);var t=mM(r);function r(n){_M(this,r);var o;return o=t.call(this,n),o.props=new _o(n==null?void 0:n.props),o}return dM(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ne),ZO={Designer:nt,Runtime:PM,Property:_o};function RM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oo(e){return Oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oo(e)}function tg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function wM(e,t){return t&&($M(t)==="object"||typeof t=="function")?t:RM(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}var $M=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ng(e){var t=TM();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 wM(this,o)}}var SM=function(e){tg(r,e);var t=ng(r);function r(n){eg(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:v.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(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},o.captionTip={type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),go=function(e){tg(r,e);var t=ng(r);function r(n){eg(this,r);var o,i;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:rt.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:rt.controlName;var h;o.icon=(h=n==null?void 0:n.icon)!==null&&h!==void 0?h:rt.controlIcon;var p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var b;return o.fillList=(b=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(d){return new Q(d)}))!==null&&b!==void 0?b:[],o}return r}(K);go.Rules=SM;function EM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NM(e,t,r){return t&&rg(e.prototype,t),r&&rg(e,r),e}function mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mo(e)}function CM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function BM(e,t){return t&&(jM(t)==="object"||typeof t=="function")?t:EM(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hs(e,t)}var jM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kM();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 BM(this,o)}}var rt=function(e){CM(r,e);var t=AM(r);function r(n){IM(this,r);var o;return o=t.call(this,n),o.props=new go(n==null?void 0:n.props),o}return NM(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(X);rt.controlEventKeys=["on_click","on_click_finish"],rt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function MM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 FM(e,t,r){return t&&og(e.prototype,t),r&&og(e,r),e}function Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Po(e)}function LM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function xM(e,t){return t&&(zM(t)==="object"||typeof t=="function")?t:MM(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}var zM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VM(e){var t=GM();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 xM(this,o)}}var HM=function(e){LM(r,e);var t=VM(r);function r(n){DM(this,r);var o;return o=t.call(this,n),o.props=new go(n==null?void 0:n.props),o}return FM(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ne),ig={Designer:rt,Runtime:HM,Property:go};function YM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ug(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function cg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}function qM(e,t){return t&&(UM(t)==="object"||typeof t=="function")?t:YM(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ds(e,t)}var UM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fg(e){var t=WM();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 qM(this,o)}}var KM=function(e){cg(r,e);var t=fg(r);function r(){ug(this,r);var n;return n=t.apply(this,arguments),n.printTemplates={type:"array",min:1,required:!0,message:v.getMessage("pleaseUploadAtLeastOnePrintTemplate")},n}return r}(F),wo=function(e){cg(r,e);var t=fg(r);function r(n){ug(this,r);var o,i;o=t.call(this,n);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Wt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Wt.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new jb(s)}))!==null&&a!==void 0?a:[];var l;return o.autoSelectTemplate=(l=n==null?void 0:n.autoSelectTemplate)!==null&&l!==void 0?l:!1,o}return r}(K);wo.Rules=KM;function XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ag(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JM(e,t,r){return t&&ag(e.prototype,t),r&&ag(e,r),e}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(e)}function 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&&ps(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:XM(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var tD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rD(e){var t=nD();return function(){var n=$o(e),o;if(t){var i=$o(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eD(this,o)}}var Wt=function(e){ZM(r,e);var t=rD(r);function r(n){QM(this,r);var o;return o=t.call(this,n),o.props=new wo(n==null?void 0:n.props),o}return JM(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(X);Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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 oD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uD(e,t,r){return t&&lg(e.prototype,t),r&&lg(e,r),e}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function cD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function fD(e,t){return t&&(aD(t)==="object"||typeof t=="function")?t:oD(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(e,t)}var aD=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 sD(e){var t=lD();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 fD(this,o)}}var yD=function(e){cD(r,e);var t=sD(r);function r(n){iD(this,r);var o;return o=t.call(this,n),o.props=new wo(n==null?void 0:n.props),o}return uD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ne),sg={Designer:Wt,Runtime:yD,Property:wo};function vD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},So(e)}function _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&&Os(e,t)}function dD(e,t){return t&&(pD(t)==="object"||typeof t=="function")?t:vD(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var pD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OD(e){var t=bD();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 dD(this,o)}}var gs=function(e){_D(r,e);var t=OD(r);function r(n){hD(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:Kt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Kt.controlIcon,o}return r}(K);function gD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PD(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(e)}function RD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function wD(e,t){return t&&($D(t)==="object"||typeof t=="function")?t:gD(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}var $D=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 SD(e){var t=TD();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 wD(this,o)}}var Kt=function(e){RD(r,e);var t=SD(r);function r(n){mD(this,r);var o;return o=t.call(this,n),o.props=new gs(n==null?void 0:n.props),o}return PD(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(X);Kt.controlEventKeys=["on_click"],Kt.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 ED(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ID(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ND(e,t,r){return t&&vg(e.prototype,t),r&&vg(e,r),e}function Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Io(e)}function CD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function BD(e,t){return t&&(jD(t)==="object"||typeof t=="function")?t:ED(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(e,t)}var jD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AD(e){var t=kD();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 BD(this,o)}}var MD=function(e){CD(r,e);var t=AD(r);function r(n){ID(this,r);var o;return o=t.call(this,n),o.props=new gs(n==null?void 0:n.props),o}return ND(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ne),hg={Designer:Kt,Runtime:MD,Property:gs},DD=Object.freeze({__proto__:null,Text:Rb,Link:Tb,Button:Ib,Divider:Fb,Title:Hb,CreateFormListButton:Xb,BatchSubmissionListButton:nO,SubmissionRecordListButton:iO,ExportListButton:fO,ExportRecordListButton:sO,ImportRecordListButton:_O,FormSelectButton:PO,ListSelectButton:IO,Pagination:jO,Dashboard:xO,ListViewSelect:UO,TextOcrButton:ZO,InvoiceCheckButton:ig,BatchPrintListButton:sg,BatchPrintRecordListButton:hg});function FD(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 No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(e)}function ws(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$s(e,t)}function LD(e,t){return t&&(xD(t)==="object"||typeof t=="function")?t:FD(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$s(e,t)}var xD=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 Ts(e){var t=zD();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 LD(this,o)}}var GD=function(e){ws(r,e);var t=Ts(r);function r(n){Rs(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:200,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue=[{type:"string",max:200,min:0,message:v.getMessage("stringRangeError")},{pattern:"",message:""}],o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Ft(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(U),VD=function(e){ws(r,e);var t=Ts(r);function r(n){Rs(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:v.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ft(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(B),ot=function(e){ws(r,e);var t=Ts(r);function r(n){Rs(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 ha(n==null?void 0:n.regularRules);var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:it.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(S);ot.Rules=GD,ot.RuntimeRules=VD;function HD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 qD(e,t,r){return t&&_g(e.prototype,t),r&&_g(e,r),e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Co(e)}function UD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ss(e,t)}function WD(e,t){return t&&(KD(t)==="object"||typeof t=="function")?t:HD(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(e,t)}var KD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QD(e){var t=XD();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 WD(this,o)}}var it=function(e){UD(r,e);var t=QD(r);function r(n){YD(this,r);var o;return o=t.call(this,n),o.props=new ot(n==null?void 0:n.props),o}return qD(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(I);it.controlEventKeys=["on_change","on_input","on_focus","on_blur"],it.controlFieldType=c.FieldTypes.VARCHAR,it.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];function JD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 eF(e,t,r){return t&&dg(e.prototype,t),r&&dg(e,r),e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(e)}function tF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function nF(e,t){return t&&(rF(t)==="object"||typeof t=="function")?t:JD(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Es(e,t)}var rF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iF(e){var t=oF();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 nF(this,o)}}var pg=function(e){tF(r,e);var t=iF(r);function r(n){ZD(this,r);var o;return o=t.call(this,n),o.props=new ot(n==null?void 0:n.props),o}return eF(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(N);pg.controlFieldType=c.FieldTypes.VARCHAR;var bg={Designer:it,Runtime:pg,Property:ot};function uF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Is(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jo(e)}function Ns(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function cF(e,t){return t&&(fF(t)==="object"||typeof t=="function")?t:uF(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}var fF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bs(e){var t=aF();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 cF(this,o)}}var lF=function(e){Ns(r,e);var t=Bs(r);function r(n){Is(this,r);var o;o=t.call(this,n),o.limitMax={type:"number",min:void 0,message:v.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),sF=function(e){Ns(r,e);var t=Bs(r);function r(n){Is(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(B),Xt=function(e){Ns(r,e);var t=Bs(r);function r(n){Is(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 z(n==null?void 0:n.datasourceBind);var h;o.interreaction=(h=n==null?void 0:n.interreaction)!==null&&h!==void 0?h:[];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 d;o.optionsFormat=(d=n==null?void 0:n.optionsFormat)!==null&&d!==void 0?d:"horizontal";var O;return o.defaultShowOptions=(O=n==null?void 0:n.defaultShowOptions)!==null&&O!==void 0?O:!0,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(_){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Q(_))})),o}return r}(S);Xt.Rules=lF,Xt.RuntimeRules=sF;function yF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vF(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 hF(e,t,r){return t&&Og(e.prototype,t),r&&Og(e,r),e}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(e)}function _F(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&js(e,t)}function dF(e,t){return t&&(pF(t)==="object"||typeof t=="function")?t:yF(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(e,t)}var pF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OF(e){var t=bF();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 dF(this,o)}}var Qt=function(e){_F(r,e);var t=OF(r);function r(n){vF(this,r);var o;return o=t.call(this,n),o.props=new Xt(n==null?void 0:n.props),o}return hF(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 gF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PF(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(e)}function 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&&ks(e,t)}function wF(e,t){return t&&($F(t)==="object"||typeof t=="function")?t:gF(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}var $F=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SF(e){var t=TF();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 wF(this,o)}}var mg=function(e){RF(r,e);var t=SF(r);function r(n){mF(this,r);var o;return o=t.call(this,n),o.props=new Xt(n==null?void 0:n.props),o}return PF(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(N);mg.controlFieldType=c.FieldTypes.ARRAY;var Pg={Designer:Qt,Runtime:mg,Property:Xt};function EF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(e)}function wg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function IF(e,t){return t&&(NF(t)==="object"||typeof t=="function")?t:EF(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 $g(e){var t=CF();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 IF(this,o)}}var BF=function(e){wg(r,e);var t=$g(r);function r(n){return Rg(this,r),t.call(this,n)}return r}(Ie),Do=function(e){wg(r,e);var t=$g(r);function r(n){Rg(this,r);var o;o=t.call(this,n);var i;o.options=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 z(n==null?void 0:n.datasourceBind);var h;o.interreaction=(h=n==null?void 0:n.interreaction)!==null&&h!==void 0?h:[];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(d){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Q(d))})),o}return r}(S);Do.Rules=BF;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 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 AF(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(e)}function 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=Fo(e),o;if(t){var i=Fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DF(this,o)}}var Jt=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 Do(n==null?void 0:n.props),o}return AF(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 zF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 VF(e,t,r){return t&&Sg(e.prototype,t),r&&Sg(e,r),e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(e)}function HF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ds(e,t)}function YF(e,t){return t&&(qF(t)==="object"||typeof t=="function")?t:zF(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var qF=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 WF(e){var t=UF();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 YF(this,o)}}var Eg=function(e){HF(r,e);var t=WF(r);function r(n){GF(this,r);var o;return o=t.call(this,n),o.props=new Do(n==null?void 0:n.props),o}return VF(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(N);Eg.controlFieldType=c.FieldTypes.VARCHAR;var Ig={Designer:Jt,Runtime:Eg,Property:Do};function KF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(e)}function Ls(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xs(e,t)}function XF(e,t){return t&&(QF(t)==="object"||typeof t=="function")?t:KF(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(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 zs(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 ZF=function(e){Ls(r,e);var t=zs(r);function r(n){Fs(this,r);var o;o=t.call(this,n),o.defaultValue=[{type:"number",min:0,max:200,message:v.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=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Ft(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(U),eL=function(e){Ls(r,e);var t=zs(r);function r(n){Fs(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ft(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(B),Zt=function(e){Ls(r,e);var t=zs(r);function r(n){Fs(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 h;o.isShowUnit=(h=n==null?void 0:n.isShowUnit)!==null&&h!==void 0?h:!1;var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:en.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u8F93\u5165";var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",o.regularRules=new ha(n==null?void 0:n.regularRules),o}return r}(S);Zt.Rules=ZF,Zt.RuntimeRules=eL;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 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 rL(e,t,r){return t&&Ng(e.prototype,t),r&&Ng(e,r),e}function zo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zo=Reflect.get:zo=function(o,i,u){var f=uL(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},zo(e,t,r||e)}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(e)}function 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&&(cL(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)}function uL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ut(e),e!==null););return e}var cL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aL(e){var t=fL();return function(){var n=ut(e),o;if(t){var i=ut(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iL(this,o)}}var en=function(e){oL(r,e);var t=aL(r);function r(o){nL(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=zo(ut(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},rL(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 lL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yL(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 vL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vs(e,t)}function hL(e,t){return t&&(_L(t)==="object"||typeof t=="function")?t:lL(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}var _L=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pL(e){var t=dL();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 hL(this,o)}}var Bg=function(e){vL(r,e);var t=pL(r);function r(n){sL(this,r);var o;return o=t.call(this,n),o.props=new Zt(n==null?void 0:n.props),o}return yL(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(N);Bg.controlFieldType=c.FieldTypes.DECIMAL;var jg={Designer:en,Runtime:Bg,Property:Zt};function bL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function gL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hs(e,t)}function mL(e,t){return t&&(PL(t)==="object"||typeof t=="function")?t:bL(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}var PL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wL(e){var t=RL();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 mL(this,o)}}var Ys=function(e){gL(r,e);var t=wL(r);function r(n){OL(this,r);var o,i;o=t.call(this,n);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Yo.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165\u65E5\u671F";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;o.limitDateList=(y=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new Or(b)}))!==null&&y!==void 0?y:[];var h;o.allowDateRange=(h=n==null?void 0:n.allowDateRange)!==null&&h!==void 0?h:["",""];var p;return o.filterWeekend=(p=n==null?void 0:n.filterWeekend)!==null&&p!==void 0?p:!1,o}return r}(S);function $L(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 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 SL(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),e}function Ho(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ho=Reflect.get:Ho=function(o,i,u){var f=NL(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ho(e,t,r||e)}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ct(e)}function EL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qs(e,t)}function IL(e,t){return t&&(CL(t)==="object"||typeof t=="function")?t:$L(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}function NL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ct(e),e!==null););return e}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 jL(e){var t=BL();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 IL(this,o)}}var Yo=function(e){EL(r,e);var t=jL(r);function r(o){TL(this,r);var i;return i=t.call(this,o),i.props=new Ys(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Ho(ct(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},SL(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(I);Yo.controlFieldType=c.FieldTypes.TIMESTAMP,Yo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function kL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ag(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ML(e,t,r){return t&&Ag(e.prototype,t),r&&Ag(e,r),e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function DL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function FL(e,t){return t&&(LL(t)==="object"||typeof t=="function")?t:kL(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}var LL=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 zL(e){var t=xL();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 FL(this,o)}}var Mg=function(e){DL(r,e);var t=zL(r);function r(n){AL(this,r);var o;return o=t.call(this,n),o.props=new Ys(n==null?void 0:n.props),o}return ML(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(N);Mg.controlFieldType=c.FieldTypes.TIMESTAMP;var Dg={Designer:Yo,Runtime:Mg,Property:Ys};function GL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(e)}function Lg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function VL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:GL(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}var HL=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 xg(e){var t=YL();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 VL(this,o)}}var qL=function(e){Lg(r,e);var t=xg(r);function r(n){Fg(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(B),Wo=function(e){Lg(r,e);var t=xg(r);function r(n){Fg(this,r);var o,i;o=t.call(this,n),o.dataBind=new Sp(n==null?void 0:n.dataBind),o.defaultValue=new Ep(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var a;o.rangeMin=(a=n==null?void 0:n.rangeMin)!==null&&a!==void 0?a:"";var l;o.rangeMax=(l=n==null?void 0:n.rangeMax)!==null&&l!==void 0?l:"";var s;o.placeholderStart=(s=n==null?void 0:n.placeholderStart)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var y;o.placeholderEnd=(y=n==null?void 0:n.placeholderEnd)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Xo.controlName;var p;return o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new Or(b)}))!==null&&p!==void 0?p:[],o}return r}(S);Wo.RuntimeRules=qL;function UL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WL(e,t){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 KL(e,t,r){return t&&zg(e.prototype,t),r&&zg(e,r),e}function Ko(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ko=Reflect.get:Ko=function(o,i,u){var f=JL(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ko(e,t,r||e)}function ft(e){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ft(e)}function XL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function QL(e,t){return t&&(ZL(t)==="object"||typeof t=="function")?t:UL(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ks(e,t)}function JL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ft(e),e!==null););return e}var ZL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=e5();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 QL(this,o)}}var Xo=function(e){XL(r,e);var t=t5(r);function r(o){WL(this,r);var i;return i=t.call(this,o),i.props=new Wo(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Ko(ft(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},KL(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(I);Xo.controlFieldType=c.FieldTypes.TIMESCOPE,Xo.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function n5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 o5(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function 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&&Xs(e,t)}function u5(e,t){return t&&(c5(t)==="object"||typeof t=="function")?t:n5(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}var c5=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 a5(e){var t=f5();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 u5(this,o)}}var Vg=function(e){i5(r,e);var t=a5(r);function r(n){r5(this,r);var o;return o=t.call(this,n),o.props=new Wo(n==null?void 0:n.props),o}return o5(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(N);Vg.controlFieldType=c.FieldTypes.TIMESCOPE;var Hg={Designer:Xo,Runtime:Vg,Property:Wo};function l5(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 Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function Js(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s5(e,t){return t&&(y5(t)==="object"||typeof t=="function")?t:l5(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}var y5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ey(e){var t=v5();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 s5(this,o)}}var h5=function(e){Js(r,e);var t=ey(r);function r(n){Qs(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:v.getMessage("stringRangeError")},o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(U),_5=function(e){Js(r,e);var t=ey(r);function r(n){Qs(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(B),tn=function(e){Js(r,e);var t=ey(r);function r(n){Qs(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}(S);tn.Rules=h5,tn.RuntimeRules=_5;function d5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 b5(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function O5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:d5(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var m5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R5(e){var t=P5();return function(){var n=Zo(e),o;if(t){var i=Zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g5(this,o)}}var nn=function(e){O5(r,e);var t=R5(r);function r(n){p5(this,r);var o;return o=t.call(this,n),o.props=new tn(n==null?void 0:n.props),o}return b5(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 w5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e,t){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 T5(e,t,r){return t&&qg(e.prototype,t),r&&qg(e,r),e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(e)}function S5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function E5(e,t){return t&&(I5(t)==="object"||typeof t=="function")?t:w5(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var I5=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 C5(e){var t=N5();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 E5(this,o)}}var Ug=function(e){S5(r,e);var t=C5(r);function r(n){$5(this,r);var o;return o=t.call(this,n),o.props=new tn(n==null?void 0:n.props),o}return T5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(N);Ug.controlFieldType=c.FieldTypes.TEXT;var Wg={Designer:nn,Runtime:Ug,Property:tn};function B5(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 ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(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&&iy(e,t)}function j5(e,t){return t&&(k5(t)==="object"||typeof t=="function")?t:B5(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}var k5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uy(e){var t=A5();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 j5(this,o)}}var M5=function(e){oy(r,e);var t=uy(r);function r(n){ry(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:v.getMessage("stringRangeError")},o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(U),D5=function(e){oy(r,e);var t=uy(r);function r(n){ry(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(B),rn=function(e){oy(r,e);var t=uy(r);function r(n){ry(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}(S);rn.Rules=M5,rn.RuntimeRules=D5;function F5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L5(e,t){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 x5(e,t,r){return t&&Kg(e.prototype,t),r&&Kg(e,r),e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:F5(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}var V5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y5(e){var t=H5();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 G5(this,o)}}var on=function(e){z5(r,e);var t=Y5(r);function r(n){L5(this,r);var o;return o=t.call(this,n),o.props=new rn(n==null?void 0:n.props),o}return x5(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 q5(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 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 W5(e,t,r){return t&&Xg(e.prototype,t),r&&Xg(e,r),e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function K5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function X5(e,t){return t&&(Q5(t)==="object"||typeof t=="function")?t:q5(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}var Q5=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 Z5(e){var t=J5();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 X5(this,o)}}var Qg=function(e){K5(r,e);var t=Z5(r);function r(n){U5(this,r);var o;return o=t.call(this,n),o.props=new rn(n==null?void 0:n.props),o}return W5(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(N);Qg.controlFieldType=c.FieldTypes.TEXT;var Jg={Designer:on,Runtime:Qg,Property:rn};function e4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(e)}function em(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function t4(e,t){return t&&(n4(t)==="object"||typeof t=="function")?t:e4(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(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 tm(e){var t=r4();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 t4(this,o)}}var o4=function(e){em(r,e);var t=tm(r);function r(n){return Zg(this,r),t.call(this,n)}return r}(Ie),ii=function(e){em(r,e);var t=tm(r);function r(n){Zg(this,r);var o;o=t.call(this,n);var i;o.options=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 z(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ci.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;return o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Q(h))})),o}return r}(S);ii.Rules=o4;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 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 c4(e,t,r){return t&&nm(e.prototype,t),r&&nm(e,r),e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function 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&&ly(e,t)}function a4(e,t){return t&&(l4(t)==="object"||typeof t=="function")?t:i4(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var l4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function s4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y4(e){var t=s4();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 a4(this,o)}}var ci=function(e){f4(r,e);var t=y4(r);function r(n){u4(this,r);var o;return o=t.call(this,n),o.props=new ii(n==null?void 0:n.props),o}return c4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(I);ci.controlFieldType=c.FieldTypes.VARCHAR,ci.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];function v4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h4(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 _4(e,t,r){return t&&rm(e.prototype,t),r&&rm(e,r),e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function d4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function p4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:v4(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}var b4=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 g4(e){var t=O4();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 p4(this,o)}}var om=function(e){d4(r,e);var t=g4(r);function r(n){h4(this,r);var o;return o=t.call(this,n),o.props=new ii(n==null?void 0:n.props),o}return _4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(N);om.controlFieldType=c.FieldTypes.VARCHAR;var im={Designer:ci,Runtime:om,Property:ii};function m4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function vy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function P4(e,t){return t&&(R4(t)==="object"||typeof t=="function")?t:m4(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}var R4=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 _y(e){var t=w4();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 P4(this,o)}}var $4=function(e){vy(r,e);var t=_y(r);function r(n){return yy(this,r),t.call(this,n)}return r}(Ie),T4=function(e){vy(r,e);var t=_y(r);function r(n){yy(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),un=function(e){vy(r,e);var t=_y(r);function r(n){yy(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 z(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:si.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;return o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[],o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(y){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Q(y))})),o}return r}(S);un.Rules=$4,un.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 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 I4(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function 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&&dy(e,t)}function C4(e,t){return t&&(B4(t)==="object"||typeof t=="function")?t:S4(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}var B4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k4(e){var t=j4();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 C4(this,o)}}var si=function(e){N4(r,e);var t=k4(r);function r(n){E4(this,r);var o;return o=t.call(this,n),o.props=new un(n==null?void 0:n.props),o}return I4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(I);si.controlFieldType=c.FieldTypes.ARRAY,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];function A4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M4(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 D4(e,t,r){return t&&cm(e.prototype,t),r&&cm(e,r),e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function 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&&py(e,t)}function L4(e,t){return t&&(x4(t)==="object"||typeof t=="function")?t:A4(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}var x4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G4(e){var t=z4();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 L4(this,o)}}var fm=function(e){F4(r,e);var t=G4(r);function r(n){M4(this,r);var o;return o=t.call(this,n),o.props=new un(n==null?void 0:n.props),o}return D4(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);fm.controlFieldType=c.FieldTypes.ARRAY;var am={Designer:si,Runtime:fm,Property:un};function V4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function sm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&by(e,t)}function H4(e,t){return t&&(Y4(t)==="object"||typeof t=="function")?t:V4(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}var Y4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ym(e){var t=q4();return function(){var n=vi(e),o;if(t){var i=vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H4(this,o)}}var U4=function(e){sm(r,e);var t=ym(r);function r(n){lm(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),hi=function(e){sm(r,e);var t=ym(r);function r(n){lm(this,r);var o;o=t.call(this,n);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:di.controlName;var h;return o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Q(p))})),o}return r}(S);hi.RuntimeRules=U4;function W4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K4(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 X4(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function Q4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function J4(e,t){return t&&(Z4(t)==="object"||typeof t=="function")?t:W4(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 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=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J4(this,o)}}var di=function(e){Q4(r,e);var t=t6(r);function r(n){K4(this,r);var o;return o=t.call(this,n),o.props=new hi(n==null?void 0:n.props),o}return X4(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(I);di.controlFieldType=c.FieldTypes.EMPLOYEES,di.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];function n6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 o6(e,t,r){return t&&hm(e.prototype,t),r&&hm(e,r),e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function i6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gy(e,t)}function u6(e,t){return t&&(c6(t)==="object"||typeof t=="function")?t:n6(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gy(e,t)}var c6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a6(e){var t=f6();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 u6(this,o)}}var _m=function(e){i6(r,e);var t=a6(r);function r(n){r6(this,r);var o;return o=t.call(this,n),o.props=new hi(n==null?void 0:n.props),o}return o6(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(N);_m.controlFieldType=c.FieldTypes.EMPLOYEES;var dm={Designer:di,Runtime:_m,Property:hi};function l6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function my(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function Py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function s6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:l6(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(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 wy(e){var t=v6();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 s6(this,o)}}var h6=10485760,_6=104857600,d6=1048576e3,p6=function(e){Py(r,e);var t=wy(r);function r(n){my(this,r);var o;return o=t.call(this,n),o.maxSize={type:"number",min:0,max:d6,message:v.getMessage("attachmentMaxSize")},o}return r}(U),b6=function(e){Py(r,e);var t=wy(r);function r(n){my(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:v.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(B),at=function(e){Py(r,e);var t=wy(r);function r(n){my(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:_6;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:lt.controlName;var h;return o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(S);at.Rules=p6,at.RuntimeRules=b6;function O6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g6(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 m6(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function P6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function R6(e,t){return t&&(w6(t)==="object"||typeof t=="function")?t:O6(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}var w6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$6();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 R6(this,o)}}var lt=function(e){P6(r,e);var t=T6(r);function r(n){g6(this,r);var o;return o=t.call(this,n),o.props=new at(n==null?void 0:n.props),o}return m6(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(I);lt.controlEventKeys=["on_change"],lt.controlFieldType=c.FieldTypes.FILE,lt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];function S6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 I6(e,t,r){return t&&bm(e.prototype,t),r&&bm(e,r),e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function N6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function C6(e,t){return t&&(B6(t)==="object"||typeof t=="function")?t:S6(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}var B6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k6(e){var t=j6();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 C6(this,o)}}var Sy=function(e){N6(r,e);var t=k6(r);function r(n){E6(this,r);var o;return o=t.call(this,n),o.props=new at(n==null?void 0:n.props),o}return I6(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(N);Sy.controlFieldType=c.FieldTypes.FILE;var Om={Designer:lt,Runtime:Sy,Property:at};function A6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 D6(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 F6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 L6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:A6(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}var x6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G6(e){var t=z6();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 L6(this,o)}}var Iy=function(e){F6(r,e);var t=G6(r);function r(n){M6(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 D6(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(lt);Iy.controlFieldType=c.FieldTypes.IMAGE,Iy.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 V6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Y6(e,t,r){return t&&mm(e.prototype,t),r&&mm(e,r),e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function q6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function U6(e,t){return t&&(W6(t)==="object"||typeof t=="function")?t:V6(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}var W6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X6(e){var t=K6();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 U6(this,o)}}var Q6=function(e){q6(r,e);var t=X6(r);function r(n){H6(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 Y6(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Sy);function J6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function e7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:J6(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}var n7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o7(e){var t=r7();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 t7(this,o)}}var i7=function(e){e7(r,e);var t=o7(r);function r(n){return Z6(this,r),t.call(this,n)}return r}(at),Pm={Designer:Iy,Runtime:Q6,Property:i7};function u7(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 c7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function 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&&ky(e,t)}function f7(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){c7(e,o,r[o])})}return e}function a7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function l7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function s7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:u7(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 Ay(e){var t=v7();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 s7(this,o)}}var h7=function(e){jy(r,e);var t=Ay(r);function r(n){By(this,r);var o;o=t.call(this,n),o.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:v.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=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o}return r}(Ie),_7=function(e){jy(r,e);var t=Ay(r);function r(n){By(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[l7(f7({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(B),cn=function(e){jy(r,e);var t=Ay(r);function r(n){By(this,r);var o;o=t.call(this,n);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"datasource";var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:2,o.dataBind=new $p(n==null?void 0:n.dataBind);var s;o.datasourceBind=new z((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new An({value:"name"})]});var y;o.defaultValue=new Tp((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=ae(n==null?void 0:n.options);var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h: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 d;return o.showUpperCase=(d=n==null?void 0:n.showUpperCase)!==null&&d!==void 0?d:!1,o}return r}(S);cn.Rules=h7,cn.RuntimeRules=_7;function d7(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 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 b7(e,t,r){return t&&Rm(e.prototype,t),r&&Rm(e,r),e}function $i(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$i=Reflect.get:$i=function(o,i,u){var f=m7(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},$i(e,t,r||e)}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(e)}function 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&&(P7(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)}function m7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=st(e),e!==null););return e}var P7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w7(e){var t=R7();return function(){var n=st(e),o;if(t){var i=st(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g7(this,o)}}var fn=function(e){O7(r,e);var t=w7(r);function r(o){p7(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=$i(st(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},b7(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 $7(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 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 S7(e,t,r){return t&&wm(e.prototype,t),r&&wm(e,r),e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function E7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 I7(e,t){return t&&(N7(t)==="object"||typeof t=="function")?t:$7(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}var N7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B7(e){var t=C7();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 I7(this,o)}}var $m=function(e){E7(r,e);var t=B7(r);function r(n){T7(this,r);var o;return o=t.call(this,n),o.props=new cn(n==null?void 0:n.props),o}return S7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(N);$m.controlFieldType=c.FieldTypes.MONEY;var Tm={Designer:fn,Runtime:$m,Property:cn};function j7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function Ly(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function k7(e,t){return t&&(A7(t)==="object"||typeof t=="function")?t:j7(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}var A7=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 zy(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 k7(this,o)}}var D7=function(e){Ly(r,e);var t=zy(r);function r(n){Fy(this,r);var o;return o=t.call(this,n),o.totalScore=[{type:"number",required:!0,message:v.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:v.getMessage("theTotalScoreMustNotBeLessThan1")}],o.defaultValue={type:"number",min:0,max:5,message:v.getMessage("scoreDefaultValueRange")},o.defaultValue.max=n.totalScore,o.defaultValue.message=v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(U),F7=function(e){Ly(r,e);var t=zy(r);function r(n){Fy(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(B),an=function(e){Ly(r,e);var t=zy(r);function r(n){Fy(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(h){return new gr(h)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new gr});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:ln.controlName,o}return r}(S);an.Rules=D7,an.RuntimeRules=F7;function Gy(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 L7(e){if(Array.isArray(e))return Gy(e)}function x7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z7(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 G7(e,t,r){return t&&Sm(e.prototype,t),r&&Sm(e,r),e}function Ei(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ei=Reflect.get:Ei=function(o,i,u){var f=U7(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ei(e,t,r||e)}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(e)}function V7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function H7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Y7(){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 q7(e,t){return t&&(K7(t)==="object"||typeof t=="function")?t:x7(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}function U7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yt(e),e!==null););return e}function W7(e){return L7(e)||H7(e)||X7(e)||Y7()}var K7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X7(e,t){if(!!e){if(typeof e=="string")return Gy(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 Gy(e,t)}}function Q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J7(e){var t=Q7();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 q7(this,o)}}var ln=function(e){V7(r,e);var t=J7(r);function r(o){z7(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 gr});(f=this.props.explain).push.apply(f,W7(l))}}Ei(yt(r.prototype),"postUpdate",this).call(this,i,u)},G7(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 Z7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e8(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 t8(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function n8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function r8(e,t){return t&&(o8(t)==="object"||typeof t=="function")?t:Z7(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}var o8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u8(e){var t=i8();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 r8(this,o)}}var Im=function(e){n8(r,e);var t=u8(r);function r(n){e8(this,r);var o;return o=t.call(this,n),o.props=new an(n==null?void 0:n.props),o}return t8(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(N);Im.controlFieldType=c.FieldTypes.DECIMAL;var Nm={Designer:ln,Runtime:Im,Property:an};function c8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function Bm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yy(e,t)}function f8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:c8(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}var a8=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 jm(e){var t=l8();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 f8(this,o)}}var s8=function(e){Bm(r,e);var t=jm(r);function r(n){Cm(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:v.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:v.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:v.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(B),Ci=function(e){Bm(r,e);var t=jm(r);function r(n){Cm(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ji.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var f;o.addressType=(f=n==null?void 0:n.addressType)!==null&&f!==void 0?f:["province","city","district"];var a;o.defaultValue=new Ip((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{});var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(S);Ci.RuntimeRules=s8;function y8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v8(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 h8(e,t,r){return t&&km(e.prototype,t),r&&km(e,r),e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function d8(e,t){return t&&(p8(t)==="object"||typeof t=="function")?t:y8(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}var p8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 O8(e){var t=b8();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 d8(this,o)}}var ji=function(e){_8(r,e);var t=O8(r);function r(n){v8(this,r);var o;return o=t.call(this,n),o.props=new Ci(n==null?void 0:n.props),o}return h8(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(I);ji.controlFieldType=c.FieldTypes.ADDRESS,ji.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];function 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 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 P8(e,t,r){return t&&Am(e.prototype,t),r&&Am(e,r),e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function 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&&Uy(e,t)}function w8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:g8(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}var $8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S8(e){var t=T8();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 w8(this,o)}}var Mm=function(e){R8(r,e);var t=S8(r);function r(n){m8(this,r);var o;return o=t.call(this,n),o.props=new Ci(n==null?void 0:n.props),o}return P8(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(N);Mm.controlFieldType=c.FieldTypes.ADDRESS;var Dm={Designer:ji,Runtime:Mm,Property:Ci};function E8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function Lm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function I8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:E8(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}var N8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xm(e){var t=C8();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 I8(this,o)}}var B8=function(e){Lm(r,e);var t=xm(r);function r(n){Fm(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),Mi=function(e){Lm(r,e);var t=xm(r);function r(n){Fm(this,r);var o;o=t.call(this,n);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var h;o.showSubDept=(h=n==null?void 0:n.showSubDept)!==null&&h!==void 0?h:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Fi.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(d){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Q(d))})),o}return r}(S);Mi.RuntimeRules=B8;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 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 A8(e,t,r){return t&&zm(e.prototype,t),r&&zm(e,r),e}function Di(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Di=Reflect.get:Di=function(o,i,u){var f=F8(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Di(e,t,r||e)}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function 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&&Ky(e,t)}function D8(e,t){return t&&(L8(t)==="object"||typeof t=="function")?t:j8(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}function F8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vt(e),e!==null););return e}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=vt(e),o;if(t){var i=vt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D8(this,o)}}var Fi=function(e){M8(r,e);var t=z8(r);function r(o){k8(this,r);var i;return i=t.call(this,o),i.props=new Mi(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Di(vt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u},A8(r,null,[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(I);Fi.controlFieldType=c.FieldTypes.DEPARTMENTS,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];function G8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V8(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 H8(e,t,r){return t&&Gm(e.prototype,t),r&&Gm(e,r),e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function Y8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function q8(e,t){return t&&(U8(t)==="object"||typeof t=="function")?t:G8(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}var U8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K8(e){var t=W8();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 Vm=function(e){Y8(r,e);var t=K8(r);function r(n){V8(this,r);var o;return o=t.call(this,n),o.props=new Mi(n==null?void 0:n.props),o}return H8(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(N);Vm.controlFieldType=c.FieldTypes.DEPARTMENTS;var Hm={Designer:Fi,Runtime:Vm,Property:Mi};function X8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function J8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function Z8(e,t){return t&&(ex(t)==="object"||typeof t=="function")?t:X8(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}var ex=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nx(e){var t=tx();return function(){var n=xi(e),o;if(t){var i=xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z8(this,o)}}var Jy=function(e){J8(r,e);var t=nx(r);function r(n){Q8(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}(S);function rx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ox(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ix(e,t,r){return t&&Ym(e.prototype,t),r&&Ym(e,r),e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function ux(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function cx(e,t){return t&&(fx(t)==="object"||typeof t=="function")?t:rx(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var fx=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 lx(e){var t=ax();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 cx(this,o)}}var sn=function(e){ux(r,e);var t=lx(r);function r(n){ox(this,r);var o;return o=t.call(this,n),o.props=new Jy(n==null?void 0:n.props),o}return ix(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 sx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vx(e,t,r){return t&&qm(e.prototype,t),r&&qm(e,r),e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function hx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function _x(e,t){return t&&(dx(t)==="object"||typeof t=="function")?t:sx(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}var dx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function px(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bx(e){var t=px();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _x(this,o)}}var Um=function(e){hx(r,e);var t=bx(r);function r(n){yx(this,r);var o;return o=t.call(this,n),o.props=new Jy(n==null?void 0:n.props),o}return vx(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(N);Um.controlFieldType=c.FieldTypes.AUTO_NUMBER;var Wm={Designer:sn,Runtime:Um,Property:Jy};function Ox(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function nv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function gx(e,t){return t&&(mx(t)==="object"||typeof t=="function")?t:Ox(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}var mx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Px(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ov(e){var t=Px();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 gx(this,o)}}var Rx=function(e){nv(r,e);var t=ov(r);function r(n){tv(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(U),wx=function(e){nv(r,e);var t=ov(r);function r(n){tv(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:v.getMessage("isNotObject"),fields:{result:[{type:"number",message:v.getMessage("isNotNumber")}],unit:{type:"string",message:v.getMessage("isNotString")}}}),o}return r}(B),yn=function(e){nv(r,e);var t=ov(r);function r(n){tv(this,r);var o;o=t.call(this,n);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1,o.dataBind=new Np(n==null?void 0:n.dataBind),o.defaultValue=new Cp(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a: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}(S);yn.Rules=Rx,yn.RuntimeRules=wx;function $x(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 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 Sx(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function Hi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hi=Reflect.get:Hi=function(o,i,u){var f=Nx(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 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&&iv(e,t)}function Ix(e,t){return t&&(Cx(t)==="object"||typeof t=="function")?t:$x(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function Nx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ht(e),e!==null););return e}var Cx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Bx();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 Ix(this,o)}}var vn=function(e){Ex(r,e);var t=jx(r);function r(o){Tx(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=Hi(ht(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},Sx(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 kx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ax(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mx(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function Dx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function Fx(e,t){return t&&(Lx(t)==="object"||typeof t=="function")?t:kx(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}var Lx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zx(e){var t=xx();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 Fx(this,o)}}var Qm=function(e){Dx(r,e);var t=zx(r);function r(n){Ax(this,r);var o;return o=t.call(this,n),o.props=new yn(n==null?void 0:n.props),o}return Mx(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(N);Qm.controlFieldType=c.FieldTypes.CALC;var Jm={Designer:vn,Runtime:Qm,Property:yn};function Gx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(e)}function e0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function Vx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:Gx(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(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 t0(e){var t=Yx();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 Vx(this,o)}}var qx=function(e){e0(r,e);var t=t0(r);function r(n){Zm(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,f){if(n.required){var a=f.every(function(l){return!l});return a?Promise.reject(v.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(B),Ui=function(e){e0(r,e);var t=t0(r);function r(n){Zm(this,r);var o;o=t.call(this,n);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var a;o.placeholderStart=(a=n==null?void 0:n.placeholderStart)!==null&&a!==void 0?a:"\u6700\u5C0F\u503C";var l;o.placeholderEnd=(l=n==null?void 0:n.placeholderEnd)!==null&&l!==void 0?l:"\u6700\u5927\u503C";var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Ki.controlName,o}return r}(S);Ui.RuntimeRules=qx;function Ux(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 Kx(e,t,r){return t&&n0(e.prototype,t),r&&n0(e,r),e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function Xx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function Qx(e,t){return t&&(Jx(t)==="object"||typeof t=="function")?t:Ux(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var Jx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e9(e){var t=Zx();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 Qx(this,o)}}var Ki=function(e){Xx(r,e);var t=e9(r);function r(n){Wx(this,r);var o;return o=t.call(this,n),o.props=new Ui(n==null?void 0:n.props),o}return Kx(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(I);Ki.controlFieldType=c.FieldTypes.DECIMAL_RANGE,Ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function t9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n9(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 r9(e,t,r){return t&&r0(e.prototype,t),r&&r0(e,r),e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function o9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function i9(e,t){return t&&(u9(t)==="object"||typeof t=="function")?t:t9(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}var u9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f9(e){var t=c9();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 i9(this,o)}}var o0=function(e){o9(r,e);var t=f9(r);function r(n){n9(this,r);var o;return o=t.call(this,n),o.props=new Ui(n==null?void 0:n.props),o}return r9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);o0.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var i0={Designer:Ki,Runtime:o0,Property:Ui};function a9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function c0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lv(e,t)}function l9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:a9(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}var s9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f0(e){var t=y9();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 l9(this,o)}}var v9=function(e){c0(r,e);var t=f0(r);function r(n){u0(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(B),Ji=function(e){c0(r,e);var t=f0(r);function r(n){u0(this,r);var o,i;o=t.call(this,n);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:c.DateType.DATE;var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var s;o.rangeMax=(s=n==null?void 0:n.rangeMax)!==null&&s!==void 0?s:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u5F00\u59CB\u65E5\u671F";var h;o.placeholderEnd=(h=n==null?void 0:n.placeholderEnd)!==null&&h!==void 0?h:"\u7ED3\u675F\u65E5\u671F";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:eu.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(d){return new Or(d)}))!==null&&b!==void 0?b:[],o}return r}(S);Ji.RuntimeRules=v9;function h9(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 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 d9(e,t,r){return t&&a0(e.prototype,t),r&&a0(e,r),e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function p9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function b9(e,t){return t&&(O9(t)==="object"||typeof t=="function")?t:h9(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(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=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b9(this,o)}}var eu=function(e){p9(r,e);var t=m9(r);function r(n){_9(this,r);var o;return o=t.call(this,n),o.props=new Ji(n==null?void 0:n.props),o}return d9(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(I);eu.controlFieldType=c.FieldTypes.ARRAY,eu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function P9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R9(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 w9(e,t,r){return t&&l0(e.prototype,t),r&&l0(e,r),e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function $9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function T9(e,t){return t&&(S9(t)==="object"||typeof t=="function")?t:P9(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}var S9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I9(e){var t=E9();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 T9(this,o)}}var s0=function(e){$9(r,e);var t=I9(r);function r(n){R9(this,r);var o;return o=t.call(this,n),o.props=new Ji(n==null?void 0:n.props),o}return w9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);s0.controlFieldType=c.FieldTypes.ARRAY;var y0={Designer:eu,Runtime:s0,Property:Ji};function N9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function hv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function C9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:N9(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 dv(e){var t=j9();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 C9(this,o)}}var k9=function(e){hv(r,e);var t=dv(r);function r(n){vv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(U),A9=function(e){hv(r,e);var t=dv(r);function r(n){vv(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(B),hn=function(e){hv(r,e);var t=dv(r);function r(n){vv(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_n.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}(S);hn.Rules=k9,hn.RuntimeRules=A9;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 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 F9(e,t,r){return t&&v0(e.prototype,t),r&&v0(e,r),e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function 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 _n=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 hn(n==null?void 0:n.props),o}return F9(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);_n.controlFieldType=c.FieldTypes.ANY,_n.controlEventKeys=[],_n.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 H9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 q9(e,t,r){return t&&h0(e.prototype,t),r&&h0(e,r),e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function U9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 W9(e,t){return t&&(K9(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 K9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q9(e){var t=X9();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 W9(this,o)}}var _0=function(e){U9(r,e);var t=Q9(r);function r(n){Y9(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return q9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);_0.controlFieldType=c.FieldTypes.ANY;var d0={Designer:_n,Runtime:_0,Property:hn};function J9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function b0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function Z9(e,t){return t&&(ez(t)==="object"||typeof t=="function")?t:J9(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 O0(e){var t=tz();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 Z9(this,o)}}var nz=function(e){b0(r,e);var t=O0(r);function r(n){p0(this,r);var o;return o=t.call(this,n),o.listPageBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}]}}],o}return r}(Ie),uu=function(e){b0(r,e);var t=O0(r);function r(n){p0(this,r);var o;o=t.call(this,n);var i;o.options=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 aa(n==null?void 0:n.listPageBind),o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:fu.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(y){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Q(y))}));var s;return o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1,o}return r}(S);uu.Rules=nz;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 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 iz(e,t,r){return t&&g0(e.prototype,t),r&&g0(e,r),e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function 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=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cz(this,o)}}var fu=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 uu(n==null?void 0:n.props),o}return iz(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(I);fu.controlFieldType=c.FieldTypes.VARCHAR,fu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];function sz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vz(e,t,r){return t&&m0(e.prototype,t),r&&m0(e,r),e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function hz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function _z(e,t){return t&&(dz(t)==="object"||typeof t=="function")?t:sz(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}var dz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bz(e){var t=pz();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _z(this,o)}}var P0=function(e){hz(r,e);var t=bz(r);function r(n){yz(this,r);var o;return o=t.call(this,n),o.props=new uu(n==null?void 0:n.props),o}return vz(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(N);P0.controlFieldType=c.FieldTypes.VARCHAR;var R0={Designer:fu,Runtime:P0,Property:uu};function Oz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function mz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function Pz(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:Oz(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}var Rz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $z(e){var t=wz();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pz(this,o)}}var Rv=function(e){mz(r,e);var t=$z(r);function r(n){return gz(this,r),t.call(this,n)}return r}(ot);function Tz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ez(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function 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&&wv(e,t)}function Nz(e,t){return t&&(Cz(t)==="object"||typeof t=="function")?t:Tz(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}var Cz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jz(e){var t=Bz();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 Nz(this,o)}}var $0=function(e){Iz(r,e);var t=jz(r);function r(n){Sz(this,r);var o;return o=t.call(this,n),o.props=new Rv(n==null?void 0:n.props),o}return Ez(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(it);$0.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}];function kz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mz(e,t,r){return t&&T0(e.prototype,t),r&&T0(e,r),e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function Dz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function Fz(e,t){return t&&(Lz(t)==="object"||typeof t=="function")?t:kz(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}var Lz=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 zz(e){var t=xz();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 Fz(this,o)}}var S0=function(e){Dz(r,e);var t=zz(r);function r(n){Az(this,r);var o;return o=t.call(this,n),o.props=new Rv(n==null?void 0:n.props),o}return Mz(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(N);S0.controlFieldType=c.FieldTypes.VARCHAR;var E0={Designer:$0,Runtime:S0,Property:Rv};function I0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(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&&Ev(e,t)}function Gz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:I0(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 Iv(e){var t=Hz();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 Gz(this,o)}}var Yz=function(e){Sv(r,e);var t=Iv(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")}],Gn.call(I0(o),n,Ne.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:v.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:v.getMessage("rootNodeIsRequired")}}}]),o}return r}(U),qz=function(e){Sv(r,e);var t=Iv(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),dn=function(e){Sv(r,e);var t=Iv(r);function r(n){Tv(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 h;o.containsSubNode=(h=n==null?void 0:n.containsSubNode)!==null&&h!==void 0?h:!1;var p;o.defaultCollapse=(p=n==null?void 0:n.defaultCollapse)!==null&&p!==void 0?p:"all";var b;o.defaultCollapseLevel=(b=n==null?void 0:n.defaultCollapseLevel)!==null&&b!==void 0?b:1;var d;o.datasourceBind=new Pp((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:Ne.controlCustomAttributes});var O;o.multistageFilling=(O=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(g){return new Q(g)}))!==null&&O!==void 0?O:[];var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:[],o}return r}(S);dn.Rules=Yz,dn.RuntimeRules=qz;function Uz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Kz(e,t,r){return t&&N0(e.prototype,t),r&&N0(e,r),e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function 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&&Nv(e,t)}function Qz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:Uz(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}var Jz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eG(e){var t=Zz();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 Qz(this,o)}}var Ne=function(e){Xz(r,e);var t=eG(r);function r(n){Wz(this,r);var o;return o=t.call(this,n),o.props=new dn(n==null?void 0:n.props),o}return Kz(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 tG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rG(e,t,r){return t&&C0(e.prototype,t),r&&C0(e,r),e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function 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&&Cv(e,t)}function iG(e,t){return t&&(uG(t)==="object"||typeof t=="function")?t:tG(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}var uG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fG(e){var t=cG();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 iG(this,o)}}var B0=function(e){oG(r,e);var t=fG(r);function r(n){nG(this,r);var o;return o=t.call(this,n),o.props=new dn(n==null?void 0:n.props),o}return rG(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(N);B0.controlFieldType=c.FieldTypes.ARRAY;var j0={Designer:Ne,Runtime:B0,Property:dn};function k0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bv(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 jv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function aG(e,t){return t&&(lG(t)==="object"||typeof t=="function")?t:k0(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}var lG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=sG();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 aG(this,o)}}var yG=function(e){jv(r,e);var t=Av(r);function r(n){Bv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")}],o.externalScope={type:"any"},Gn.call(k0(o),n,_t.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:v.getMessage("pleaseAssignExternal")}),o}return r}(U),vG=function(e){jv(r,e);var t=Av(r);function r(n){Bv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),pn=function(e){jv(r,e);var t=Av(r);function r(n){Bv(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 h;o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;o.datasourceBind=new Ct((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:_t.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:c.OrganizeType.INTERNAL;var d;o.insideType=(d=n==null?void 0:n.insideType)!==null&&d!==void 0?d:c.InternalType.ADMIN;var O;o.externalType=(O=n==null?void 0:n.externalType)!==null&&O!==void 0?O:c.AssignType.ALL;var _;return o.externalScope=(_=n==null?void 0:n.externalScope)!==null&&_!==void 0?_:[],o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var $;($=o.multistageFilling)===null||$===void 0||$.push(new Q(g))})),o}return r}(S);pn.Rules=yG,pn.RuntimeRules=vG;function hG(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 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 dG(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 pG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function bG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:hG(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(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=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bG(this,o)}}var _t=function(e){pG(r,e);var t=mG(r);function r(n){_G(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return dG(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 PG(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 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 wG(e,t,r){return t&&M0(e.prototype,t),r&&M0(e,r),e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function $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&&Dv(e,t)}function TG(e,t){return t&&(SG(t)==="object"||typeof t=="function")?t:PG(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}var SG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IG(e){var t=EG();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 TG(this,o)}}var D0=function(e){$G(r,e);var t=IG(r);function r(n){RG(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return wG(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(N);D0.controlFieldType=c.FieldTypes.EMPLOYEES;var F0={Designer:_t,Runtime:D0,Property:pn};function NG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function x0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function CG(e,t){return t&&(BG(t)==="object"||typeof t=="function")?t:NG(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 z0(e){var t=jG();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 CG(this,o)}}var kG=function(e){x0(r,e);var t=z0(r);function r(n){L0(this,r);var o;return o=t.call(this,n),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,f){return i[f]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(l,s,y){if(u.type==="public"&&Te(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}y()}},company:{type:"object",required:!0,validator:function(l,s,y){if(u.type==="public"&&u.signatureType.includes("company")&&Te(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(U),gu=function(e){x0(r,e);var t=z0(r);function r(n){L0(this,r);var o;o=t.call(this,n),o.command="",o.isLoading=!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i: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 Nb(n==null?void 0:n.signatureConfig),o}return r}(S);gu.Rules=kG;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 bn=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 gu(n==null?void 0:n.props),o}return DG(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 VG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 YG(e,t,r){return t&&V0(e.prototype,t),r&&V0(e,r),e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function 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&&xv(e,t)}function UG(e,t){return t&&(WG(t)==="object"||typeof t=="function")?t:VG(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}var WG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XG(e){var t=KG();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 UG(this,o)}}var H0=function(e){qG(r,e);var t=XG(r);function r(n){HG(this,r);var o;return o=t.call(this,n),o.props=new gu(n==null?void 0:n.props),o}return YG(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);H0.controlFieldType=c.FieldTypes.VARCHAR;var Y0={Designer:bn,Runtime:H0,Property:gu};function QG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zv(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 Gv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function JG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:QG(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(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 Hv(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 tV=function(e){Gv(r,e);var t=Hv(r);function r(n){zv(this,r);var o;return o=t.call(this,n),o.content={type:"string",required:!0,message:v.getMessage("pleaseEnterButtonContent")},o.wpsSetting={type:"object",fields:{watermark:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(v.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(v.getMessage("pleaseEnterFileName"));return}a()}}}},o.canAdd={type:"boolean",validator:function(u,f,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(v.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(U),nV=function(e){Gv(r,e);var t=Hv(r);function r(n){zv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),On=function(e){Gv(r,e);var t=Hv(r);function r(n){zv(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 h;o.canExport=(h=n==null?void 0:n.canExport)!==null&&h!==void 0?h:!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:h6;var d;o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:[],o.wpsSetting=new Cb(n==null?void 0:n.wpsSetting);var O;return o.revisionsMode=(O=n==null?void 0:n.revisionsMode)!==null&&O!==void 0?O:!1,o}return r}(S);On.Rules=tV,On.RuntimeRules=nV;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 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 iV(e,t,r){return t&&q0(e.prototype,t),r&&q0(e,r),e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function 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=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cV(this,o)}}var gn=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 On(n==null?void 0:n.props),o}return iV(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 sV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vV(e,t,r){return t&&U0(e.prototype,t),r&&U0(e,r),e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function hV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function _V(e,t){return t&&(dV(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 dV=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 bV(e){var t=pV();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 _V(this,o)}}var W0=function(e){hV(r,e);var t=bV(r);function r(n){yV(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return vV(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(N);W0.controlFieldType=c.FieldTypes.FILE;var K0={Designer:gn,Runtime:W0,Property:On};function X0(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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(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&&Kv(e,t)}function OV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:X0(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(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 Xv(e){var t=mV();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 OV(this,o)}}var PV=function(e){Wv(r,e);var t=Xv(r);function r(n){Uv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")}],o.businessScope={type:"any"},Gn.call(X0(o),n,pt.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:v.getMessage("pleaseAssignBusiness")}),o}return r}(U),RV=function(e){Wv(r,e);var t=Xv(r);function r(n){Uv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(B),mn=function(e){Wv(r,e);var t=Xv(r);function r(n){Uv(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 h;o.showSubDept=(h=n==null?void 0:n.showSubDept)!==null&&h!==void 0?h:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:pt.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var d;o.datasourceBind=new Ct((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:pt.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:c.DepartmentType.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var g;return o.businessType=(g=n==null?void 0:n.businessType)!==null&&g!==void 0?g:c.AssignType.ALL,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Q($))})),o}return r}(S);mn.Rules=PV,mn.RuntimeRules=RV;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 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 TV(e,t,r){return t&&Q0(e.prototype,t),r&&Q0(e,r),e}function Su(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Su=Reflect.get:Su=function(o,i,u){var f=IV(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Su(e,t,r||e)}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function 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&&Qv(e,t)}function EV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:wV(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function IV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dt(e),e!==null););return e}var NV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BV(e){var t=CV();return function(){var n=dt(e),o;if(t){var i=dt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EV(this,o)}}var pt=function(e){SV(r,e);var t=BV(r);function r(o){$V(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=Su(dt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u},TV(r,null,[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(I);pt.controlFieldType=c.FieldTypes.DEPARTMENTS,pt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];function jV(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 J0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AV(e,t,r){return t&&J0(e.prototype,t),r&&J0(e,r),e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function MV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DV(e,t){return t&&(FV(t)==="object"||typeof t=="function")?t:jV(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}var FV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xV(e){var t=LV();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 DV(this,o)}}var Z0=function(e){MV(r,e);var t=xV(r);function r(n){kV(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return AV(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(N);Z0.controlFieldType=c.FieldTypes.DEPARTMENTS;var eP={Designer:pt,Runtime:Z0,Property:mn},zV=Object.freeze({__proto__:null,Input:bg,Checkbox:Pg,Radio:Ig,Number:jg,DatePicker:Dg,DateRange:Hg,Textarea:Wg,RichText:Jg,Select:im,SelectMultiple:am,Employee:dm,Image:Pm,Attachment:Om,Amount:Tm,Score:Nm,Address:Dm,Department:Hm,AutoNumber:Wm,Calc:Jm,SearchNumberRange:i0,SearchDateRange:y0,VueFormItem:d0,SelectRelation:R0,SearchInput:E0,Tree:j0,Employee2:F0,ElectronicSignature:Y0,WPS:K0,Department2:eP});function GV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HV(e,t,r){return t&&tP(e.prototype,t),r&&tP(e,r),e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function YV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function qV(e,t){return t&&(UV(t)==="object"||typeof t=="function")?t:GV(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}var UV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KV(e){var t=WV();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qV(this,o)}}var nP=function(e){YV(r,e);var t=KV(r);function r(n){return VV(this,r),t.call(this,n)}return HV(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(M);nP.excludes=[c.CONTROL_TYPE.GRID];function XV(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 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 JV(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 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&&eh(e,t)}function eH(e,t){return t&&(tH(t)==="object"||typeof t=="function")?t:XV(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(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 rH(e){var t=nH();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 eH(this,o)}}var oH=function(e){ZV(r,e);var t=rH(r);function r(n){return QV(this,r),t.call(this,n)}return JV(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(x),oP={Designer:nP,Runtime:oH,Property:k};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 Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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&&th(e,t)}function fH(e,t){return t&&(aH(t)==="object"||typeof t=="function")?t:iH(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var aH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sH(e){var t=lH();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 fH(this,o)}}var yH=24,Ce=function(e){cH(r,e);var t=sH(r);function r(n){uH(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:yH;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(k);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 iP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _H(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function dH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function pH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:vH(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(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=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pH(this,o)}}var Pn=function(e){dH(r,e);var t=gH(r);function r(n){hH(this,r);var o;return o=t.call(this,n),o.props=new Ce(n==null?void 0:n.props),o}return _H(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(M);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 mH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RH(e,t,r){return t&&uP(e.prototype,t),r&&uP(e,r),e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function wH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function $H(e,t){return t&&(TH(t)==="object"||typeof t=="function")?t:mH(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 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 EH(e){var t=SH();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 $H(this,o)}}var oh=function(e){wH(r,e);var t=EH(r);function r(n){PH(this,r);var o;return o=t.call(this,n),o.props=new Ce(n==null?void 0:n.props),o}return RH(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(x),ku={Designer:Pn,Runtime:oh,Property:Ce};function IH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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 BH(e,t){return t&&(jH(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)}var jH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AH(e){var t=kH();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 Mu=function(e){CH(r,e);var t=AH(r);function r(n){NH(this,r);var o;o=t.call(this,n);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(k);function MH(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 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 FH(e,t,r){return t&&cP(e.prototype,t),r&&cP(e,r),e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function LH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function xH(e,t){return t&&(zH(t)==="object"||typeof t=="function")?t:MH(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var zH=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 VH(e){var t=GH();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 xH(this,o)}}var Fu=function(e){LH(r,e);var t=VH(r);function r(n){DH(this,r);var o;return o=t.call(this,n),o.props=new Mu(n==null?void 0:n.props),o}return FH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(M);Fu.excludes=[c.CONTROL_TYPE.ROW],Fu.setting=[{key:"col-setting",visible:!0}];function HH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qH(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function 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&&ch(e,t)}function WH(e,t){return t&&(KH(t)==="object"||typeof t=="function")?t:HH(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}var KH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QH(e){var t=XH();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 WH(this,o)}}var aP=function(e){UH(r,e);var t=QH(r);function r(n){YH(this,r);var o;return o=t.call(this,n),o.props=new Mu(n==null?void 0:n.props),o}return qH(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(x),lP={Designer:Fu,Runtime:aP,Property:Mu};function JH(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 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 eY(e,t,r){return t&&sP(e.prototype,t),r&&sP(e,r),e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function tY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function nY(e,t){return t&&(rY(t)==="object"||typeof t=="function")?t:JH(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var rY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iY(e){var t=oY();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 nY(this,o)}}var uY=4,zu=function(e){tY(r,e);var t=iY(r);function r(n){return ZH(this,r),t.call(this,n)}return eY(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(Fu);zu.excludes=[c.CONTROL_TYPE.GRID_ROW],zu.setting=[],zu.childrenMaxLength=uY;function cY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aY(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function lY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function sY(e,t){return t&&(yY(t)==="object"||typeof t=="function")?t:cY(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var yY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hY(e){var t=vY();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 sY(this,o)}}var _Y=function(e){lY(r,e);var t=hY(r);function r(n){return fY(this,r),t.call(this,n)}return aY(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(aP);function dY(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 Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function bY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function OY(e,t){return t&&(gY(t)==="object"||typeof t=="function")?t:dY(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var gY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PY(e){var t=mY();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 OY(this,o)}}var RY=function(e){bY(r,e);var t=PY(r);function r(n){return pY(this,r),t.call(this,n)}return r}(Mu),sh={Designer:zu,Runtime:_Y,Property:RY};function wY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function hP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function $Y(e,t){return t&&(TY(t)==="object"||typeof t=="function")?t:wY(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}var TY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _P(e){var t=SY();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 $Y(this,o)}}var EY=function(e){hP(r,e);var t=_P(r);function r(){vP(this,r);var n;return n=t.apply(this,arguments),n.caption={type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")},n}return r}(k.Rules),Yu=function(e){hP(r,e);var t=_P(r);function r(n){vP(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(k);Yu.Rules=EY;function IY(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 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 CY(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function BY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function jY(e,t){return t&&(kY(t)==="object"||typeof t=="function")?t:IY(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var kY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MY(e){var t=AY();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 jY(this,o)}}var hh=function(e){BY(r,e);var t=MY(r);function r(n){NY(this,r);var o;return o=t.call(this,n),o.props=new Yu(n==null?void 0:n.props),o}return CY(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(M);hh.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}],hh.excludes=[c.CONTROL_TYPE.CARD_GROUP];function DY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 LY(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function xY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function zY(e,t){return t&&(GY(t)==="object"||typeof t=="function")?t:DY(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var GY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HY(e){var t=VY();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 zY(this,o)}}var YY=function(e){xY(r,e);var t=HY(r);function r(n){FY(this,r);var o;return o=t.call(this,n),o.props=new Yu(n==null?void 0:n.props),o}return LY(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(x),bP={Designer:hh,Runtime:YY,Property:Yu};function qY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function gP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function UY(e,t){return t&&(WY(t)==="object"||typeof t=="function")?t:qY(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}var WY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mP(e){var t=KY();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 UY(this,o)}}var XY=function(e){gP(r,e);var t=mP(r);function r(n){OP(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")},o.captionTip={type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")},o.width.required=n.widthType==="px",n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),Ku=function(e){gP(r,e);var t=mP(r);function r(n){OP(this,r);var o;o=t.call(this,n);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;return o.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,o}return r}(k);Ku.Rules=XY;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&&ph(e,t)}function eq(e,t){return t&&(tq(t)==="object"||typeof t=="function")?t:QY(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(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 ue=function(e){ZY(r,e);var t=rq(r);function r(n){JY(this,r);var o;return o=t.call(this,n),o.props=new Ku(n==null?void 0:n.props),o}return r}(M);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 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 Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(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&&bh(e,t)}function cq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:oq(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(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=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cq(this,o)}}var PP=function(e){uq(r,e);var t=lq(r);function r(n){iq(this,r);var o;return o=t.call(this,n),o.props=new Ku(n==null?void 0:n.props),o}return r}(x);PP.controlType="subtable-column";var Oh={Designer:ue,Runtime:PP,Property:Ku};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 Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(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&&gh(e,t)}function hq(e,t){return t&&(_q(t)==="object"||typeof t=="function")?t:sq(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var _q=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pq(e){var t=dq();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hq(this,o)}}var mh=function(e){vq(r,e);var t=pq(r);function r(n){return yq(this,r),t.call(this,n)}return r}(k);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 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&&Ph(e,t)}function mq(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:bq(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(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 Be=function(e){gq(r,e);var t=wq(r);function r(n){Oq(this,r);var o;return o=t.call(this,n),o.props=new mh(n==null?void 0:n.props),o}return r}(M);Be.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Be.controlType="subtable-row",Be.controlIcon="subtable-row",Be.childrenMaxLength=1,Be.excludes=[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.SUBTABLE_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT],Be.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}];function $q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Sq(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function Eq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function Iq(e,t){return t&&(Nq(t)==="object"||typeof t=="function")?t:$q(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var Nq=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 Bq(e){var t=Cq();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 Iq(this,o)}}var jq=function(e){Eq(r,e);var t=Bq(r);function r(n){Tq(this,r);var o;return o=t.call(this,n),o.props=new mh(n==null?void 0:n.props),o}return Sq(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(x),wP={Designer:Be,Runtime:jq,Property:mh};function kq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(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&&wh(e,t)}function Dq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:kq(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var Fq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xq(e){var t=Lq();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dq(this,o)}}var $h=function(e){Mq(r,e);var t=xq(r);function r(n){Aq(this,r);var o;o=t.call(this,n);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!1;var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;o.fieldType=(l=n==null?void 0:n.fieldType)!==null&&l!==void 0?l:c.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var h;o.decimalKeepPrecision=(h=n==null?void 0:n.decimalKeepPrecision)!==null&&h!==void 0?h:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:c.DateType.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return r}(k);function zq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(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&&Th(e,t)}function Hq(e,t){return t&&(Yq(t)==="object"||typeof t=="function")?t:zq(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}var Yq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uq(e){var t=qq();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hq(this,o)}}var je=function(e){Vq(r,e);var t=Uq(r);function r(n){Gq(this,r);var o;return o=t.call(this,n),o.props=new $h(n==null?void 0:n.props),o}return r}(M);je.controlName="\u5217\u8868\u5355\u5143\u683C",je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[c.CONTROL_TYPE.GRID_TABLE,c.CONTROL_TYPE.GRID_TABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT],je.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0}];function Wq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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&&Sh(e,t)}function Qq(e,t){return t&&(Jq(t)==="object"||typeof t=="function")?t:Wq(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}var Jq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eU(e){var t=Zq();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 Qq(this,o)}}var $P=function(e){Xq(r,e);var t=eU(r);function r(n){Kq(this,r);var o;return o=t.call(this,n),o.props=new $h(n==null?void 0:n.props),o}return r}(x);$P.controlType="gridtable-column";var TP={Designer:je,Runtime:$P,Property:$h};function tU(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 oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function rU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function oU(e,t){return t&&(iU(t)==="object"||typeof t=="function")?t:tU(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}var iU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cU(e){var t=uU();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oU(this,o)}}var Ih=function(e){rU(r,e);var t=cU(r);function r(n){return nU(this,r),t.call(this,n)}return r}(k);function fU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function EP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function aU(e,t){return t&&(lU(t)==="object"||typeof t=="function")?t:fU(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(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 IP(e){var t=sU();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 aU(this,o)}}var yU=function(e){EP(r,e);var t=IP(r);function r(n){SP(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")},o}return r}(F),uc=function(e){EP(r,e);var t=IP(r);function r(n){SP(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:lc.controlName,o}return r}(k);uc.Rules=yU;function vU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hU(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 _U(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function 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&&Ch(e,t)}function pU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:vU(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(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 Rn=function(e){dU(r,e);var t=gU(r);function r(n){hU(this,r);var o;return o=t.call(this,n),o.props=new uc(n==null?void 0:n.props),o}return _U(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(M);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 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 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 RU(e,t,r){return t&&CP(e.prototype,t),r&&CP(e,r),e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function 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&&Bh(e,t)}function $U(e,t){return t&&(TU(t)==="object"||typeof t=="function")?t:mU(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(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=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $U(this,o)}}var IU=function(e){wU(r,e);var t=EU(r);function r(n){PU(this,r);var o;return o=t.call(this,n),o.props=new uc(n==null?void 0:n.props),o}return RU(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(x),BP={Designer:Rn,Runtime:IU,Property:uc};function NU(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 jP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BU(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function jU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function kU(e,t){return t&&(AU(t)==="object"||typeof t=="function")?t:NU(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var AU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DU(e){var t=MU();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 kU(this,o)}}var lc=function(e){jU(r,e);var t=DU(r);function r(n){CU(this,r);var o;o=t.call(this,n),o.props=new Ih(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 BU(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(M);lc.excludes=[c.CONTROL_TYPE.TAB],lc.setting=[{key:"super-setting",visible:!0}];function FU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xU(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function zU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function GU(e,t){return t&&(VU(t)==="object"||typeof t=="function")?t:FU(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var VU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=HU();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 GU(this,o)}}var qU=function(e){zU(r,e);var t=YU(r);function r(n){LU(this,r);var o;return o=t.call(this,n),o.props=new Ih(n==null?void 0:n.props),o}return xU(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(x),AP={Designer:lc,Runtime:qU,Property:Ih};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 yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function KU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function XU(e,t){return t&&(QU(t)==="object"||typeof t=="function")?t:UU(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}var QU=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 ZU(e){var t=JU();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 XU(this,o)}}var MP=function(e){KU(r,e);var t=ZU(r);function r(n){return WU(this,r),t.call(this,n)}return r}(k);function eW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nW(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function rW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oW(e,t){return t&&(iW(t)==="object"||typeof t=="function")?t:eW(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var iW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cW(e){var t=uW();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 oW(this,o)}}var FP=function(e){rW(r,e);var t=cW(r);function r(n){tW(this,r);var o;return o=t.call(this,n),o.props=new MP({}),o.children=(n==null?void 0:n.children)||[new Pn({props:new Ce({span:12})}),new Pn({props:new Ce({span:12})})],o}return nW(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(M);FP.excludes=[c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.GRID,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.TOOLBOX];function fW(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 LP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lW(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function 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&&Dh(e,t)}function yW(e,t){return t&&(vW(t)==="object"||typeof t=="function")?t:fW(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}var vW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=hW();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 yW(this,o)}}var dW=function(e){sW(r,e);var t=_W(r);function r(n){aW(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new oh({props:new Ce({span:12})}),new oh({props:new Ce({span:12})})],o}return lW(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(x),xP={Designer:FP,Runtime:dW,Property:MP};function zP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function Lh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function pW(e,t){return t&&(bW(t)==="object"||typeof t=="function")?t:zP(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}var bW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zh(e){var t=OW();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pW(this,o)}}var dc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(dc||(dc={}));var gW=function(e){Lh(r,e);var t=zh(r);function r(n){Fh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(de),mW=function(e){Lh(r,e);var t=zh(r);function r(n){Fh(this,r);var o;if(o=t.call(this,n),o.triggerFieldCode={type:"any"},o.datasourceBind={type:"any"},n.triggerType===dc.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}),zn.call(zP(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(F),wn=function(e){Lh(r,e);var t=zh(r);function r(n){Fh(this,r);var o;o=t.call(this,n),o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:dc.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new pp(n==null?void 0:n.sublistPage);var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"stretch";var s;o.showFullScreen=(s=n==null?void 0:n.showFullScreen)!==null&&s!==void 0?s:!1;var y;o.isFixedHeader=(y=n==null?void 0:n.isFixedHeader)!==null&&y!==void 0?y:!1;var h;o.isAllLoaded=(h=n==null?void 0:n.isAllLoaded)!==null&&h!==void 0?h:!0;var p;return o.countType=(p=n==null?void 0:n.countType)!==null&&p!==void 0?p:"async",o}return r}(k);wn.Rules=mW,wn.RuntimeRules=gW;function PW(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 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 wW(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function $W(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function TW(e,t){return t&&(SW(t)==="object"||typeof t=="function")?t:PW(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var SW=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 IW(e){var t=EW();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 TW(this,o)}}var bc=function(e){$W(r,e);var t=IW(r);function r(n){RW(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return wW(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(M);bc.excludes=[c.CONTROL_TYPE.ROW],bc.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],bc.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function NW(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 VP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BW(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function jW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function kW(e,t){return t&&(AW(t)==="object"||typeof t=="function")?t:NW(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}var AW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DW(e){var t=MW();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 kW(this,o)}}var FW=function(e){jW(r,e);var t=DW(r);function r(n){CW(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return BW(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(x),Hh={Designer:bc,Runtime:FW,Property:wn};function LW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function YP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function xW(e,t){return t&&(zW(t)==="object"||typeof t=="function")?t:LW(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var zW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qP(e){var t=GW();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 xW(this,o)}}var VW=function(e){YP(r,e);var t=qP(r);function r(n){HP(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(de),mc=function(e){YP(r,e);var t=qP(r);function r(n){HP(this,r);var o;o=t.call(this,n);var i;o.save=new ee((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new ee((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new ee((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 ee((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 ee(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new z(n==null?void 0:n.datasourceBind),o}return r}(k);mc.RuntimeRules=VW;function HW(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 qW(e,t,r){return t&&UP(e.prototype,t),r&&UP(e,r),e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function UW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function WW(e,t){return t&&(KW(t)==="object"||typeof t=="function")?t:HW(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}var KW=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 QW(e){var t=XW();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 WW(this,o)}}var WP=function(e){UW(r,e);var t=QW(r);function r(n){YW(this,r);var o;return o=t.call(this,n),o.props=new mc(n==null?void 0:n.props),o}return qW(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(M);WP.excludes=[];function JW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 eK(e,t,r){return t&&KP(e.prototype,t),r&&KP(e,r),e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function tK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function nK(e,t){return t&&(rK(t)==="object"||typeof t=="function")?t:JW(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}var rK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iK(e){var t=oK();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 nK(this,o)}}var uK=function(e){tK(r,e);var t=iK(r);function r(n){ZW(this,r);var o;return o=t.call(this,n),o.props=new mc(n==null?void 0:n.props),o}return eK(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(x),Wh={Designer:WP,Runtime:uK,Property:mc};function cK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aK(e,t,r){return t&&XP(e.prototype,t),r&&XP(e,r),e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function 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&&Kh(e,t)}function sK(e,t){return t&&(yK(t)==="object"||typeof t=="function")?t:cK(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}var yK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hK(e){var t=vK();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 sK(this,o)}}var _K=function(e){lK(r,e);var t=hK(r);function r(n){return fK(this,r),t.call(this,n)}return aK(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(M);function dK(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 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 bK(e,t,r){return t&&QP(e.prototype,t),r&&QP(e,r),e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function 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&&Xh(e,t)}function gK(e,t){return t&&(mK(t)==="object"||typeof t=="function")?t:dK(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}var mK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RK(e){var t=PK();return function(){var n=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gK(this,o)}}var wK=function(e){OK(r,e);var t=RK(r);function r(n){return pK(this,r),t.call(this,n)}return bK(r,null,[{key:"controlType",get:function(){return"page"}}]),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 Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(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&&Qh(e,t)}function EK(e,t){return t&&(IK(t)==="object"||typeof t=="function")?t:$K(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var 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=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EK(this,o)}}var BK=function(e){SK(r,e);var t=CK(r);function r(n){TK(this,r);var o;o=t.call(this,n),o.background="#fff",o.minWidth="",o.maxWidth="",o.heightConfig="auto";var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(k),JP={Designer:_K,Runtime:wK,Property:BK};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 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 AK(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function 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&&Jh(e,t)}function DK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:jK(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(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=Sc(e),o;if(t){var i=Sc(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){return kK(this,r),t.call(this,n)}return AK(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(M);function 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 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 HK(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function YK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function qK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:GK(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var UK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KK(e){var t=WK();return function(){var n=Ec(e),o;if(t){var i=Ec(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:"controlType",get:function(){return"AdvancedContainer"}}]),r}(x);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 Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(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&&e_(e,t)}function eX(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:QK(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(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=Ic(e),o;if(t){var i=Ic(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){JK(this,r);var o;return o=t.call(this,n),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new kb(n==null?void 0:n.flexConfig),o}return r}(k),tR={Designer:zK,Runtime:XK,Property:oX};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 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 cX(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function 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&&t_(e,t)}function aX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:iX(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(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=Nc(e),o;if(t){var i=Nc(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){return uX(this,r),t.call(this,n)}return cX(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(M);function hX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 dX(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function pX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n_(e,t)}function bX(e,t){return t&&(OX(t)==="object"||typeof t=="function")?t:hX(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(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=Cc(e),o;if(t){var i=Cc(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 _X(this,r),t.call(this,n)}return dX(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(x);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 Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(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&&r_(e,t)}function TX(e,t){return t&&(SX(t)==="object"||typeof t=="function")?t:RX(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(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=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 NX=function(e){$X(r,e);var t=IX(r);function r(n){return wX(this,r),t.call(this,n)}return r}(k),oR={Designer:vX,Runtime:PX,Property:NX};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 iR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jX(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function 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&&o_(e,t)}function AX(e,t){return t&&(MX(t)==="object"||typeof t=="function")?t:CX(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(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=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 LX=function(e){kX(r,e);var t=FX(r);function r(n){return BX(this,r),t.call(this,n)}return jX(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(M);function 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 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 GX(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function 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&&i_(e,t)}function HX(e,t){return t&&(YX(t)==="object"||typeof t=="function")?t:xX(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(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=kc(e),o;if(t){var i=kc(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:"controlType",get:function(){return"position"}}]),r}(x);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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(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&&u_(e,t)}function JX(e,t){return t&&(ZX(t)==="object"||typeof t=="function")?t:KX(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(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=Ac(e),o;if(t){var i=Ac(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){XX(this,r);var o;o=t.call(this,n);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var f;o.left=(f=n==null?void 0:n.left)!==null&&f!==void 0?f:0;var a;return o.top=(a=n==null?void 0:n.top)!==null&&a!==void 0?a:0,o}return r}(k),cR={Designer:LX,Runtime:WX,Property:nQ},rQ=Object.freeze({__proto__:null,Grid:oP,Col:ku,Row:lP,GridRow:sh,CardGroup:bP,SubTableColumn:Oh,SubTableRow:wP,GridTableColumn:TP,Tab:AP,TabPane:BP,Toolbox:xP,ListView:Hh,DataView:Wh,Page:JP,AdvancedContainer:tR,PositioningContainer:oR,Position:cR});function oQ(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 Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function f_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function iQ(e,t){return t&&(uQ(t)==="object"||typeof t=="function")?t:oQ(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(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 l_(e){var t=cQ();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 iQ(this,o)}}var fQ=function(e){f_(r,e);var t=l_(r);function r(n){c_(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")},o.limitRows=[{type:"number",required:!0,message:v.getMessage("isNotNumber")},{type:"number",min:0,message:v.getMessage("limitRowsCannotBeLessThan0")}],o.formKey={type:"string",required:!1,message:v.getMessage("pleaseEnterForm")},o.maxHeight={type:"number",required:!0,message:v.getMessage("pleaseEnterMaxHeight")},o.captionTip={type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")},n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),aQ=function(e){f_(r,e);var t=l_(r);function r(n){c_(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:v.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,f,a){f.length<n.limitRows&&a(v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(de),$n=function(e){f_(r,e);var t=l_(r);function r(n,o){c_(this,r);var i;i=t.call(this,n,o);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Fc.controlName;var f;i.isHideCaption=(f=o==null?void 0:o.isHideCaption)!==null&&f!==void 0?f:!1;var a;i.defaultState=(a=o==null?void 0:o.defaultState)!==null&&a!==void 0?a:"default";var l;i.labelPosition=(l=o==null?void 0:o.labelPosition)!==null&&l!==void 0?l:"top";var s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"default";var y;i.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var h;i.useCustomHeight=(h=o==null?void 0:o.useCustomHeight)!==null&&h!==void 0?h:!1;var p;i.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:Bb;var b;i.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var d;i.limitRows=(d=o==null?void 0:o.limitRows)!==null&&d!==void 0?d:1;var O;i.defaultRows=(O=o==null?void 0:o.defaultRows)!==null&&O!==void 0?O:1,i.datasourceBind=new z(o==null?void 0:o.datasourceBind);var _;i.canAdd=(_=o==null?void 0:o.canAdd)!==null&&_!==void 0?_:!0;var g;i.canDelete=(g=o==null?void 0:o.canDelete)!==null&&g!==void 0?g:!0;var $;i.canCheck=($=o==null?void 0:o.canCheck)!==null&&$!==void 0?$:!1;var m;i.canEdit=(m=o==null?void 0:o.canEdit)!==null&&m!==void 0?m:!1;var E;i.canImport=(E=o==null?void 0:o.canImport)!==null&&E!==void 0?E:!1;var P;i.canExport=(P=o==null?void 0:o.canExport)!==null&&P!==void 0?P:!1;var T;i.canClear=(T=o==null?void 0:o.canClear)!==null&&T!==void 0?T:!0;var A;i.serverPagination=(A=o==null?void 0:o.serverPagination)!==null&&A!==void 0?A:!1;var se;i.isShowCaptionTip=(se=o==null?void 0:o.isShowCaptionTip)!==null&&se!==void 0?se:!1;var re;return i.captionTip=(re=o==null?void 0:o.captionTip)!==null&&re!==void 0?re:"",i}return r}(Mt);$n.Rules=fQ,$n.RuntimeRules=aQ;function fR(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 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 sQ(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function 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&&s_(e,t)}function vQ(e,t){return t&&(hQ(t)==="object"||typeof t=="function")?t:fR(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var hQ=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 dQ(e){var t=_Q();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 vQ(this,o)}}var Fc=function(e){yQ(r,e);var t=dQ(r);function r(o){lQ(this,r);var i,u;return i=t.call(this,o),i.props=new $n(fR(i),o==null?void 0:o.props),(o==null||(u=o.props)===null||u===void 0?void 0:u.headers)===void 0&&(i.props.headers=[new 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},sQ(r,null,[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Jn);Fc.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],Fc.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];function lR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pQ(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 bQ(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function OQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:lR(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var mQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RQ(e){var t=PQ();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gQ(this,o)}}var wQ=function(e){OQ(r,e);var t=RQ(r);function r(o){pQ(this,r);var i;return i=t.call(this,o),i.props=new $n(lR(i),o==null?void 0:o.props),i}var n=r.prototype;return n.getChildrenDataSourceBindLayout=function(){_e("Method not implemented.")},n.getChildrenFormControl=function(){var i=[];return i},bQ(r,null,[{key:"controlType",get:function(){return"subtable"}}]),r}(za),yR={Designer:Fc,Runtime:wQ,Property:$n};function $Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function SQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function EQ(e,t){return t&&(IQ(t)==="object"||typeof t=="function")?t:$Q(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(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 CQ(e){var t=NQ();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 EQ(this,o)}}var h_=function(e){SQ(r,e);var t=CQ(r);function r(n,o){TQ(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 BQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function hR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function jQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:BQ(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(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 _R(e){var t=AQ();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 jQ(this,o)}}var MQ=function(e){hR(r,e);var t=_R(r);function r(n){vR(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(Dt),Gc=function(e){hR(r,e);var t=_R(r);function r(n){vR(this,r);var o;o=t.call(this,n);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"left";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ke.controlName;var f;o.width=(f=n==null?void 0:n.width)!==null&&f!==void 0?f:50;var a;return o.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"px",o}return r}(D);Gc.Rules=MQ;function DQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function LQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d_(e,t)}function xQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:DQ(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(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 VQ(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 ke=function(e){LQ(r,e);var t=VQ(r);function r(n){FQ(this,r);var o;return o=t.call(this,n),o.props=new Gc(n==null?void 0:n.props),o}return r}(H);ke.controlType="order-column",ke.controlName="\u5E8F\u53F7",ke.controlIcon="order-column",ke.setting=[{key:"column-fixed",visible:!0}];function HQ(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 Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(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&&p_(e,t)}function UQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:HQ(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(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=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UQ(this,o)}}var b_=function(e){qQ(r,e);var t=XQ(r);function r(n){YQ(this,r);var o;return o=t.call(this,n),o.props=new Gc(n==null?void 0:n.props),o}return r}(Y);b_.controlType="order-column",b_.controlFieldType=c.FieldTypes.DECIMAL;var dR={Designer:ke,Runtime:b_,Property:Gc};function QQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pR(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 bR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:QQ(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}var ZQ=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 OR(e){var t=eJ();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 JQ(this,o)}}var tJ=function(e){bR(r,e);var t=OR(r);function r(n){pR(this,r);var o;o=t.call(this,n),o.check=[{type:"object",message:v.getMessage("isNotObject")}],o.edit=[{type:"object",message:v.getMessage("isNotObject")}];var i=function(){return{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}}}};return n.check.isShow&&o.check.push(i()),n.edit.isShow&&o.edit.push(i()),o}return r}(Dt),qc=function(e){bR(r,e);var t=OR(r);function r(n){pR(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.check=new ee((u=n==null?void 0:n.check)!==null&&u!==void 0?u:{content:"\u67E5\u770B",type:"check",isShow:!1,priorityProcess:!0});var f;o.edit=new ee((f=n==null?void 0:n.edit)!==null&&f!==void 0?f:{content:"\u7F16\u8F91",type:"edit",isShow:!1});var a;o.delete=new ee((a=n==null?void 0:n.delete)!==null&&a!==void 0?a:{content:"\u5220\u9664",type:"delete",isShow:!1});var l;o.custom=((l=n==null?void 0:n.custom)!==null&&l!==void 0?l:[]).map(function(y){return new ee(y)});var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Ae.controlName,o}return r}(D);qc.Rules=tJ;function nJ(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 Uc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Uc=Reflect.get:Uc=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}},Uc(e,t,r||e)}function bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bt(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&&g_(e,t)}function iJ(e,t){return t&&(cJ(t)==="object"||typeof t=="function")?t:nJ(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function uJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=bt(e),e!==null););return e}var cJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aJ(e){var t=fJ();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 iJ(this,o)}}var Ae=function(e){oJ(r,e);var t=aJ(r);function r(o){rJ(this,r);var i;return i=t.call(this,o),i.props=new qc(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(){var i=Uc(bt(r.prototype),"toDataBindModel",this).call(this);return i.props.check=this.props.check,i.props.edit=this.props.edit,i.props.delete=this.props.delete,i},r}(H);Ae.controlType="operation-column",Ae.controlName="\u64CD\u4F5C",Ae.controlIcon="operation-column",Ae.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"operation-setting",showItems:[c.COMMON_SETTING_TYPE.CAN_CHECK,c.COMMON_SETTING_TYPE.CAN_EDIT,c.COMMON_SETTING_TYPE.CAN_DELETE],visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];function lJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function yJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m_(e,t)}function vJ(e,t){return t&&(hJ(t)==="object"||typeof t=="function")?t:lJ(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var hJ=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 dJ(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 vJ(this,o)}}var P_=function(e){yJ(r,e);var t=dJ(r);function r(n){sJ(this,r);var o;return o=t.call(this,n),o.props=new qc(n==null?void 0:n.props),o}return r}(Y);P_.controlType="operation-column",P_.controlFieldType=c.FieldTypes.FILE;var gR={Designer:Ae,Runtime:P_,Property:qc};function R_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mR(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 pJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){mR(i,n,o,u,f,"next",a)}function f(a){mR(i,n,o,u,f,"throw",a)}u(void 0)})}}function bJ(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 OJ(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function gJ(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=TJ(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 Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(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&&w_(e,t)}function PJ(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){gJ(e,o,r[o])})}return e}function RJ(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 wJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):RJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function $J(e,t){return t&&(SJ(t)==="object"||typeof t=="function")?t:R_(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function TJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Me(e),e!==null););return e}var SJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IJ(e){var t=EJ();return function(){var n=Me(e),o;if(t){var i=Me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $J(this,o)}}var NJ=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}}},RR=function(e){mJ(r,e);var t=IJ(r);function r(o){bJ(this,r);var i;return i=t.call(this,o),i.props=new h_(R_(i),o==null?void 0:o.props),be(R_(i),"children",o==null?void 0:o.children),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new ke,new Ae]),i}var n=r.prototype;return n.toSchema=function(){var i=Tn(Me(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return wJ(PJ({},i),{children:u})},n.validate=function(i,u){var f=this,a=this,l=function(){return Tn(Me(r.prototype),"validate",f)};return pJ(function(){return NJ(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]}})})()},OJ(r,null,[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Jn);RR.setting=[{key:"list-fixed-header",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 CJ(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 BJ(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function 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&&$_(e,t)}function kJ(e,t){return t&&(AJ(t)==="object"||typeof t=="function")?t:wR(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(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=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kJ(this,o)}}var FJ=function(e){jJ(r,e);var t=DJ(r);function r(o){CJ(this,r);var i;return i=t.call(this,o),i.props=new h_(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},n.getCheckboxProps=function(i){return{}},BJ(r,null,[{key:"controlType",get:function(){return"grid-table"}}]),r}(za),TR={Designer:RR,Runtime:FJ,Property:h_},LJ=Object.freeze({__proto__:null,SubTable:yR,GridTable:TR});function xJ(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 Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(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&&T_(e,t)}function zJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:xJ(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}var GJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IR(e){var t=VJ();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 zJ(this,o)}}var HJ=function(e){ER(r,e);var t=IR(r);function r(n){return SR(this,r),t.call(this,n)}return r}(qa),Qc=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.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:De.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var f;o.options=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}(D);Qc.Rules=HJ;function YJ(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 Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&S_(e,t)}function WJ(e,t){return t&&(KJ(t)==="object"||typeof t=="function")?t:YJ(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(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=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WJ(this,o)}}var De=function(e){UJ(r,e);var t=QJ(r);function r(n){qJ(this,r);var o;return o=t.call(this,n),o.props=new Qc(n==null?void 0:n.props),o}return r}(H);De.controlType="varchar-column",De.controlName="\u77ED\u6587\u672C",De.controlIcon="varchar-column",De.controlFieldType=c.FieldTypes.VARCHAR,De.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];function JJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(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&&E_(e,t)}function tZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:JJ(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}var nZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oZ(e){var t=rZ();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tZ(this,o)}}var I_=function(e){eZ(r,e);var t=oZ(r);function r(n){ZJ(this,r);var o;return o=t.call(this,n),o.props=new Qc(n==null?void 0:n.props),o}return r}(Y);I_.controlType="varchar-column",I_.controlFieldType=c.FieldTypes.VARCHAR;var NR={Designer:De,Runtime:I_,Property:Qc};function iZ(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 ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&N_(e,t)}function fZ(e,t){return t&&(aZ(t)==="object"||typeof t=="function")?t:iZ(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var aZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sZ(e){var t=lZ();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 fZ(this,o)}}var C_=function(e){cZ(r,e);var t=sZ(r);function r(n){uZ(this,r);var o;o=t.call(this,n);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Fe.controlName;var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return r}(D);function yZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?tf=Reflect.get:tf=function(o,i,u){var f=dZ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},tf(e,t,r||e)}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(e)}function hZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function _Z(e,t){return t&&(pZ(t)==="object"||typeof t=="function")?t:yZ(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function dZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var pZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OZ(e){var t=bZ();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 _Z(this,o)}}var Fe=function(e){hZ(r,e);var t=OZ(r);function r(o){vZ(this,r);var i;return i=t.call(this,o),i.props=new C_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=tf(Ot(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.escapeHTML;u.props.escapeHTML=f}return u},r}(H);Fe.controlType="text-column",Fe.controlName="\u957F\u6587\u672C",Fe.controlIcon="text-column",Fe.controlFieldType=c.FieldTypes.TEXT,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];function gZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function PZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function RZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:gZ(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var wZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $Z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TZ(e){var t=$Z();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 RZ(this,o)}}var k_=function(e){PZ(r,e);var t=TZ(r);function r(n){mZ(this,r);var o;return o=t.call(this,n),o.props=new C_(n==null?void 0:n.props),o}return r}(Y);k_.controlType="text-column",k_.controlFieldType=c.FieldTypes.TEXT;var CR={Designer:Fe,Runtime:k_,Property:C_};function SZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(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&&A_(e,t)}function NZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:SZ(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}var CZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jZ(e){var t=BZ();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 NZ(this,o)}}var M_=function(e){IZ(r,e);var t=jZ(r);function r(n){EZ(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Le.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var s;return o.options=ae((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]),o}return r}(D);function kZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?of=Reflect.get:of=function(o,i,u){var f=FZ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},of(e,t,r||e)}function gt(e){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gt(e)}function MZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function DZ(e,t){return t&&(LZ(t)==="object"||typeof t=="function")?t:kZ(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}function FZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gt(e),e!==null););return e}var LZ=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 zZ(e){var t=xZ();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 DZ(this,o)}}var Le=function(e){MZ(r,e);var t=zZ(r);function r(o){AZ(this,r);var i;return i=t.call(this,o),i.props=new M_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=of(gt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},r}(H);Le.controlType="decimal-column",Le.controlName="\u6570\u503C",Le.controlIcon="decimal-column",Le.controlFieldType=c.FieldTypes.DECIMAL,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION,c.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];function GZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function HZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function YZ(e,t){return t&&(qZ(t)==="object"||typeof t=="function")?t:GZ(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var qZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WZ(e){var t=UZ();return function(){var n=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YZ(this,o)}}var L_=function(e){HZ(r,e);var t=WZ(r);function r(n){VZ(this,r);var o;return o=t.call(this,n),o.props=new M_(n==null?void 0:n.props),o}return r}(Y);L_.controlType="decimal-column",L_.controlFieldType=c.FieldTypes.DECIMAL;var BR={Designer:Le,Runtime:L_,Property:M_};function KZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XZ(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 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&&x_(e,t)}function JZ(e,t){return t&&(ZZ(t)==="object"||typeof t=="function")?t:KZ(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}var ZZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tee(e){var t=eee();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 JZ(this,o)}}var z_=function(e){QZ(r,e);var t=tee(r);function r(n){XZ(this,r);var o;o=t.call(this,n);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:xe.controlName,o}return r}(D);function nee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ree(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ff=Reflect.get:ff=function(o,i,u){var f=uee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},ff(e,t,r||e)}function mt(e){return mt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mt(e)}function oee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iee(e,t){return t&&(cee(t)==="object"||typeof t=="function")?t:nee(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}function uee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mt(e),e!==null););return e}var cee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aee(e){var t=fee();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 iee(this,o)}}var xe=function(e){oee(r,e);var t=aee(r);function r(o){ree(this,r);var i;return i=t.call(this,o),i.props=new z_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=ff(mt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.dateType;u.props.dateType=f}return u},r}(H);xe.controlType="timescope-column",xe.controlName="\u65E5\u671F\u533A\u95F4",xe.controlIcon="timescope-column",xe.controlFieldType=c.FieldTypes.TIMESCOPE,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function lee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function see(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function yee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function vee(e,t){return t&&(hee(t)==="object"||typeof t=="function")?t:lee(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var hee=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 dee(e){var t=_ee();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 vee(this,o)}}var H_=function(e){yee(r,e);var t=dee(r);function r(n){see(this,r);var o;return o=t.call(this,n),o.props=new z_(n==null?void 0:n.props),o}return r}(Y);H_.controlType="timescope-column",H_.controlFieldType=c.FieldTypes.TIMESCOPE;var jR={Designer:xe,Runtime:H_,Property:z_};function pee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function Oee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gee(e,t){return t&&(mee(t)==="object"||typeof t=="function")?t:pee(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}var mee=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 Ree(e){var t=Pee();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 gee(this,o)}}var q_=function(e){Oee(r,e);var t=Ree(r);function r(n){bee(this,r);var o;o=t.call(this,n);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ze.controlName,o}return r}(D);function wee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sf=Reflect.get:sf=function(o,i,u){var f=Eee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},sf(e,t,r||e)}function Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pt(e)}function Tee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function See(e,t){return t&&(Iee(t)==="object"||typeof t=="function")?t:wee(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function Eee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pt(e),e!==null););return e}var Iee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cee(e){var t=Nee();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 See(this,o)}}var ze=function(e){Tee(r,e);var t=Cee(r);function r(o){$ee(this,r);var i;return i=t.call(this,o),i.props=new q_(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=sf(Pt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.dateType;u.props.dateType=f}return u},r}(H);ze.controlType="timestamp-column",ze.controlName="\u65E5\u671F",ze.controlIcon="timestamp-column",ze.controlFieldType=c.FieldTypes.TIMESTAMP,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function Bee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function kee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Aee(e,t){return t&&(Mee(t)==="object"||typeof t=="function")?t:Bee(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var Mee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fee(e){var t=Dee();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 Aee(this,o)}}var K_=function(e){kee(r,e);var t=Fee(r);function r(n){jee(this,r);var o;return o=t.call(this,n),o.props=new q_(n==null?void 0:n.props),o}return r}(Y);K_.controlType="timestamp-column",K_.controlFieldType=c.FieldTypes.TIMESTAMP;var kR={Designer:ze,Runtime:K_,Property:q_};function Lee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function MR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function xee(e,t){return t&&(zee(t)==="object"||typeof t=="function")?t:Lee(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}var zee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DR(e){var t=Gee();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 xee(this,o)}}var Vee=function(e){MR(r,e);var t=DR(r);function r(n){return AR(this,r),t.call(this,n)}return r}(qa),hf=function(e){MR(r,e);var t=DR(r);function r(n){AR(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ge.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var f;return o.options=ae((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(D);hf.Rules=Vee;function Hee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(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&&Q_(e,t)}function Uee(e,t){return t&&(Wee(t)==="object"||typeof t=="function")?t:Hee(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var Wee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xee(e){var t=Kee();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 Uee(this,o)}}var Ge=function(e){qee(r,e);var t=Xee(r);function r(n){Yee(this,r);var o;return o=t.call(this,n),o.props=new hf(n==null?void 0:n.props),o}return r}(H);Ge.controlType="array-column",Ge.controlName="\u6570\u7EC4",Ge.controlIcon="array-column",Ge.controlFieldType=c.FieldTypes.ARRAY,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];function Qee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function Zee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function ete(e,t){return t&&(tte(t)==="object"||typeof t=="function")?t:Qee(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}var tte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rte(e){var t=nte();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 ete(this,o)}}var Z_=function(e){Zee(r,e);var t=rte(r);function r(n){Jee(this,r);var o;return o=t.call(this,n),o.props=new hf(n==null?void 0:n.props),o}return r}(Y);Z_.controlType="array-column",Z_.controlFieldType=c.FieldTypes.ARRAY;var FR={Designer:Ge,Runtime:Z_,Property:hf};function ote(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ite(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 ute(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cte(e,t){return t&&(fte(t)==="object"||typeof t=="function")?t:ote(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var fte=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 lte(e){var t=ate();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 cte(this,o)}}var td=function(e){ute(r,e);var t=lte(r);function r(n){ite(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ve.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(D);function ste(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 bf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?bf=Reflect.get:bf=function(o,i,u){var f=_te(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},bf(e,t,r||e)}function Rt(e){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rt(e)}function vte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hte(e,t){return t&&(dte(t)==="object"||typeof t=="function")?t:ste(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function _te(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rt(e),e!==null););return e}var dte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bte(e){var t=pte();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 hte(this,o)}}var Ve=function(e){vte(r,e);var t=bte(r);function r(o){yte(this,r);var i;return i=t.call(this,o),i.props=new td(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=bf(Rt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.displayLevel;u.props.displayLevel=f}return u},r}(H);Ve.controlType="department-column",Ve.controlName="\u90E8\u95E8",Ve.controlIcon="department-column",Ve.controlFieldType=c.FieldTypes.DEPARTMENTS,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];function Ote(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gte(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 mte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rd(e,t)}function Pte(e,t){return t&&(Rte(t)==="object"||typeof t=="function")?t:Ote(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}var Rte=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 $te(e){var t=wte();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 Pte(this,o)}}var od=function(e){mte(r,e);var t=$te(r);function r(n){gte(this,r);var o;return o=t.call(this,n),o.props=new td(n==null?void 0:n.props),o}return r}(Y);od.controlType="department-column",od.controlFieldType=c.FieldTypes.DEPARTMENTS;var LR={Designer:Ve,Runtime:od,Property:td};function Tte(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 gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function Ete(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function Ite(e,t){return t&&(Nte(t)==="object"||typeof t=="function")?t:Tte(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var Nte=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 Bte(e){var t=Cte();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 Ite(this,o)}}var ud=function(e){Ete(r,e);var t=Bte(r);function r(n){Ste(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:He.controlName,o}return r}(D);function jte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kte(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 Ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mte(e,t){return t&&(Dte(t)==="object"||typeof t=="function")?t:jte(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var Dte=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 Lte(e){var t=Fte();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 Mte(this,o)}}var He=function(e){Ate(r,e);var t=Lte(r);function r(n){kte(this,r);var o;return o=t.call(this,n),o.props=new ud(n==null?void 0:n.props),o}return r}(H);He.controlType="auto-number-column",He.controlName="\u81EA\u52A8\u7F16\u53F7",He.controlIcon="auto-number-column",He.controlFieldType=c.FieldTypes.AUTO_NUMBER,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function xte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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&&fd(e,t)}function Vte(e,t){return t&&(Hte(t)==="object"||typeof t=="function")?t:xte(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var Hte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qte(e){var t=Yte();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vte(this,o)}}var ad=function(e){Gte(r,e);var t=qte(r);function r(n){zte(this,r);var o;return o=t.call(this,n),o.props=new ud(n==null?void 0:n.props),o}return r}(Y);ad.controlType="auto-number-column",ad.controlFieldType=c.FieldTypes.AUTO_NUMBER;var xR={Designer:He,Runtime:ad,Property:ud};function Ute(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function Kte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function Xte(e,t){return t&&(Qte(t)==="object"||typeof t=="function")?t:Ute(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}var Qte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zte(e){var t=Jte();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 Xte(this,o)}}var sd=function(e){Kte(r,e);var t=Zte(r);function r(n){Wte(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ye.controlName,o}return r}(D);function ene(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 wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rne(e,t){return t&&(one(t)==="object"||typeof t=="function")?t:ene(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var one=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ine(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function une(e){var t=ine();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 rne(this,o)}}var Ye=function(e){nne(r,e);var t=une(r);function r(n){tne(this,r);var o;return o=t.call(this,n),o.props=new sd(n==null?void 0:n.props),o}return r}(H);Ye.controlType="file-column",Ye.controlName="\u9644\u4EF6",Ye.controlIcon="file-column",Ye.controlFieldType=c.FieldTypes.FILE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function cne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fne(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 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&&vd(e,t)}function lne(e,t){return t&&(sne(t)==="object"||typeof t=="function")?t:cne(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var sne=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 vne(e){var t=yne();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 lne(this,o)}}var hd=function(e){ane(r,e);var t=vne(r);function r(n){fne(this,r);var o;return o=t.call(this,n),o.props=new sd(n==null?void 0:n.props),o}return r}(Y);hd.controlType="file-column",hd.controlFieldType=c.FieldTypes.FILE;var zR={Designer:Ye,Runtime:hd,Property:sd};function hne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function pne(e,t){return t&&(bne(t)==="object"||typeof t=="function")?t:hne(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var bne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function One(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gne(e){var t=One();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 dd=function(e){dne(r,e);var t=gne(r);function r(n){_ne(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qe.controlName,o}return r}(D);function mne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pne(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 Rne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wne(e,t){return t&&($ne(t)==="object"||typeof t=="function")?t:mne(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}var $ne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Tne();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 wne(this,o)}}var qe=function(e){Rne(r,e);var t=Sne(r);function r(n){Pne(this,r);var o;return o=t.call(this,n),o.props=new dd(n==null?void 0:n.props),o}return r}(H);qe.controlType="image-column",qe.controlName="\u56FE\u7247",qe.controlIcon="image-column",qe.controlFieldType=c.FieldTypes.IMAGE,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Ene(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 Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function Nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function Cne(e,t){return t&&(Bne(t)==="object"||typeof t=="function")?t:Ene(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var Bne=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 kne(e){var t=jne();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 Cne(this,o)}}var Od=function(e){Nne(r,e);var t=kne(r);function r(n){Ine(this,r);var o;return o=t.call(this,n),o.props=new dd(n==null?void 0:n.props),o}return r}(Y);Od.controlType="image-column",Od.controlFieldType=c.FieldTypes.IMAGE;var GR={Designer:qe,Runtime:Od,Property:dd};function Ane(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function Dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function Fne(e,t){return t&&(Lne(t)==="object"||typeof t=="function")?t:Ane(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}var Lne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=xne();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 Fne(this,o)}}var md=function(e){Dne(r,e);var t=zne(r);function r(n){Mne(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ue.controlName,o}return r}(D);function Gne(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 Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&Pd(e,t)}function Yne(e,t){return t&&(qne(t)==="object"||typeof t=="function")?t:Gne(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var qne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Une(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Une();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 Yne(this,o)}}var Ue=function(e){Hne(r,e);var t=Wne(r);function r(n){Vne(this,r);var o;return o=t.call(this,n),o.props=new md(n==null?void 0:n.props),o}return r}(H);Ue.controlType="people-column",Ue.controlName="\u4EBA\u5458",Ue.controlIcon="people-column",Ue.controlFieldType=c.FieldTypes.EMPLOYEES,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Kne(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 Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function Qne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jne(e,t){return t&&(Zne(t)==="object"||typeof t=="function")?t:Kne(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var Zne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ere();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 Jne(this,o)}}var wd=function(e){Qne(r,e);var t=tre(r);function r(n){Xne(this,r);var o;return o=t.call(this,n),o.props=new md(n==null?void 0:n.props),o}return r}(Y);wd.controlType="people-column",wd.controlFieldType=c.FieldTypes.EMPLOYEES;var VR={Designer:Ue,Runtime:wd,Property:md};function nre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function ore(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ire(e,t){return t&&(ure(t)==="object"||typeof t=="function")?t:nre(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var ure=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fre(e){var t=cre();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 ire(this,o)}}var Td=function(e){ore(r,e);var t=fre(r);function r(n){rre(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:We.controlName,o}return r}(D);function are(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lre(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 sre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yre(e,t){return t&&(vre(t)==="object"||typeof t=="function")?t:are(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}var vre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _re(e){var t=hre();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 yre(this,o)}}var We=function(e){sre(r,e);var t=_re(r);function r(n){lre(this,r);var o;return o=t.call(this,n),o.props=new Td(n==null?void 0:n.props),o}return r}(H);We.controlType="location-column",We.controlName="\u5730\u5740",We.controlIcon="location-column",We.controlFieldType=c.FieldTypes.ADDRESS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function dre(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 bre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ore(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:dre(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var gre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pre(e){var t=mre();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 Ore(this,o)}}var Id=function(e){bre(r,e);var t=Pre(r);function r(n){pre(this,r);var o;return o=t.call(this,n),o.props=new Td(n==null?void 0:n.props),o}return r}(Y);Id.controlType="location-column",Id.controlFieldType=c.FieldTypes.ADDRESS;var HR={Designer:We,Runtime:Id,Property:Td};function Rre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wre(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 $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&&Nd(e,t)}function Tre(e,t){return t&&(Sre(t)==="object"||typeof t=="function")?t:Rre(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var Sre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ere();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 Tre(this,o)}}var Cd=function(e){$re(r,e);var t=Ire(r);function r(n){wre(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:me.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(D);function YR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cre(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=Fre(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 Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function Bre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function jre(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function kre(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){Cre(e,o,r[o])})}return e}function Are(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 Mre(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Are(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Dre(e,t){return t&&(Lre(t)==="object"||typeof t=="function")?t:YR(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function Fre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}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=Ke(e),o;if(t){var i=Ke(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dre(this,o)}}var Gre=1,me=function(t){Bre(n,t);var r=zre(n);function n(i){Nre(this,n);var u;u=r.call(this,i);var f=jre(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new Cd(i==null?void 0:i.props),be(YR(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=Sn(Ke(n.prototype),"toDataBindModel",this).call(this,u);if(f){var a=this.props.fieldCodeList;f.props.fieldCodeList=a}return f},o.toSchema=function(){var u=Sn(Ke(n.prototype),"toSchema",this).call(this);return Mre(kre({},u),{children:this.children.map(function(f){return f.toSchema()})})},n}(H);me.controlType="custom-column",me.controlName="\u81EA\u5B9A\u4E49",me.controlIcon="custom-column",me.excludes=[],me.childrenMaxLength=Gre,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 qR(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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(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&&jd(e,t)}function Yre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:qR(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(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=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yre(this,o)}}var UR=function(e){Hre(r,e);var t=Wre(r);function r(n){Vre(this,r);var o;return o=t.call(this,n),o.props=new Cd(n==null?void 0:n.props),be(qR(o),"children",n==null?void 0:n.children),o}return r}(Y);UR.controlType="custom-column";var WR={Designer:me,Runtime:UR,Property:Cd};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 Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(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&&kd(e,t)}function Jre(e,t){return t&&(Zre(t)==="object"||typeof t=="function")?t:Kre(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(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=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jre(this,o)}}var Ad=function(e){Qre(r,e);var t=toe(r);function r(n){Xre(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Pe.controlName;var u;return o.datasourceBind=new Ct((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:Pe.controlCustomAttributes}),o}return r}(D);function 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 KR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ooe(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(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&&Md(e,t)}function uoe(e,t){return t&&(coe(t)==="object"||typeof t=="function")?t:noe(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var coe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function foe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aoe(e){var t=foe();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 uoe(this,o)}}var Pe=function(e){ioe(r,e);var t=aoe(r);function r(n){roe(this,r);var o;return o=t.call(this,n),o.props=new Ad(n==null?void 0:n.props),o}return ooe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Pe.controlType="employee-column",Pe.controlName="\u4EBA\u5458",Pe.controlIcon="employee-column",Pe.controlFieldType=c.FieldTypes.EMPLOYEES,Pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function loe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function soe(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 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&&Dd(e,t)}function voe(e,t){return t&&(hoe(t)==="object"||typeof t=="function")?t:loe(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}var hoe=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 doe(e){var t=_oe();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 voe(this,o)}}var Fd=function(e){yoe(r,e);var t=doe(r);function r(n){soe(this,r);var o;return o=t.call(this,n),o.props=new Ad(n==null?void 0:n.props),o}return r}(Y);Fd.controlType="employee-column",Fd.controlFieldType=c.FieldTypes.EMPLOYEES;var XR={Designer:Pe,Runtime:Fd,Property:Ad},poe=Object.freeze({__proto__:null,VarcharColumn:NR,TextColumn:CR,DecimalColumn:BR,TimescopeColumn:jR,TimestampColumn:kR,ArrayColumn:FR,DepartmentColumn:LR,AutoNumberColumn:xR,FileColumn:zR,ImageColumn:GR,PeopleColumn:VR,LocationColumn:HR,CustomColumn:WR,OrderColumn:dR,OperationColumn:gR,EmployeeColumn:XR});function boe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function JR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function Ooe(e,t){return t&&(goe(t)==="object"||typeof t=="function")?t:boe(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}var goe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function moe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZR(e){var t=moe();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 Ooe(this,o)}}var Poe=function(e){JR(r,e);var t=ZR(r);function r(n){QR(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(de),zf=function(e){JR(r,e);var t=ZR(r);function r(n){QR(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 ee((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new ee((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(h){return new ee(h)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return r}(or);zf.RuntimeRules=Poe;function Roe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function woe(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 $oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function Toe(e,t){return t&&(Soe(t)==="object"||typeof t=="function")?t:Roe(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var Soe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ioe(e){var t=Eoe();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Toe(this,o)}}var zd=function(e){$oe(r,e);var t=Ioe(r);function r(n){woe(this,r);var o;return o=t.call(this,n),o.props=new zf(n==null?void 0:n.props),o}return r}(bb);zd.controlType="simple-search",zd.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}];function Noe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Coe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(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&&Gd(e,t)}function joe(e,t){return t&&(koe(t)==="object"||typeof t=="function")?t:Noe(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var koe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Moe(e){var t=Aoe();return function(){var n=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 ew=function(e){Boe(r,e);var t=Moe(r);function r(n){Coe(this,r);var o;o=t.call(this,n),o.props=new zf(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(Ob);ew.controlType="simple-search";var tw={Designer:zd,Runtime:ew,Property:zf},Doe=Object.freeze({__proto__:null,SimpleSearch:tw});function Vd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Foe(e){if(Array.isArray(e))return e}function Loe(e){if(Array.isArray(e))return Vd(e)}function xoe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zoe(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 Goe(){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 Voe(){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 Hoe(e,t){return Foe(e)||zoe(e,t)||rw(e,t)||Goe()}function nw(e){return Loe(e)||xoe(e)||rw(e)||Voe()}function rw(e,t){if(!!e){if(typeof e=="string")return Vd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vd(e,t)}}var Yoe=function(e,t){var r=Array.isArray(e),n=r?e:[e];rie(t==null?void 0:t.events),Qoe(n),Joe(n);var o=Xoe(n),i=Zoe(o,t),u=Ee(oe(i,function(f){return Koe(f,t)}));return r?u:u[0]},qoe=[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"],Uoe=["subtable","grid-table"],Woe=["simple-search"];function Koe(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":qoe.includes(i.type)?i.controlType="base":i.controlType="form",Uoe.includes(i.type)&&(i.controlType="list"),Woe.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),q(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),q(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),q(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var f;i.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(q(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(q(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var a,l=i.props.entry_type||i.props.entryType;i.props.openType=l==="subpage"?"modal":"default",((a=i.children[0])===null||a===void 0?void 0:a.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(P,T){var A=new Oh.Designer;A.props.widthType=P.header_width_config==="1"?"auto":"px",A.props.width=P.header_width===""?200:Number(P.header_width),A.props.caption=q(P.field_name)?P.field_name.zh:P.field_name;var se=A.toSchema();se.id=P.header_id;var re=i.children[0].children[T].children[0];return re&&(se.children=[re]),se}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function(P){P.label=q(P.text)?P.text.zh:P.text,P.id=P.id||P.opt_id||P.optId||P.data_id}),i=e),e.type==="grid-row"){var y=24/i.children.length;i.children=i.children.map(function(P){var T=new ku.Designer;T.props.span=y;var A=T.toSchema();return A.children.push(P),A})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var h=i==null?void 0:i.children[0],p=i==null?void 0:i.children[1],b={};h&&(ow(i,t),b.result=h.props.data_bind,i.id=h.id,i.props=h.props,i.props.script_src=h.props.script_src,i.props.script_echo=h.props.script_echo,i.props.precision=h.props.precision,i.props.micrometer=h.props.is_show_money,i.props.showUpperCase=h.props.is_show_chn),p&&(b.unit=p.props.data_bind,i.props.default_value={unit:p.props.value}),i.props.dataBind=b,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var d=i==null?void 0:i.children[0],O=i==null?void 0:i.children[1],_={},g={};d&&(ow(i,t),i.id=d.id,_.amount=d.props.data_bind,i.props.range_min=Se(d.props.range_min),i.props.range_max=Se(d.props.range_max),g.amount=Se(d.props.value),i.props.required=d.props.required,i.props.is_hide=d.props.is_hide,i.props.default_state=d.props.default_state,i.props.caption=q(d.props.caption)?d.props.caption.zh:d.props.caption,i.props.is_hide_caption=d.props.is_hide_caption,i.props.showUpperCase=d.props.is_show_chn),O&&(_.currency=O.props.data_bind,g.currency=O.props.value,i.props.datasourceBind=O.props.datasource_bind,i.props.options=O.props.options.map(function(P){return{label:P.text,value:P.value}})),i.props.dataBind=_,i.props.defaultValue=g,delete i.children}if(e.type==="date-range"){i.controlType="form";var $=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1];i.props.placeholderStart=q(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=q(e.props.caption)?e.props.caption.zh:e.props.caption;var E={};$&&(E.min=$.props.data_bind),m&&(E.max=m.props.data_bind),i.props.dataBind=E,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=q(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=Se(e.props.range_min),i.props.range_max=Se(e.props.range_max),i.props.defaultValue=Se(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),oie(i,t==null?void 0:t.control_events),i}function ow(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 Xoe(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Wh.Designer,n=r.toSchema();return n.children=e,[n]}function Qoe(e){e.forEach(function(t){t.children&&nie(t.children)})}function Joe(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 Zoe(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=Hoe(l,3),y=s[0],h=s[1],p=s[2];eie(y),p.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,tie(p,h);var b,d=(b=a==null||(n=a.source_config)===null||n===void 0?void 0:n.data_code)!==null&&b!==void 0?b:t==null?void 0:t.dataCode,O,_=((O=a==null||(o=a.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&O!==void 0?O:d)?"".concat(d,"_selectMore"):void 0,g,$=(g=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&g!==void 0?g:[],m=new Hh.Designer;m.props.datasourceBind=new z({dataCode:d,svcCode:_,orders:up($)}),m.props.isShowSubList=a.is_show_sublist,m.props.triggerType=a.timing_type,m.props.triggerFieldCode=a.ctrl_field_code,a==null||(u=a.sublist_page)===null||u===void 0||u.sublists.forEach(function(P){P.title=q(P.title)?P.title.zh:P.title}),m.props.sublistPage=a.sublist_page;var E=m.toSchema();return E.children.push(y,p),[E]}function eie(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=q(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(n=t.dateType)===null||n===void 0||(o=n.replace)===null||o===void 0?void 0:o.call(n,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function tie(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:q(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=q(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new z({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function nie(e){for(var t=null,r=0;r<e.length;r++){var n,o=e[r];if(!!o){if(o.children&&((n=o.children[0])===null||n===void 0?void 0:n.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(r,1),r--)}}}function rie(e){!e||(e.did_mount=e.did_mount.map(function(t){return t.name}),e.will_submit=e.will_submit.map(function(t){return t.name}),e.did_submit=e.did_submit.map(function(t){return t.name}))}function oie(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,nw(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,nw(t[e.id].on_blur))}}}var iie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(oe(n,function(i){return uie(i)}));return r?o:o[0]};function uie(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 Z({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var cie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(oe(n,function(i){return fie(i)}));return r?o:o[0]};function fie(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 aie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(oe(n,function(i){return lie(i)}));return r?o:o[0]};function lie(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 sie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(oe(n,function(i){return vie(i)}));return r?o:o[0]},yie=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function vie(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(yie.includes(r.type))return r;var n=new sh.Designer,o=new ku.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var hie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(oe(n,function(i){return _ie(i)}));return r?o:o[0]};function _ie(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 die=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=oe(n,function(i){return pie(i)});return r?o:o[0]};function pie(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var bie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=oe(n,function(i){return Oie(i)});return r?o:o[0]};function Re(e,t){e.field_code&&(e.field_type=t)}function Oie(e,t){var r,n=(r={},j(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),j(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),j(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),j(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),j(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),j(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),j(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),j(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),j(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),j(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),j(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),j(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),j(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),j(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Re(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(Re(e.props.data_bind.amount,c.FieldTypes.DECIMAL),Re(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(Re(e.props.data_bind.result,c.FieldTypes.DECIMAL),Re(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(Re(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),Re(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;Re(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var gie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=oe(n,function(i){return mie(i)});return r?o:o[0]};function mie(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 Pie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=oe(n,function(i){return Rie(i)});return r?o:o[0]};function Rie(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 iw={"v1.0":Yoe,"v2.0":iie,"v2.1":cie,"v2.2":aie,"v2.3":sie,"v2.4":hie,"v2.5":die,"v2.6":bie,"v2.7":gie,"v2.8":Pie,"v2.9":function(){}};function wie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $ie(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function Hf(e){return e.replace(/^v/,"")}function Yf(e){return Number(Hf(e))}var wt=Object.keys(iw).map(function(e){return Hf(e)}).sort(function(e,t){return Number(e)-Number(t)}),En=wt[wt.length-1],Tie=function(){function e(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:En;wie(this,e),this.schemaVersion=r,this.toVersion=n,Yf(n)>Yf(En)?_e("Version Builder: The specified ".concat(n," is an undefined version, and the current latest version is ").concat(En)):(!wt.includes(Hf(n))||!wt.includes(Hf(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,h=(y=s[l+1])!==null&&y!==void 0?y:i.toVersion;Nt("Version Builder: current version: ".concat(a,", nextVersion: ").concat(h));var p=iw[a],b=f;if(typeof p=="function"){var d=p(f,o);d&&(b=d)}return b},n);return Nt("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u},$ie(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 Yf(this.toVersion)}},{key:"_schemaVersion",get:function(){return Yf(this.schemaVersion)}},{key:"version",get:function(){return En}}],[{key:"version",get:function(){return En}}]),e}();const qf=[],Hd={exports:{}};let Yd=!1;const Sie=window.module,Eie=window.exports,Iie=window.require;function Nie(e){return Yd||(window.module=Hd,window.exports=Hd.exports,window.require=function(t){return e[t]},Yd=!0),function(){window.module=Sie,window.exports=Eie,window.require=Iie,Yd=!1}}function Cie(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=Nie(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(Hd.exports),f()},document.head.appendChild(i)});return qf.push(r),r}function qd(e){return fetch(e,{mode:"cors",cache:"no-cache",credentials:"same-origin"}).then(t=>{if(t.ok===!1)throw"not found resource:"+e;return t.text()})}function cw(e,t,r={fetch:qd}){return new Promise((n,o)=>{const i=e.replace(/^(https?:)?\/\/.*?\/component/,"/component");r.fetch(i).then(u=>{const f={exports:{}};new Function("module","exports","require",u)(f,f.exports,function(a){return t[a]}),n(f.exports)}).catch(u=>{o(u)})})}function Uf(e,t){return cw(e,t)}function Bie(e,t){return In(this,null,function*(){return yield Promise.all(e.map(r=>Uf(r,t)))})}function Ud(e,t,r){let n;t==="runtime"?n=class extends V{constructor(a){super(a),this.props={}}static get controlType(){return e}}:n=class extends C{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends G{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="iconfont iconshibaimian" style="margin-right:4px"></i>${r}</di>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{template:i}},upgrade:f=>f}}function jie(e,t,r){return In(this,null,function*(){const n=new Map;return e.length===0||(yield Promise.all(e.map(o=>In(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 Uf(f,t)}catch(f){i=!1,$e("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+o.id,f),u=Ud(o.id,r.type,r.tipMessage)}if(i){let f="";if(r.type==="runtime"&&o.runtimecss!==void 0){const a=new RegExp(o.id+"-runtime-.*?$");f=o.runtime.replace(a,o.runtimecss)}else if(r.type==="designer"&&o.designercss!==void 0){const a=new RegExp(o.id+"-designer-.*?$");f=o.designer.replace(a,o.designercss)}if(f!==""){const a=document.createElement("link");a.href=f,a.rel="stylesheet",document.head.appendChild(a)}}r.type==="runtime"?(n.has(u.Runtime.controlType)&&$e(`repeat register ${u.Runtime.controlType}`),n.set(u.Runtime.controlType,{props:o,version:o.version,isLoaded:i,control:u})):(n.has(u.Designer.controlType)&&$e(`repeat register ${u.Designer.controlType}`),n.set(u.Designer.controlType,{props:o,version:o.version,isLoaded:i,control:u}))})))),n})}function kie(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 Aie(e,t){return In(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield qd(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield Uf(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(f=>{let a=u.find(l=>t.type==="runtime"?l.Runtime.controlType===f.id:l.Designer.controlType===f.id);a===void 0&&(a=Ud(f.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(f.id,{props:f,version:f.version,isLoaded:!0,control:a})})}return n})}c.Address=Dm,c.AddressValue=Ip,c.AdvancedContainer=tR,c.Amount=Tm,c.AmountDataBind=$p,c.AmountValue=Tp,c.ArrayColumn=FR,c.Attachment=Om,c.AutoNumber=Wm,c.AutoNumberColumn=xR,c.BaseControlProperty=S,c.BaseControlPropertyRules=U,c.BaseControlPropertyRuntimeRules=B,c.BaseStyle=jp,c.BatchPrintListButton=sg,c.BatchPrintRecordListButton=hg,c.BatchSubmissionListButton=nO,c.Button=Ib,c.Calc=Jm,c.CalcDataBind=Np,c.CalcScriptEchoItem=LS,c.CalcValue=Cp,c.CardGroup=bP,c.Checkbox=Pg,c.Col=ku,c.ColumnControlProperty=D,c.ColumnControlPropertyRules=Dt,c.ColumnOptionAndDataSourcePropertyRules=qa,c.CreateFormListButton=Xb,c.CustomAttributeItem=mp,c.CustomColumn=WR,c.CustomPermissionItem=jE,c.DEFAULT_LOCALE=Kd,c.Dashboard=xO,c.DataBind=Z,c.DataSourceBind=z,c.DataSourceDataSetValue=gp,c.DataSourceOrderItem=sa,c.DataSourceParamItem=NE,c.DataView=Wh,c.DatePicker=Dg,c.DateRange=Hg,c.DecimalColumn=BR,c.Department=Hm,c.Department2=eP,c.DepartmentColumn=LR,c.DepartmentEntity=Xe,c.DesignerColumnControl=H,c.DesignerControl=C,c.DesignerFormControl=I,c.DesignerLayoutControl=M,c.DesignerListControl=Jn,c.DesignerSearchControl=bb,c.DesignerWrapControl=e1,c.DisplayBoListItem=An,c.Divider=Fb,c.ElectronicSignature=Y0,c.ElectronicSignatureConfig=Nb,c.Employee=dm,c.Employee2=F0,c.EmployeeColumn=XR,c.EventLogic=ap,c.Explain=gr,c.ExportListButton=fO,c.ExportRecordListButton=sO,c.ExportTemplate=_l,c.FieldBindItem=_p,c.FieldFilterCondition=la,c.FieldFilterConditions=Op,c.FieldTypeToColumnType=zS,c.FileColumn=zR,c.FillBackBind=va,c.FillPayloadBind=Mn,c.FlexStyleConfig=kb,c.FormBind=kn,c.FormSelectBind=vp,c.FormSelectButton=PO,c.Grid=oP,c.GridRow=sh,c.GridTable=TR,c.GridTableColumn=TP,c.Image=Pm,c.ImageColumn=GR,c.ImageOptionSetting=wp,c.ImportRecordListButton=_O,c.Input=bg,c.InvoiceCheckButton=ig,c.JSONCopy=ve,c.Language=CE,c.LayoutControlProperty=k,c.LeftVariable=bp,c.LimitDate=Or,c.Link=Tb,c.ListBind=aa,c.ListControlProperty=Mt,c.ListSelectButton=IO,c.ListView=Hh,c.ListViewSelect=UO,c.LocationColumn=HR,c.MultistageFillingItem=Q,c.Number=jg,c.ObjectDataBind=Dn,c.OperationColumn=gR,c.OperationItem=ee,c.OptionAndDataSourcePropertyRules=Ie,c.OptionSetting=_a,c.OrderColumn=dR,c.Page=JP,c.Pagination=jO,c.PeopleColumn=VR,c.Position=cR,c.PositioningContainer=oR,c.PrintTemplate=jb,c.Property=G,c.PropertyRules=F,c.PropertyRuntimeRules=de,c.Radio=Ig,c.RangeDataBind=Sp,c.RangeDateValue=Ep,c.RegisterControls=Bn,c.RegularRules=ha,c.RichText=Jg,c.RightVariable=Qe,c.Row=lP,c.RulesMessage=v,c.RuntimeColumnControl=Y,c.RuntimeControl=V,c.RuntimeFormControl=N,c.RuntimeLayoutControl=x,c.RuntimeListControl=za,c.RuntimeSearchControl=Ob,c.RuntimeWrapControl=f1,c.SUBTABLE_DEFAULT_MAX_HEIGHT=Bb,c.Score=Nm,c.SearchControlProperty=or,c.SearchDateRange=y0,c.SearchInput=E0,c.SearchNumberRange=i0,c.Select=im,c.SelectMultiple=am,c.SelectRelation=R0,c.SimpleSearch=tw,c.SubListItem=dp,c.SubListPageConfig=pp,c.SubTable=yR,c.SubTableColumn=Oh,c.SubTableRow=wP,c.SubmissionRecordListButton=iO,c.SuperDataSourceBind=Ct,c.Tab=AP,c.TabPane=BP,c.Text=Rb,c.TextColumn=CR,c.TextOcrButton=ZO,c.Textarea=Wg,c.TimescopeColumn=jR,c.TimestampColumn=kR,c.Title=Hb,c.Toolbox=xP,c.Tree=j0,c.TreeDataSourceBind=Pp,c.UndersignedPerson=hl,c.UserEntity=Nn,c.VarcharColumn=NR,c.VersionBuilder=Tie,c.ViewOperationItem=Bp,c.VueFormItem=d0,c.WPS=K0,c.WPSSetting=Cb,c.Watcher=fp,c.WpsOperationItem=dl,c.WrapControlProperty=Za,c.baseControls=DD,c.camelizeKeys=up,c.columnControls=poe,c.controlHooksEmitter=zp,c.createValidator=xp,c.debounce=hE,c.decamelizeKeys=Ee,c.defineArrayParent=nb,c.defineControlArrayToProperty=be,c.defineParent=Ba,c.error=_e,c.formControls=zV,c.genNonDuplicateId=ie,c.getHackerControl=Ud,c.getNotRepeatItems=ip,c.initExpression=Ft,c.initImageOptions=BE,c.initOptionAndDataSourceRules=zn,c.initOptions=ae,c.initSuperDataSourceRules=Gn,c.isArray=Te,c.isBuiltInControls=dE,c.isFunction=fE,c.isJSONArray=yE,c.isJSONObject=vE,c.isLanguageObject=q,c.isNumber=ia,c.isNumberAndEmptyStringArray=sE,c.isNumberArray=lE,c.isObject=cE,c.isPlainObject=oa,c.isString=op,c.isStringArray=aE,c.layoutControls=rQ,c.listControls=LJ,c.loadRemoteControl=Uf,c.loadRemoteControls=Bie,c.loadScriptFromFetch=cw,c.loadScriptFromTag=Cie,c.log=Nt,c.logerror=tp,c.loop=oe,c.loopFormSchema=na,c.nativeFetch=qd,c.noop=xS,c.referenceError=ta,c.registerByteluckControls=Aie,c.registerCustomControls=jie,c.searchControls=Doe,c.setPropertyDontEnum=tb,c.toNumberOrEmpty=Se,c.updateValueFromKeys=rp,c.upgradeCustomControlSchema=kie,c.wait=_E,c.warn=$e,Object.defineProperty(c,"__esModule",{value:!0})});
|
|
1
|
+
var Nn=(c,we,Xe)=>new Promise((Jf,Cn)=>{var Zf=ye=>{try{Tt(Xe.next(ye))}catch(St){Cn(St)}},ea=ye=>{try{Tt(Xe.throw(ye))}catch(St){Cn(St)}},Tt=ye=>ye.done?Jf(ye.value):Promise.resolve(ye.value).then(Zf,ea);Tt((Xe=Xe.apply(c,we)).next())});(function(c,we){typeof exports=="object"&&typeof module!="undefined"?we(exports):typeof define=="function"&&define.amd?define(["exports"],we):(c=typeof globalThis!="undefined"?globalThis:c||self,we(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Xe=function e(){we(this,e)};function 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",gw="{caption}\u5FC5\u586B",mw="\u8BF7\u8F93\u5165\u6807\u9898",Pw="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Rw="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ww="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",$w="\u8BF7\u7ED1\u5B9A\u8868\u5355",Tw="\u8BF7\u7ED1\u5B9A\u5217\u8868",Sw="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ew="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Iw="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Nw="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Cw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Bw="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",jw="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",kw="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Aw="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Mw="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Dw="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Fw="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Lw="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xw="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",zw="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Gw="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Vw="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Hw="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Yw="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",qw="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Uw="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ww="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Kw="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Xw="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qw="\u8BF7\u9009\u62E9\u7701",Jw="\u8BF7\u9009\u62E9\u5E02",Zw="\u8BF7\u9009\u62E9\u533A",e$="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",t$="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",n$="\u8BF7\u8F93\u5165\u5217\u5BBD",r$="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",o$="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",i$="\u8BF7\u9009\u62E9\u63A7\u4EF6",u$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",c$="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",f$="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",a$="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",l$="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",s$="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",y$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",v$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",h$="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",_$="\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",p$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",b$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",O$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",g$="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",m$="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",P$="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",R$="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",w$="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",$$="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",T$="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",S$={isNotNumber:Zf,isNotString:ea,isNotObject:Tt,isNotArray:ye,isNotBoolean:St,runtimeRequired:gw,pleaseEnterCaption:mw,pleaseEnterCaptionTip:Pw,pleaseEnterPlaceholder:Rw,pleaseEnterFieldCode:ww,pleaseEnterForm:$w,pleaseEnterList:Tw,pleaseEnterProcess:Sw,pleaseEnterLabel:Ew,pleaseEnterValue:Iw,bizKeyNotBindFiled:Nw,pleaseEnterNumberRange:Cw,pleaseEnterAValueGreaterThanMin:Bw,pleaseEnterAValueLessThanMax:jw,numberRangeSetError:kw,stringRangeError:Aw,attachmentMaxSize:Mw,pleaseEnterTotalScoreSetting:Dw,theTotalScoreMustNotBeLessThan1:Fw,scoreDefaultValueRange:Lw,attachmentLimitError:xw,PleaseReselectTheOptionalQuantity:zw,TheMaximumLengthIsGreaterThanTheMinimumLength:Gw,TheMinimumLengthIsGreaterThanTheMaximumLength:Vw,PleaseSelectTheCorrectOptionSettings:Hw,optionIdIsRepeat:Yw,optionIsRequired:qw,pleaseEnterDataCode:Uw,pleaseEnterValueFieldCode:Ww,pleaseEnterSvcCode:Kw,pleaseBindAtLeastOneDisplayValue:Xw,pleaseSelectProvince:Qw,pleaseSelectCity:Jw,pleaseSelectDistrict:Zw,limitRowsCannotBeLessThan0:e$,TheNumberOfRowsCannotBeLessThanMinRows:t$,pleaseEnterColumnWidth:n$,pleaseSetTheLogicalRelationshipOfAllRuleConditions:r$,pleaseCompleteAllRulesAndConditions:o$,pleaseSelectControl:i$,pleaseSelectAtLeastOneColumn:u$,pleaseSelectFillBackMode:c$,pleaseSelectDashboard:f$,rootNodeIsRequired:a$,theViewNameCannotBeEmpty:l$,pleaseSelectOcrType:s$,pleaseSelectAtLeastOneFieldToFillIn:y$,pleaseChooseAtLeastOne:v$,pleaseEnterButtonContent:h$,pleaseEnterDataCodeInDataSetting:_$,pleaseEnterValueFieldCodeInDataSetting:d$,pleaseEnterSvcCodeInDataSetting:p$,pleaseBindAtLeastOneDisplayValueInDataSetting:b$,rootNodeIsRequiredInDataSetting:O$,pleaseEnterMaxHeight:g$,pleaseEnter:m$,pleaseEnterWatermark:P$,pleaseEnterFileName:R$,pleaseUploadAtLeastOnePrintTemplate:w$,pleaseAssignBusiness:$$,pleaseAssignExternal:T$},E$="Please enter a number",I$="Please enter a string",N$="Please enter an object",C$="Please enter an array",B$="Please enter a boolean",j$="{caption} Required",k$="Please enter the title",A$="Please enter the bubble prompt",M$="Please enter the prompt text",D$="Please bind data items",F$="Please bind the form",L$="Please bind the list",x$="Please bind the process",z$="Please enter the displayed value",G$="Please enter the stored value",V$="The document number is not bound to the data item",H$="Please enter a value greater than or equal to {min} and less than or equal to {max}",Y$="Please enter a value greater than or equal to {min}",q$="Please enter a value less than or equal to {max}",U$="The value range is set incorrectly",W$="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",K$="The attachment size must be between 0MB and 1000MB",X$="Please fill in the total score setting",Q$="The total score cannot be less than 1",J$="The default value must be between {min} and {max}",Z$="The number of attachments uploaded must be between {min} and {max}",eT="Please re-select the optional quantity",tT="The maximum length of the control must be greater than the minimum length",nT="The minimum length of the control must be less than the maximum length",rT="Please select the correct option setting",oT="Option ID cannot be repeated",iT="Please enter at least one option",uT="Please bind the data source",cT="Please bind the stored value",fT="Please bind the service",aT="At least one display value must be bound",lT="Please select a province",sT="Please select a city",yT="Please select a district",vT="The minimum number of lines to fill in cannot be less than 0",hT="The number of rows cannot be less than {min} rows",_T="Please enter the column width",dT="Please set the logical relationship of all rule conditions",pT="Please complete all rules and conditions",bT="please select control",OT="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",gT="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mT="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",PT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",RT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",wT="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",$T="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",TT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ST="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ET="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",IT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",NT="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",CT="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",BT="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",jT="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kT="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",AT="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",MT="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",DT={isNotNumber:E$,isNotString:I$,isNotObject:N$,isNotArray:C$,isNotBoolean:B$,runtimeRequired:j$,pleaseEnterCaption:k$,pleaseEnterCaptionTip:A$,pleaseEnterPlaceholder:M$,pleaseEnterFieldCode:D$,pleaseEnterForm:F$,pleaseEnterList:L$,pleaseEnterProcess:x$,pleaseEnterLabel:z$,pleaseEnterValue:G$,bizKeyNotBindFiled:V$,pleaseEnterNumberRange:H$,pleaseEnterAValueGreaterThanMin:Y$,pleaseEnterAValueLessThanMax:q$,numberRangeSetError:U$,stringRangeError:W$,attachmentMaxSize:K$,pleaseEnterTotalScoreSetting:X$,theTotalScoreMustNotBeLessThan1:Q$,scoreDefaultValueRange:J$,attachmentLimitError:Z$,PleaseReselectTheOptionalQuantity:eT,TheMaximumLengthIsGreaterThanTheMinimumLength:tT,TheMinimumLengthIsGreaterThanTheMaximumLength:nT,PleaseSelectTheCorrectOptionSettings:rT,optionIdIsRepeat:oT,optionIsRequired:iT,pleaseEnterDataCode:uT,pleaseEnterValueFieldCode:cT,pleaseEnterSvcCode:fT,pleaseBindAtLeastOneDisplayValue:aT,pleaseSelectProvince:lT,pleaseSelectCity:sT,pleaseSelectDistrict:yT,limitRowsCannotBeLessThan0:vT,TheNumberOfRowsCannotBeLessThanMinRows:hT,pleaseEnterColumnWidth:_T,pleaseSetTheLogicalRelationshipOfAllRuleConditions:dT,pleaseCompleteAllRulesAndConditions:pT,pleaseSelectControl:bT,pleaseSelectDashboard:OT,theViewNameCannotBeEmpty:gT,pleaseSelectOcrType:mT,pleaseSelectAtLeastOneFieldToFillIn:PT,pleaseChooseAtLeastOne:RT,pleaseEnterButtonContent:wT,pleaseEnterDataCodeInDataSetting:$T,pleaseEnterValueFieldCodeInDataSetting:TT,pleaseEnterSvcCodeInDataSetting:ST,pleaseBindAtLeastOneDisplayValueInDataSetting:ET,rootNodeIsRequiredInDataSetting:IT,pleaseEnterMaxHeight:NT,pleaseEnter:CT,pleaseEnterWatermark:BT,pleaseEnterFileName:jT,pleaseUploadAtLeastOnePrintTemplate:kT,pleaseAssignBusiness:AT,pleaseAssignExternal:MT},FT="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LT="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xT="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zT="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",GT="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VT="{caption}\u5FC5\u9808",HT="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YT="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qT="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UT="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",WT="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KT="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XT="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",QT="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JT="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZT="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",eS="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tS="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nS="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rS="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",oS="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iS="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",uS="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",cS="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",fS="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",aS="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",lS="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sS="\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",yS="\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",vS="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hS="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",_S="\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",pS="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bS="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",OS="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",gS="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mS="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",PS="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",RS="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wS="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",$S="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",TS="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",SS="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ES="please select control",IS="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",NS="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",CS="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",BS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",jS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",kS="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",AS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",MS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",DS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",FS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",LS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",xS="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",zS="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",GS="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",VS="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",HS="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",YS="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",qS="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",US={isNotNumber:FT,isNotString:LT,isNotObject:xT,isNotArray:zT,isNotBoolean:GT,runtimeRequired:VT,pleaseEnterCaption:HT,pleaseEnterCaptionTip:YT,pleaseEnterPlaceholder:qT,pleaseEnterFieldCode:UT,pleaseEnterForm:WT,pleaseEnterList:KT,pleaseEnterProcess:XT,pleaseEnterLabel:QT,pleaseEnterValue:JT,bizKeyNotBindFiled:ZT,pleaseEnterNumberRange:eS,pleaseEnterAValueGreaterThanMin:tS,pleaseEnterAValueLessThanMax:nS,numberRangeSetError:rS,stringRangeError:oS,attachmentMaxSize:iS,pleaseEnterTotalScoreSetting:uS,theTotalScoreMustNotBeLessThan1:cS,scoreDefaultValueRange:fS,attachmentLimitError:aS,PleaseReselectTheOptionalQuantity:lS,TheMaximumLengthIsGreaterThanTheMinimumLength:sS,TheMinimumLengthIsGreaterThanTheMaximumLength:yS,PleaseSelectTheCorrectOptionSettings:vS,optionIdIsRepeat:hS,optionIsRequired:_S,pleaseEnterDataCode:dS,pleaseEnterValueFieldCode:pS,pleaseEnterSvcCode:bS,pleaseBindAtLeastOneDisplayValue:OS,pleaseSelectProvince:gS,pleaseSelectCity:mS,pleaseSelectDistrict:PS,limitRowsCannotBeLessThan0:RS,TheNumberOfRowsCannotBeLessThanMinRows:wS,pleaseEnterColumnWidth:$S,pleaseSetTheLogicalRelationshipOfAllRuleConditions:TS,pleaseCompleteAllRulesAndConditions:SS,pleaseSelectControl:ES,pleaseSelectDashboard:IS,theViewNameCannotBeEmpty:NS,pleaseSelectOcrType:CS,pleaseSelectAtLeastOneFieldToFillIn:BS,pleaseChooseAtLeastOne:jS,pleaseEnterButtonContent:kS,pleaseEnterDataCodeInDataSetting:AS,pleaseEnterValueFieldCodeInDataSetting:MS,pleaseEnterSvcCodeInDataSetting:DS,pleaseBindAtLeastOneDisplayValueInDataSetting:FS,rootNodeIsRequiredInDataSetting:LS,pleaseEnterMaxHeight:xS,pleaseEnter:zS,pleaseEnterWatermark:GS,pleaseEnterFileName:VS,pleaseUploadAtLeastOnePrintTemplate:HS,pleaseAssignBusiness:YS,pleaseAssignExternal:qS},WS={zhCN:S$,enUS:DT,jaJP:US};function KS(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 XS=function e(t){KS(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},rp="zh-CN",QS=function(){};function J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(c.FieldTypes||(c.FieldTypes={}));var W,JS=(W={},J(W,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),J(W,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),J(W,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),J(W,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),J(W,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),J(W,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),J(W,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),J(W,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),J(W,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),J(W,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),J(W,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),J(W,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),J(W,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),W);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var op="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",ZS=op+"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?op:ZS,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 eE(e){if(Array.isArray(e))return ta(e)}function tE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nE(){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 nE()?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 up(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&It(e,t)}function rE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function oE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iE(){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 uE(e,t){return t&&(cE(t)==="object"||typeof t=="function")?t:tE(e)}function It(e,t){return It=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},It(e,t)}function cp(e){return eE(e)||oE(e)||fE(e)||iE()}var cE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fE(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||!rE(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 aE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fp(e){var t=aE();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 uE(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(cp(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(cp(o)))}function lE(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var oa=function(e){up(r,e);var t=fp(r);function r(n){ip(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?lE(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)),sE=function(e){up(r,e);var t=fp(r);function r(n){ip(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 sE(e)}function ap(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 yE=Object.prototype.toString;function lp(e,t){return yE.call(e)==="[object "+t+"]"}function vE(e){return lp(e,"String")}function hE(e){return lp(e,"Promise")}var _E=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();hE(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&&!vE(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]:rp;return new _E({locale:r,messages:WS})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();h.$i18n=h.resetI18n();function sp(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 pE=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(_,g,$){if(!l(g)||y(g)||v(g)||p(g)||a(g))return g;var m,E=0,P=0;if(s(g))for(m=[],P=g.length;E<P;E++)m.push(r(_,g[E],$));else{m={};for(var T in g)Object.prototype.hasOwnProperty.call(g,T)&&(m[_(T,$)]=r(_,g[T],$))}return m},n=function(_,g){g=g||{};var $=g.separator||"_",m=g.split||/(?=[A-Z])/;return _.split(m).join($)},o=function(_){return b(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(g,$){return $?$.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},i=function(_){var g=o(_);return g.substr(0,1).toUpperCase()+g.substr(1)},u=function(_,g){return n(_,g).toLowerCase()},f=Object.prototype.toString,a=function(_){return typeof _=="function"},l=function(_){return _===Object(_)},s=function(_){return f.call(_)=="[object Array]"},y=function(_){return f.call(_)=="[object Date]"},v=function(_){return f.call(_)=="[object RegExp]"},p=function(_){return f.call(_)=="[object Boolean]"},b=function(_){return _=_-0,_===_},d=function(_,g){var $=g&&"process"in g?g.process:g;return typeof $!="function"?_:function(m,E){return $(m,_,E)}},O={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(_,g){return r(d(o,g),_)},decamelizeKeys:function(_,g){return r(d(u,g),_,g)},pascalizeKeys:function(_,g){return r(d(i,g),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=O:t.humps=O})(pE)})(ca);function ve(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function q(e){return fa(e)&&"zh"in e}function fa(e){return Object.prototype.toString.call(e)==="[object Object]"}function bE(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Te(e){return Array.isArray(e)}function yp(e){return typeof e=="string"}function aa(e){return typeof e=="number"}function OE(e){return typeof e=="function"}function gE(e){return Te(e)&&e.every(function(t){return yp(t)})}function mE(e){return Te(e)&&e.every(function(t){return aa(t)})}function PE(e){return Te(e)&&e.every(function(t){return aa(t)||t===""})}function RE(e){return/^\[.*?]$/.test(e)}function wE(e){return/^{.*?}$/.test(e)}function Se(e){return isNaN(parseFloat(e))?"":Number(e)}function vp(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function $E(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 TE(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function oe(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=oe(n.children,t)),t(o)})),r}function hp(e){return ca.exports.camelizeKeys(e)}function Ee(e){return ca.exports.decamelizeKeys(e)}function SE(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 EE(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 IE(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 NE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CE(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function BE(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function sa(e){return EE(e)||CE(e)||jE(e)||BE()}function jE(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 kE=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}}},dp=function(){function e(){NE(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 IE(function(){var a,l,s,y,v,p,b,d,O,_,g,$;return kE(this,function(m){switch(m.label){case 0:if(a=f._events.get(n),l=[],!a)return[3,10];s=a.slice(),y=!0,v=!1,p=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),b=s[Symbol.iterator](),m.label=2;case 2:if(y=(d=b.next()).done)return[3,7];if(O=d.value,!a.includes(O))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),f.debug&&Nt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(sa(i))),[4,O.apply(null,sa(i))];case 4:return _=m.sent(),f.debug&&Nt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(sa(i),[_])),l.push(_),_===!1?[3,7]:[3,6];case 5:return g=m.sent(),ap(String(g)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return $=m.sent(),v=!0,p=$,[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 AE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var ME=[{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"}],pp=function(){function e(){AE(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}();pp.events=ME;function DE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var bp=[],jn=function(){function e(r){DE(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=bp,jn.staticRegisteredTypes=new Set(bp.map(function(e){return e.Designer.controlType})),jn.staticRegisteredConfigs=new Map;function Op(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gp(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function FE(e,t){return t&&(LE(t)==="object"||typeof t=="function")?t:Op(e)}function ya(e,t){return ya=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ya(e,t)}var LE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof 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 fe(e){var t=xE();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 FE(this,o)}}var Z=function e(t){R(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:""},An=function e(t){R(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},mp=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(An),Pp=function e(t){R(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},va=function e(t){R(this,e);var r,n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Pp(u)}))!==null&&i!==void 0?i:[]},Rp=function e(t){R(this,e);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},wp=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var f;o.isOpenFilter=(f=n==null?void 0:n.isOpenFilter)!==null&&f!==void 0?f:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(An),$p=function e(t){R(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 Rp(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 wp(u)}))!==null&&i!==void 0?i:[]},Tp=function e(t){R(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Qe=function e(t){R(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Sp=function e(t){var r=this;R(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n: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){R(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 Tp(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Qe(t==null?void 0:t.rightVariableBo)},Q=function e(t){R(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Mn=function e(t){R(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},_a=function e(t){R(this,e);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},Ep=function e(t){R(this,e);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},zE=function e(t){R(this,e);var r,n,o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(l){return new _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 Ep(l)}))!==null&&a!==void 0?a:[]};function da(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 Sp(i):new ha(i)}))!==null&&r!==void 0?r:[],gp(this,G)||gp(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 G=function e(t){var r=this;R(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[],Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(a){var l;(l=r.displayBoList)===null||l===void 0||l.push(new 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:"",da.call(this,t)},Ip=function e(t){R(this,e);var r,n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new Mn(u)}))!==null&&i!==void 0?i:[]},Ct=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o,i;o=t.call(this,n);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new Ip(f)}))!==null&&u!==void 0?u:[],o}return r}(G),Np=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;return o=t.call(this,n),o.rootNode=new Qe(n==null?void 0:n.rootNode),o}return r}(Ct),Cp=function e(t){R(this,e);var r,n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Q(u)}))!==null&&i!==void 0?i:[]},Dn=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;return o=t.call(this,n),da.call(Op(o),n),o}return r}(Cp),pa=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(Cp),GE=function e(t){R(this,e);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},ba=function e(t){R(this,e);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},Oa=function e(t){R(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},Bp=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;o=t.call(this,n);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(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 VE(e){var t;return(t=e==null?void 0:e.map(function(r){return new Bp(r)}))!==null&&t!==void 0?t:[]}var Fn=function e(){R(this,e)},jp=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;return o=t.call(this),o.amount=new Z(n==null?void 0:n.amount),o.currency=new Z(n==null?void 0:n.currency),o}return r}(Fn),kp=function e(t){R(this,e);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:c.AMOUNT_TYPE.CNY},Ap=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;return o=t.call(this),o.min=new Z(n==null?void 0:n.min),o.max=new Z(n==null?void 0:n.max),o}return r}(Fn),Mp=function e(t){R(this,e);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},Dp=function e(t){R(this,e);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},Fp=function(e){ce(r,e);var t=fe(r);function r(n){R(this,r);var o;return o=t.call(this),o.result=new Z(n==null?void 0:n.result),o.unit=new Z(n==null?void 0:n.unit),o}return r}(Fn),Lp=function e(t){R(this,e);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};c.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var ee=function e(t){R(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},xp=function e(t){R(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 Pp(u)}))!==null&&i!==void 0?i:[],da.call(this,t)},HE=function e(t){R(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:""},zp=function e(t){R(this,e);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function YE(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 qE(){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 qE()?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 UE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jt(e,t)}function WE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function KE(e,t){return t&&(XE(t)==="object"||typeof t=="function")?t:YE(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jt(e,t)}var XE=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||!WE(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 QE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JE(e){var t=QE();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 KE(this,o)}}var F=function e(t){ga(this,e),this.isHide={type:"boolean"}},de=function(e){UE(r,e);var t=JE(r);function r(n){return ga(this,r),t.call(this)}return r}(ma(Array)),L=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 zp(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};L.Rules=F,L.RuntimeRules=de;function le(){return le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},le.apply(this,arguments)}function ZE(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 eI(){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 eI()?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 tI(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||!tI(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return 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 nI=/%[sdj%]/g,Gp=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Gp=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 te(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(nI,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 rI(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function x(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||rI(t)&&typeof e=="string"&&!e)}function oI(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 Vp(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 iI(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Hp=function(e){ZE(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 uI(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 Hp(O,wa(O))):y()},b=iI(e);Vp(b,r,p)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),f=u.length,a=0,l=[],s=new Promise(function(y,v){var p=function(d){if(l.push.apply(l,d),a++,a===f)return n(l),l.length?v(new Hp(l,wa(l))):y()};u.length||(n(l),y()),u.forEach(function(b){var d=e[b];i.indexOf(b)!==-1?Vp(d,r,p):oI(d,r,p)})});return s.catch(function(y){return y}),s}function Yp(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 qp(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 Up(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||x(t,i||e.type))&&n.push(te(o.messages.required,e.fullField))}function cI(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(te(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 fI(e,t,r,n,o){if(e.required&&t===void 0){Up(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?kt[u](t)||n.push(te(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(te(o.messages.types[u],e.fullField,e.type))}function aI(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",f=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,s=null,y=typeof t=="number",v=typeof t=="string",p=Array.isArray(t);if(y?s="number":v?s="string":p&&(s="array"),!s)return!1;p&&(l=t.length),v&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(te(o.messages[s].len,e.fullField,e.len)):u&&!f&&l<e.min?n.push(te(o.messages[s].min,e.fullField,e.min)):f&&!u&&l>e.max?n.push(te(o.messages[s].max,e.fullField,e.max)):u&&f&&(l<e.min||l>e.max)&&n.push(te(o.messages[s].range,e.fullField,e.min,e.max))}var Je="enum";function lI(e,t,r,n,o){e[Je]=Array.isArray(e[Je])?e[Je]:[],e[Je].indexOf(t)===-1&&n.push(te(o.messages[Je],e.fullField,e[Je].join(", ")))}function sI(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(te(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(te(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var w={required:Up,whitespace:cI,type:fI,range:aI,enum:lI,pattern:sI};function yI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t,"string")&&!e.required)return r();w.required(e,t,n,i,o,"string"),x(t,"string")||(w.type(e,t,n,i,o),w.range(e,t,n,i,o),w.pattern(e,t,n,i,o),e.whitespace===!0&&w.whitespace(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(x(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&w.type(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(t===""&&(t=void 0),x(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&(w.type(e,t,n,i,o),w.range(e,t,n,i,o))}r(i)}function _I(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&w.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(x(t)&&!e.required)return r();w.required(e,t,n,i,o),x(t)||w.type(e,t,n,i,o)}r(i)}function pI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&(w.type(e,t,n,i,o),w.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(x(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&(w.type(e,t,n,i,o),w.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(t==null&&!e.required)return r();w.required(e,t,n,i,o,"array"),t!=null&&(w.type(e,t,n,i,o),w.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(x(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&w.type(e,t,n,i,o)}r(i)}var mI="enum";function PI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();w.required(e,t,n,i,o),t!==void 0&&w[mI](e,t,n,i,o)}r(i)}function RI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t,"string")&&!e.required)return r();w.required(e,t,n,i,o),x(t,"string")||w.pattern(e,t,n,i,o)}r(i)}function wI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t,"date")&&!e.required)return r();if(w.required(e,t,n,i,o),!x(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),w.type(e,f,n,i,o),f&&w.range(e,f.getTime(),n,i,o)}}r(i)}function $I(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;w.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(x(t,i)&&!e.required)return r();w.required(e,t,n,u,o,i),x(t,i)||w.type(e,t,n,u,o)}r(u)}function TI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();w.required(e,t,n,i,o)}r(i)}var At={string:yI,method:vI,number:hI,boolean:_I,regexp:dI,integer:pI,float:bI,array:OI,object:gI,enum:PI,pattern:RI,date:wI,url:Ta,hex:Ta,email:Ta,required:$I,any:TI};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 pe(e){this.rules=null,this._messages=Ea,this.define(e)}pe.prototype={messages:function(t){return t&&(this._messages=qp(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(d){var O,_=[],g={};function $(m){if(Array.isArray(m)){var E;_=(E=_).concat.apply(E,m)}else _.push(m)}for(O=0;O<d.length;O++)$(d[O]);_.length?g=wa(_):(_=null,g=null),f(_,g)}if(u.messages){var l=this.messages();l===Ea&&(l=Sa()),qp(l,u.messages),u.messages=l}else u.messages=this.messages();var s,y,v={},p=u.keys||Object.keys(this.rules);p.forEach(function(d){s=o.rules[d],y=i[d],s.forEach(function(O){var _=O;typeof _.transform=="function"&&(i===t&&(i=le({},i)),y=i[d]=_.transform(y)),typeof _=="function"?_={validator:_}:_=le({},_),_.validator=o.getValidationMethod(_),_.field=d,_.fullField=_.fullField||d,_.type=o.getType(_),_.validator&&(v[d]=v[d]||[],v[d].push({rule:_,value:y,source:i,field:d}))})});var b={};return uI(v,u,function(d,O){var _=d.rule,g=(_.type==="object"||_.type==="array")&&(typeof _.fields=="object"||typeof _.defaultField=="object");g=g&&(_.required||!_.required&&d.value),_.field=d.field;function $(P,T){return le(le({},T),{},{fullField:_.fullField+"."+P})}function m(P){P===void 0&&(P=[]);var T=P;if(Array.isArray(T)||(T=[T]),!u.suppressWarning&&T.length&&pe.warning("async-validator:",T),T.length&&_.message!==void 0&&(T=[].concat(_.message)),T=T.map(Yp(_)),u.first&&T.length)return b[_.field]=1,O(T);if(!g)O(T);else{if(_.required&&!d.value)return _.message!==void 0?T=[].concat(_.message).map(Yp(_)):u.error&&(T=[u.error(_,te(u.messages.required,_.field))]),O(T);var A={};if(_.defaultField)for(var se in d.value)d.value.hasOwnProperty(se)&&(A[se]=_.defaultField);A=le(le({},A),d.rule.fields);for(var re in A)if(A.hasOwnProperty(re)){var pue=Array.isArray(A[re])?A[re]:[A[re]];A[re]=pue.map($.bind(null,re))}var Ow=new pe(A);Ow.messages(u.messages),d.rule.options&&(d.rule.options.messages=u.messages,d.rule.options.error=u.error),Ow.validate(d.value,d.rule.options||u,function(np){var $t=[];T&&T.length&&$t.push.apply($t,T),np&&np.length&&$t.push.apply($t,np),O($t.length?$t:null)})}}var E;_.asyncValidator?E=_.asyncValidator(_,d.value,m,d.source,u):_.validator&&(E=_.validator(_,d.value,m,d.source,u),E===!0?m():E===!1?m(_.message||_.field+" fails"):E instanceof Array?m(E):E instanceof Error&&m(E.message)),E&&E.then&&E.then(function(){return m()},function(P){return m(P)})},function(d){a(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!At.hasOwnProperty(t.type))throw new Error(te("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?At.required:At[this.getType(t)]||!1}},pe.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");At[t]=r},pe.warning=Gp,pe.messages=Ea,pe.validators=At;var SI={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 Wp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new pe(e);return r.messages(Object.assign(SI,t)),r}var Kp=new dp;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 EI(e){if(Array.isArray(e))return e}function II(e){if(Array.isArray(e))return Ia(e)}function Xp(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 Qp(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Xp(i,n,o,u,f,"next",a)}function f(a){Xp(i,n,o,u,f,"throw",a)}u(void 0)})}}function NI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CI(e,t,r){return t&&Jp(e.prototype,t),r&&Jp(e,r),e}function BI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zp(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function eb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jI(){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 kI(){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 tb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){BI(e,o,r[o])})}return e}function AI(e){return EI(e)||eb(e)||nb(e)||jI()}function Na(e){return II(e)||eb(e)||nb(e)||kI()}function nb(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 rb=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},C=function(){function t(n){var o=this;NI(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=ib,this.removeSetting=ob,this._callControlHooks("preInstance",n);var i=Zp(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 d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new L(n==null?void 0:n.props,(Zp(this,t)?this.constructor:void 0).controlName);var O;this.controlType=(O=n==null?void 0:n.controlType)!==null&&O!==void 0?O:"base",this.setting=ve(p);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:l,this.eventKeys=ve(s),this.customEvents=ve(y),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];var f,a=AI(i),l=a[0],s=a.slice(1);return(f=Kp).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),sp(this.props,o,i),this.postUpdate(o,i)},r.preValidate=function(){var o=this;return Qp(function(){var i,u,f;return rb(this,function(a){switch(a.label){case 0:return i=tb({},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 Qp(function(){var f,a,l,s;return rb(this,function(y){switch(y.label){case 0:return[4,u.preValidate()];case 1:f=y.sent(),a=f!==void 0?f:tb({},u.rules),Array.isArray(i)&&i.forEach(function(v){a.hasOwnProperty(v)&&delete a[v]}),l=Wp(a,o),y.label=2;case 2:return y.trys.push([2,4,,5]),[4,l.validate(u.props)];case 3:return y.sent(),[2,!0];case 4:throw s=y.sent(),s.control||(s.control=u),s;case 5:return[2]}})})()},r.toDataBindModel=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this.fieldType,u=this.id,f=this.type,a=this.props,l=a.dataBind,s=a.datasourceBind,y=a.optionConfig,v=a.caption,p=a.required,b=a.maxLength,d=a.options,O=a.encrypted,_=a.encryptedMode;if(!(!i&&!l&&!s)){var g={parentId:o,fieldType:i,controlId:u,caption:v,type:f,props:{}};switch(l&&(g.dataBind=l),y){case"datasource":case void 0:s&&(g.datasourceBind=s);break;case"custom":g.props.options=d;break}return p!==void 0&&(g.required=p),b!==void 0&&(g.maxLength=b),O!==void 0&&(g.encrypted=O),_!==void 0&&(g.encryptedMode=_),g}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ve(this.props),fieldType:this.fieldType,controlType:this.controlType}},t.updateBasicControl=function(o,i){if(o==="setting"){if(i.add){var u;(u=this.setting).push.apply(u,Na(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}},CI(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}}]),t}();C.controlName="\u63A7\u4EF6",C.controlIcon="icon",C.controlType="control",C.controlEventKeys=[],C.controlCustomEvents=[],C.setting=[],C.__is_control__=!0,C.removeSettingItem=ob,C.updateSettingItem=ib;function ob(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 ib(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 MI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ub(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DI(e,t,r){return t&&ub(e.prototype,t),r&&ub(e,r),e}function FI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var V=function(){function t(r){MI(this,t),this.customEvents=[],this.parent=null;var n=FI(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 L(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 DI(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();V.controlType="control",V.__is_control__=!0,V.controlCustomEvents=[];function 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=vp(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 cb(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 LI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function xI(e,t){return t&&(zI(t)==="object"||typeof t=="function")?t:cb(e)}function Ca(e,t){return Ca=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ca(e,t)}var zI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=GI();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 xI(this,o)}}var U=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(LI(n.dataBind,Z))o.dataBind={type:"object",required:!0,fields:ve(i),message:h.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){u.fields[f]={type:"object",required:!0,fields:ve(i),message:h.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(F),B=function(e){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}(de),S=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 Z(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}(L);S.Rules=U,S.RuntimeRules=B;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(cb(o),n),o}return r}(U);function VI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function YI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ba(e,t)}function qI(e,t){return t&&(UI(t)==="object"||typeof t=="function")?t:VI(e)}function Ba(e,t){return Ba=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ba(e,t)}var UI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KI(e){var t=WI();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qI(this,o)}}var I=function(e){YI(r,e);var t=KI(r);function r(n){HI(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new S(n==null?void 0:n.props),o}return r}(C);I.controlEventKeys=["on_change","on_focus","on_blur"];function XI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(e)}function JI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ja(e,t)}function ZI(e,t){return t&&(eN(t)==="object"||typeof t=="function")?t:XI(e)}function ja(e,t){return ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ja(e,t)}var eN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nN(e){var t=tN();return function(){var n=Kn(e),o;if(t){var i=Kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZI(this,o)}}var N=function(e){JI(r,e);var t=nN(r);function r(n){QI(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new S(n==null?void 0:n.props),o}return r}(V);function rN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(e)}function iN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ka(e,t)}function uN(e,t){return t&&(cN(t)==="object"||typeof t=="function")?t:rN(e)}function ka(e,t){return ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ka(e,t)}var cN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aN(e){var t=fN();return function(){var n=Xn(e),o;if(t){var i=Xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uN(this,o)}}var k=function(e){iN(r,e);var t=aN(r);function r(n){return oN(this,r),t.call(this,n)}return r}(L);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 lN(e){if(Array.isArray(e))return Aa(e)}function sN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yN(){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 fb(e){return lN(e)||sN(e)||vN(e)||yN()}function vN(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 ab(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,ab(e,"parent")}function lb(e,t){e.forEach(function(r){Ma(r,t)})}var sb=Symbol("targetKey");function yb(e){var t;return(t=e[sb])!==null&&t!==void 0?t:e}function vb(e,t){return lb(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===sb?n:(a=Reflect).get.apply(a,[n,o].concat(fb(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(fb(f)));return fa(i)&&Ma(i,t),s}})}function be(e,t,r,n){var o=n!=null?n:e,i=vb(yb(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=vb(yb(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 hN(e){if(Array.isArray(e))return Da(e)}function hb(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 _N(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 pN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ze(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ze=Reflect.get:Ze=function(o,i,u){var f=TN(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Ze(e,t,r||e)}function Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oe(e)}function bN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fa(e,t)}function ON(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function gN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mN(){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 PN(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){pN(e,o,r[o])})}return e}function RN(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 wN(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):RN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function $N(e,t){return t&&(SN(t)==="object"||typeof t=="function")?t:hb(e)}function Fa(e,t){return Fa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fa(e,t)}function TN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Oe(e),e!==null););return e}function db(e){return hN(e)||gN(e)||EN(e)||mN()}var SN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EN(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 IN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NN(e){var t=IN();return function(){var n=Oe(e),o;if(t){var i=Oe(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $N(this,o)}}var CN=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},BN=1e4,M=function(t){bN(n,t);var r=NN(n);function n(i){dN(this,n);var u;u=r.call(this,i),u.controlType="layout";var f=ON(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new k(i==null?void 0:i.props),be(hb(u),"children",i==null?void 0:i.children),u.excludes=ve(a),u.childrenMaxLength=l,u}var o=n.prototype;return o.judgeExcludesChildren=function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)},o.judgeJoinChildren=function(u){var f=this.judgeExcludesChildren(u);return f&&this.childrenMaxLength>this.children.length},o.validate=function(u,f){var a=this,l=this,s=function(){return Ze(Oe(n.prototype),"validate",a)};return _N(function(){return CN(this,function(y){switch(y.label){case 0:return[4,s().call(l,u,f)];case 1:return y.sent(),[4,Promise.all(l.children.map(function(v){return v.validate(u,f)}))];case 2:return y.sent(),[2,!0]}})})()},o.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,f=Ze(Oe(n.prototype),"toDataBindModel",this).call(this),a=f?[f]:[];return this.children.reduce(function(l,s){var y=s.toDataBindModel(u);if(Array.isArray(y)){var v=y.filter(function(p){return!!p});return db(l).concat(db(v))}return y&&l.push(y),l},a)},o.toSchema=function(){var u=Ze(Oe(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return wN(PN({},u),{children:f})},n}(C);M.excludes=!1,M.childrenMaxLength=BN;function pb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jN(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 kN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AN(e,t){return t&&(MN(t)==="object"||typeof t=="function")?t:pb(e)}function La(e,t){return La=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},La(e,t)}var MN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FN(e){var t=DN();return function(){var n=Qn(e),o;if(t){var i=Qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AN(this,o)}}var z=function(e){kN(r,e);var t=FN(r);function r(n){jN(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new k(n==null?void 0:n.props),be(pb(o),"children",n==null?void 0:n.children),o}return r}(V);function bb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(e)}function xN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xa(e,t)}function zN(e,t){return t&&(GN(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 GN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HN(e){var t=VN();return function(){var n=Jn(e),o;if(t){var i=Jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zN(this,o)}}var Mt=function(e){xN(r,e);var t=HN(r);function r(n,o){LN(this,r);var i;return i=t.call(this,o),be(bb(i),"headers",o==null?void 0:o.headers,n),i}return r}(L);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 YN(e){if(Array.isArray(e))return za(e)}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,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 qN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){gb(i,n,o,u,f,"next",a)}function f(a){gb(i,n,o,u,f,"throw",a)}u(void 0)})}}function UN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function et(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?et=Reflect.get:et=function(o,i,u){var f=eC(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},et(e,t,r||e)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(e)}function KN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function QN(){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 mb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){WN(e,o,r[o])})}return e}function JN(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 Pb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):JN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ZN(e,t){return t&&(tC(t)==="object"||typeof t=="function")?t:Ob(e)}function Ga(e,t){return Ga=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ga(e,t)}function eC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ge(e),e!==null););return e}function Rb(e){return YN(e)||XN(e)||nC(e)||QN()}var tC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nC(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 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 oC(e){var t=rC();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 ZN(this,o)}}var iC=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){KN(r,e);var t=oC(r);function r(o){UN(this,r);var i;return i=t.call(this,o),i.controlType="list",i.props=new Mt(Ob(i),o==null?void 0:o.props),i}var n=r.prototype;return n.validate=function(i,u){var f=this,a=this,l=function(){return et(ge(r.prototype),"validate",f)};return qN(function(){return iC(this,function(s){switch(s.label){case 0:return[4,l().call(a,i)];case 1:return s.sent(),[4,Promise.all(a.props.headers.map(function(y){return y.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var i=et(ge(r.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],f=this.id;return this.props.headers.reduce(function(a,l){var s=l.toDataBindModel(f);if(Array.isArray(s)){var y=s.filter(function(v){return!!v});return Rb(a).concat(Rb(y))}return s&&a.push(s),a},u)},n.toSchema=function(){var i=et(ge(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(f){return f.toSchema()});return Pb(mb({},i),{props:Pb(mb({},this.props),{headers:u})})},r}(C);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 uC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cC(e,t,r){return t&&wb(e.prototype,t),r&&wb(e,r),e}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(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&&Ha(e,t)}function aC(e,t){return t&&(lC(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 lC=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 yC(e){var t=sC();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 aC(this,o)}}var Ya=function(e){fC(r,e);var t=yC(r);function r(n){uC(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),be(Va(o),"children",n==null?void 0:n.children),o}return cC(r,[{key:"length",get:function(){return this.children.length}}]),r}(V);function $b(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 vC(e,t){return t&&(hC(t)==="object"||typeof t=="function")?t:$b(e)}function Wa(e,t){return Wa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wa(e,t)}var hC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ka(e){var t=_C();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 vC(this,o)}}var Dt=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}(F),D=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 Z(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}(L);D.Rules=Dt;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($b(o),n),o}return r}(Dt);function dC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function bC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qa(e,t)}function OC(e,t){return t&&(gC(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 gC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PC(e){var t=mC();return function(){var n=nr(e),o;if(t){var i=nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OC(this,o)}}var H=function(e){bC(r,e);var t=PC(r);function r(n){pC(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new D(n==null?void 0:n.props),o}return r}(C);function RC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rr(e)}function $C(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ja(e,t)}function TC(e,t){return t&&(SC(t)==="object"||typeof t=="function")?t:RC(e)}function Ja(e,t){return Ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ja(e,t)}var SC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IC(e){var t=EC();return function(){var n=rr(e),o;if(t){var i=rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TC(this,o)}}var Y=function(e){$C(r,e);var t=IC(r);function r(n){wC(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new D(n==null?void 0:n.props),o}return r}(V);function NC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},or(e)}function BC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Za(e,t)}function jC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:NC(e)}function Za(e,t){return Za=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Za(e,t)}var kC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MC(e){var t=AC();return function(){var n=or(e),o;if(t){var i=or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jC(this,o)}}var ir=function(e){BC(r,e);var t=MC(r);function r(n){CC(this,r);var o;return o=t.call(this,n),o.dataBind=new Z(n==null?void 0:n.dataBind),o}return r}(k);function DC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ur(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&el(e,t)}function xC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:DC(e)}function el(e,t){return el=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},el(e,t)}var zC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VC(e){var t=GC();return function(){var n=ur(e),o;if(t){var i=ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xC(this,o)}}var Tb=function(e){LC(r,e);var t=VC(r);function r(n){FC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new ir(n==null?void 0:n.props),o}return r}(M);function HC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cr(e)}function qC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tl(e,t)}function UC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:HC(e)}function tl(e,t){return tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tl(e,t)}var WC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XC(e){var t=KC();return function(){var n=cr(e),o;if(t){var i=cr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UC(this,o)}}var Sb=function(e){qC(r,e);var t=XC(r);function r(n){YC(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new ir(n==null?void 0:n.props),o}return r}(z);function QC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fr(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&&nl(e,t)}function e1(e,t){return t&&(t1(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 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=fr(e),o;if(t){var i=fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e1(this,o)}}var rl=function(e){ZC(r,e);var t=r1(r);function r(n){return JC(this,r),t.call(this,n)}return r}(k);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 ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ar(e)}function u1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c1(e,t){return t&&(f1(t)==="object"||typeof t=="function")?t:o1(e)}function ol(e,t){return ol=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ol(e,t)}var f1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l1(e){var t=a1();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 c1(this,o)}}var s1=function(e){u1(r,e);var t=l1(r);function r(n){i1(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}(M);function y1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(e)}function h1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _1(e,t){return t&&(d1(t)==="object"||typeof t=="function")?t:y1(e)}function il(e,t){return il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},il(e,t)}var d1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b1(e){var t=p1();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 _1(this,o)}}var O1=function(e){h1(r,e);var t=b1(r);function r(n){v1(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}(z);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 sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(e)}function P1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R1(e,t){return t&&(w1(t)==="object"||typeof t=="function")?t:g1(e)}function ul(e,t){return ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ul(e,t)}var w1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T1(e){var t=$1();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 R1(this,o)}}var cl=function(e){P1(r,e);var t=T1(r);function r(n){m1(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}(L);function S1(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 Eb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I1(e,t,r){return t&&Eb(e.prototype,t),r&&Eb(e,r),e}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yr(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&&fl(e,t)}function C1(e,t){return t&&(B1(t)==="object"||typeof t=="function")?t:S1(e)}function fl(e,t){return fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fl(e,t)}var B1=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 k1(e){var t=j1();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 C1(this,o)}}var Ib=function(e){N1(r,e);var t=k1(r);function r(n){E1(this,r);var o;return o=t.call(this,n),o.props=new cl(n==null?void 0:n.props),o}return I1(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(C);Ib.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 A1(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 Nb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D1(e,t,r){return t&&Nb(e.prototype,t),r&&Nb(e,r),e}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vr(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&&al(e,t)}function L1(e,t){return t&&(x1(t)==="object"||typeof t=="function")?t:A1(e)}function al(e,t){return al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},al(e,t)}var x1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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=vr(e),o;if(t){var i=vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L1(this,o)}}var V1=function(e){F1(r,e);var t=G1(r);function r(n){M1(this,r);var o;return o=t.call(this,n),o.props=new cl(n==null?void 0:n.props),o}return D1(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(V),Cb={Designer:Ib,Runtime:V1,Property:cl};function H1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(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&&ll(e,t)}function U1(e,t){return t&&(W1(t)==="object"||typeof t=="function")?t:H1(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(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=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U1(this,o)}}var sl=function(e){q1(r,e);var t=X1(r);function r(n){Y1(this,r);var o;o=t.call(this,n);var i;o.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}(L);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 Bb(e,t){for(var r=0;r<t.length;r++){var 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&&Bb(e.prototype,t),r&&Bb(e,r),e}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function eB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tB(e,t){return t&&(nB(t)==="object"||typeof t=="function")?t:Q1(e)}function yl(e,t){return yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yl(e,t)}var nB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oB(e){var t=rB();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 tB(this,o)}}var vl=function(e){eB(r,e);var t=oB(r);function r(n){J1(this,r);var o;return o=t.call(this,n),o.props=new sl(n==null?void 0:n.props),o}return Z1(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(C);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 iB(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 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 cB(e,t,r){return t&&jb(e.prototype,t),r&&jb(e,r),e}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(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&&hl(e,t)}function aB(e,t){return t&&(lB(t)==="object"||typeof t=="function")?t:iB(e)}function hl(e,t){return hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hl(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=dr(e),o;if(t){var i=dr(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){uB(this,r);var o;return o=t.call(this,n),o.props=new sl(n==null?void 0:n.props),o}return cB(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(V),kb={Designer:vl,Runtime:vB,Property:sl};function hB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(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&&_l(e,t)}function pB(e,t){return t&&(bB(t)==="object"||typeof t=="function")?t:hB(e)}function _l(e,t){return _l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_l(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=pr(e),o;if(t){var i=pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pB(this,o)}}var K=function(e){dB(r,e);var t=gB(r);function r(n){_B(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}(L);function mB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ab(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RB(e,t,r){return t&&Ab(e.prototype,t),r&&Ab(e,r),e}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(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&&dl(e,t)}function $B(e,t){return t&&(TB(t)==="object"||typeof t=="function")?t:mB(e)}function dl(e,t){return dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dl(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=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $B(this,o)}}var X=function(e){wB(r,e);var t=EB(r);function r(n){PB(this,r);var o;return o=t.call(this,n),o.props=new K(n==null?void 0:n.props),o}return RB(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(C);X.controlEventKeys=["on_click"],X.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];function 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 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 CB(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 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&&pl(e,t)}function jB(e,t){return t&&(kB(t)==="object"||typeof t=="function")?t:IB(e)}function pl(e,t){return pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pl(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=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jB(this,o)}}var ne=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 K(n==null?void 0:n.props),o}return CB(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(V),Db={Designer:X,Runtime:ne,Property:K};function he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}c.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar"}(c.TitleConfigEnum||(c.TitleConfigEnum={})),c.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(c.DATE_CONFIG_TYPE||(c.DATE_CONFIG_TYPE={})),c.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(c.DATE_LIMIT_TYPE||(c.DATE_LIMIT_TYPE={}));var gr=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:["",""]};he(this,e),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var mr=function e(t){he(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){he(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Qe((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Qe((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var f,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Qe((f=t==null?void 0:t.company)!==null&&f!==void 0?f:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},Fb=function e(t){he(this,e);var r,n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new 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){he(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){he(this,e);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},Lb=function e(t){he(this,e);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new gl(t==null?void 0:t.watermark),this.autoRename=new gl(t==null?void 0:t.autoRename)},xb=480;function Ft(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var zb=function e(t){he(this,e);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},Gb=function e(t){he(this,e);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function 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 Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(e)}function LB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ml(e,t)}function xB(e,t){return t&&(zB(t)==="object"||typeof t=="function")?t:DB(e)}function ml(e,t){return ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ml(e,t)}var zB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VB(e){var t=GB();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 xB(this,o)}}var Pl=function(e){LB(r,e);var t=VB(r);function r(n){FB(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}(L);function HB(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 Vb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qB(e,t,r){return t&&Vb(e.prototype,t),r&&Vb(e,r),e}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(e)}function UB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rl(e,t)}function WB(e,t){return t&&(KB(t)==="object"||typeof t=="function")?t:HB(e)}function Rl(e,t){return Rl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rl(e,t)}var KB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QB(e){var t=XB();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 WB(this,o)}}var Hb=function(e){UB(r,e);var t=QB(r);function r(n){YB(this,r);var o;return o=t.call(this,n),o.props=new Pl(n==null?void 0:n.props),o}return qB(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(C);Hb.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];function JB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ej(e,t,r){return t&&Yb(e.prototype,t),r&&Yb(e,r),e}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(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&&wl(e,t)}function nj(e,t){return t&&(rj(t)==="object"||typeof t=="function")?t:JB(e)}function wl(e,t){return wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wl(e,t)}var rj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ij(e){var t=oj();return function(){var n=wr(e),o;if(t){var i=wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nj(this,o)}}var uj=function(e){tj(r,e);var t=ij(r);function r(n){ZB(this,r);var o;return o=t.call(this,n),o.props=new Pl(n==null?void 0:n.props),o}return ej(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(V),qb={Designer:Hb,Runtime:uj,Property:Pl};function cj(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 $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(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&&$l(e,t)}function fj(e,t){return t&&(aj(t)==="object"||typeof t=="function")?t:cj(e)}function $l(e,t){return $l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$l(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 Kb(e){var t=lj();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 fj(this,o)}}var sj=function(e){Wb(r,e);var t=Kb(r);function r(n){Ub(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),Tr=function(e){Wb(r,e);var t=Kb(r);function r(n){Ub(this,r);var o;o=t.call(this,n),o.dataBind=new Z(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar];var u,f;return o.caption=(f=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:tt==null?void 0:tt.controlName)!==null&&f!==void 0?f:"",o}return r}(L);Tr.Rules=sj;function yj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hj(e,t,r){return t&&Xb(e.prototype,t),r&&Xb(e,r),e}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(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&&Tl(e,t)}function dj(e,t){return t&&(pj(t)==="object"||typeof t=="function")?t:yj(e)}function Tl(e,t){return Tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tl(e,t)}var pj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oj(e){var t=bj();return function(){var n=Sr(e),o;if(t){var i=Sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dj(this,o)}}var tt=function(e){_j(r,e);var t=Oj(r);function r(n){vj(this,r);var o;return o=t.call(this,n),o.props=new Tr(n==null?void 0:n.props),o}return hj(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(C);tt.controlFieldType=c.FieldTypes.AUTO_NUMBER,tt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];function gj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Pj(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 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&&Sl(e,t)}function wj(e,t){return t&&($j(t)==="object"||typeof t=="function")?t:gj(e)}function Sl(e,t){return Sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sl(e,t)}var $j=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sj(e){var t=Tj();return function(){var n=Er(e),o;if(t){var i=Er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wj(this,o)}}var Ej=function(e){Rj(r,e);var t=Sj(r);function r(n){mj(this,r);var o;return o=t.call(this,n),o.props=new Tr(n==null?void 0:n.props),o}return Pj(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(V),Jb={Designer:tt,Runtime:Ej,Property:Tr};function Ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function eO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&El(e,t)}function Nj(e,t){return t&&(Cj(t)==="object"||typeof t=="function")?t:Ij(e)}function El(e,t){return El=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},El(e,t)}var Cj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tO(e){var t=Bj();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 Nj(this,o)}}var jj=function(e){eO(r,e);var t=tO(r);function r(n){Zb(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")},o}return r}(F),Nr=function(e){eO(r,e);var t=tO(r);function r(n){Zb(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.formKey=(f=n==null?void 0:n.formKey)!==null&&f!==void 0?f:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(K);Nr.Rules=jj;function kj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mj(e,t,r){return t&&nO(e.prototype,t),r&&nO(e,r),e}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(e)}function Dj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Il(e,t)}function Fj(e,t){return t&&(Lj(t)==="object"||typeof t=="function")?t:kj(e)}function Il(e,t){return Il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Il(e,t)}var Lj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zj(e){var t=xj();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 Fj(this,o)}}var Lt=function(e){Dj(r,e);var t=zj(r);function r(n){Aj(this,r);var o;return o=t.call(this,n),o.props=new Nr(n==null?void 0:n.props),o}return Mj(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(X);Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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 Gj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Hj(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 Yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nl(e,t)}function qj(e,t){return t&&(Uj(t)==="object"||typeof t=="function")?t:Gj(e)}function Nl(e,t){return Nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nl(e,t)}var Uj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kj(e){var t=Wj();return function(){var n=Br(e),o;if(t){var i=Br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qj(this,o)}}var Xj=function(e){Yj(r,e);var t=Kj(r);function r(n){Vj(this,r);var o;return o=t.call(this,n),o.props=new Nr(n==null?void 0:n.props),o}return Hj(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ne),oO={Designer:Lt,Runtime:Xj,Property:Nr};function Qj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function uO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cl(e,t)}function Jj(e,t){return t&&(Zj(t)==="object"||typeof t=="function")?t:Qj(e)}function Cl(e,t){return Cl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cl(e,t)}var Zj=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 cO(e){var t=ek();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 Jj(this,o)}}var tk=function(e){uO(r,e);var t=cO(r);function r(n){iO(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),kr=function(e){uO(r,e);var t=cO(r);function r(n){iO(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:xt.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:xt.controlName;var f;o.initiatorMode=(f=n==null?void 0:n.initiatorMode)!==null&&f!==void 0?f:"currentInitiator";var a;o.processKey=(a=n==null?void 0:n.processKey)!==null&&a!==void 0?a:"";var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(K);kr.Rules=tk;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 fO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ok(e,t,r){return t&&fO(e.prototype,t),r&&fO(e,r),e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(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&&Bl(e,t)}function uk(e,t){return t&&(ck(t)==="object"||typeof t=="function")?t:nk(e)}function Bl(e,t){return Bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bl(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=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uk(this,o)}}var xt=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 kr(n==null?void 0:n.props),o}return ok(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(X);xt.controlEventKeys=["on_click","on_click_finish"],xt.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 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 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 yk(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 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&&jl(e,t)}function hk(e,t){return t&&(_k(t)==="object"||typeof t=="function")?t:lk(e)}function jl(e,t){return jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jl(e,t)}var _k=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 pk(e){var t=dk();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 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 kr(n==null?void 0:n.props),o}return yk(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ne),lO={Designer:xt,Runtime:bk,Property:kr};function Ok(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 Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function mk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kl(e,t)}function Pk(e,t){return t&&(Rk(t)==="object"||typeof t=="function")?t:Ok(e)}function kl(e,t){return kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kl(e,t)}var Rk=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 $k(e){var t=wk();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 Pk(this,o)}}var Al=function(e){mk(r,e);var t=$k(r);function r(n){gk(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:zt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:zt.controlIcon,o}return r}(K);function Tk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ek(e,t,r){return t&&sO(e.prototype,t),r&&sO(e,r),e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(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&&Ml(e,t)}function Nk(e,t){return t&&(Ck(t)==="object"||typeof t=="function")?t:Tk(e)}function Ml(e,t){return Ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ml(e,t)}var Ck=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 jk(e){var t=Bk();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 Nk(this,o)}}var zt=function(e){Ik(r,e);var t=jk(r);function r(n){Sk(this,r);var o;return o=t.call(this,n),o.props=new Al(n==null?void 0:n.props),o}return Ek(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(X);zt.controlEventKeys=["on_click"],zt.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 kk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ak(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mk(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 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&&Dl(e,t)}function Fk(e,t){return t&&(Lk(t)==="object"||typeof t=="function")?t:kk(e)}function Dl(e,t){return Dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dl(e,t)}var Lk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zk(e){var t=xk();return function(){var n=Lr(e),o;if(t){var i=Lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fk(this,o)}}var Gk=function(e){Dk(r,e);var t=zk(r);function r(n){Ak(this,r);var o;return o=t.call(this,n),o.props=new Al(n==null?void 0:n.props),o}return Mk(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ne),vO={Designer:zt,Runtime:Gk,Property:Al};function Vk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(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&&Fl(e,t)}function qk(e,t){return t&&(Uk(t)==="object"||typeof t=="function")?t:Vk(e)}function Fl(e,t){return Fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fl(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=xr(e),o;if(t){var i=xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qk(this,o)}}var Ll=function(e){Yk(r,e);var t=Kk(r);function r(n){Hk(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:Gt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Gt.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}(K);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 hO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jk(e,t,r){return t&&hO(e.prototype,t),r&&hO(e,r),e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(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&&xl(e,t)}function e3(e,t){return t&&(t3(t)==="object"||typeof t=="function")?t:Xk(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(e,t)}var t3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r3(e){var t=n3();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 e3(this,o)}}var Gt=function(e){Zk(r,e);var t=r3(r);function r(n){Qk(this,r);var o;return o=t.call(this,n),o.props=new Ll(n==null?void 0:n.props),o}return Jk(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(X);Gt.controlEventKeys=["on_click","on_click_finish"],Gt.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 o3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i3(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 u3(e,t,r){return t&&_O(e.prototype,t),r&&_O(e,r),e}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function c3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zl(e,t)}function f3(e,t){return t&&(a3(t)==="object"||typeof t=="function")?t:o3(e)}function zl(e,t){return zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zl(e,t)}var a3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s3(e){var t=l3();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 f3(this,o)}}var y3=function(e){c3(r,e);var t=s3(r);function r(n){i3(this,r);var o;return o=t.call(this,n),o.props=new Ll(n==null?void 0:n.props),o}return u3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ne),dO={Designer:Gt,Runtime:y3,Property:Ll};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 Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vr(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&&Gl(e,t)}function d3(e,t){return t&&(p3(t)==="object"||typeof t=="function")?t:v3(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(e,t)}var p3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O3(e){var t=b3();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 d3(this,o)}}var Vl=function(e){_3(r,e);var t=O3(r);function r(n){h3(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Vt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Vt.controlIcon,o}return r}(K);function g3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 P3(e,t,r){return t&&pO(e.prototype,t),r&&pO(e,r),e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function R3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hl(e,t)}function w3(e,t){return t&&($3(t)==="object"||typeof t=="function")?t:g3(e)}function Hl(e,t){return Hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hl(e,t)}var $3=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 S3(e){var t=T3();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 w3(this,o)}}var Vt=function(e){R3(r,e);var t=S3(r);function r(n){m3(this,r);var o;return o=t.call(this,n),o.props=new Vl(n==null?void 0:n.props),o}return P3(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(X);Vt.controlEventKeys=["on_click"],Vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];function E3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I3(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 N3(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 C3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yl(e,t)}function B3(e,t){return t&&(j3(t)==="object"||typeof t=="function")?t:E3(e)}function Yl(e,t){return Yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yl(e,t)}var j3=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 A3(e){var t=k3();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 B3(this,o)}}var M3=function(e){C3(r,e);var t=A3(r);function r(n){I3(this,r);var o;return o=t.call(this,n),o.props=new Vl(n==null?void 0:n.props),o}return N3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ne),OO={Designer:Vt,Runtime:M3,Property:Vl};function D3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(e)}function F3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ql(e,t)}function L3(e,t){return t&&(x3(t)==="object"||typeof t=="function")?t:D3(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(e,t)}var x3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G3(e){var t=z3();return function(){var n=qr(e),o;if(t){var i=qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L3(this,o)}}var V3=function e(t){gO(this,e),this.dataCode=t.dataCode},Ul=function(e){F3(r,e);var t=G3(r);function r(n){gO(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:Ht.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Ht.controlIcon;var a;return o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new V3(l)}))!==null&&a!==void 0?a:[],o}return r}(K);function H3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 q3(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(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&&Wl(e,t)}function W3(e,t){return t&&(K3(t)==="object"||typeof t=="function")?t:H3(e)}function Wl(e,t){return Wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wl(e,t)}var K3=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 Q3(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 W3(this,o)}}var Ht=function(e){U3(r,e);var t=Q3(r);function r(n){Y3(this,r);var o;return o=t.call(this,n),o.props=new Ul(n==null?void 0:n.props),o}return q3(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(X);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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];function J3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z3(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 eA(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 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&&Kl(e,t)}function nA(e,t){return t&&(rA(t)==="object"||typeof t=="function")?t:J3(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(e,t)}var rA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iA(e){var t=oA();return function(){var n=Wr(e),o;if(t){var i=Wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nA(this,o)}}var uA=function(e){tA(r,e);var t=iA(r);function r(n){Z3(this,r);var o;return o=t.call(this,n),o.props=new Ul(n==null?void 0:n.props),o}return eA(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ne),RO={Designer:Ht,Runtime:uA,Property:Ul};function Kr(){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 cA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xr(e)}function $O(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xl(e,t)}function TO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){fA(e,o,r[o])})}return e}function aA(e,t){return t&&(lA(t)==="object"||typeof t=="function")?t:cA(e)}function Xl(e,t){return Xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xl(e,t)}var lA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SO(e){var t=sA();return function(){var n=Xr(e),o;if(t){var i=Xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aA(this,o)}}var yA=function(e){$O(r,e);var t=SO(r);function r(n){wO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:TO({},Kr())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:TO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Kr())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(F),Qr=function(e){$O(r,e);var t=SO(r);function r(n){wO(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;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Yt.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 mp(n==null?void 0:n.formBind),o.fillBack=new pa(n==null?void 0:n.fillBack),o}return r}(K);Qr.Rules=yA;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 EO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _A(e,t,r){return t&&EO(e.prototype,t),r&&EO(e,r),e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(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 pA(e,t){return t&&(bA(t)==="object"||typeof t=="function")?t:vA(e)}function Ql(e,t){return Ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ql(e,t)}var bA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gA(e){var t=OA();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 pA(this,o)}}var Yt=function(e){dA(r,e);var t=gA(r);function r(n){hA(this,r);var o;return o=t.call(this,n),o.props=new Qr(n==null?void 0:n.props),o}return _A(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(X);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 mA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PA(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 RA(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 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&&Jl(e,t)}function $A(e,t){return t&&(TA(t)==="object"||typeof t=="function")?t:mA(e)}function Jl(e,t){return Jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jl(e,t)}var TA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EA(e){var t=SA();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 IA=function(e){wA(r,e);var t=EA(r);function r(n){PA(this,r);var o;return o=t.call(this,n),o.props=new Qr(n==null?void 0:n.props),o}return RA(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ne),NO={Designer:Yt,Runtime:IA,Property:Qr};function NA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eo(e)}function BO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jO(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 BA(e,t){return t&&(jA(t)==="object"||typeof t=="function")?t:NA(e)}function Zl(e,t){return Zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zl(e,t)}var jA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kO(e){var t=kA();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 BA(this,o)}}var AA=function(e){BO(r,e);var t=kO(r);function r(n){CO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:jO({},Kr())},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:jO({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Kr())},o}return r}(F),to=function(e){BO(r,e);var t=kO(r);function r(n){CO(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:qt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:qt.controlIcon,o.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}(K);to.Rules=AA;function MA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DA(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 FA(e,t,r){return t&&AO(e.prototype,t),r&&AO(e,r),e}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},no(e)}function LA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}function xA(e,t){return t&&(zA(t)==="object"||typeof t=="function")?t:MA(e)}function es(e,t){return es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},es(e,t)}var zA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VA(e){var t=GA();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 xA(this,o)}}var qt=function(e){LA(r,e);var t=VA(r);function r(n){DA(this,r);var o;return o=t.call(this,n),o.props=new to(n==null?void 0:n.props),o}return FA(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(X);qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function HA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YA(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 qA(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 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&&ts(e,t)}function WA(e,t){return t&&(KA(t)==="object"||typeof t=="function")?t:HA(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ts(e,t)}var KA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QA(e){var t=XA();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 WA(this,o)}}var JA=function(e){UA(r,e);var t=QA(r);function r(n){YA(this,r);var o;return o=t.call(this,n),o.props=new to(n==null?void 0:n.props),o}return qA(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ne),DO={Designer:qt,Runtime:JA,Property:to};function ZA(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 oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(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 e2(e,t){return t&&(t2(t)==="object"||typeof t=="function")?t:ZA(e)}function os(e,t){return os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},os(e,t)}var t2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function is(e){var t=n2();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 e2(this,o)}}var r2=function(e){rs(r,e);var t=is(r);function r(n){return ns(this,r),t.call(this,n)}return r}(F),o2=function(e){rs(r,e);var t=is(r);function r(n){return ns(this,r),t.call(this,n)}return r}(de),Ut=function(e){rs(r,e);var t=is(r);function r(n){return ns(this,r),t.call(this,n)}return r}(L);Ut.Rules=r2,Ut.RuntimeRules=o2;function i2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c2(e,t,r){return t&&FO(e.prototype,t),r&&FO(e,r),e}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function f2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&us(e,t)}function a2(e,t){return t&&(l2(t)==="object"||typeof t=="function")?t:i2(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(e,t)}var l2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function s2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y2(e){var t=s2();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 a2(this,o)}}var LO=function(e){f2(r,e);var t=y2(r);function r(n){u2(this,r);var o;return o=t.call(this,n),o.props=new Ut(n==null?void 0:n.props),o}return c2(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(C);LO.setting=[];function v2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _2(e,t,r){return t&&xO(e.prototype,t),r&&xO(e,r),e}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(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 p2(e,t){return t&&(b2(t)==="object"||typeof t=="function")?t:v2(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var b2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g2(e){var t=O2();return function(){var n=uo(e),o;if(t){var i=uo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p2(this,o)}}var m2=function(e){d2(r,e);var t=g2(r);function r(n){h2(this,r);var o;return o=t.call(this,n),o.props=new Ut(n==null?void 0:n.props),o}return _2(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(V),zO={Designer:LO,Runtime:m2,Property:Ut};function P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},co(e)}function VO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function R2(e,t){return t&&(w2(t)==="object"||typeof t=="function")?t:P2(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(e,t)}var w2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HO(e){var t=$2();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 R2(this,o)}}var T2=function(e){VO(r,e);var t=HO(r);function r(n){GO(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),fo=function(e){VO(r,e);var t=HO(r);function r(n){GO(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}(L);fo.Rules=T2;function S2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 I2(e,t,r){return t&&YO(e.prototype,t),r&&YO(e,r),e}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(e)}function N2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}function C2(e,t){return t&&(B2(t)==="object"||typeof t=="function")?t:S2(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var B2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k2(e){var t=j2();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 C2(this,o)}}var qO=function(e){N2(r,e);var t=k2(r);function r(n){E2(this,r);var o;return o=t.call(this,n),o.props=new fo(n==null?void 0:n.props),o}return I2(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(C);qO.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 A2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D2(e,t,r){return t&&UO(e.prototype,t),r&&UO(e,r),e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function F2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function L2(e,t){return t&&(x2(t)==="object"||typeof t=="function")?t:A2(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var x2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G2(e){var t=z2();return function(){var n=lo(e),o;if(t){var i=lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L2(this,o)}}var V2=function(e){F2(r,e);var t=G2(r);function r(n){M2(this,r);var o;return o=t.call(this,n),o.props=new fo(n==null?void 0:n.props),o}return D2(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(V),WO={Designer:qO,Runtime:V2,Property:fo};function H2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},so(e)}function XO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ss(e,t)}function Y2(e,t){return t&&(q2(t)==="object"||typeof t=="function")?t:H2(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var q2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QO(e){var t=U2();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 Y2(this,o)}}var W2=function(e){XO(r,e);var t=QO(r);function r(n){KO(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),yo=function(e){XO(r,e);var t=QO(r);function r(n){KO(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 xp(a)}))!==null&&f!==void 0?f:[],o}return r}(L);yo.Rules=W2;function K2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q2(e,t,r){return t&&JO(e.prototype,t),r&&JO(e,r),e}function vo(e){return vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vo(e)}function J2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ys(e,t)}function Z2(e,t){return t&&(eM(t)==="object"||typeof t=="function")?t:K2(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(e,t)}var eM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nM(e){var t=tM();return function(){var n=vo(e),o;if(t){var i=vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z2(this,o)}}var ZO=function(e){J2(r,e);var t=nM(r);function r(n){X2(this,r);var o;return o=t.call(this,n),o.props=new yo(n==null?void 0:n.props),o}return Q2(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(C);ZO.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function rM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oM(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 iM(e,t,r){return t&&eg(e.prototype,t),r&&eg(e,r),e}function ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(e)}function uM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function cM(e,t){return t&&(fM(t)==="object"||typeof t=="function")?t:rM(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}var fM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lM(e){var t=aM();return function(){var n=ho(e),o;if(t){var i=ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cM(this,o)}}var sM=function(e){uM(r,e);var t=lM(r);function r(n){oM(this,r);var o;return o=t.call(this,n),o.props=new yo(n==null?void 0:n.props),o}return iM(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(V),tg={Designer:ZO,Runtime:sM,Property:yo};function yM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _o(e){return _o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_o(e)}function rg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function vM(e,t){return t&&(hM(t)==="object"||typeof t=="function")?t:yM(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hs(e,t)}var hM=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 og(e){var t=_M();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 vM(this,o)}}var dM=function(e){rg(r,e);var t=og(r);function r(n){ng(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),po=function(e){rg(r,e);var t=og(r);function r(n){ng(this,r);var o,i;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:nt.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:nt.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:nt.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var b;return o.fillList=(b=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(d){return new Q(d)}))!==null&&b!==void 0?b:[],o}return r}(K);po.Rules=dM;function pM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 OM(e,t,r){return t&&ig(e.prototype,t),r&&ig(e,r),e}function bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bo(e)}function gM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function mM(e,t){return t&&(PM(t)==="object"||typeof t=="function")?t:pM(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}var PM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wM(e){var t=RM();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 mM(this,o)}}var nt=function(e){gM(r,e);var t=wM(r);function r(n){bM(this,r);var o;return o=t.call(this,n),o.props=new po(n==null?void 0:n.props),o}return OM(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(X);nt.controlEventKeys=["on_click","on_click_finish"],nt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function $M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 SM(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 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&&ds(e,t)}function IM(e,t){return t&&(NM(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 NM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BM(e){var t=CM();return function(){var n=Oo(e),o;if(t){var i=Oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IM(this,o)}}var jM=function(e){EM(r,e);var t=BM(r);function r(n){TM(this,r);var o;return o=t.call(this,n),o.props=new po(n==null?void 0:n.props),o}return SM(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ne),cg={Designer:nt,Runtime:jM,Property:po};function kM(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 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&&ps(e,t)}function AM(e,t){return t&&(MM(t)==="object"||typeof t=="function")?t:kM(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var MM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lg(e){var t=DM();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 AM(this,o)}}var FM=function(e){ag(r,e);var t=lg(r);function r(n){fg(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),mo=function(e){ag(r,e);var t=lg(r);function r(n){fg(this,r);var o,i;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:rt.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:rt.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:rt.controlIcon;var p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var b;return o.fillList=(b=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(d){return new Q(d)}))!==null&&b!==void 0?b:[],o}return r}(K);mo.Rules=FM;function LM(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 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 zM(e,t,r){return t&&sg(e.prototype,t),r&&sg(e,r),e}function Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Po(e)}function GM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function VM(e,t){return t&&(HM(t)==="object"||typeof t=="function")?t:LM(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(e,t)}var HM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qM(e){var t=YM();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 VM(this,o)}}var rt=function(e){GM(r,e);var t=qM(r);function r(n){xM(this,r);var o;return o=t.call(this,n),o.props=new mo(n==null?void 0:n.props),o}return zM(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(X);rt.controlEventKeys=["on_click","on_click_finish"],rt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function UM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KM(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 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&&Os(e,t)}function QM(e,t){return t&&(JM(t)==="object"||typeof t=="function")?t:UM(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var JM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eD(e){var t=ZM();return function(){var n=Ro(e),o;if(t){var i=Ro(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QM(this,o)}}var tD=function(e){XM(r,e);var t=eD(r);function r(n){WM(this,r);var o;return o=t.call(this,n),o.props=new mo(n==null?void 0:n.props),o}return KM(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ne),vg={Designer:rt,Runtime:tD,Property:mo};function nD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(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 rD(e,t){return t&&(oD(t)==="object"||typeof t=="function")?t:nD(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(e,t)}var oD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dg(e){var t=iD();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 rD(this,o)}}var uD=function(e){_g(r,e);var t=dg(r);function r(){hg(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),$o=function(e){_g(r,e);var t=dg(r);function r(n){hg(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:Wt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Wt.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new zb(s)}))!==null&&a!==void 0?a:[];var l;return o.autoSelectTemplate=(l=n==null?void 0:n.autoSelectTemplate)!==null&&l!==void 0?l:!1,o}return r}(K);$o.Rules=uD;function cD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aD(e,t,r){return t&&pg(e.prototype,t),r&&pg(e,r),e}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function lD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function sD(e,t){return t&&(yD(t)==="object"||typeof t=="function")?t:cD(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}var yD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hD(e){var t=vD();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 sD(this,o)}}var Wt=function(e){lD(r,e);var t=hD(r);function r(n){fD(this,r);var o;return o=t.call(this,n),o.props=new $o(n==null?void 0:n.props),o}return aD(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(X);Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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 _D(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 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 pD(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 bD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function OD(e,t){return t&&(gD(t)==="object"||typeof t=="function")?t:_D(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(e,t)}var gD=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 PD(e){var t=mD();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 OD(this,o)}}var RD=function(e){bD(r,e);var t=PD(r);function r(n){dD(this,r);var o;return o=t.call(this,n),o.props=new $o(n==null?void 0:n.props),o}return pD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ne),Og={Designer:Wt,Runtime:RD,Property:$o};function wD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(e)}function TD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rs(e,t)}function SD(e,t){return t&&(ED(t)==="object"||typeof t=="function")?t:wD(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(e,t)}var ED=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ID(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ID();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 SD(this,o)}}var ws=function(e){TD(r,e);var t=ND(r);function r(n){$D(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:Kt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Kt.controlIcon,o}return r}(K);function CD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jD(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),e}function Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Io(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&&$s(e,t)}function AD(e,t){return t&&(MD(t)==="object"||typeof t=="function")?t:CD(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$s(e,t)}var MD=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 FD(e){var t=DD();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 AD(this,o)}}var Kt=function(e){kD(r,e);var t=FD(r);function r(n){BD(this,r);var o;return o=t.call(this,n),o.props=new ws(n==null?void 0:n.props),o}return jD(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(X);Kt.controlEventKeys=["on_click"],Kt.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 LD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zD(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 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&&Ts(e,t)}function VD(e,t){return t&&(HD(t)==="object"||typeof t=="function")?t:LD(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(e,t)}var HD=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 qD(e){var t=YD();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 VD(this,o)}}var UD=function(e){GD(r,e);var t=qD(r);function r(n){xD(this,r);var o;return o=t.call(this,n),o.props=new ws(n==null?void 0:n.props),o}return zD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ne),Pg={Designer:Kt,Runtime:UD,Property:ws};function WD(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 Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Co(e)}function XD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QD(e,t){return t&&(JD(t)==="object"||typeof t=="function")?t:WD(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(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 eF(e){var t=ZD();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 QD(this,o)}}var Es=function(e){XD(r,e);var t=eF(r);function r(n){KD(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;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Xt.controlIcon;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:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var v;o.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return r}(L);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 Rg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rF(e,t,r){return t&&Rg(e.prototype,t),r&&Rg(e,r),e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(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=Bo(e),o;if(t){var i=Bo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iF(this,o)}}var Xt=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 Es(n==null?void 0:n.props),o}return rF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(C);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:"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 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 sF(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 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 _F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dF(e){var t=_F();return function(){var n=jo(e),o;if(t){var i=jo(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=dF(r);function r(n){lF(this,r);var o;return o=t.call(this,n),o.props=new Es(n==null?void 0:n.props),o}return sF(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(V),$g={Designer:Xt,Runtime:pF,Property:Es},bF=Object.freeze({__proto__:null,Text:Cb,Link:kb,Button:Db,Divider:qb,Title:Jb,CreateFormListButton:oO,BatchSubmissionListButton:lO,SubmissionRecordListButton:vO,ExportListButton:dO,ExportRecordListButton:OO,ImportRecordListButton:RO,FormSelectButton:NO,ListSelectButton:DO,Pagination:zO,Dashboard:WO,ListViewSelect:tg,TextOcrButton:cg,InvoiceCheckButton:vg,BatchPrintListButton:Og,BatchPrintRecordListButton:Pg,BatchDeleteButton:$g});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 ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(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=ko(e),o;if(t){var i=ko(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=Ft(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(U),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:Ft(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(B),ot=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:it.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(S);ot.Rules=RF,ot.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 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 SF(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(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=Ao(e),o;if(t){var i=Ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IF(this,o)}}var it=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 ot(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);it.controlEventKeys=["on_change","on_input","on_focus","on_blur"],it.controlFieldType=c.FieldTypes.VARCHAR,it.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];function 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 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 AF(e,t,r){return t&&Sg(e.prototype,t),r&&Sg(e,r),e}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(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=Mo(e),o;if(t){var i=Mo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DF(this,o)}}var Eg=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 ot(n==null?void 0:n.props),o}return AF(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(N);Eg.controlFieldType=c.FieldTypes.VARCHAR;var Ig={Designer:it,Runtime:Eg,Property:ot};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 Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(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=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 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}(B),Qt=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 G(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Jt.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var d;o.optionsFormat=(d=n==null?void 0:n.optionsFormat)!==null&&d!==void 0?d:"horizontal";var O;return o.defaultShowOptions=(O=n==null?void 0:n.defaultShowOptions)!==null&&O!==void 0?O:!0,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(_){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Q(_))})),o}return r}(S);Qt.Rules=YF,Qt.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 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 KF(e,t,r){return t&&Ng(e.prototype,t),r&&Ng(e,r),e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(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=Fo(e),o;if(t){var i=Fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QF(this,o)}}var Jt=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 Qt(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);Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=c.FieldTypes.ARRAY,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:"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 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 rL(e,t,r){return t&&Cg(e.prototype,t),r&&Cg(e,r),e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(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=Lo(e),o;if(t){var i=Lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iL(this,o)}}var Bg=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 Qt(n==null?void 0:n.props),o}return rL(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(N);Bg.controlFieldType=c.FieldTypes.ARRAY;var jg={Designer:Jt,Runtime:Bg,Property:Qt};function aL(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 xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(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 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 Mg(e){var t=yL();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 lL(this,o)}}var vL=function(e){Ag(r,e);var t=Mg(r);function r(n){return kg(this,r),t.call(this,n)}return r}(Ie),zo=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 G(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Zt.controlName;var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(d){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Q(d))})),o}return r}(S);zo.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 _L(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 Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(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=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bL(this,o)}}var Zt=function(e){pL(r,e);var t=mL(r);function r(n){_L(this,r);var o;return o=t.call(this,n),o.props=new zo(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);Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=c.FieldTypes.VARCHAR,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"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 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 wL(e,t,r){return t&&Fg(e.prototype,t),r&&Fg(e,r),e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(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=Vo(e),o;if(t){var i=Vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TL(this,o)}}var Lg=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 zo(n==null?void 0:n.props),o}return wL(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(N);Lg.controlFieldType=c.FieldTypes.VARCHAR;var xg={Designer:Zt,Runtime:Lg,Property:zo};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 Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(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=Ho(e),o;if(t){var i=Ho(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=Ft(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(U),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:Ft(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(B),en=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 d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:tn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u8F93\u5165";var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",o.regularRules=new ba(n==null?void 0:n.regularRules),o}return r}(S);en.Rules=kL,en.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 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 FL(e,t,r){return t&&zg(e.prototype,t),r&&zg(e,r),e}function Yo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Yo=Reflect.get:Yo=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}},Yo(e,t,r||e)}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(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=ut(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=ut(e),o;if(t){var i=ut(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xL(this,o)}}var tn=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 en(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Yo(ut(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},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);tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=c.FieldTypes.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 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 UL(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function 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=qo(e),o;if(t){var i=qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KL(this,o)}}var Vg=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 en(n==null?void 0:n.props),o}return UL(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(N);Vg.controlFieldType=c.FieldTypes.DECIMAL;var Hg={Designer:tn,Runtime:Vg,Property:en};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 Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(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=Uo(e),o;if(t){var i=Uo(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:Ko.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 gr(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}(S);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 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 f4(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function Wo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Wo=Reflect.get:Wo=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}},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 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=ct(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=ct(e),o;if(t){var i=ct(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l4(this,o)}}var Ko=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=Wo(ct(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);Ko.controlFieldType=c.FieldTypes.TIMESTAMP,Ko.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 _4(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 p4(e,t,r){return t&&qg(e.prototype,t),r&&qg(e,r),e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(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:_4(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=Xo(e),o;if(t){var i=Xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O4(this,o)}}var Ug=function(e){b4(r,e);var t=P4(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 p4(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(N);Ug.controlFieldType=c.FieldTypes.TIMESTAMP;var Wg={Designer:Ko,Runtime:Ug,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 Kg(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 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 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 Qg(e){var t=T4();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 w4(this,o)}}var S4=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}(B),Jo=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 Ap(n==null?void 0:n.dataBind),o.defaultValue=new Mp(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:ei.controlName;var p;return o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new gr(b)}))!==null&&p!==void 0?p:[],o}return r}(S);Jo.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 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 N4(e,t,r){return t&&Jg(e.prototype,t),r&&Jg(e,r),e}function Zo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zo=Reflect.get:Zo=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}},Zo(e,t,r||e)}function ft(e){return ft=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ft(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=ft(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=ft(e),o;if(t){var i=ft(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B4(this,o)}}var ei=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 Jo(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Zo(ft(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);ei.controlFieldType=c.FieldTypes.TIMESCOPE,ei.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 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 L4(e,t,r){return t&&Zg(e.prototype,t),r&&Zg(e,r),e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(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=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z4(this,o)}}var em=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 Jo(n==null?void 0:n.props),o}return L4(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(N);em.controlFieldType=c.FieldTypes.TIMESCOPE;var tm={Designer:ei,Runtime:em,Property:Jo};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 ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(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=ni(e),o;if(t){var i=ni(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}(U),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}(B),nn=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:rn.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}(S);nn.Rules=K4,nn.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 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 Z4(e,t,r){return t&&nm(e.prototype,t),r&&nm(e,r),e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(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=ri(e),o;if(t){var i=ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t5(this,o)}}var rn=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 nn(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);rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=c.FieldTypes.TEXT,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"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 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 c5(e,t,r){return t&&rm(e.prototype,t),r&&rm(e,r),e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(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=oi(e),o;if(t){var i=oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a5(this,o)}}var om=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 nn(n==null?void 0:n.props),o}return c5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(N);om.controlFieldType=c.FieldTypes.TEXT;var im={Designer:rn,Runtime:om,Property:nn};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 ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(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&&(_5(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 _5=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=ii(e),o;if(t){var i=ii(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}(U),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}(B),on=function(e){yy(r,e);var t=hy(r);function r(n){sy(this,r);var o;o=t.call(this,n);var i;o.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:un.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(S);on.Rules=p5,on.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 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 m5(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(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&&_y(e,t)}function R5(e,t){return t&&(w5(t)==="object"||typeof t=="function")?t:O5(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(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=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R5(this,o)}}var un=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 on(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);un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=c.FieldTypes.TEXT,un.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 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 I5(e,t,r){return t&&cm(e.prototype,t),r&&cm(e,r),e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(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&&dy(e,t)}function C5(e,t){return t&&(B5(t)==="object"||typeof t=="function")?t:S5(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(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=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C5(this,o)}}var fm=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 on(n==null?void 0:n.props),o}return I5(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(N);fm.controlFieldType=c.FieldTypes.TEXT;var am={Designer:un,Runtime:fm,Property:on};function A5(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 fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(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 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 ym(e){var t=F5();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 M5(this,o)}}var L5=function(e){sm(r,e);var t=ym(r);function r(n){return lm(this,r),t.call(this,n)}return r}(Ie),ai=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 G(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:si.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;return o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(v){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Q(v))})),o}return r}(S);ai.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 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 G5(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(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=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H5(this,o)}}var si=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 ai(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);si.controlFieldType=c.FieldTypes.VARCHAR,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,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 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 X5(e,t,r){return t&&hm(e.prototype,t),r&&hm(e,r),e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(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=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J5(this,o)}}var _m=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 ai(n==null?void 0:n.props),o}return X5(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(N);_m.controlFieldType=c.FieldTypes.VARCHAR;var dm={Designer:si,Runtime:_m,Property:ai};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 vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(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=vi(e),o;if(t){var i=vi(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}(B),cn=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 G(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:_i.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;return o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[],o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(y){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Q(y))})),o}return r}(S);cn.Rules=u6,cn.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 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 l6(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(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 _6(e){var t=h6();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 y6(this,o)}}var _i=function(e){s6(r,e);var t=_6(r);function r(n){a6(this,r);var o;return o=t.call(this,n),o.props=new cn(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);_i.controlFieldType=c.FieldTypes.ARRAY,_i.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 p6(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 b6(e,t,r){return t&&bm(e.prototype,t),r&&bm(e,r),e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(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:d6(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=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g6(this,o)}}var Om=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 cn(n==null?void 0:n.props),o}return b6(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);Om.controlFieldType=c.FieldTypes.ARRAY;var gm={Designer:_i,Runtime:Om,Property:cn};function w6(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 pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(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 $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 Rm(e){var t=S6();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 $6(this,o)}}var E6=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}(B),bi=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:gi.controlName;var v;return o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Q(p))})),o}return r}(S);bi.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 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 C6(e,t,r){return t&&wm(e.prototype,t),r&&wm(e,r),e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(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=Oi(e),o;if(t){var i=Oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j6(this,o)}}var gi=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 bi(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);gi.controlFieldType=c.FieldTypes.EMPLOYEES,gi.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 $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 L6(e,t,r){return t&&$m(e.prototype,t),r&&$m(e,r),e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(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=mi(e),o;if(t){var i=mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z6(this,o)}}var Tm=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 bi(n==null?void 0:n.props),o}return L6(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(N);Tm.controlFieldType=c.FieldTypes.EMPLOYEES;var Sm={Designer:gi,Runtime:Tm,Property:bi};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 Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(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=Pi(e),o;if(t){var i=Pi(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}(U),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}(B),at=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:lt.controlName;var v;return o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(S);at.Rules=J6,at.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 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 n7(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(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=Ri(e),o;if(t){var i=Ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o7(this,o)}}var lt=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 at(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);lt.controlEventKeys=["on_change"],lt.controlFieldType=c.FieldTypes.FILE,lt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];function 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 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 l7(e,t,r){return t&&Im(e.prototype,t),r&&Im(e,r),e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(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 _7(e){var t=h7();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 y7(this,o)}}var Ay=function(e){s7(r,e);var t=_7(r);function r(n){a7(this,r);var o;return o=t.call(this,n),o.props=new at(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 Nm={Designer:lt,Runtime:Ay,Property:at};function d7(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 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 b7(e,t,r){return t&&Cm(e.prototype,t),r&&Cm(e,r),e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(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:d7(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=$i(e),o;if(t){var i=$i(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}(lt);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 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 T7(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(e,r),e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(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=Ti(e),o;if(t){var i=Ti(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 Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(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=Si(e),o;if(t){var i=Si(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}(at),jm={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 Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(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=Ei(e),o;if(t){var i=Ei(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}(B),fn=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 jp(n==null?void 0:n.dataBind);var s;o.datasourceBind=new G((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new Mn({value:"name"})]});var y;o.defaultValue=new kp((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:an.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var d;return o.showUpperCase=(d=n==null?void 0:n.showUpperCase)!==null&&d!==void 0?d:!1,o}return r}(S);fn.Rules=K7,fn.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 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 Z7(e,t,r){return t&&km(e.prototype,t),r&&km(e,r),e}function Ii(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ii=Reflect.get:Ii=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}},Ii(e,t,r||e)}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(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=st(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=st(e),o;if(t){var i=st(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t8(this,o)}}var an=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 fn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Ii(st(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},Z7(r,null,[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(I);an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=c.FieldTypes.MONEY,an.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 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 f8(e,t,r){return t&&Am(e.prototype,t),r&&Am(e,r),e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(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=Ni(e),o;if(t){var i=Ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l8(this,o)}}var Mm=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 fn(n==null?void 0:n.props),o}return f8(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(N);Mm.controlFieldType=c.FieldTypes.MONEY;var Dm={Designer:an,Runtime:Mm,Property:fn};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 Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(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 _8(e,t){return t&&(d8(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 d8=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=Ci(e),o;if(t){var i=Ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _8(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}(U),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}(B),ln=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 mr(v)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new mr});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:sn.controlName,o}return r}(S);ln.Rules=b8,ln.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 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 R8(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(e,r),e}function Bi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bi=Reflect.get:Bi=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}},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 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=yt(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=yt(e),o;if(t){var i=yt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S8(this,o)}}var sn=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 ln(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 mr});(f=this.props.explain).push.apply(f,I8(l))}}Bi(yt(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);sn.controlEventKeys=["on_change","on_click"],sn.controlFieldType=c.FieldTypes.DECIMAL,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:"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 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 M8(e,t,r){return t&&Lm(e.prototype,t),r&&Lm(e,r),e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(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=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F8(this,o)}}var xm=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 ln(n==null?void 0:n.props),o}return M8(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(N);xm.controlFieldType=c.FieldTypes.DECIMAL;var zm={Designer:sn,Runtime:xm,Property:ln};function G8(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 ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(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 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 Hm(e){var t=Y8();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 V8(this,o)}}var q8=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}(B),Ai=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:Di.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 Dp((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}(S);Ai.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 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 K8(e,t,r){return t&&Ym(e.prototype,t),r&&Ym(e,r),e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(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=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q8(this,o)}}var Di=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 Ai(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);Di.controlFieldType=c.FieldTypes.ADDRESS,Di.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.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 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 rx(e,t,r){return t&&qm(e.prototype,t),r&&qm(e,r),e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(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=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ix(this,o)}}var Um=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 Ai(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);Um.controlFieldType=c.FieldTypes.ADDRESS;var Wm={Designer:Di,Runtime:Um,Property:Ai};function ax(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 Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(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 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 Qm(e){var t=yx();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 lx(this,o)}}var vx=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}(B),xi=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:Gi.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(d){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Q(d))})),o}return r}(S);xi.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 _x(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 zi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zi=Reflect.get:zi=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}},zi(e,t,r||e)}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(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=vt(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=vt(e),o;if(t){var i=vt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bx(this,o)}}var Gi=function(e){px(r,e);var t=Px(r);function r(o){_x(this,r);var i;return i=t.call(this,o),i.props=new xi(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=zi(vt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u},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);Gi.controlFieldType=c.FieldTypes.DEPARTMENTS,Gi.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 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 $x(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(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=Vi(e),o;if(t){var i=Vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sx(this,o)}}var e0=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 xi(n==null?void 0:n.props),o}return $x(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(N);e0.controlFieldType=c.FieldTypes.DEPARTMENTS;var t0={Designer:Gi,Runtime:e0,Property:xi};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 Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(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=Hi(e),o;if(t){var i=Hi(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:yn.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}(S);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 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 xx(e,t,r){return t&&n0(e.prototype,t),r&&n0(e,r),e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(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=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gx(this,o)}}var yn=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);yn.controlEventKeys=["on_change"],yn.controlFieldType=c.FieldTypes.AUTO_NUMBER,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 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 Wx(e,t,r){return t&&r0(e.prototype,t),r&&r0(e,r),e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(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=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xx(this,o)}}var o0=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);o0.controlFieldType=c.FieldTypes.AUTO_NUMBER;var i0={Designer:yn,Runtime:o0,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 Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(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=Ui(e),o;if(t){var i=Ui(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}(U),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}(B),vn=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 Fp(n==null?void 0:n.dataBind),o.defaultValue=new Lp(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:hn.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}(S);vn.Rules=o9,vn.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 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 f9(e,t,r){return t&&u0(e.prototype,t),r&&u0(e,r),e}function Wi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Wi=Reflect.get:Wi=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}},Wi(e,t,r||e)}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ht(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=ht(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=ht(e),o;if(t){var i=ht(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l9(this,o)}}var hn=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 vn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Wi(ht(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},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);hn.controlEventKeys=["on_change"],hn.controlFieldType=c.FieldTypes.CALC,hn.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 _9(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 p9(e,t,r){return t&&c0(e.prototype,t),r&&c0(e,r),e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(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:_9(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=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O9(this,o)}}var f0=function(e){b9(r,e);var t=P9(r);function r(n){d9(this,r);var o;return o=t.call(this,n),o.props=new vn(n==null?void 0:n.props),o}return p9(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(N);f0.controlFieldType=c.FieldTypes.CALC;var a0={Designer:hn,Runtime:f0,Property:vn};function R9(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 Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(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&&_v(e,t)}function w9(e,t){return t&&($9(t)==="object"||typeof t=="function")?t:R9(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(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 y0(e){var t=T9();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 w9(this,o)}}var S9=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}(B),Qi=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:Zi.controlName,o}return r}(S);Qi.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 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 N9(e,t,r){return t&&v0(e.prototype,t),r&&v0(e,r),e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(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&&dv(e,t)}function B9(e,t){return t&&(j9(t)==="object"||typeof t=="function")?t:E9(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(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=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B9(this,o)}}var Zi=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 Qi(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);Zi.controlFieldType=c.FieldTypes.DECIMAL_RANGE,Zi.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 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 F9(e,t,r){return t&&h0(e.prototype,t),r&&h0(e,r),e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(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=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x9(this,o)}}var _0=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 Qi(n==null?void 0:n.props),o}return F9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);_0.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var d0={Designer:Zi,Runtime:_0,Property:Qi};function H9(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 tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(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 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 O0(e){var t=U9();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 Y9(this,o)}}var W9=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}(B),nu=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:ou.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(d){return new gr(d)}))!==null&&b!==void 0?b:[],o}return r}(S);nu.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 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 Q9(e,t,r){return t&&g0(e.prototype,t),r&&g0(e,r),e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(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=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z9(this,o)}}var ou=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 nu(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);ou.controlFieldType=c.FieldTypes.ARRAY,ou.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 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 iz(e,t,r){return t&&m0(e.prototype,t),r&&m0(e,r),e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(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=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cz(this,o)}}var P0=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 nu(n==null?void 0:n.props),o}return iz(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);P0.controlFieldType=c.FieldTypes.ARRAY;var R0={Designer:ou,Runtime:P0,Property:nu};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 uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(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=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yz(this,o)}}var _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.dataBind={type:"any"},o}return r}(U),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}(B),_n=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}(S);_n.Rules=_z,_n.RuntimeRules=dz;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 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 Oz(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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=cu(e),o;if(t){var i=cu(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 _n(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 $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 Sz(e,t,r){return t&&$0(e.prototype,t),r&&$0(e,r),e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(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=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iz(this,o)}}var T0=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 _n(n==null?void 0:n.props),o}return Sz(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);T0.controlFieldType=c.FieldTypes.ANY;var S0={Designer:dn,Runtime:T0,Property:_n};function jz(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 au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(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 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 N0(e){var t=Mz();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 kz(this,o)}}var Dz=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),lu=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 G(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:yu.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"",o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(y){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Q(y))}));var s;return o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1,o}return r}(S);lu.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 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 xz(e,t,r){return t&&C0(e.prototype,t),r&&C0(e,r),e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(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=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gz(this,o)}}var yu=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 lu(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);yu.controlFieldType=c.FieldTypes.VARCHAR,yu.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 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 Wz(e,t,r){return t&&B0(e.prototype,t),r&&B0(e,r),e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(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=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xz(this,o)}}var j0=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 lu(n==null?void 0:n.props),o}return Wz(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(N);j0.controlFieldType=c.FieldTypes.VARCHAR;var k0={Designer:yu,Runtime:j0,Property:lu};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 hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(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=hu(e),o;if(t){var i=hu(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}(ot);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 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 aG(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 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=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sG(this,o)}}var M0=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}(it);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 _G(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 pG(e,t,r){return t&&D0(e.prototype,t),r&&D0(e,r),e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(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:_G(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=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OG(this,o)}}var F0=function(e){bG(r,e);var t=PG(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 pG(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 pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(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:x0(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=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 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(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}(U),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}(B),pn=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 d;o.datasourceBind=new Np((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:Ne.controlCustomAttributes});var O;o.multistageFilling=(O=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(g){return new Q(g)}))!==null&&O!==void 0?O:[];var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:[],o}return r}(S);pn.Rules=TG,pn.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 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 NG(e,t,r){return t&&z0(e.prototype,t),r&&z0(e,r),e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function 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=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 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 pn(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 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 FG(e,t,r){return t&&G0(e.prototype,t),r&&G0(e,r),e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(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=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xG(this,o)}}var V0=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 pn(n==null?void 0:n.props),o}return FG(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(N);V0.controlFieldType=c.FieldTypes.ARRAY;var H0={Designer:Ne,Runtime:V0,Property:pn};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 gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(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:Y0(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=gu(e),o;if(t){var i=gu(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(Y0(o),n,_t.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(U),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}(B),bn=function(e){zv(r,e);var t=Vv(r);function r(n){xv(this,r);var o;o=t.call(this,n);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:_t.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;o.datasourceBind=new Ct((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:_t.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:c.OrganizeType.INTERNAL;var d;o.insideType=(d=n==null?void 0:n.insideType)!==null&&d!==void 0?d:c.InternalType.ADMIN;var O;o.externalType=(O=n==null?void 0:n.externalType)!==null&&O!==void 0?O:c.AssignType.ALL;var _;return o.externalScope=(_=n==null?void 0:n.externalScope)!==null&&_!==void 0?_:[],o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var $;($=o.multistageFilling)===null||$===void 0||$.push(new Q(g))})),o}return r}(S);bn.Rules=UG,bn.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 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 QG(e,t,r){return t&&q0(e.prototype,t),r&&q0(e,r),e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(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=mu(e),o;if(t){var i=mu(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 bn(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 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 iV(e,t,r){return t&&U0(e.prototype,t),r&&U0(e,r),e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(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=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cV(this,o)}}var W0=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 bn(n==null?void 0:n.props),o}return iV(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(N);W0.controlFieldType=c.FieldTypes.EMPLOYEES;var K0={Designer:_t,Runtime:W0,Property:bn};function sV(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 Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(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 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 J0(e){var t=hV();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 yV(this,o)}}var _V=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}(U),wu=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:On.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 Fb(n==null?void 0:n.signatureConfig),o}return r}(S);wu.Rules=_V;function dV(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 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 bV(e,t,r){return t&&Z0(e.prototype,t),r&&Z0(e,r),e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(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:dV(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=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gV(this,o)}}var On=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 wu(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);On.controlEventKeys=["on_click","on_click_finish"],On.controlFieldType=c.FieldTypes.VARCHAR,On.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.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 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 TV(e,t,r){return t&&eP(e.prototype,t),r&&eP(e,r),e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(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=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EV(this,o)}}var tP=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 wu(n==null?void 0:n.props),o}return TV(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);tP.controlFieldType=c.FieldTypes.VARCHAR;var nP={Designer:On,Runtime:tP,Property:wu};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 Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(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=Su(e),o;if(t){var i=Su(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}(U),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}(B),gn=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:mn.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 d;o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:[],o.wpsSetting=new Lb(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}(S);gn.Rules=MV,gn.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 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 xV(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(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=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 mn=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 gn(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);mn.controlEventKeys=["on_change","on_wps_open"],mn.controlFieldType=c.FieldTypes.FILE,mn.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 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 WV(e,t,r){return t&&oP(e.prototype,t),r&&oP(e,r),e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(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=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XV(this,o)}}var iP=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 gn(n==null?void 0:n.props),o}return WV(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(N);iP.controlFieldType=c.FieldTypes.FILE;var uP={Designer:mn,Runtime:iP,Property:gn};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 Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(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:cP(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=Nu(e),o;if(t){var i=Nu(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(cP(o),n,pt.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(U),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}(B),Pn=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:pt.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var d;o.datasourceBind=new Ct((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:pt.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:c.DepartmentType.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var g;return o.businessType=(g=n==null?void 0:n.businessType)!==null&&g!==void 0?g:c.AssignType.ALL,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Q($))})),o}return r}(S);Pn.Rules=rH,Pn.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 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 cH(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function Cu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cu=Reflect.get:Cu=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}},Cu(e,t,r||e)}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(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=dt(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=dt(e),o;if(t){var i=dt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aH(this,o)}}var pt=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 Pn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Cu(dt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u},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);pt.controlFieldType=c.FieldTypes.DEPARTMENTS,pt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];function hH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(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=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bH(this,o)}}var lP=function(e){pH(r,e);var t=mH(r);function r(n){_H(this,r);var o;return o=t.call(this,n),o.props=new Pn(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:pt,Runtime:lP,Property:Pn},PH=Object.freeze({__proto__:null,Input:Ig,Checkbox:jg,Radio:xg,Number:Hg,DatePicker:Wg,DateRange:tm,Textarea:im,RichText:am,Select:dm,SelectMultiple:gm,Employee:Sm,Image:jm,Attachment:Nm,Amount:Dm,Score:zm,Address:Wm,Department:t0,AutoNumber:i0,Calc:a0,SearchNumberRange:d0,SearchDateRange:R0,VueFormItem:S0,SelectRelation:k0,SearchInput:L0,Tree:H0,Employee2:K0,ElectronicSignature:nP,WPS:uP,Department2:sP});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 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 ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(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=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SH(this,o)}}var vP=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}(M);vP.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 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 jH(e,t,r){return t&&hP(e.prototype,t),r&&hP(e,r),e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(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=ku(e),o;if(t){var i=ku(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}(z),_P={Designer:vP,Runtime:LH,Property:k};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 Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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=Au(e),o;if(t){var i=Au(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}(k);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 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 XH(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 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=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JH(this,o)}}var Rn=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}(M);Rn.excludes=[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.DIVIDER],Rn.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 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 oY(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 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=Du(e),o;if(t){var i=Du(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}(z),Fu={Designer:Rn,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 Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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 _Y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dY(e){var t=_Y();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 vY(this,o)}}var xu=function(e){yY(r,e);var t=dY(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}(k);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 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 OY(e,t,r){return t&&bP(e.prototype,t),r&&bP(e,r),e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(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=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mY(this,o)}}var Gu=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 xu(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}(M);Gu.excludes=[c.CONTROL_TYPE.ROW],Gu.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 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 SY(e,t,r){return t&&OP(e.prototype,t),r&&OP(e,r),e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(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&&_h(e,t)}function IY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:$Y(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(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=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IY(this,o)}}var gP=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 xu(n==null?void 0:n.props),o}return SY(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(z),mP={Designer:Gu,Runtime:gP,Property:xu};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 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 AY(e,t,r){return t&&PP(e.prototype,t),r&&PP(e,r),e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(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&&dh(e,t)}function DY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:jY(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(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=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DY(this,o)}}var zY=4,Yu=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}(Gu);Yu.excludes=[c.CONTROL_TYPE.GRID_ROW],Yu.setting=[],Yu.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 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 HY(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(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=qu(e),o;if(t){var i=qu(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}(gP);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 Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(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=Uu(e),o;if(t){var i=Uu(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}(xu),Oh={Designer:Yu,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 wP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function $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 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 TP(e){var t=fq();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 uq(this,o)}}var aq=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}(k.Rules),Ku=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}(k);Ku.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 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 yq(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function 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&&(_q(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 _q=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pq(e){var t=dq();return function(){var n=Xu(e),o;if(t){var i=Xu(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 Ku(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}(M);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 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 gq(e,t,r){return t&&EP(e.prototype,t),r&&EP(e,r),e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(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=Qu(e),o;if(t){var i=Qu(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 Ku(n==null?void 0:n.props),o}return gq(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(z),IP={Designer:Ph,Runtime:Tq,Property:Ku};function Sq(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 Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(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 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 BP(e){var t=Nq();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 Eq(this,o)}}var Cq=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}(F),Zu=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}(k);Zu.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 ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(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=ec(e),o;if(t){var i=ec(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 Zu(n==null?void 0:n.props),o}return r}(M);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 tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(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=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gq(this,o)}}var jP=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 Zu(n==null?void 0:n.props),o}return r}(z);jP.controlType="subtable-column";var Sh={Designer:ue,Runtime:jP,Property:Zu};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 nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(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=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 Ih=function(e){Wq(r,e);var t=Jq(r);function r(n){return Uq(this,r),t.call(this,n)}return r}(k);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 rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(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=rc(e),o;if(t){var i=rc(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}(M);Be.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Be.controlType="subtable-row",Be.controlIcon="subtable-row",Be.childrenMaxLength=1,Be.excludes=[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.SUBTABLE_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT],Be.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}];function 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 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 fU(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(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=oc(e),o;if(t){var i=oc(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}(z),AP={Designer:Be,Runtime:hU,Property:Ih};function _U(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 ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(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:_U(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=ic(e),o;if(t){var i=ic(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){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 G(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var v;o.decimalKeepPrecision=(v=n==null?void 0:n.decimalKeepPrecision)!==null&&v!==void 0?v:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:c.DateType.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return r}(k);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 uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(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=uc(e),o;if(t){var i=uc(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}(M);je.controlName="\u5217\u8868\u5355\u5143\u683C",je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[c.CONTROL_TYPE.GRID_TABLE,c.CONTROL_TYPE.GRID_TABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT],je.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0}];function 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 cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(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=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BU(this,o)}}var MP=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}(z);MP.controlType="gridtable-column";var DP={Designer:je,Runtime:MP,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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(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=fc(e),o;if(t){var i=fc(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}(k);function VU(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 ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(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 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 xP(e){var t=qU();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 HU(this,o)}}var UU=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}(F),lc=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:hc.controlName,o}return r}(k);lc.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 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 XU(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function 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=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JU(this,o)}}var wn=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 lc(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}(M);wn.excludes=[c.CONTROL_TYPE.TAB],wn.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 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 oW(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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=yc(e),o;if(t){var i=yc(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 lc(n==null?void 0:n.props),o}return oW(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(z),VP={Designer:wn,Runtime:lW,Property:lc};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 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 vW(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(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 _W(e,t){return t&&(dW(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 dW=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=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _W(this,o)}}var hc=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 wn,new wn],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}(M);hc.excludes=[c.CONTROL_TYPE.TAB],hc.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 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 mW(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(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=_c(e),o;if(t){var i=_c(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}(z),qP={Designer:hc,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 dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(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=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CW(this,o)}}var UP=function(e){NW(r,e);var t=kW(r);function r(n){return IW(this,r),t.call(this,n)}return r}(k);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 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 DW(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(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=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LW(this,o)}}var KP=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 UP({}),o.children=(n==null?void 0:n.children)||[new Rn({props:new Ce({span:12})}),new Rn({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}(M);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 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 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 YW(e,t,r){return t&&XP(e.prototype,t),r&&XP(e,r),e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(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=bc(e),o;if(t){var i=bc(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}(z),QP={Designer:KP,Runtime:QW,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 Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(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:JP(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=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JW(this,o)}}var gc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(gc||(gc={}));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}(de),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===gc.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}(F),$n=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 G(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:gc.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new $p(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.countType=n==null?void 0:n.countType,o}return r}(k);$n.Rules=nK,$n.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 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 iK(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 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=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cK(this,o)}}var Pc=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 $n(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}(M);Pc.excludes=[c.CONTROL_TYPE.ROW],Pc.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Pc.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 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 vK(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(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 _K(e,t){return t&&(dK(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 dK=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=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _K(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 $n(n==null?void 0:n.props),o}return vK(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(z),Jh={Designer:Pc,Runtime:OK,Property:$n};function gK(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 wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(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 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 rR(e){var t=RK();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 mK(this,o)}}var wK=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}(de),$c=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 ee((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new ee((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new ee((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 ee((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 ee(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new G(n==null?void 0:n.datasourceBind),o}return r}(k);$c.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 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 SK(e,t,r){return t&&oR(e.prototype,t),r&&oR(e,r),e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(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&&e_(e,t)}function IK(e,t){return t&&(NK(t)==="object"||typeof t=="function")?t:$K(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(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=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IK(this,o)}}var iR=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 $c(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}(M);iR.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 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 AK(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&t_(e,t)}function DK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:jK(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(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=Sc(e),o;if(t){var i=Sc(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 $c(n==null?void 0:n.props),o}return AK(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(z),n_={Designer:iR,Runtime:zK,Property:$c};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 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 HK(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(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&&r_(e,t)}function qK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:GK(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(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=Ec(e),o;if(t){var i=Ec(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}(M);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 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 ZK(e,t,r){return t&&fR(e.prototype,t),r&&fR(e,r),e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(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&&o_(e,t)}function tX(e,t){return t&&(nX(t)==="object"||typeof t=="function")?t:QK(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(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=Ic(e),o;if(t){var i=Ic(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}(z);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 Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(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&&i_(e,t)}function aX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:uX(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(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=Nc(e),o;if(t){var i=Nc(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}(k),aR={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 _X(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 Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(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&&u_(e,t)}function bX(e,t){return t&&(OX(t)==="object"||typeof t=="function")?t:hX(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(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=Cc(e),o;if(t){var i=Cc(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 _X(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}(M);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 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 $X(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 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&&c_(e,t)}function SX(e,t){return t&&(EX(t)==="object"||typeof t=="function")?t:RX(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(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=Bc(e),o;if(t){var i=Bc(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}(z);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 jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(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&&f_(e,t)}function AX(e,t){return t&&(MX(t)==="object"||typeof t=="function")?t:BX(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(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=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 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 Gb(n==null?void 0:n.flexConfig),o}return r}(k),yR={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 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 GX(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 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&&a_(e,t)}function HX(e,t){return t&&(YX(t)==="object"||typeof t=="function")?t:xX(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(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=kc(e),o;if(t){var i=kc(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}(M);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 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 QX(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 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&&l_(e,t)}function ZX(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:KX(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(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=Ac(e),o;if(t){var i=Ac(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}(z);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 Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(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&&s_(e,t)}function cQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:oQ(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(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=Mc(e),o;if(t){var i=Mc(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}(k),_R={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 dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hQ(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function _Q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function dQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:yQ(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(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=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dQ(this,o)}}var gQ=function(e){_Q(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}(M);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 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 RQ(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 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&&v_(e,t)}function $Q(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:mQ(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(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=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Q(this,o)}}var 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}(z);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 Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(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&&h_(e,t)}function jQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:NQ(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(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=Lc(e),o;if(t){var i=Lc(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}(k),bR={Designer:gQ,Runtime:IQ,Property:DQ},FQ=Object.freeze({__proto__:null,Grid:_P,Col:Fu,Row:mP,GridRow:Oh,CardGroup:IP,SubTableColumn:Sh,SubTableRow:AP,GridTableColumn:DP,Tab:qP,TabPane:VP,Toolbox:QP,ListView:Jh,DataView:n_,Page:aR,AdvancedContainer:yR,PositioningContainer:_R,Position:bR});function LQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function __(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(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&&p_(e,t)}function xQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:LQ(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(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 b_(e){var t=GQ();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 xQ(this,o)}}var VQ=function(e){d_(r,e);var t=b_(r);function r(n){__(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=b_(r);function r(n){__(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:h.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,f,a){f.length<n.limitRows&&a(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(de),Tn=function(e){d_(r,e);var t=b_(r);function r(n,o){__(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:Gc.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:xb;var b;i.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var d;i.limitRows=(d=o==null?void 0:o.limitRows)!==null&&d!==void 0?d:1;var O;i.defaultRows=(O=o==null?void 0:o.defaultRows)!==null&&O!==void 0?O:1,i.datasourceBind=new G(o==null?void 0:o.datasourceBind);var _;i.canAdd=(_=o==null?void 0:o.canAdd)!==null&&_!==void 0?_:!0;var g;i.canDelete=(g=o==null?void 0:o.canDelete)!==null&&g!==void 0?g:!0;var $;i.canCheck=($=o==null?void 0:o.canCheck)!==null&&$!==void 0?$:!1;var m;i.canEdit=(m=o==null?void 0:o.canEdit)!==null&&m!==void 0?m:!1;var E;i.canImport=(E=o==null?void 0:o.canImport)!==null&&E!==void 0?E:!1;var P;i.canExport=(P=o==null?void 0:o.canExport)!==null&&P!==void 0?P:!1;var T;i.canClear=(T=o==null?void 0:o.canClear)!==null&&T!==void 0?T:!0;var A;i.serverPagination=(A=o==null?void 0:o.serverPagination)!==null&&A!==void 0?A:!1;var se;i.isShowCaptionTip=(se=o==null?void 0:o.isShowCaptionTip)!==null&&se!==void 0?se:!1;var re;return i.captionTip=(re=o==null?void 0:o.captionTip)!==null&&re!==void 0?re:"",i}return r}(Mt);Tn.Rules=VQ,Tn.RuntimeRules=HQ;function OR(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 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 qQ(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 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&&O_(e,t)}function WQ(e,t){return t&&(KQ(t)==="object"||typeof t=="function")?t:OR(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(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=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WQ(this,o)}}var Gc=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 Tn(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},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);Gc.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],Gc.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 JQ(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 ZQ(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(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&&g_(e,t)}function tJ(e,t){return t&&(nJ(t)==="object"||typeof t=="function")?t:mR(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(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=Vc(e),o;if(t){var i=Vc(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 Tn(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},ZQ(r,null,[{key:"controlType",get:function(){return"subtable"}}]),r}(Ya),RR={Designer:Gc,Runtime:iJ,Property:Tn};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 Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(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&&m_(e,t)}function aJ(e,t){return t&&(lJ(t)==="object"||typeof t=="function")?t:uJ(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(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=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aJ(this,o)}}var P_=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 wR(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 $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&&R_(e,t)}function hJ(e,t){return t&&(_J(t)==="object"||typeof t=="function")?t:vJ(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}var _J=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=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hJ(this,o)}}var pJ=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}(Dt),qc=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}(D);qc.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 Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function gJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function mJ(e,t){return t&&(PJ(t)==="object"||typeof t=="function")?t:bJ(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(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=Uc(e),o;if(t){var i=Uc(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 qc(n==null?void 0:n.props),o}return r}(H);ke.controlType="order-column",ke.controlName="\u5E8F\u53F7",ke.controlIcon="order-column",ke.setting=[{key:"column-fixed",visible:!0}];function $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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&$_(e,t)}function EJ(e,t){return t&&(IJ(t)==="object"||typeof t=="function")?t:$J(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(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=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EJ(this,o)}}var T_=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 qc(n==null?void 0:n.props),o}return r}(Y);T_.controlType="order-column",T_.controlFieldType=c.FieldTypes.DECIMAL;var SR={Designer:ke,Runtime:T_,Property:qc};function BJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ER(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(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&&S_(e,t)}function jJ(e,t){return t&&(kJ(t)==="object"||typeof t=="function")?t:BJ(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var kJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NR(e){var t=AJ();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 jJ(this,o)}}var MJ=function(e){IR(r,e);var t=NR(r);function r(n){ER(this,r);var o;o=t.call(this,n),o.check=[{type:"object",message:h.getMessage("isNotObject")}],o.edit=[{type:"object",message:h.getMessage("isNotObject")}];var i=function(){return{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}};return n.check.isShow&&o.check.push(i()),n.edit.isShow&&o.edit.push(i()),o}return r}(Dt),Xc=function(e){IR(r,e);var t=NR(r);function r(n){ER(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.check=new ee((u=n==null?void 0:n.check)!==null&&u!==void 0?u:{content:"\u67E5\u770B",type:"check",isShow:!1,priorityProcess:!0});var f;o.edit=new ee((f=n==null?void 0:n.edit)!==null&&f!==void 0?f:{content:"\u7F16\u8F91",type:"edit",isShow:!1});var a;o.delete=new ee((a=n==null?void 0:n.delete)!==null&&a!==void 0?a:{content:"\u5220\u9664",type:"delete",isShow:!1});var l;o.custom=((l=n==null?void 0:n.custom)!==null&&l!==void 0?l:[]).map(function(y){return new ee(y)});var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Ae.controlName,o}return r}(D);Xc.Rules=MJ;function DJ(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 Qc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qc=Reflect.get:Qc=function(o,i,u){var f=zJ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Qc(e,t,r||e)}function bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bt(e)}function LJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function xJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:DJ(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function zJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=bt(e),e!==null););return e}var GJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HJ(e){var t=VJ();return function(){var n=bt(e),o;if(t){var i=bt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xJ(this,o)}}var Ae=function(e){LJ(r,e);var t=HJ(r);function r(o){FJ(this,r);var i;return i=t.call(this,o),i.props=new Xc(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(){var i=Qc(bt(r.prototype),"toDataBindModel",this).call(this);return i.props.check=this.props.check,i.props.edit=this.props.edit,i.props.delete=this.props.delete,i},r}(H);Ae.controlType="operation-column",Ae.controlName="\u64CD\u4F5C",Ae.controlIcon="operation-column",Ae.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"operation-setting",showItems:[c.COMMON_SETTING_TYPE.CAN_CHECK,c.COMMON_SETTING_TYPE.CAN_EDIT,c.COMMON_SETTING_TYPE.CAN_DELETE],visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];function YJ(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 Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&I_(e,t)}function WJ(e,t){return t&&(KJ(t)==="object"||typeof t=="function")?t:YJ(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(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=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WJ(this,o)}}var N_=function(e){UJ(r,e);var t=QJ(r);function r(n){qJ(this,r);var o;return o=t.call(this,n),o.props=new Xc(n==null?void 0:n.props),o}return r}(Y);N_.controlType="operation-column",N_.controlFieldType=c.FieldTypes.FILE;var CR={Designer:Ae,Runtime:N_,Property:Xc};function C_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BR(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function JJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){BR(i,n,o,u,f,"next",a)}function f(a){BR(i,n,o,u,f,"throw",a)}u(void 0)})}}function ZJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eZ(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function tZ(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=cZ(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 Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(e)}function nZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rZ(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){tZ(e,o,r[o])})}return e}function oZ(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 iZ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):oZ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function uZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:C_(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function cZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Me(e),e!==null););return e}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=Me(e),o;if(t){var i=Me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uZ(this,o)}}var sZ=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}}},kR=function(e){nZ(r,e);var t=lZ(r);function r(o){ZJ(this,r);var i;return i=t.call(this,o),i.props=new P_(C_(i),o==null?void 0:o.props),be(C_(i),"children",o==null?void 0:o.children),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new ke,new Ae]),i}var n=r.prototype;return n.toSchema=function(){var i=Sn(Me(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return iZ(rZ({},i),{children:u})},n.validate=function(i,u){var f=this,a=this,l=function(){return Sn(Me(r.prototype),"validate",f)};return JJ(function(){return sZ(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]}})})()},eZ(r,null,[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Zn);kR.setting=[{key:"list-fixed-header",visible:!0}];function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vZ(e,t,r){return t&&MR(e.prototype,t),r&&MR(e,r),e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function hZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function _Z(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:AR(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var dZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bZ(e){var t=pZ();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Z(this,o)}}var OZ=function(e){hZ(r,e);var t=bZ(r);function r(o){yZ(this,r);var i;return i=t.call(this,o),i.props=new P_(AR(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{}},vZ(r,null,[{key:"controlType",get:function(){return"grid-table"}}]),r}(Ya),DR={Designer:kR,Runtime:OZ,Property:P_},gZ=Object.freeze({__proto__:null,SubTable:RR,GridTable:DR});function mZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function LR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function PZ(e,t){return t&&(RZ(t)==="object"||typeof t=="function")?t:mZ(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var RZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xR(e){var t=wZ();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 PZ(this,o)}}var $Z=function(e){LR(r,e);var t=xR(r);function r(n){return FR(this,r),t.call(this,n)}return r}(Xa),tf=function(e){LR(r,e);var t=xR(r);function r(n){FR(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:De.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new G(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}(D);tf.Rules=$Z;function TZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function EZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A_(e,t)}function IZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:TZ(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}var NZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BZ(e){var t=CZ();return function(){var n=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IZ(this,o)}}var De=function(e){EZ(r,e);var t=BZ(r);function r(n){SZ(this,r);var o;return o=t.call(this,n),o.props=new tf(n==null?void 0:n.props),o}return r}(H);De.controlType="varchar-column",De.controlName="\u77ED\u6587\u672C",De.controlIcon="varchar-column",De.controlFieldType=c.FieldTypes.VARCHAR,De.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];function jZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function AZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M_(e,t)}function MZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:jZ(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}var DZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LZ(e){var t=FZ();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MZ(this,o)}}var D_=function(e){AZ(r,e);var t=LZ(r);function r(n){kZ(this,r);var o;return o=t.call(this,n),o.props=new tf(n==null?void 0:n.props),o}return r}(Y);D_.controlType="varchar-column",D_.controlFieldType=c.FieldTypes.VARCHAR;var zR={Designer:De,Runtime:D_,Property:tf};function xZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function GZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function VZ(e,t){return t&&(HZ(t)==="object"||typeof t=="function")?t:xZ(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var HZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qZ(e){var t=YZ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VZ(this,o)}}var L_=function(e){GZ(r,e);var t=qZ(r);function r(n){zZ(this,r);var o;o=t.call(this,n);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Fe.controlName;var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return r}(D);function UZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?uf=Reflect.get:uf=function(o,i,u){var f=QZ(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 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&&x_(e,t)}function XZ(e,t){return t&&(JZ(t)==="object"||typeof t=="function")?t:UZ(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function QZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var JZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eee(e){var t=ZZ();return function(){var n=Ot(e),o;if(t){var i=Ot(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XZ(this,o)}}var Fe=function(e){KZ(r,e);var t=eee(r);function r(o){WZ(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=uf(Ot(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.escapeHTML;u.props.escapeHTML=f}return u},r}(H);Fe.controlType="text-column",Fe.controlName="\u957F\u6587\u672C",Fe.controlIcon="text-column",Fe.controlFieldType=c.FieldTypes.TEXT,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];function tee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function ree(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function oee(e,t){return t&&(iee(t)==="object"||typeof t=="function")?t:tee(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var iee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cee(e){var t=uee();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oee(this,o)}}var G_=function(e){ree(r,e);var t=cee(r);function r(n){nee(this,r);var o;return o=t.call(this,n),o.props=new L_(n==null?void 0:n.props),o}return r}(Y);G_.controlType="text-column",G_.controlFieldType=c.FieldTypes.TEXT;var GR={Designer:Fe,Runtime:G_,Property:L_};function fee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function see(e,t){return t&&(yee(t)==="object"||typeof t=="function")?t:fee(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var yee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hee(e){var t=vee();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return see(this,o)}}var H_=function(e){lee(r,e);var t=hee(r);function r(n){aee(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Le.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new G(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}(D);function _ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dee(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=Oee(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 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&&Y_(e,t)}function bee(e,t){return t&&(gee(t)==="object"||typeof t=="function")?t:_ee(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}function Oee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gt(e),e!==null););return e}var gee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pee(e){var t=mee();return function(){var n=gt(e),o;if(t){var i=gt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bee(this,o)}}var Le=function(e){pee(r,e);var t=Pee(r);function r(o){dee(this,r);var i;return i=t.call(this,o),i.props=new H_(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}(H);Le.controlType="decimal-column",Le.controlName="\u6570\u503C",Le.controlIcon="decimal-column",Le.controlFieldType=c.FieldTypes.DECIMAL,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION,c.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];function Ree(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function $ee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function Tee(e,t){return t&&(See(t)==="object"||typeof t=="function")?t:Ree(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}var See=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iee(e){var t=Eee();return function(){var n=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tee(this,o)}}var U_=function(e){$ee(r,e);var t=Iee(r);function r(n){wee(this,r);var o;return o=t.call(this,n),o.props=new H_(n==null?void 0:n.props),o}return r}(Y);U_.controlType="decimal-column",U_.controlFieldType=c.FieldTypes.DECIMAL;var VR={Designer:Le,Runtime:U_,Property:H_};function Nee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function Bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function jee(e,t){return t&&(kee(t)==="object"||typeof t=="function")?t:Nee(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var kee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mee(e){var t=Aee();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jee(this,o)}}var K_=function(e){Bee(r,e);var t=Mee(r);function r(n){Cee(this,r);var o;o=t.call(this,n);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:xe.controlName,o}return r}(D);function Dee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yf=Reflect.get:yf=function(o,i,u){var f=zee(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 Lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function xee(e,t){return t&&(Gee(t)==="object"||typeof t=="function")?t:Dee(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function zee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mt(e),e!==null););return e}var Gee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hee(e){var t=Vee();return function(){var n=mt(e),o;if(t){var i=mt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xee(this,o)}}var xe=function(e){Lee(r,e);var t=Hee(r);function r(o){Fee(this,r);var i;return i=t.call(this,o),i.props=new K_(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}(H);xe.controlType="timescope-column",xe.controlName="\u65E5\u671F\u533A\u95F4",xe.controlIcon="timescope-column",xe.controlFieldType=c.FieldTypes.TIMESCOPE,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function Yee(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 vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function Uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wee(e,t){return t&&(Kee(t)==="object"||typeof t=="function")?t:Yee(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var Kee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qee(e){var t=Xee();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wee(this,o)}}var J_=function(e){Uee(r,e);var t=Qee(r);function r(n){qee(this,r);var o;return o=t.call(this,n),o.props=new K_(n==null?void 0:n.props),o}return r}(Y);J_.controlType="timescope-column",J_.controlFieldType=c.FieldTypes.TIMESCOPE;var HR={Designer:xe,Runtime:J_,Property:K_};function Jee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function ete(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function tte(e,t){return t&&(nte(t)==="object"||typeof t=="function")?t:Jee(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}var nte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ote(e){var t=rte();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tte(this,o)}}var ed=function(e){ete(r,e);var t=ote(r);function r(n){Zee(this,r);var o;o=t.call(this,n);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ze.controlName,o}return r}(D);function ite(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ute(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _f(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_f=Reflect.get:_f=function(o,i,u){var f=ate(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},_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 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&&td(e,t)}function fte(e,t){return t&&(lte(t)==="object"||typeof t=="function")?t:ite(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}function ate(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pt(e),e!==null););return e}var lte=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 yte(e){var t=ste();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 fte(this,o)}}var ze=function(e){cte(r,e);var t=yte(r);function r(o){ute(this,r);var i;return i=t.call(this,o),i.props=new ed(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}(H);ze.controlType="timestamp-column",ze.controlName="\u65E5\u671F",ze.controlIcon="timestamp-column",ze.controlFieldType=c.FieldTypes.TIMESTAMP,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function 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 df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function _te(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function dte(e,t){return t&&(pte(t)==="object"||typeof t=="function")?t:vte(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}var pte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ote(e){var t=bte();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 dte(this,o)}}var rd=function(e){_te(r,e);var t=Ote(r);function r(n){hte(this,r);var o;return o=t.call(this,n),o.props=new ed(n==null?void 0:n.props),o}return r}(Y);rd.controlType="timestamp-column",rd.controlFieldType=c.FieldTypes.TIMESTAMP;var YR={Designer:ze,Runtime:rd,Property:ed};function gte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function UR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function mte(e,t){return t&&(Pte(t)==="object"||typeof t=="function")?t:gte(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(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 WR(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 wte=function(e){UR(r,e);var t=WR(r);function r(n){return qR(this,r),t.call(this,n)}return r}(Xa),bf=function(e){UR(r,e);var t=WR(r);function r(n){qR(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ge.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var f;return o.options=ae((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(D);bf.Rules=wte;function $te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function Ste(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function Ete(e,t){return t&&(Ite(t)==="object"||typeof t=="function")?t:$te(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var Ite=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Nte();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ete(this,o)}}var Ge=function(e){Ste(r,e);var t=Cte(r);function r(n){Tte(this,r);var o;return o=t.call(this,n),o.props=new bf(n==null?void 0:n.props),o}return r}(H);Ge.controlType="array-column",Ge.controlName="\u6570\u7EC4",Ge.controlIcon="array-column",Ge.controlFieldType=c.FieldTypes.ARRAY,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];function Bte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function kte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function Ate(e,t){return t&&(Mte(t)==="object"||typeof t=="function")?t:Bte(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}var Mte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fte(e){var t=Dte();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ate(this,o)}}var cd=function(e){kte(r,e);var t=Fte(r);function r(n){jte(this,r);var o;return o=t.call(this,n),o.props=new bf(n==null?void 0:n.props),o}return r}(Y);cd.controlType="array-column",cd.controlFieldType=c.FieldTypes.ARRAY;var KR={Designer:Ge,Runtime:cd,Property:bf};function Lte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function zte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function Gte(e,t){return t&&(Vte(t)==="object"||typeof t=="function")?t:Lte(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var Vte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yte(e){var t=Hte();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gte(this,o)}}var ad=function(e){zte(r,e);var t=Yte(r);function r(n){xte(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ve.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(D);function qte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ute(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Pf=Reflect.get:Pf=function(o,i,u){var f=Xte(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 Wte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function Kte(e,t){return t&&(Qte(t)==="object"||typeof t=="function")?t:qte(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}function Xte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rt(e),e!==null););return e}var Qte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zte(e){var t=Jte();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 Kte(this,o)}}var Ve=function(e){Wte(r,e);var t=Zte(r);function r(o){Ute(this,r);var i;return i=t.call(this,o),i.props=new ad(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Pf(Rt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.displayLevel;u.props.displayLevel=f}return u},r}(H);Ve.controlType="department-column",Ve.controlName="\u90E8\u95E8",Ve.controlIcon="department-column",Ve.controlFieldType=c.FieldTypes.DEPARTMENTS,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];function ene(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 Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rne(e,t){return t&&(one(t)==="object"||typeof t=="function")?t:ene(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var one=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ine(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function une(e){var t=ine();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 rne(this,o)}}var yd=function(e){nne(r,e);var t=une(r);function r(n){tne(this,r);var o;return o=t.call(this,n),o.props=new ad(n==null?void 0:n.props),o}return r}(Y);yd.controlType="department-column",yd.controlFieldType=c.FieldTypes.DEPARTMENTS;var XR={Designer:Ve,Runtime:yd,Property:ad};function cne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fne(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 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&&vd(e,t)}function lne(e,t){return t&&(sne(t)==="object"||typeof t=="function")?t:cne(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var sne=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 vne(e){var t=yne();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 lne(this,o)}}var hd=function(e){ane(r,e);var t=vne(r);function r(n){fne(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:He.controlName,o}return r}(D);function hne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function pne(e,t){return t&&(bne(t)==="object"||typeof t=="function")?t:hne(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var bne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function One(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gne(e){var t=One();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 pne(this,o)}}var He=function(e){dne(r,e);var t=gne(r);function r(n){_ne(this,r);var o;return o=t.call(this,n),o.props=new hd(n==null?void 0:n.props),o}return r}(H);He.controlType="auto-number-column",He.controlName="\u81EA\u52A8\u7F16\u53F7",He.controlIcon="auto-number-column",He.controlFieldType=c.FieldTypes.AUTO_NUMBER,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function mne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pne(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 Rne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wne(e,t){return t&&($ne(t)==="object"||typeof t=="function")?t:mne(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}var $ne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Tne();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 wne(this,o)}}var pd=function(e){Rne(r,e);var t=Sne(r);function r(n){Pne(this,r);var o;return o=t.call(this,n),o.props=new hd(n==null?void 0:n.props),o}return r}(Y);pd.controlType="auto-number-column",pd.controlFieldType=c.FieldTypes.AUTO_NUMBER;var QR={Designer:He,Runtime:pd,Property:hd};function Ene(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 Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function Nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function Cne(e,t){return t&&(Bne(t)==="object"||typeof t=="function")?t:Ene(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var Bne=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 kne(e){var t=jne();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 Cne(this,o)}}var Od=function(e){Nne(r,e);var t=kne(r);function r(n){Ine(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ye.controlName,o}return r}(D);function Ane(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function Dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function Fne(e,t){return t&&(Lne(t)==="object"||typeof t=="function")?t:Ane(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}var Lne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=xne();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 Fne(this,o)}}var Ye=function(e){Dne(r,e);var t=zne(r);function r(n){Mne(this,r);var o;return o=t.call(this,n),o.props=new Od(n==null?void 0:n.props),o}return r}(H);Ye.controlType="file-column",Ye.controlName="\u9644\u4EF6",Ye.controlIcon="file-column",Ye.controlFieldType=c.FieldTypes.FILE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Gne(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 If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(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&&md(e,t)}function Yne(e,t){return t&&(qne(t)==="object"||typeof t=="function")?t:Gne(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var qne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Une(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Une();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 Yne(this,o)}}var Pd=function(e){Hne(r,e);var t=Wne(r);function r(n){Vne(this,r);var o;return o=t.call(this,n),o.props=new Od(n==null?void 0:n.props),o}return r}(Y);Pd.controlType="file-column",Pd.controlFieldType=c.FieldTypes.FILE;var JR={Designer:Ye,Runtime:Pd,Property:Od};function Kne(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 Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function Qne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jne(e,t){return t&&(Zne(t)==="object"||typeof t=="function")?t:Kne(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var Zne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ere();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 Jne(this,o)}}var wd=function(e){Qne(r,e);var t=tre(r);function r(n){Xne(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qe.controlName,o}return r}(D);function nre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function ore(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ire(e,t){return t&&(ure(t)==="object"||typeof t=="function")?t:nre(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var ure=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fre(e){var t=cre();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 ire(this,o)}}var qe=function(e){ore(r,e);var t=fre(r);function r(n){rre(this,r);var o;return o=t.call(this,n),o.props=new wd(n==null?void 0:n.props),o}return r}(H);qe.controlType="image-column",qe.controlName="\u56FE\u7247",qe.controlIcon="image-column",qe.controlFieldType=c.FieldTypes.IMAGE,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function are(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lre(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 sre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yre(e,t){return t&&(vre(t)==="object"||typeof t=="function")?t:are(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}var vre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _re(e){var t=hre();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 yre(this,o)}}var Sd=function(e){sre(r,e);var t=_re(r);function r(n){lre(this,r);var o;return o=t.call(this,n),o.props=new wd(n==null?void 0:n.props),o}return r}(Y);Sd.controlType="image-column",Sd.controlFieldType=c.FieldTypes.IMAGE;var ZR={Designer:qe,Runtime:Sd,Property:wd};function dre(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 jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function bre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ore(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:dre(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var gre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pre(e){var t=mre();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 Ore(this,o)}}var Id=function(e){bre(r,e);var t=Pre(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:Ue.controlName,o}return r}(D);function Rre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wre(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 $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&&Nd(e,t)}function Tre(e,t){return t&&(Sre(t)==="object"||typeof t=="function")?t:Rre(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var Sre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ere();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 Tre(this,o)}}var Ue=function(e){$re(r,e);var t=Ire(r);function r(n){wre(this,r);var o;return o=t.call(this,n),o.props=new Id(n==null?void 0:n.props),o}return r}(H);Ue.controlType="people-column",Ue.controlName="\u4EBA\u5458",Ue.controlIcon="people-column",Ue.controlFieldType=c.FieldTypes.EMPLOYEES,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Nre(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 Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function Bre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jre(e,t){return t&&(kre(t)==="object"||typeof t=="function")?t:Nre(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}var kre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mre(e){var t=Are();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 jre(this,o)}}var Bd=function(e){Bre(r,e);var t=Mre(r);function r(n){Cre(this,r);var o;return o=t.call(this,n),o.props=new Id(n==null?void 0:n.props),o}return r}(Y);Bd.controlType="people-column",Bd.controlFieldType=c.FieldTypes.EMPLOYEES;var ew={Designer:Ue,Runtime:Bd,Property:Id};function Dre(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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function Lre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function xre(e,t){return t&&(zre(t)==="object"||typeof t=="function")?t:Dre(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var zre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vre(e){var t=Gre();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 xre(this,o)}}var kd=function(e){Lre(r,e);var t=Vre(r);function r(n){Fre(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:We.controlName,o}return r}(D);function Hre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yre(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 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&&Ad(e,t)}function Ure(e,t){return t&&(Wre(t)==="object"||typeof t=="function")?t:Hre(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}var Wre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xre(e){var t=Kre();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 Ure(this,o)}}var We=function(e){qre(r,e);var t=Xre(r);function r(n){Yre(this,r);var o;return o=t.call(this,n),o.props=new kd(n==null?void 0:n.props),o}return r}(H);We.controlType="location-column",We.controlName="\u5730\u5740",We.controlIcon="location-column",We.controlFieldType=c.FieldTypes.ADDRESS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Qre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jre(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 Zre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eoe(e,t){return t&&(toe(t)==="object"||typeof t=="function")?t:Qre(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var toe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function noe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function roe(e){var t=noe();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 eoe(this,o)}}var Dd=function(e){Zre(r,e);var t=roe(r);function r(n){Jre(this,r);var o;return o=t.call(this,n),o.props=new kd(n==null?void 0:n.props),o}return r}(Y);Dd.controlType="location-column",Dd.controlFieldType=c.FieldTypes.ADDRESS;var tw={Designer:We,Runtime:Dd,Property:kd};function ooe(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 Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function uoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 coe(e,t){return t&&(foe(t)==="object"||typeof t=="function")?t:ooe(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}var foe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function loe(e){var t=aoe();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 coe(this,o)}}var Ld=function(e){uoe(r,e);var t=loe(r);function r(n){ioe(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:me.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(D);function nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function soe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yoe(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=Ooe(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 Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function voe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function hoe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function _oe(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){yoe(e,o,r[o])})}return e}function doe(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)):doe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function boe(e,t){return t&&(goe(t)==="object"||typeof t=="function")?t:nw(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function Ooe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ke(e),e!==null););return e}var goe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function moe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Poe(e){var t=moe();return function(){var n=Ke(e),o;if(t){var i=Ke(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return boe(this,o)}}var Roe=1,me=function(t){voe(n,t);var r=Poe(n);function n(i){soe(this,n);var u;u=r.call(this,i);var f=hoe(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new Ld(i==null?void 0:i.props),be(nw(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(Ke(n.prototype),"toDataBindModel",this).call(this,u);if(f){var a=this.props.fieldCodeList;f.props.fieldCodeList=a}return f},o.toSchema=function(){var u=En(Ke(n.prototype),"toSchema",this).call(this);return poe(_oe({},u),{children:this.children.map(function(f){return f.toSchema()})})},n}(H);me.controlType="custom-column",me.controlName="\u81EA\u5B9A\u4E49",me.controlIcon="custom-column",me.excludes=[],me.childrenMaxLength=Roe,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 rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function woe(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 $oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function Toe(e,t){return t&&(Soe(t)==="object"||typeof t=="function")?t:rw(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}var Soe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ioe(e){var t=Eoe();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Toe(this,o)}}var ow=function(e){$oe(r,e);var t=Ioe(r);function r(n){woe(this,r);var o;return o=t.call(this,n),o.props=new Ld(n==null?void 0:n.props),be(rw(o),"children",n==null?void 0:n.children),o}return r}(Y);ow.controlType="custom-column";var iw={Designer:me,Runtime:ow,Property:Ld};function Noe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Coe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function Boe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function joe(e,t){return t&&(koe(t)==="object"||typeof t=="function")?t:Noe(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var koe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Moe(e){var t=Aoe();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return joe(this,o)}}var Vd=function(e){Boe(r,e);var t=Moe(r);function r(n){Coe(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Pe.controlName;var u;return o.datasourceBind=new Ct((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:Pe.controlCustomAttributes}),o}return r}(D);function Doe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Foe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Loe(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function xoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zoe(e,t){return t&&(Goe(t)==="object"||typeof t=="function")?t:Doe(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}var Goe=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=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zoe(this,o)}}var Pe=function(e){xoe(r,e);var t=Hoe(r);function r(n){Foe(this,r);var o;return o=t.call(this,n),o.props=new Vd(n==null?void 0:n.props),o}return Loe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Pe.controlType="employee-column",Pe.controlName="\u4EBA\u5458",Pe.controlIcon="employee-column",Pe.controlFieldType=c.FieldTypes.EMPLOYEES,Pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Yoe(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 Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function Uoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Woe(e,t){return t&&(Koe(t)==="object"||typeof t=="function")?t:Yoe(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}var Koe=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 Qoe(e){var t=Xoe();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 Woe(this,o)}}var qd=function(e){Uoe(r,e);var t=Qoe(r);function r(n){qoe(this,r);var o;return o=t.call(this,n),o.props=new Vd(n==null?void 0:n.props),o}return r}(Y);qd.controlType="employee-column",qd.controlFieldType=c.FieldTypes.EMPLOYEES;var cw={Designer:Pe,Runtime:qd,Property:Vd},Joe=Object.freeze({__proto__:null,VarcharColumn:zR,TextColumn:GR,DecimalColumn:VR,TimescopeColumn:HR,TimestampColumn:YR,ArrayColumn:KR,DepartmentColumn:XR,AutoNumberColumn:QR,FileColumn:JR,ImageColumn:ZR,PeopleColumn:ew,LocationColumn:tw,CustomColumn:iw,OrderColumn:SR,OperationColumn:CR,EmployeeColumn:cw});function Zoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function aw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eie(e,t){return t&&(tie(t)==="object"||typeof t=="function")?t:Zoe(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}var tie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lw(e){var t=nie();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 eie(this,o)}}var rie=function(e){aw(r,e);var t=lw(r);function r(n){fw(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(de),Yf=function(e){aw(r,e);var t=lw(r);function r(n){fw(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 ee((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new ee((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 ee(v)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return r}(ir);Yf.RuntimeRules=rie;function oie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iie(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 uie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cie(e,t){return t&&(fie(t)==="object"||typeof t=="function")?t:oie(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}var fie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lie(e){var t=aie();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 cie(this,o)}}var Kd=function(e){uie(r,e);var t=lie(r);function r(n){iie(this,r);var o;return o=t.call(this,n),o.props=new Yf(n==null?void 0:n.props),o}return r}(Tb);Kd.controlType="simple-search",Kd.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 sie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yie(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 vie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function hie(e,t){return t&&(_ie(t)==="object"||typeof t=="function")?t:sie(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}var _ie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function die(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=die();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 hie(this,o)}}var sw=function(e){vie(r,e);var t=pie(r);function r(n){yie(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}(Sb);sw.controlType="simple-search";var yw={Designer:Kd,Runtime:sw,Property:Yf},bie=Object.freeze({__proto__:null,SimpleSearch:yw});function Qd(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Oie(e){if(Array.isArray(e))return e}function gie(e){if(Array.isArray(e))return Qd(e)}function mie(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pie(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 Rie(){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 wie(){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 Oie(e)||Pie(e,t)||hw(e,t)||Rie()}function vw(e){return gie(e)||mie(e)||hw(e)||wie()}function hw(e,t){if(!!e){if(typeof e=="string")return Qd(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 Qd(e,t)}}var Tie=function(e,t){var r=Array.isArray(e),n=r?e:[e];Fie(t==null?void 0:t.events),Bie(n),jie(n);var o=Cie(n),i=kie(o,t),u=Ee(oe(i,function(f){return Nie(f,t)}));return r?u:u[0]},Sie=[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"],Eie=["subtable","grid-table"],Iie=["simple-search"];function Nie(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":Sie.includes(i.type)?i.controlType="base":i.controlType="form",Eie.includes(i.type)&&(i.controlType="list"),Iie.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),q(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),q(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),q(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var f;i.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(q(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(q(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var a,l=i.props.entry_type||i.props.entryType;i.props.openType=l==="subpage"?"modal":"default",((a=i.children[0])===null||a===void 0?void 0:a.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(P,T){var A=new Sh.Designer;A.props.widthType=P.header_width_config==="1"?"auto":"px",A.props.width=P.header_width===""?200:Number(P.header_width),A.props.caption=q(P.field_name)?P.field_name.zh:P.field_name;var se=A.toSchema();se.id=P.header_id;var re=i.children[0].children[T].children[0];return re&&(se.children=[re]),se}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function(P){P.label=q(P.text)?P.text.zh:P.text,P.id=P.id||P.opt_id||P.optId||P.data_id}),i=e),e.type==="grid-row"){var y=24/i.children.length;i.children=i.children.map(function(P){var T=new Fu.Designer;T.props.span=y;var A=T.toSchema();return A.children.push(P),A})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var v=i==null?void 0:i.children[0],p=i==null?void 0:i.children[1],b={};v&&(_w(i,t),b.result=v.props.data_bind,i.id=v.id,i.props=v.props,i.props.script_src=v.props.script_src,i.props.script_echo=v.props.script_echo,i.props.precision=v.props.precision,i.props.micrometer=v.props.is_show_money,i.props.showUpperCase=v.props.is_show_chn),p&&(b.unit=p.props.data_bind,i.props.default_value={unit:p.props.value}),i.props.dataBind=b,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var d=i==null?void 0:i.children[0],O=i==null?void 0:i.children[1],_={},g={};d&&(_w(i,t),i.id=d.id,_.amount=d.props.data_bind,i.props.range_min=Se(d.props.range_min),i.props.range_max=Se(d.props.range_max),g.amount=Se(d.props.value),i.props.required=d.props.required,i.props.is_hide=d.props.is_hide,i.props.default_state=d.props.default_state,i.props.caption=q(d.props.caption)?d.props.caption.zh:d.props.caption,i.props.is_hide_caption=d.props.is_hide_caption,i.props.showUpperCase=d.props.is_show_chn),O&&(_.currency=O.props.data_bind,g.currency=O.props.value,i.props.datasourceBind=O.props.datasource_bind,i.props.options=O.props.options.map(function(P){return{label:P.text,value:P.value}})),i.props.dataBind=_,i.props.defaultValue=g,delete i.children}if(e.type==="date-range"){i.controlType="form";var $=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1];i.props.placeholderStart=q(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=q(e.props.caption)?e.props.caption.zh:e.props.caption;var E={};$&&(E.min=$.props.data_bind),m&&(E.max=m.props.data_bind),i.props.dataBind=E,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=q(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=Se(e.props.range_min),i.props.range_max=Se(e.props.range_max),i.props.defaultValue=Se(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),Lie(i,t==null?void 0:t.control_events),i}function _w(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 Cie(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new n_.Designer,n=r.toSchema();return n.children=e,[n]}function Bie(e){e.forEach(function(t){t.children&&Die(t.children)})}function jie(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 kie(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=$ie(l,3),y=s[0],v=s[1],p=s[2];Aie(y),p.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,Mie(p,v);var b,d=(b=a==null||(n=a.source_config)===null||n===void 0?void 0:n.data_code)!==null&&b!==void 0?b:t==null?void 0:t.dataCode,O,_=((O=a==null||(o=a.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&O!==void 0?O:d)?"".concat(d,"_selectMore"):void 0,g,$=(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 G({dataCode:d,svcCode:_,orders:hp($)}),m.props.isShowSubList=a.is_show_sublist,m.props.triggerType=a.timing_type,m.props.triggerFieldCode=a.ctrl_field_code,a==null||(u=a.sublist_page)===null||u===void 0||u.sublists.forEach(function(P){P.title=q(P.title)?P.title.zh:P.title}),m.props.sublistPage=a.sublist_page;var E=m.toSchema();return E.children.push(y,p),[E]}function Aie(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=q(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(n=t.dateType)===null||n===void 0||(o=n.replace)===null||o===void 0?void 0:o.call(n,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Mie(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:q(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=q(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new G({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function Die(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 Fie(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 Lie(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,vw(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,vw(t[e.id].on_blur))}}}var xie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(oe(n,function(i){return zie(i)}));return r?o:o[0]};function zie(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 Z({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var Gie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(oe(n,function(i){return Vie(i)}));return r?o:o[0]};function Vie(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 Hie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(oe(n,function(i){return Yie(i)}));return r?o:o[0]};function Yie(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(oe(n,function(i){return Wie(i)}));return r?o:o[0]},Uie=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Wie(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(Uie.includes(r.type))return r;var n=new Oh.Designer,o=new Fu.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var Kie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ee(oe(n,function(i){return Xie(i)}));return r?o:o[0]};function Xie(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 Qie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=oe(n,function(i){return Jie(i)});return r?o:o[0]};function Jie(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Zie=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=oe(n,function(i){return eue(i)});return r?o:o[0]};function Re(e,t){e.field_code&&(e.field_type=t)}function eue(e,t){var r,n=(r={},j(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),j(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),j(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),j(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),j(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),j(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),j(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),j(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),j(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),j(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),j(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),j(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),j(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),j(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),j(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),j(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Re(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(Re(e.props.data_bind.amount,c.FieldTypes.DECIMAL),Re(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(Re(e.props.data_bind.result,c.FieldTypes.DECIMAL),Re(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(Re(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),Re(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;Re(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var tue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=oe(n,function(i){return nue(i)});return r?o:o[0]};function nue(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 rue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=oe(n,function(i){return oue(i)});return r?o:o[0]};function oue(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 dw={"v1.0":Tie,"v2.0":xie,"v2.1":Gie,"v2.2":Hie,"v2.3":qie,"v2.4":Kie,"v2.5":Qie,"v2.6":Zie,"v2.7":tue,"v2.8":rue,"v2.9":function(){}};function iue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uue(e,t,r){return t&&pw(e.prototype,t),r&&pw(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],cue=function(){function e(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:In;iue(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 d=p(f,o);d&&(b=d)}return b},n);return Nt("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u},uue(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=[],Jd={exports:{}};let Zd=!1;const fue=window.module,aue=window.exports,lue=window.require;function sue(e){return Zd||(window.module=Jd,window.exports=Jd.exports,window.require=function(t){return e[t]},Zd=!0),function(){window.module=fue,window.exports=aue,window.require=lue,Zd=!1}}function yue(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=sue(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(Jd.exports),f()},document.head.appendChild(i)});return Xf.push(r),r}function ep(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 bw(e,t,r={fetch:ep}){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 bw(e,t)}function vue(e,t){return Nn(this,null,function*(){return yield Promise.all(e.map(r=>Qf(r,t)))})}function tp(e,t,r){let n;t==="runtime"?n=class extends V{constructor(a){super(a),this.props={}}static get controlType(){return e}}:n=class extends C{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends L{}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 hue(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=tp(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 _ue(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 due(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 ep(`${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=tp(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=Dp,c.AdvancedContainer=yR,c.Amount=Dm,c.AmountDataBind=jp,c.AmountValue=kp,c.ArrayColumn=KR,c.Attachment=Nm,c.AutoNumber=i0,c.AutoNumberColumn=QR,c.BaseControlProperty=S,c.BaseControlPropertyRules=U,c.BaseControlPropertyRuntimeRules=B,c.BaseStyle=zp,c.BatchDeleteButton=$g,c.BatchPrintListButton=Og,c.BatchPrintRecordListButton=Pg,c.BatchSubmissionListButton=lO,c.Button=Db,c.Calc=a0,c.CalcDataBind=Fp,c.CalcScriptEchoItem=XS,c.CalcValue=Lp,c.CardGroup=IP,c.Checkbox=jg,c.Col=Fu,c.ColumnControlProperty=D,c.ColumnControlPropertyRules=Dt,c.ColumnOptionAndDataSourcePropertyRules=Xa,c.CreateFormListButton=oO,c.CustomAttributeItem=Ip,c.CustomColumn=iw,c.CustomPermissionItem=HE,c.DEFAULT_LOCALE=rp,c.Dashboard=WO,c.DataBind=Z,c.DataSourceBind=G,c.DataSourceDataSetValue=Ep,c.DataSourceOrderItem=_a,c.DataSourceParamItem=zE,c.DataView=n_,c.DatePicker=Wg,c.DateRange=tm,c.DecimalColumn=VR,c.Department=t0,c.Department2=sP,c.DepartmentColumn=XR,c.DepartmentEntity=Xe,c.DesignerColumnControl=H,c.DesignerControl=C,c.DesignerFormControl=I,c.DesignerLayoutControl=M,c.DesignerListControl=Zn,c.DesignerSearchControl=Tb,c.DesignerWrapControl=s1,c.DisplayBoListItem=Mn,c.Divider=qb,c.ElectronicSignature=nP,c.ElectronicSignatureConfig=Fb,c.Employee=Sm,c.Employee2=K0,c.EmployeeColumn=cw,c.EventLogic=pp,c.Explain=mr,c.ExportListButton=dO,c.ExportRecordListButton=OO,c.ExportTemplate=Ol,c.FieldBindItem=Rp,c.FieldFilterCondition=ha,c.FieldFilterConditions=Sp,c.FieldTypeToColumnType=JS,c.FileColumn=JR,c.FillBackBind=pa,c.FillPayloadBind=Dn,c.FlexStyleConfig=Gb,c.FormBind=An,c.FormSelectBind=mp,c.FormSelectButton=NO,c.Grid=_P,c.GridRow=Oh,c.GridTable=DR,c.GridTableColumn=DP,c.Image=jm,c.ImageColumn=ZR,c.ImageOptionSetting=Bp,c.ImportRecordListButton=RO,c.Input=Ig,c.InvoiceCheckButton=vg,c.JSONCopy=ve,c.Language=GE,c.LayoutControlProperty=k,c.LeftVariable=Tp,c.LimitDate=gr,c.Link=kb,c.ListBind=va,c.ListControlProperty=Mt,c.ListSelectButton=DO,c.ListView=Jh,c.ListViewSelect=tg,c.LocationColumn=tw,c.MultistageFillingItem=Q,c.Number=Hg,c.ObjectDataBind=Fn,c.OperationColumn=CR,c.OperationItem=ee,c.OptionAndDataSourcePropertyRules=Ie,c.OptionSetting=Oa,c.OrderColumn=SR,c.Page=aR,c.Pagination=zO,c.PeopleColumn=ew,c.Position=bR,c.PositioningContainer=_R,c.PrintTemplate=zb,c.Property=L,c.PropertyRules=F,c.PropertyRuntimeRules=de,c.Radio=xg,c.RangeDataBind=Ap,c.RangeDateValue=Mp,c.RegisterControls=jn,c.RegularRules=ba,c.RichText=am,c.RightVariable=Qe,c.Row=mP,c.RulesMessage=h,c.RuntimeColumnControl=Y,c.RuntimeControl=V,c.RuntimeFormControl=N,c.RuntimeLayoutControl=z,c.RuntimeListControl=Ya,c.RuntimeSearchControl=Sb,c.RuntimeWrapControl=O1,c.SUBTABLE_DEFAULT_MAX_HEIGHT=xb,c.Score=zm,c.SearchControlProperty=ir,c.SearchDateRange=R0,c.SearchInput=L0,c.SearchNumberRange=d0,c.Select=dm,c.SelectMultiple=gm,c.SelectRelation=k0,c.SimpleSearch=yw,c.SubListItem=wp,c.SubListPageConfig=$p,c.SubTable=RR,c.SubTableColumn=Sh,c.SubTableRow=AP,c.SubmissionRecordListButton=vO,c.SuperDataSourceBind=Ct,c.Tab=qP,c.TabPane=VP,c.Text=Cb,c.TextColumn=GR,c.TextOcrButton=cg,c.Textarea=im,c.TimescopeColumn=HR,c.TimestampColumn=YR,c.Title=Jb,c.Toolbox=QP,c.Tree=H0,c.TreeDataSourceBind=Np,c.UndersignedPerson=bl,c.UserEntity=Cn,c.VarcharColumn=zR,c.VersionBuilder=cue,c.ViewOperationItem=xp,c.VueFormItem=S0,c.WPS=uP,c.WPSSetting=Lb,c.Watcher=dp,c.WpsOperationItem=gl,c.WrapControlProperty=rl,c.baseControls=bF,c.camelizeKeys=hp,c.columnControls=Joe,c.controlHooksEmitter=Kp,c.createValidator=Wp,c.debounce=$E,c.decamelizeKeys=Ee,c.defineArrayParent=lb,c.defineControlArrayToProperty=be,c.defineParent=Ma,c.error=_e,c.formControls=PH,c.genNonDuplicateId=ie,c.getHackerControl=tp,c.getNotRepeatItems=vp,c.initExpression=Ft,c.initImageOptions=VE,c.initOptionAndDataSourceRules=Gn,c.initOptions=ae,c.initSuperDataSourceRules=Vn,c.isArray=Te,c.isBuiltInControls=SE,c.isFunction=OE,c.isJSONArray=RE,c.isJSONObject=wE,c.isLanguageObject=q,c.isNumber=aa,c.isNumberAndEmptyStringArray=PE,c.isNumberArray=mE,c.isObject=bE,c.isPlainObject=fa,c.isString=yp,c.isStringArray=gE,c.layoutControls=FQ,c.listControls=gZ,c.loadRemoteControl=Qf,c.loadRemoteControls=vue,c.loadScriptFromFetch=bw,c.loadScriptFromTag=yue,c.log=Nt,c.logerror=ap,c.loop=oe,c.loopFormSchema=ua,c.nativeFetch=ep,c.noop=QS,c.referenceError=ia,c.registerByteluckControls=due,c.registerCustomControls=hue,c.searchControls=bie,c.setPropertyDontEnum=ab,c.toNumberOrEmpty=Se,c.updateValueFromKeys=sp,c.upgradeCustomControlSchema=_ue,c.wait=TE,c.warn=$e,Object.defineProperty(c,"__esModule",{value:!0})});
|