@byteluck-fe/model-driven-core-all 1.7.5 → 1.7.7
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 oe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Xd: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 ie(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=ie(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_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:oe();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(f){if(f.children!==void 0){var a,l=new e(f);(a=r.children)===null||a===void 0||a.push(l)}else{var s,y=new 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:oe();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new bp(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Qe(t==null?void 0:t.rightVariableBo)},Q=function e(t){R(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},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:oe(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},wp=function(e){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.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:oe(8);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"";var o;this.isShow=(o=t==null?void 0:t.isShow)!==null&&o!==void 0?o:!0,this.invalidType=t==null?void 0:t.invalidType,this.condition=t==null?void 0:t.condition;var i;this.content=(i=t==null?void 0:t.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=t==null?void 0:t.formKey)!==null&&u!==void 0?u:"",this.icon=t==null?void 0:t.icon,this.showType=t==null?void 0:t.showType;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var a;this.priorityProcess=(a=t==null?void 0:t.priorityProcess)!==null&&a!==void 0?a:!1,this.needConfirm=t==null?void 0:t.needConfirm,this.confirmMessage=t==null?void 0:t.confirmMessage},Bp=function e(t){R(this,e);var r,n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:oe(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new hp(u)}))!==null&&i!==void 0?i:[],ya.call(this,t)},jE=function e(t){R(this,e);var r;this.key=(r=t.key)!==null&&r!==void 0?r:oe(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},jp=function e(t){R(this,e);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function 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:oe(10),this.name=u,this.icon=f;var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new G(n==null?void 0:n.props,(Yp(this,t)?this.constructor:void 0).controlName);var O;this.controlType=(O=n==null?void 0:n.controlType)!==null&&O!==void 0?O:"base",this.setting=ve(p);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:l,this.eventKeys=ve(s),this.customEvents=ve(y),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];var f,a=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:oe(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new G(r==null?void 0:r.props),this.customEvents=f;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var 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:oe(8),value:["",""]};he(this,e),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var gr=function e(t){he(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:oe();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};c.LINE_STYLE=void 0,function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"}(c.LINE_STYLE||(c.LINE_STYLE={}));var 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:oe(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var f;this.fieldList=(f=t==null?void 0:t.fieldList)!==null&&f!==void 0?f:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},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;return o.isAllLoaded=(h=n==null?void 0:n.isAllLoaded)!==null&&h!==void 0?h:!0,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(ie(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(ie(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(ie(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(ie(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(ie(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(ie(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=ie(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=ie(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=ie(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=ie(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=oe,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=ie,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 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})});
|