@byteluck-fe/model-driven-core-all 2.3.1-beta.7 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var Mn=(c,$e,Ze)=>new Promise((ca,Dn)=>{var fa=_e=>{try{Ct(Ze.next(_e))}catch(Nt){Dn(Nt)}},aa=_e=>{try{Ct(Ze.throw(_e))}catch(Nt){Dn(Nt)}},Ct=_e=>_e.done?ca(_e.value):Promise.resolve(_e.value).then(fa,aa);Ct((Ze=Ze.apply(c,$e)).next())});(function(c,$e){typeof exports=="object"&&typeof module!="undefined"?$e(exports):typeof define=="function"&&define.amd?define(["exports"],$e):(c=typeof globalThis!="undefined"?globalThis:c||self,$e(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function $e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Ze=function e(){$e(this,e)};function ca(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Dn=function e(){ca(this,e)},fa="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",aa="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ct="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",_e="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Nt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Kw="{caption}\u5FC5\u586B",Xw="\u8BF7\u8F93\u5165\u6807\u9898",Qw="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Jw="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Zw="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",eT="\u8BF7\u7ED1\u5B9A\u8868\u5355",tT="\u8BF7\u7ED1\u5B9A\u5217\u8868",nT="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",rT="\u8BF7\u8F93\u5165\u663E\u793A\u503C",oT="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",iT="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",uT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",cT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",aT="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",lT="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",sT="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",yT="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",_T="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",vT="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",pT="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",dT="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",hT="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",bT="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",OT="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",gT="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",mT="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",PT="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",RT="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",wT="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",TT="\u8BF7\u7ED1\u5B9A\u670D\u52A1",$T="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ST="\u8BF7\u9009\u62E9\u7701",ET="\u8BF7\u9009\u62E9\u5E02",IT="\u8BF7\u9009\u62E9\u533A",CT="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",NT="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",BT="\u8BF7\u8F93\u5165\u5217\u5BBD",jT="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",kT="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",AT="\u8BF7\u9009\u62E9\u63A7\u4EF6",MT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",DT="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",LT="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",FT="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",xT="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zT="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",VT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",YT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",GT="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",HT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",UT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",WT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",KT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",XT="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",QT="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",JT="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ZT="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",e$="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",t$="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",n$="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",r$={isNotNumber:fa,isNotString:aa,isNotObject:Ct,isNotArray:_e,isNotBoolean:Nt,runtimeRequired:Kw,pleaseEnterCaption:Xw,pleaseEnterCaptionTip:Qw,pleaseEnterPlaceholder:Jw,pleaseEnterFieldCode:Zw,pleaseEnterForm:eT,pleaseEnterList:tT,pleaseEnterProcess:nT,pleaseEnterLabel:rT,pleaseEnterValue:oT,bizKeyNotBindFiled:iT,pleaseSelectOneField:uT,pleaseEnterNumberRange:cT,pleaseEnterAValueGreaterThanMin:fT,pleaseEnterAValueLessThanMax:aT,numberRangeSetError:lT,stringRangeError:sT,attachmentMaxSize:yT,pleaseEnterTotalScoreSetting:_T,theTotalScoreMustNotBeLessThan1:vT,scoreDefaultValueRange:pT,attachmentLimitError:dT,PleaseReselectTheOptionalQuantity:hT,TheMaximumLengthIsGreaterThanTheMinimumLength:bT,TheMinimumLengthIsGreaterThanTheMaximumLength:OT,PleaseSelectTheCorrectOptionSettings:gT,optionIdIsRepeat:mT,optionIsRequired:PT,pleaseEnterDataCode:RT,pleaseEnterValueFieldCode:wT,pleaseEnterSvcCode:TT,pleaseBindAtLeastOneDisplayValue:$T,pleaseSelectProvince:ST,pleaseSelectCity:ET,pleaseSelectDistrict:IT,limitRowsCannotBeLessThan0:CT,TheNumberOfRowsCannotBeLessThanMinRows:NT,pleaseEnterColumnWidth:BT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jT,pleaseCompleteAllRulesAndConditions:kT,pleaseSelectControl:AT,pleaseSelectAtLeastOneColumn:MT,pleaseSelectFillBackMode:DT,pleaseSelectDashboard:LT,rootNodeIsRequired:FT,theViewNameCannotBeEmpty:xT,pleaseSelectOcrType:zT,pleaseSelectAtLeastOneFieldToFillIn:VT,pleaseChooseAtLeastOne:YT,pleaseEnterButtonContent:GT,pleaseEnterDataCodeInDataSetting:HT,pleaseEnterValueFieldCodeInDataSetting:qT,pleaseEnterSvcCodeInDataSetting:UT,pleaseBindAtLeastOneDisplayValueInDataSetting:WT,rootNodeIsRequiredInDataSetting:KT,pleaseEnterMaxHeight:XT,pleaseEnter:QT,pleaseEnterWatermark:JT,pleaseEnterFileName:ZT,pleaseUploadAtLeastOnePrintTemplate:e$,pleaseAssignBusiness:t$,pleaseAssignExternal:n$},o$="Please enter a number",i$="Please enter a string",u$="Please enter an object",c$="Please enter an array",f$="Please enter a boolean",a$="{caption} Required",l$="Please enter the title",s$="Please enter the bubble prompt",y$="Please enter the prompt text",_$="Please bind data items",v$="Please bind the form",p$="Please bind the list",d$="Please bind the process",h$="Please enter the displayed value",b$="Please enter the stored value",O$="The document number is not bound to the data item",g$="Please select at least one display field",m$="Please enter a value greater than or equal to {min} and less than or equal to {max}",P$="Please enter a value greater than or equal to {min}",R$="Please enter a value less than or equal to {max}",w$="The value range is set incorrectly",T$="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",$$="The attachment size must be between 0MB and 1000MB",S$="Please fill in the total score setting",E$="The total score cannot be less than 1",I$="The default value must be between {min} and {max}",C$="The number of attachments uploaded must be between {min} and {max}",N$="Please re-select the optional quantity",B$="The maximum length of the control must be greater than the minimum length",j$="The minimum length of the control must be less than the maximum length",k$="Please select the correct option setting",A$="Option ID cannot be repeated",M$="Please enter at least one option",D$="Please bind the data source",L$="Please bind the stored value",F$="Please bind the service",x$="At least one display value must be bound",z$="Please select a province",V$="Please select a city",Y$="Please select a district",G$="The minimum number of lines to fill in cannot be less than 0",H$="The number of rows cannot be less than {min} rows",q$="Please enter the column width",U$="Please set the logical relationship of all rule conditions",W$="Please complete all rules and conditions",K$="please select control",X$="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Q$="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",J$="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Z$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",eS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",tS="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",nS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",rS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",oS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",iS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",uS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",cS="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",fS="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",aS="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",lS="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",sS="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",yS="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_S="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",vS={isNotNumber:o$,isNotString:i$,isNotObject:u$,isNotArray:c$,isNotBoolean:f$,runtimeRequired:a$,pleaseEnterCaption:l$,pleaseEnterCaptionTip:s$,pleaseEnterPlaceholder:y$,pleaseEnterFieldCode:_$,pleaseEnterForm:v$,pleaseEnterList:p$,pleaseEnterProcess:d$,pleaseEnterLabel:h$,pleaseEnterValue:b$,bizKeyNotBindFiled:O$,pleaseSelectOneField:g$,pleaseEnterNumberRange:m$,pleaseEnterAValueGreaterThanMin:P$,pleaseEnterAValueLessThanMax:R$,numberRangeSetError:w$,stringRangeError:T$,attachmentMaxSize:$$,pleaseEnterTotalScoreSetting:S$,theTotalScoreMustNotBeLessThan1:E$,scoreDefaultValueRange:I$,attachmentLimitError:C$,PleaseReselectTheOptionalQuantity:N$,TheMaximumLengthIsGreaterThanTheMinimumLength:B$,TheMinimumLengthIsGreaterThanTheMaximumLength:j$,PleaseSelectTheCorrectOptionSettings:k$,optionIdIsRepeat:A$,optionIsRequired:M$,pleaseEnterDataCode:D$,pleaseEnterValueFieldCode:L$,pleaseEnterSvcCode:F$,pleaseBindAtLeastOneDisplayValue:x$,pleaseSelectProvince:z$,pleaseSelectCity:V$,pleaseSelectDistrict:Y$,limitRowsCannotBeLessThan0:G$,TheNumberOfRowsCannotBeLessThanMinRows:H$,pleaseEnterColumnWidth:q$,pleaseSetTheLogicalRelationshipOfAllRuleConditions:U$,pleaseCompleteAllRulesAndConditions:W$,pleaseSelectControl:K$,pleaseSelectDashboard:X$,theViewNameCannotBeEmpty:Q$,pleaseSelectOcrType:J$,pleaseSelectAtLeastOneFieldToFillIn:Z$,pleaseChooseAtLeastOne:eS,pleaseEnterButtonContent:tS,pleaseEnterDataCodeInDataSetting:nS,pleaseEnterValueFieldCodeInDataSetting:rS,pleaseEnterSvcCodeInDataSetting:oS,pleaseBindAtLeastOneDisplayValueInDataSetting:iS,rootNodeIsRequiredInDataSetting:uS,pleaseEnterMaxHeight:cS,pleaseEnter:fS,pleaseEnterWatermark:aS,pleaseEnterFileName:lS,pleaseUploadAtLeastOnePrintTemplate:sS,pleaseAssignBusiness:yS,pleaseAssignExternal:_S},pS="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dS="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hS="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bS="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",OS="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gS="{caption}\u5FC5\u9808",mS="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",PS="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",RS="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wS="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",TS="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$S="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",SS="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ES="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",IS="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CS="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",NS="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",BS="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jS="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kS="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",AS="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",MS="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",DS="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",LS="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",FS="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xS="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",zS="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",VS="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",YS="\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",GS="\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",HS="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",qS="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",US="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",WS="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KS="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XS="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",QS="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",JS="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ZS="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eE="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tE="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",nE="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",rE="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oE="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",iE="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",uE="please select control",cE="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",fE="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",aE="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",lE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",sE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",yE="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",_E="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",vE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",pE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",dE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",hE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",bE="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",OE="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",gE="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",mE="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",PE="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",RE="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",wE="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",TE={isNotNumber:pS,isNotString:dS,isNotObject:hS,isNotArray:bS,isNotBoolean:OS,runtimeRequired:gS,pleaseEnterCaption:mS,pleaseEnterCaptionTip:PS,pleaseEnterPlaceholder:RS,pleaseEnterFieldCode:wS,pleaseEnterForm:TS,pleaseEnterList:$S,pleaseEnterProcess:SS,pleaseEnterLabel:ES,pleaseEnterValue:IS,bizKeyNotBindFiled:CS,pleaseSelectOneField:NS,pleaseEnterNumberRange:BS,pleaseEnterAValueGreaterThanMin:jS,pleaseEnterAValueLessThanMax:kS,numberRangeSetError:AS,stringRangeError:MS,attachmentMaxSize:DS,pleaseEnterTotalScoreSetting:LS,theTotalScoreMustNotBeLessThan1:FS,scoreDefaultValueRange:xS,attachmentLimitError:zS,PleaseReselectTheOptionalQuantity:VS,TheMaximumLengthIsGreaterThanTheMinimumLength:YS,TheMinimumLengthIsGreaterThanTheMaximumLength:GS,PleaseSelectTheCorrectOptionSettings:HS,optionIdIsRepeat:qS,optionIsRequired:US,pleaseEnterDataCode:WS,pleaseEnterValueFieldCode:KS,pleaseEnterSvcCode:XS,pleaseBindAtLeastOneDisplayValue:QS,pleaseSelectProvince:JS,pleaseSelectCity:ZS,pleaseSelectDistrict:eE,limitRowsCannotBeLessThan0:tE,TheNumberOfRowsCannotBeLessThanMinRows:nE,pleaseEnterColumnWidth:rE,pleaseSetTheLogicalRelationshipOfAllRuleConditions:oE,pleaseCompleteAllRulesAndConditions:iE,pleaseSelectControl:uE,pleaseSelectDashboard:cE,theViewNameCannotBeEmpty:fE,pleaseSelectOcrType:aE,pleaseSelectAtLeastOneFieldToFillIn:lE,pleaseChooseAtLeastOne:sE,pleaseEnterButtonContent:yE,pleaseEnterDataCodeInDataSetting:_E,pleaseEnterValueFieldCodeInDataSetting:vE,pleaseEnterSvcCodeInDataSetting:pE,pleaseBindAtLeastOneDisplayValueInDataSetting:dE,rootNodeIsRequiredInDataSetting:hE,pleaseEnterMaxHeight:bE,pleaseEnter:OE,pleaseEnterWatermark:gE,pleaseEnterFileName:mE,pleaseUploadAtLeastOnePrintTemplate:PE,pleaseAssignBusiness:RE,pleaseAssignExternal:wE},$E={zhCN:r$,enUS:vS,jaJP:TE};function SE(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 EE=function e(t){SE(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},hh="zh-CN",IE=function(){};function ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(c.FieldTypes||(c.FieldTypes={}));var X,CE=(X={},ne(X,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),ne(X,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),ne(X,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),ne(X,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),ne(X,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),ne(X,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),ne(X,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),ne(X,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),ne(X,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),ne(X,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),ne(X,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),ne(X,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),ne(X,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),X);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var bh="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",NE=bh+"0123456789";function ue(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?bh:NE,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function la(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function BE(e){if(Array.isArray(e))return la(e)}function jE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Ln(e,t,r){return kE()?Ln=Reflect.construct:Ln=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&jt(l,u.prototype),l},Ln.apply(null,arguments)}function Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(e)}function gh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jt(e,t)}function AE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ME(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DE(){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 LE(e,t){return t&&(FE(t)==="object"||typeof t=="function")?t:jE(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jt(e,t)}function mh(e){return BE(e)||ME(e)||xE(e)||DE()}var FE=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xE(e,t){if(!!e){if(typeof e=="string")return la(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return la(e,t)}}function sa(e){var t=typeof Map=="function"?new Map:void 0;return sa=function(n){if(n===null||!AE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Ln(n,arguments,Bt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),jt(o,n)},sa(e)}function zE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ph(e){var t=zE();return function(){var n=Bt(e),o;if(t){var i=Bt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LE(this,o)}}var ya=console;function Se(){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=ya).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(mh(o)))}function kt(){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=ya).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(mh(o)))}function VE(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _a=function(e){gh(r,e);var t=Ph(r);function r(n){Oh(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?VE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(sa(Error)),YE=function(e){gh(r,e);var t=Ph(r);function r(n){Oh(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(_a);function he(e){throw new _a(e)}function va(e){throw new YE(e)}function Rh(e){ya.error(new _a(e))}function pa(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":pa(r==null?void 0:r.children,t);break;case"search":pa(r==null?void 0:r.children,t);break;case"form":t(r)}})}var GE=Object.prototype.toString;function wh(e,t){return GE.call(e)==="[object "+t+"]"}function HE(e){return wh(e,"String")}function qE(e){return wh(e,"Promise")}var UE=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();qE(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&&!HE(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 WE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=function(){function e(){WE(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]:hh;return new UE({locale:r,messages:$E})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();p.$i18n=p.resetI18n();function Th(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)){Se("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 KE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},da={exports:{}};(function(e){(function(t){var r=function(v,O,R){if(!l(O)||y(O)||_(O)||d(O)||a(O))return O;var m,T=0,w=0;if(s(O))for(m=[],w=O.length;T<w;T++)m.push(r(v,O[T],R));else{m={};for(var $ in O)Object.prototype.hasOwnProperty.call(O,$)&&(m[v($,R)]=r(v,O[$],R))}return m},n=function(v,O){O=O||{};var R=O.separator||"_",m=O.split||/(?=[A-Z])/;return v.split(m).join(R)},o=function(v){return b(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(O,R){return R?R.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var O=o(v);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(v,O){return n(v,O).toLowerCase()},f=Object.prototype.toString,a=function(v){return typeof v=="function"},l=function(v){return v===Object(v)},s=function(v){return f.call(v)=="[object Array]"},y=function(v){return f.call(v)=="[object Date]"},_=function(v){return f.call(v)=="[object RegExp]"},d=function(v){return f.call(v)=="[object Boolean]"},b=function(v){return v=v-0,v===v},h=function(v,O){var R=O&&"process"in O?O.process:O;return typeof R!="function"?v:function(m,T){return R(m,v,T)}},g={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,O){return r(h(o,O),v)},decamelizeKeys:function(v,O){return r(h(u,O),v,O)},pascalizeKeys:function(v,O){return r(h(i,O),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g})(KE)})(da);var $h={};Object.defineProperty($h,"__esModule",{value:!0});function ha(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ha(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:ha(n)}return t}}var XE=$h.default=ha;function ve(e){if(e!==void 0)return typeof e=="object"?XE(e):e}function W(e){return ba(e)&&"zh"in e}function ba(e){return Object.prototype.toString.call(e)==="[object Object]"}function QE(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Ee(e){return Array.isArray(e)}function Sh(e){return typeof e=="string"}function Oa(e){return typeof e=="number"}function JE(e){return typeof e=="function"}function ZE(e){return Ee(e)&&e.every(function(t){return Sh(t)})}function eI(e){return Ee(e)&&e.every(function(t){return Oa(t)})}function tI(e){return Ee(e)&&e.every(function(t){return Oa(t)||t===""})}function nI(e){return/^\[.*?]$/.test(e)}function rI(e){return/^{.*?}$/.test(e)}function Ie(e){return isNaN(parseFloat(e))?"":Number(e)}function Eh(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function oI(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 iI(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function Q(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=Q(n.children,t)),t(o)})),r}function Ih(e){return da.exports.camelizeKeys(e)}function Ce(e){return da.exports.decamelizeKeys(e)}function uI(e){return Object.values(c.CONTROL_TYPE).includes(e)}function ga(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function cI(e){if(Array.isArray(e))return ga(e)}function Ch(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 fI(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Ch(i,n,o,u,f,"next",a)}function f(a){Ch(i,n,o,u,f,"throw",a)}u(void 0)})}}function aI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sI(){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 ma(e){return cI(e)||lI(e)||yI(e)||sI()}function yI(e,t){if(!!e){if(typeof e=="string")return ga(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ga(e,t)}}var _I=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}}},Nh=function(){function e(){aI(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 fI(function(){var a,l,s,y,_,d,b,h,g,v,O,R;return _I(this,function(m){switch(m.label){case 0:if(a=f._events.get(n),l=[],!a)return[3,10];s=a.slice(),y=!0,_=!1,d=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=(h=b.next()).done)return[3,7];if(g=h.value,!a.includes(g))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),f.debug&&kt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(ma(i))),[4,g.apply(null,ma(i))];case 4:return v=m.sent(),f.debug&&kt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.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(ma(i),[v])),l.push(v),v===!1?[3,7]:[3,6];case 5:return O=m.sent(),Rh(String(O)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return R=m.sent(),_=!0,d=R,[3,10];case 9:try{!y&&b.return!=null&&b.return()}finally{if(_)throw d}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 vI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var pI=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Bh=function(){function e(){vI(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}();Bh.events=pI;function dI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var jh=[],Fn=function(){function e(r){dI(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__||he("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(i){return i.controlType===n.controlType});return o>-1&&(Se("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 he("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__)&&he("".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&&(Se("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}();Fn.staticControls=jh,Fn.staticRegisteredTypes=new Set(jh.map(function(e){return e.Designer.controlType})),Fn.staticRegisteredConfigs=new Map;function kh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(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 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&&Pa(e,t)}function Ah(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function hI(e,t){return t&&(bI(t)==="object"||typeof t=="function")?t:kh(e)}function Pa(e,t){return Pa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pa(e,t)}var bI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fe(e){var t=OI();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 hI(this,o)}}var re=function e(t){P(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:""},Ra=function e(t){P(this,e);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},zn=function(e){ce(r,e);var t=fe(r);function r(n){P(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;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(Ra),Mh=function e(t){P(this,e),this.pc=new zn(t==null?void 0:t.pc);var r;this.mobile=(r=new zn(t==null?void 0:t.mobile))!==null&&r!==void 0?r:new zn({width:130,minWidth:180})},Dh=function e(t){P(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Vn=function e(t){P(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:""},Lh=function(e){ce(r,e);var t=fe(r);function r(n){P(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}(Vn),Fh=function e(t){P(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},wa=function e(t){P(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 Fh(u)}))!==null&&i!==void 0?i:[]},xh=function e(t){P(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},zh=function(e){ce(r,e);var t=fe(r);function r(n){P(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}(Vn),Vh=function e(t){P(this,e);var r,n;this.type="sublist-page",this.formBind=new Vn(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 xh(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 zh(u)}))!==null&&i!==void 0?i:[]},Yh=function e(t){P(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},et=function e(t){P(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:[]},Gh=function e(t){var r=this;P(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ue();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(f){if(f.children!==void 0){var a,l=new e(f);(a=r.children)===null||a===void 0||a.push(l)}else{var s,y=new Ta(f);(s=r.children)===null||s===void 0||s.push(y)}}))},Ta=function e(t){P(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ue();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new Yh(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new et(t==null?void 0:t.rightVariableBo)},ee=function e(t){P(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:""},Yn=function e(t){P(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},$a=function e(t){P(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},Hh=function e(t){P(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},gI=function e(t){P(this,e);var r,n,o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(l){return new $a(l)}))!==null&&f!==void 0?f:[];var a;this.dataSet=(a=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(l){return new Hh(l)}))!==null&&a!==void 0?a:[]};function Sa(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(i){return i.children!==void 0?new Gh(i):new Ta(i)}))!==null&&r!==void 0?r:[],Ah(this,Y)||Ah(this,Gn)){var n,o;this.orders=(o=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(i){return new $a(i)}))!==null&&o!==void 0?o:[]}}var Y=function e(t){var r=this;P(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 Yn(a))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",Sa.call(this,t)},qh=function e(t){P(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 Yn(u)}))!==null&&i!==void 0?i:[]},At=function(e){ce(r,e);var t=fe(r);function r(n){P(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 qh(f)}))!==null&&u!==void 0?u:[],o}return r}(Y),Uh=function(e){ce(r,e);var t=fe(r);function r(n){P(this,r);var o;return o=t.call(this,n),o.rootNode=new et(n==null?void 0:n.rootNode),o}return r}(At),Wh=function e(t){P(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 ee(u)}))!==null&&i!==void 0?i:[]},Gn=function(e){ce(r,e);var t=fe(r);function r(n){P(this,r);var o;return o=t.call(this,n),Sa.call(kh(o),n),o}return r}(Wh),Ea=function(e){ce(r,e);var t=fe(r);function r(n){P(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}(Wh),mI=function e(t){P(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:""},Ia=function e(t){P(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:""},Ca=function e(t){P(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ue(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},Kh=function(e){ce(r,e);var t=fe(r);function r(n){P(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}(Ca);function le(e){var t;return(t=e==null?void 0:e.map(function(r){return new Ca(r)}))!==null&&t!==void 0?t:[]}function PI(e){var t;return(t=e==null?void 0:e.map(function(r){return new Kh(r)}))!==null&&t!==void 0?t:[]}var Hn=function e(){P(this,e)},Xh=function(e){ce(r,e);var t=fe(r);function r(n){P(this,r);var o;return o=t.call(this),o.amount=new re(n==null?void 0:n.amount),o.currency=new re(n==null?void 0:n.currency),o}return r}(Hn),Qh=function e(t){P(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},Jh=function(e){ce(r,e);var t=fe(r);function r(n){P(this,r);var o;return o=t.call(this),o.min=new re(n==null?void 0:n.min),o.max=new re(n==null?void 0:n.max),o}return r}(Hn),Zh=function e(t){P(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:""},eb=function e(t){P(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:""},tb=function(e){ce(r,e);var t=fe(r);function r(n){P(this,r);var o;return o=t.call(this),o.result=new re(n==null?void 0:n.result),o.unit=new re(n==null?void 0:n.unit),o}return r}(Hn),nb=function e(t){P(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 pe=function e(t){P(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},rb=function e(t){P(this,e);var r,n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ue(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Fh(u)}))!==null&&i!==void 0?i:[],Sa.call(this,t)},RI=function e(t){P(this,e);var r;this.key=(r=t.key)!==null&&r!==void 0?r:ue(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},ob=function e(t){P(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 wI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Na(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TI(){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 qn(e,t,r){return TI()?qn=Reflect.construct:qn=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&Dt(l,u.prototype),l},qn.apply(null,arguments)}function Mt(e){return Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mt(e)}function $I(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dt(e,t)}function SI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function EI(e,t){return t&&(II(t)==="object"||typeof t=="function")?t:wI(e)}function Dt(e,t){return Dt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dt(e,t)}var II=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ba(e){var t=typeof Map=="function"?new Map:void 0;return Ba=function(n){if(n===null||!SI(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 qn(n,arguments,Mt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Dt(o,n)},Ba(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 NI(e){var t=CI();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 EI(this,o)}}var D=function e(t){Na(this,e),this.isHide={type:"boolean"}},be=function(e){$I(r,e);var t=NI(r);function r(n){return Na(this,r),t.call(this)}return r}(Ba(Array)),L=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Na(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new ob(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};L.Rules=D,L.RuntimeRules=be;function se(){return se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},se.apply(this,arguments)}function BI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function Un(e,t){return Un=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Un(e,t)}function jI(){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 Wn(e,t,r){return jI()?Wn=Reflect.construct:Wn=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&Un(l,u.prototype),l},Wn.apply(null,arguments)}function kI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ka(e){var t=typeof Map=="function"?new Map:void 0;return ka=function(n){if(n===null||!kI(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 Wn(n,arguments,ja(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Un(o,n)},ka(e)}var AI=/%[sdj%]/g,ib=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ib=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Aa(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function oe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(AI,function(f){if(f==="%%")return"%";if(n>=i)return f;switch(f){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(a){return"[Circular]"}break;default:return f}});return u}return o}function MI(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function x(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||MI(t)&&typeof e=="string"&&!e)}function DI(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 ub(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 LI(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var cb=function(e){BI(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}(ka(Error));function FI(e,t,r,n){if(t.first){var o=new Promise(function(y,_){var d=function(g){return n(g),g.length?_(new cb(g,Aa(g))):y()},b=LI(e);ub(b,r,d)});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,_){var d=function(h){if(l.push.apply(l,h),a++,a===f)return n(l),l.length?_(new cb(l,Aa(l))):y()};u.length||(n(l),y()),u.forEach(function(b){var h=e[b];i.indexOf(b)!==-1?ub(h,r,d):DI(h,r,d)})});return s.catch(function(y){return y}),s}function fb(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 ab(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=se(se({},e[r]),n):e[r]=n}}return e}function lb(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||x(t,i||e.type))&&n.push(oe(o.messages.required,e.fullField))}function xI(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(oe(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},Lt={integer:function(t){return Lt.number(t)&&parseInt(t,10)===t},float:function(t){return Lt.number(t)&&!Lt.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"&&!Lt.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 zI(e,t,r,n,o){if(e.required&&t===void 0){lb(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?Lt[u](t)||n.push(oe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(oe(o.messages.types[u],e.fullField,e.type))}function VI(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",_=typeof t=="string",d=Array.isArray(t);if(y?s="number":_?s="string":d&&(s="array"),!s)return!1;d&&(l=t.length),_&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(oe(o.messages[s].len,e.fullField,e.len)):u&&!f&&l<e.min?n.push(oe(o.messages[s].min,e.fullField,e.min)):f&&!u&&l>e.max?n.push(oe(o.messages[s].max,e.fullField,e.max)):u&&f&&(l<e.min||l>e.max)&&n.push(oe(o.messages[s].range,e.fullField,e.min,e.max))}var tt="enum";function YI(e,t,r,n,o){e[tt]=Array.isArray(e[tt])?e[tt]:[],e[tt].indexOf(t)===-1&&n.push(oe(o.messages[tt],e.fullField,e[tt].join(", ")))}function GI(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(oe(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(oe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var S={required:lb,whitespace:xI,type:zI,range:VI,enum:YI,pattern:GI};function HI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t,"string")&&!e.required)return r();S.required(e,t,n,i,o,"string"),x(t,"string")||(S.type(e,t,n,i,o),S.range(e,t,n,i,o),S.pattern(e,t,n,i,o),e.whitespace===!0&&S.whitespace(e,t,n,i,o))}r(i)}function qI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();S.required(e,t,n,i,o),t!==void 0&&S.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(t===""&&(t=void 0),x(t)&&!e.required)return r();S.required(e,t,n,i,o),t!==void 0&&(S.type(e,t,n,i,o),S.range(e,t,n,i,o))}r(i)}function WI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();S.required(e,t,n,i,o),t!==void 0&&S.type(e,t,n,i,o)}r(i)}function KI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();S.required(e,t,n,i,o),x(t)||S.type(e,t,n,i,o)}r(i)}function XI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();S.required(e,t,n,i,o),t!==void 0&&(S.type(e,t,n,i,o),S.range(e,t,n,i,o))}r(i)}function QI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();S.required(e,t,n,i,o),t!==void 0&&(S.type(e,t,n,i,o),S.range(e,t,n,i,o))}r(i)}function JI(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();S.required(e,t,n,i,o,"array"),t!=null&&(S.type(e,t,n,i,o),S.range(e,t,n,i,o))}r(i)}function ZI(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();S.required(e,t,n,i,o),t!==void 0&&S.type(e,t,n,i,o)}r(i)}var eC="enum";function tC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();S.required(e,t,n,i,o),t!==void 0&&S[eC](e,t,n,i,o)}r(i)}function nC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t,"string")&&!e.required)return r();S.required(e,t,n,i,o),x(t,"string")||S.pattern(e,t,n,i,o)}r(i)}function rC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t,"date")&&!e.required)return r();if(S.required(e,t,n,i,o),!x(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),S.type(e,f,n,i,o),f&&S.range(e,f.getTime(),n,i,o)}}r(i)}function oC(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;S.required(e,t,n,i,o,u),r(i)}function Da(e,t,r,n,o){var i=e.type,u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(t,i)&&!e.required)return r();S.required(e,t,n,u,o,i),x(t,i)||S.type(e,t,n,u,o)}r(u)}function iC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(x(t)&&!e.required)return r();S.required(e,t,n,i,o)}r(i)}var Ft={string:HI,method:qI,number:UI,boolean:WI,regexp:KI,integer:XI,float:QI,array:JI,object:ZI,enum:tC,pattern:nC,date:rC,url:Da,hex:Da,email:Da,required:oC,any:iC};function La(){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 Fa=La();function Oe(e){this.rules=null,this._messages=Fa,this.define(e)}Oe.prototype={messages:function(t){return t&&(this._messages=ab(La(),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(h){var g,v=[],O={};function R(m){if(Array.isArray(m)){var T;v=(T=v).concat.apply(T,m)}else v.push(m)}for(g=0;g<h.length;g++)R(h[g]);v.length?O=Aa(v):(v=null,O=null),f(v,O)}if(u.messages){var l=this.messages();l===Fa&&(l=La()),ab(l,u.messages),u.messages=l}else u.messages=this.messages();var s,y,_={},d=u.keys||Object.keys(this.rules);d.forEach(function(h){s=o.rules[h],y=i[h],s.forEach(function(g){var v=g;typeof v.transform=="function"&&(i===t&&(i=se({},i)),y=i[h]=v.transform(y)),typeof v=="function"?v={validator:v}:v=se({},v),v.validator=o.getValidationMethod(v),v.field=h,v.fullField=v.fullField||h,v.type=o.getType(v),v.validator&&(_[h]=_[h]||[],_[h].push({rule:v,value:y,source:i,field:h}))})});var b={};return FI(_,u,function(h,g){var v=h.rule,O=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");O=O&&(v.required||!v.required&&h.value),v.field=h.field;function R(w,$){return se(se({},$),{},{fullField:v.fullField+"."+w})}function m(w){w===void 0&&(w=[]);var $=w;if(Array.isArray($)||($=[$]),!u.suppressWarning&&$.length&&Oe.warning("async-validator:",$),$.length&&v.message!==void 0&&($=[].concat(v.message)),$=$.map(fb(v)),u.first&&$.length)return b[v.field]=1,g($);if(!O)g($);else{if(v.required&&!h.value)return v.message!==void 0?$=[].concat(v.message).map(fb(v)):u.error&&($=[u.error(v,oe(u.messages.required,v.field))]),g($);var B={};if(v.defaultField)for(var te in h.value)h.value.hasOwnProperty(te)&&(B[te]=v.defaultField);B=se(se({},B),h.rule.fields);for(var q in B)if(B.hasOwnProperty(q)){var U=Array.isArray(B[q])?B[q]:[B[q]];B[q]=U.map(R.bind(null,q))}var Et=new Oe(B);Et.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),Et.validate(h.value,h.rule.options||u,function(Je){var It=[];$&&$.length&&It.push.apply(It,$),Je&&Je.length&&It.push.apply(It,Je),g(It.length?It:null)})}}var T;v.asyncValidator?T=v.asyncValidator(v,h.value,m,h.source,u):v.validator&&(T=v.validator(v,h.value,m,h.source,u),T===!0?m():T===!1?m(v.message||v.field+" fails"):T instanceof Array?m(T):T instanceof Error&&m(T.message)),T&&T.then&&T.then(function(){return m()},function(w){return m(w)})},function(h){a(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ft.hasOwnProperty(t.type))throw new Error(oe("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?Ft.required:Ft[this.getType(t)]||!1}},Oe.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ft[t]=r},Oe.warning=ib,Oe.messages=Fa,Oe.validators=Ft;var uC={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 sb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Oe(e);return r.messages(Object.assign(uC,t)),r}var yb=new Nh;function xa(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 cC(e){if(Array.isArray(e))return e}function fC(e){if(Array.isArray(e))return xa(e)}function _b(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function vb(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){_b(i,n,o,u,f,"next",a)}function f(a){_b(i,n,o,u,f,"throw",a)}u(void 0)})}}function aC(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 lC(e,t,r){return t&&pb(e.prototype,t),r&&pb(e,r),e}function sC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function db(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function hb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yC(){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 _C(){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 bb(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){sC(e,o,r[o])})}return e}function vC(e){return cC(e)||hb(e)||Ob(e)||yC()}function za(e){return fC(e)||hb(e)||Ob(e)||_C()}function Ob(e,t){if(!!e){if(typeof e=="string")return xa(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 xa(e,t)}}var gb=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}}},N=function(){function t(n){var o=this;aC(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Pb,this.removeSetting=mb,this._callControlHooks("preInstance",n);var i=db(this,t)?this.constructor:void 0,u=i.controlName,f=i.controlIcon,a=i.controlType,l=i.controlFieldType,s=i.controlEventKeys,y=i.controlCustomEvents,_=i.name,d=i.setting;u&&f&&a||va("The ".concat(_," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:ue(10),this.name=u,this.icon=f;var h;this.type=(h=n==null?void 0:n.type)!==null&&h!==void 0?h:a,this.props=new L(n==null?void 0:n.props,(db(this,t)?this.constructor:void 0).controlName);var g;this.controlType=(g=n==null?void 0:n.controlType)!==null&&g!==void 0?g:"base",this.setting=ve(d);var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v: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=vC(i),l=a[0],s=a.slice(1);return(f=yb).emit.apply(f,[l,this].concat(za(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),Th(this.props,o,i),this.postUpdate(o,i)},r.preValidate=function(){var o=this;return vb(function(){var i,u,f;return gb(this,function(a){switch(a.label){case 0:return i=bb({},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 vb(function(){var f,a,l,s;return gb(this,function(y){switch(y.label){case 0:return[4,u.preValidate()];case 1:f=y.sent(),a=f!==void 0?f:bb({},u.rules),Array.isArray(i)&&i.forEach(function(_){a.hasOwnProperty(_)&&delete a[_]}),l=sb(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,_=a.caption,d=a.required,b=a.maxLength,h=a.options,g=a.encrypted,v=a.encryptedMode;if(!(!i&&!l&&!s)){var O={parentId:o,fieldType:i,controlId:u,caption:_,type:f,props:{}};switch(l&&(O.dataBind=l),y){case"datasource":case void 0:s&&(O.datasourceBind=s);break;case"custom":O.props.options=h;break}return d!==void 0&&(O.required=d),b!==void 0&&(O.maxLength=b),g!==void 0&&(O.encrypted=g),v!==void 0&&(O.encryptedMode=v),O}},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,za(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}},lC(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}}]),t}();N.controlName="\u63A7\u4EF6",N.controlIcon="icon",N.controlType="control",N.controlEventKeys=[],N.controlCustomEvents=[],N.setting=[],N.__is_control__=!0,N.removeSettingItem=mb,N.updateSettingItem=Pb;function mb(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 Pb(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,za(t.showItems))}}}})}function pC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dC(e,t,r){return t&&Rb(e.prototype,t),r&&Rb(e,r),e}function hC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var z=function(){function t(r){pC(this,t),this.customEvents=[],this.parent=null;var n=hC(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,f=n.controlCustomEvents;o||va("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:ue(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new L(r==null?void 0:r.props),this.customEvents=f;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var _;this.pageStatus=(_=r==null?void 0:r.pageStatus)!==null&&_!==void 0?_:c.PAGE_STATUS.UNKNOWN}return dC(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}();z.controlType="control",z.__is_control__=!0,z.controlCustomEvents=[];function Kn(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:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(p.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(f){return f.value}),u=Eh(i);i.length!==u.length?o(p.getMessage("optionIdIsRepeat")):o()},message:p.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(p.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function Xn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function wb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(e)}function Zn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Va(e,t)}function bC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function OC(e,t){return t&&(gC(t)==="object"||typeof t=="function")?t:wb(e)}function Va(e,t){return Va=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Va(e,t)}var gC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function er(e){var t=mC();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 OC(this,o)}}var K=function(e){Zn(r,e);var t=er(r);function r(n){Qn(this,r);var o;o=t.call(this,n),o.dataBind={},o.caption={type:"string",required:!0,message:p.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:p.getMessage("pleaseEnterCaptionTip")};var i={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(bC(n.dataBind,re))o.dataBind={type:"object",required:!0,fields:ve(i),message:p.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){u.fields[f]={type:"object",required:!0,fields:ve(i),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(D),j=function(e){Zn(r,e);var t=er(r);function r(n){Qn(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:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(be),E=function(e){Zn(r,e);var t=er(r);function r(n){Qn(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 _;o.required=(_=n==null?void 0:n.required)!==null&&_!==void 0?_:!1;var d;o.requiredMessage=(d=n==null?void 0:n.requiredMessage)!==null&&d!==void 0?d:"",o.dataBind=new re(n==null?void 0:n.dataBind);var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o}return r}(L);E.Rules=K,E.RuntimeRules=j;var Ne=function(e){Zn(r,e);var t=er(r);function r(n){Qn(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:p.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],Kn.call(wb(o),n),o}return r}(K);function PC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(e)}function wC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ya(e,t)}function TC(e,t){return t&&($C(t)==="object"||typeof t=="function")?t:PC(e)}function Ya(e,t){return Ya=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ya(e,t)}var $C=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EC(e){var t=SC();return function(){var n=tr(e),o;if(t){var i=tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TC(this,o)}}var I=function(e){wC(r,e);var t=EC(r);function r(n){RC(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new E(n==null?void 0:n.props),o}return r}(N);I.controlEventKeys=["on_change","on_focus","on_blur"];function IC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function NC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ga(e,t)}function BC(e,t){return t&&(jC(t)==="object"||typeof t=="function")?t:IC(e)}function Ga(e,t){return Ga=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ga(e,t)}var jC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AC(e){var t=kC();return function(){var n=nr(e),o;if(t){var i=nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BC(this,o)}}var C=function(e){NC(r,e);var t=AC(r);function r(n){CC(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new E(n==null?void 0:n.props),o}return r}(z);function MC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rr(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ha(e,t)}function FC(e,t){return t&&(xC(t)==="object"||typeof t=="function")?t:MC(e)}function Ha(e,t){return Ha=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ha(e,t)}var xC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VC(e){var t=zC();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 FC(this,o)}}var A=function(e){LC(r,e);var t=VC(r);function r(n){return DC(this,r),t.call(this,n)}return r}(L);function qa(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 YC(e){if(Array.isArray(e))return qa(e)}function GC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Tb(e){return YC(e)||GC(e)||qC(e)||HC()}function qC(e,t){if(!!e){if(typeof e=="string")return qa(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 qa(e,t)}}function $b(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Ua(e,t){e.parent=t,$b(e,"parent")}function Sb(e,t){e.forEach(function(r){Ua(r,t)})}var Eb=Symbol("targetKey");function Ib(e){var t;return(t=e[Eb])!==null&&t!==void 0?t:e}function Cb(e,t){return Sb(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),f=2;f<i;f++)u[f-2]=arguments[f];var a;return o===Eb?n:(a=Reflect).get.apply(a,[n,o].concat(Tb(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(Ee(e)&&o==="length"&&i===e.length)return!0;var s=(l=Reflect).set.apply(l,[n,o,i].concat(Tb(f)));return ba(i)&&Ua(i,t),s}})}function ye(e,t,r,n){var o=n!=null?n:e,i=Cb(Ib(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=Cb(Ib(f),o)},enumerable:!0})}function Wa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function UC(e){if(Array.isArray(e))return Wa(e)}function Nb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bb(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 WC(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Bb(i,n,o,u,f,"next",a)}function f(a){Bb(i,n,o,u,f,"throw",a)}u(void 0)})}}function KC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nt=Reflect.get:nt=function(o,i,u){var f=iN(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},nt(e,t,r||e)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(e)}function QC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ka(e,t)}function JC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ZC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eN(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tN(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){XC(e,o,r[o])})}return e}function nN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function rN(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function oN(e,t){return t&&(uN(t)==="object"||typeof t=="function")?t:Nb(e)}function Ka(e,t){return Ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ka(e,t)}function iN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ge(e),e!==null););return e}function jb(e){return UC(e)||ZC(e)||cN(e)||eN()}var uN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cN(e,t){if(!!e){if(typeof e=="string")return Wa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wa(e,t)}}function fN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aN(e){var t=fN();return function(){var n=ge(e),o;if(t){var i=ge(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oN(this,o)}}var lN=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}}},sN=1e4,M=function(t){QC(n,t);var r=aN(n);function n(i){KC(this,n);var u;u=r.call(this,i),u.controlType="layout";var f=JC(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new A(i==null?void 0:i.props),ye(Nb(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 nt(ge(n.prototype),"validate",a)};return WC(function(){return lN(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(_){return _.validate(u,f)}))];case 2:return y.sent(),[2,!0]}})})()},o.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,f=nt(ge(n.prototype),"toDataBindModel",this).call(this),a=f?[f]:[];return this.children.reduce(function(l,s){var y=s.toDataBindModel(u);if(Array.isArray(y)){var _=y.filter(function(d){return!!d});return jb(l).concat(jb(_))}return y&&l.push(y),l},a)},o.toSchema=function(){var u=nt(ge(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return rN(tN({},u),{children:f})},n}(N);M.excludes=!1,M.childrenMaxLength=sN;function kb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},or(e)}function _N(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xa(e,t)}function vN(e,t){return t&&(pN(t)==="object"||typeof t=="function")?t:kb(e)}function Xa(e,t){return Xa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xa(e,t)}var pN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hN(e){var t=dN();return function(){var n=or(e),o;if(t){var i=or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vN(this,o)}}var V=function(e){_N(r,e);var t=hN(r);function r(n){yN(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new A(n==null?void 0:n.props),ye(kb(o),"children",n==null?void 0:n.children),o}return r}(z);function Ab(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function ON(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qa(e,t)}function gN(e,t){return t&&(mN(t)==="object"||typeof t=="function")?t:Ab(e)}function Qa(e,t){return Qa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qa(e,t)}var mN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RN(e){var t=PN();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 gN(this,o)}}var xt=function(e){ON(r,e);var t=RN(r);function r(n,o){bN(this,r);var i;return i=t.call(this,o),ye(Ab(i),"headers",o==null?void 0:o.headers,n),i}return r}(L);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 wN(e){if(Array.isArray(e))return Ja(e)}function Mb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Db(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function TN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Db(i,n,o,u,f,"next",a)}function f(a){Db(i,n,o,u,f,"throw",a)}u(void 0)})}}function $N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(o,i,u){var f=jN(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},rt(e,t,r||e)}function me(e){return me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},me(e)}function EN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Za(e,t)}function IN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function CN(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lb(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){SN(e,o,r[o])})}return e}function NN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Fb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):NN(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function BN(e,t){return t&&(kN(t)==="object"||typeof t=="function")?t:Mb(e)}function Za(e,t){return Za=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Za(e,t)}function jN(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=me(e),e!==null););return e}function xb(e){return wN(e)||IN(e)||AN(e)||CN()}var kN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AN(e,t){if(!!e){if(typeof e=="string")return 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 MN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DN(e){var t=MN();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BN(this,o)}}var LN=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}}},ur=function(e){EN(r,e);var t=DN(r);function r(o){$N(this,r);var i;return i=t.call(this,o),i.controlType="list",i.props=new xt(Mb(i),o==null?void 0:o.props),i}var n=r.prototype;return n.validate=function(i,u){var f=this,a=this,l=function(){return rt(me(r.prototype),"validate",f)};return TN(function(){return LN(this,function(s){switch(s.label){case 0:return[4,l().call(a,i)];case 1:return s.sent(),[4,Promise.all(a.props.headers.map(function(y){return y.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var i=rt(me(r.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],f=this.id;return this.props.headers.reduce(function(a,l){var s=l.toDataBindModel(f);if(Array.isArray(s)){var y=s.filter(function(_){return!!_});return xb(a).concat(xb(y))}return s&&a.push(s),a},u)},n.toSchema=function(){var i=rt(me(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(f){return f.toSchema()});return Fb(Lb({},i),{props:Fb(Lb({},this.props),{headers:u})})},r}(N);ur.controlFieldType=c.FieldTypes.LIST;function el(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zb(e,t){for(var r=0;r<t.length;r++){var 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&&zb(e.prototype,t),r&&zb(e,r),e}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cr(e)}function zN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tl(e,t)}function VN(e,t){return t&&(YN(t)==="object"||typeof t=="function")?t:el(e)}function tl(e,t){return tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tl(e,t)}var YN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HN(e){var t=GN();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 VN(this,o)}}var nl=function(e){zN(r,e);var t=HN(r);function r(n){FN(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new xt(el(o),n==null?void 0:n.props),ye(el(o),"children",n==null?void 0:n.children),o}return xN(r,[{key:"length",get:function(){return this.children.length}}]),r}(z);function Vb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fr(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&&il(e,t)}function qN(e,t){return t&&(UN(t)==="object"||typeof t=="function")?t:Vb(e)}function il(e,t){return il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},il(e,t)}var UN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ul(e){var t=WN();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 qN(this,o)}}var ar=function(e){ol(r,e);var t=ul(r);function r(n){rl(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")},o.width.required=n.widthType==="px",o}return r}(D),F=function(e){ol(r,e);var t=ul(r);function r(n){rl(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.autoWidth=new Ra(n==null?void 0:n.autoWidth),o.dataBind=new re(n==null?void 0:n.dataBind);var a;o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var l;return o.autoHeight=(l=n==null?void 0:n.autoHeight)!==null&&l!==void 0?l:!1,o}return r}(L);F.Rules=ar;var cl=function(e){ol(r,e);var t=ul(r);function r(n){rl(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:p.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],Kn.call(Vb(o),n),o}return r}(ar);function KN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(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&&fl(e,t)}function JN(e,t){return t&&(ZN(t)==="object"||typeof t=="function")?t:KN(e)}function fl(e,t){return fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fl(e,t)}var ZN=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=lr(e),o;if(t){var i=lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JN(this,o)}}var G=function(e){QN(r,e);var t=tB(r);function r(n){XN(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new F(n==null?void 0:n.props),o}return r}(N);function nB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(e)}function oB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&al(e,t)}function iB(e,t){return t&&(uB(t)==="object"||typeof t=="function")?t:nB(e)}function al(e,t){return al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},al(e,t)}var uB=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 fB(e){var t=cB();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 iB(this,o)}}var H=function(e){oB(r,e);var t=fB(r);function r(n){rB(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new F(n==null?void 0:n.props),o}return r}(z);function aB(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 yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yr(e)}function sB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yB(e,t){return t&&(_B(t)==="object"||typeof t=="function")?t:aB(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(e,t)}var _B=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pB(e){var t=vB();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 yB(this,o)}}var _r=function(e){sB(r,e);var t=pB(r);function r(n){lB(this,r);var o;return o=t.call(this,n),o.dataBind=new re(n==null?void 0:n.dataBind),o}return r}(A);function dB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vr(e)}function bB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sl(e,t)}function OB(e,t){return t&&(gB(t)==="object"||typeof t=="function")?t:dB(e)}function sl(e,t){return sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sl(e,t)}var gB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PB(e){var t=mB();return function(){var n=vr(e),o;if(t){var i=vr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OB(this,o)}}var Yb=function(e){bB(r,e);var t=PB(r);function r(n){hB(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new _r(n==null?void 0:n.props),o}return r}(M);function RB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(e)}function TB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yl(e,t)}function $B(e,t){return t&&(SB(t)==="object"||typeof t=="function")?t:RB(e)}function yl(e,t){return yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yl(e,t)}var SB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IB(e){var t=EB();return function(){var n=pr(e),o;if(t){var i=pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $B(this,o)}}var Gb=function(e){TB(r,e);var t=IB(r);function r(n){wB(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new _r(n==null?void 0:n.props),o}return r}(V);function CB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function BB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_l(e,t)}function jB(e,t){return t&&(kB(t)==="object"||typeof t=="function")?t:CB(e)}function _l(e,t){return _l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_l(e,t)}var kB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MB(e){var t=AB();return function(){var n=dr(e),o;if(t){var i=dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jB(this,o)}}var vl=function(e){BB(r,e);var t=MB(r);function r(n){return NB(this,r),t.call(this,n)}return r}(A);function DB(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 hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(e)}function FB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pl(e,t)}function xB(e,t){return t&&(zB(t)==="object"||typeof t=="function")?t:DB(e)}function pl(e,t){return pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pl(e,t)}var zB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YB(e){var t=VB();return function(){var n=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xB(this,o)}}var GB=function(e){FB(r,e);var t=YB(r);function r(n){LB(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new vl(n==null?void 0:n.props),o}return r}(M);function HB(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 UB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dl(e,t)}function WB(e,t){return t&&(KB(t)==="object"||typeof t=="function")?t:HB(e)}function dl(e,t){return dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dl(e,t)}var KB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QB(e){var t=XB();return function(){var n=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WB(this,o)}}var JB=function(e){UB(r,e);var t=QB(r);function r(n){qB(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new vl(n==null?void 0:n.props),o}return r}(V);function ZB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ej(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(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&&hl(e,t)}function nj(e,t){return t&&(rj(t)==="object"||typeof t=="function")?t:ZB(e)}function hl(e,t){return hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hl(e,t)}var rj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ij(e){var t=oj();return function(){var n=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nj(this,o)}}var bl=function(e){tj(r,e);var t=ij(r);function r(n){ej(this,r);var o;o=t.call(this,n);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"page-hint";var a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var l;return o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:"\u8BF4\u660E\u6587\u5B57",o}return r}(L);function uj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fj(e,t,r){return t&&Hb(e.prototype,t),r&&Hb(e,r),e}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(e)}function aj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ol(e,t)}function lj(e,t){return t&&(sj(t)==="object"||typeof t=="function")?t:uj(e)}function Ol(e,t){return Ol=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ol(e,t)}var sj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _j(e){var t=yj();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 lj(this,o)}}var qb=function(e){aj(r,e);var t=_j(r);function r(n){cj(this,r);var o;return o=t.call(this,n),o.props=new bl(n==null?void 0:n.props),o}return fj(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(N);qb.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 vj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ub(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dj(e,t,r){return t&&Ub(e.prototype,t),r&&Ub(e,r),e}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(e)}function hj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gl(e,t)}function bj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:vj(e)}function gl(e,t){return gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gl(e,t)}var Oj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mj(e){var t=gj();return function(){var n=mr(e),o;if(t){var i=mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bj(this,o)}}var Pj=function(e){hj(r,e);var t=mj(r);function r(n){pj(this,r);var o;return o=t.call(this,n),o.props=new bl(n==null?void 0:n.props),o}return dj(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(z),Wb={Designer:qb,Runtime:Pj,Property:bl};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 Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(e)}function Tj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ml(e,t)}function $j(e,t){return t&&(Sj(t)==="object"||typeof t=="function")?t:Rj(e)}function ml(e,t){return ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ml(e,t)}var Sj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ej(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ij(e){var t=Ej();return function(){var n=Pr(e),o;if(t){var i=Pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $j(this,o)}}var Pl=function(e){Tj(r,e);var t=Ij(r);function r(n){wj(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(L);function Cj(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 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 Bj(e,t,r){return t&&Kb(e.prototype,t),r&&Kb(e,r),e}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(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&&Rl(e,t)}function kj(e,t){return t&&(Aj(t)==="object"||typeof t=="function")?t:Cj(e)}function Rl(e,t){return Rl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rl(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=Rr(e),o;if(t){var i=Rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kj(this,o)}}var wl=function(e){jj(r,e);var t=Dj(r);function r(n){Nj(this,r);var o;return o=t.call(this,n),o.props=new Pl(n==null?void 0:n.props),o}return Bj(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(N);wl.controlEventKeys=["on_click"],wl.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 Lj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xj(e,t,r){return t&&Xb(e.prototype,t),r&&Xb(e,r),e}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function zj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tl(e,t)}function Vj(e,t){return t&&(Yj(t)==="object"||typeof t=="function")?t:Lj(e)}function Tl(e,t){return Tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tl(e,t)}var Yj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hj(e){var t=Gj();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 Vj(this,o)}}var qj=function(e){zj(r,e);var t=Hj(r);function r(n){Fj(this,r);var o;return o=t.call(this,n),o.props=new Pl(n==null?void 0:n.props),o}return xj(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(z),Qb={Designer:wl,Runtime:qj,Property:Pl};function Uj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wj(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 Kj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$l(e,t)}function Xj(e,t){return t&&(Qj(t)==="object"||typeof t=="function")?t:Uj(e)}function $l(e,t){return $l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$l(e,t)}var Qj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zj(e){var t=Jj();return function(){var n=Tr(e),o;if(t){var i=Tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xj(this,o)}}var J=function(e){Kj(r,e);var t=Zj(r);function r(n){Wj(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 _;return o.isLoading=(_=n==null?void 0:n.isLoading)!==null&&_!==void 0?_:!1,o}return r}(L);function ek(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 Jb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nk(e,t,r){return t&&Jb(e.prototype,t),r&&Jb(e,r),e}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(e)}function rk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sl(e,t)}function ok(e,t){return t&&(ik(t)==="object"||typeof t=="function")?t:ek(e)}function Sl(e,t){return Sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sl(e,t)}var ik=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ck(e){var t=uk();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 ok(this,o)}}var Z=function(e){rk(r,e);var t=ck(r);function r(n){tk(this,r);var o;return o=t.call(this,n),o.props=new J(n==null?void 0:n.props),o}return nk(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(N);Z.controlEventKeys=["on_click"],Z.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 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 Zb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lk(e,t,r){return t&&Zb(e.prototype,t),r&&Zb(e,r),e}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(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&&El(e,t)}function yk(e,t){return t&&(_k(t)==="object"||typeof t=="function")?t:fk(e)}function El(e,t){return El=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},El(e,t)}var _k=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pk(e){var t=vk();return function(){var n=Sr(e),o;if(t){var i=Sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yk(this,o)}}var ie=function(e){sk(r,e);var t=pk(r);function r(n){ak(this,r);var o;return o=t.call(this,n),o.props=new J(n==null?void 0:n.props),o}return lk(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(z),eO={Designer:Z,Runtime:ie,Property:J};function de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}c.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"}(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 Er=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:c.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:c.DATE_LIMIT_TYPE.FILE_IN_TIME,id:ue(8),value:["",""]};de(this,e),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var Ir=function e(t){de(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ue();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};c.LINE_STYLE=void 0,function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"}(c.LINE_STYLE||(c.LINE_STYLE={}));var Il=function e(t){de(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new et((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 et((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 et((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:""},tO=function e(t){de(this,e);var r,n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new Il(a)}))!==null&&o!==void 0?o:[new Il];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:""},Cl=function e(t){de(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ue(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var f;this.fieldList=(f=t==null?void 0:t.fieldList)!==null&&f!==void 0?f:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},Nl=function e(t){de(this,e);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},nO=function e(t){de(this,e);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Nl(t==null?void 0:t.watermark),this.autoRename=new Nl(t==null?void 0:t.autoRename)},rO=480;function zt(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var oO=function e(t){de(this,e);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},iO=function e(t){de(this,e);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function dk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(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:dk(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=Cr(e),o;if(t){var i=Cr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ok(this,o)}}var jl=function(e){bk(r,e);var t=Pk(r);function r(n){hk(this,r);var o;o=t.call(this,n);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:c.LINE_STYLE.SOLID,o}return r}(L);function 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 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 Tk(e,t,r){return t&&uO(e.prototype,t),r&&uO(e,r),e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function $k(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kl(e,t)}function Sk(e,t){return t&&(Ek(t)==="object"||typeof t=="function")?t:Rk(e)}function kl(e,t){return kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kl(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 Ck(e){var t=Ik();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 Sk(this,o)}}var cO=function(e){$k(r,e);var t=Ck(r);function r(n){wk(this,r);var o;return o=t.call(this,n),o.props=new jl(n==null?void 0:n.props),o}return Tk(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(N);cO.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];function Nk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jk(e,t,r){return t&&fO(e.prototype,t),r&&fO(e,r),e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(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&&Al(e,t)}function Ak(e,t){return t&&(Mk(t)==="object"||typeof t=="function")?t:Nk(e)}function Al(e,t){return Al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Al(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 Lk(e){var t=Dk();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 Ak(this,o)}}var Fk=function(e){kk(r,e);var t=Lk(r);function r(n){Bk(this,r);var o;return o=t.call(this,n),o.props=new jl(n==null?void 0:n.props),o}return jk(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(z),aO={Designer:cO,Runtime:Fk,Property:jl};function xk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function sO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ml(e,t)}function zk(e,t){return t&&(Vk(t)==="object"||typeof t=="function")?t:xk(e)}function Ml(e,t){return Ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ml(e,t)}var Vk=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 yO(e){var t=Yk();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 zk(this,o)}}var Gk=function(e){sO(r,e);var t=yO(r);function r(n){lO(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.dataBind={type:"any"},o.config={type:"array"},n.config.includes(c.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")}},message:p.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:p.getMessage("pleaseSelectOneField")}),o}return r}(D),kr=function(e){sO(r,e);var t=yO(r);function r(n){lO(this,r);var o;o=t.call(this,n),o.dataBind=new re(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar,c.TitleConfigEnum.ShowTitle];var u,f;o.caption=(f=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ot==null?void 0:ot.controlName)!==null&&f!==void 0?f:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(L);kr.Rules=Gk;function Hk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uk(e,t,r){return t&&_O(e.prototype,t),r&&_O(e,r),e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function Wk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dl(e,t)}function Kk(e,t){return t&&(Xk(t)==="object"||typeof t=="function")?t:Hk(e)}function Dl(e,t){return Dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dl(e,t)}var Xk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jk(e){var t=Qk();return function(){var n=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kk(this,o)}}var ot=function(e){Wk(r,e);var t=Jk(r);function r(n){qk(this,r);var o;return o=t.call(this,n),o.props=new kr(n==null?void 0:n.props),o}return Uk(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(N);ot.controlFieldType=c.FieldTypes.AUTO_NUMBER,ot.setting=[{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];function Zk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e1(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 t1(e,t,r){return t&&vO(e.prototype,t),r&&vO(e,r),e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(e)}function n1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ll(e,t)}function r1(e,t){return t&&(o1(t)==="object"||typeof t=="function")?t:Zk(e)}function Ll(e,t){return Ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ll(e,t)}var o1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u1(e){var t=i1();return function(){var n=Mr(e),o;if(t){var i=Mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r1(this,o)}}var c1=function(e){n1(r,e);var t=u1(r);function r(n){e1(this,r);var o;return o=t.call(this,n),o.props=new kr(n==null?void 0:n.props),o}return t1(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(z),pO={Designer:ot,Runtime:c1,Property:kr};function f1(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 Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function hO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fl(e,t)}function a1(e,t){return t&&(l1(t)==="object"||typeof t=="function")?t:f1(e)}function Fl(e,t){return Fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fl(e,t)}var l1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function s1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bO(e){var t=s1();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 a1(this,o)}}var y1=function(e){hO(r,e);var t=bO(r);function r(n){dO(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")},o}return r}(D),Lr=function(e){hO(r,e);var t=bO(r);function r(n){dO(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:Vt.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Vt.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}(J);Lr.Rules=y1;function _1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 p1(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 d1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xl(e,t)}function h1(e,t){return t&&(b1(t)==="object"||typeof t=="function")?t:_1(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(e,t)}var b1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g1(e){var t=O1();return function(){var n=Fr(e),o;if(t){var i=Fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h1(this,o)}}var Vt=function(e){d1(r,e);var t=g1(r);function r(n){v1(this,r);var o;return o=t.call(this,n),o.props=new Lr(n==null?void 0:n.props),o}return p1(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}(Z);Vt.controlEventKeys=["on_click","on_click_finish"],Vt.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 m1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 R1(e,t,r){return t&&gO(e.prototype,t),r&&gO(e,r),e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(e)}function w1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zl(e,t)}function T1(e,t){return t&&($1(t)==="object"||typeof t=="function")?t:m1(e)}function zl(e,t){return zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zl(e,t)}var $1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E1(e){var t=S1();return function(){var n=xr(e),o;if(t){var i=xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T1(this,o)}}var I1=function(e){w1(r,e);var t=E1(r);function r(n){P1(this,r);var o;return o=t.call(this,n),o.props=new Lr(n==null?void 0:n.props),o}return R1(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ie),mO={Designer:Vt,Runtime:I1,Property:Lr};function C1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function RO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vl(e,t)}function N1(e,t){return t&&(B1(t)==="object"||typeof t=="function")?t:C1(e)}function Vl(e,t){return Vl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vl(e,t)}var B1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wO(e){var t=j1();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 N1(this,o)}}var k1=function(e){RO(r,e);var t=wO(r);function r(n){PO(this,r);var o;return o=t.call(this,n),o.processKey=[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}],o}return r}(D),Vr=function(e){RO(r,e);var t=wO(r);function r(n){PO(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:Yt.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Yt.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}(J);Vr.Rules=k1;function A1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 D1(e,t,r){return t&&TO(e.prototype,t),r&&TO(e,r),e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function L1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yl(e,t)}function F1(e,t){return t&&(x1(t)==="object"||typeof t=="function")?t:A1(e)}function Yl(e,t){return Yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yl(e,t)}var x1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V1(e){var t=z1();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 F1(this,o)}}var Yt=function(e){L1(r,e);var t=V1(r);function r(n){M1(this,r);var o;return o=t.call(this,n),o.props=new Vr(n==null?void 0:n.props),o}return D1(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}(Z);Yt.controlEventKeys=["on_click","on_click_finish"],Yt.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 Y1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H1(e,t,r){return t&&$O(e.prototype,t),r&&$O(e,r),e}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function 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&&Gl(e,t)}function U1(e,t){return t&&(W1(t)==="object"||typeof t=="function")?t:Y1(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(e,t)}var W1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X1(e){var t=K1();return function(){var n=Gr(e),o;if(t){var i=Gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U1(this,o)}}var Q1=function(e){q1(r,e);var t=X1(r);function r(n){G1(this,r);var o;return o=t.call(this,n),o.props=new Vr(n==null?void 0:n.props),o}return H1(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ie),SO={Designer:Yt,Runtime:Q1,Property:Vr};function J1(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 Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(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&&Hl(e,t)}function tA(e,t){return t&&(nA(t)==="object"||typeof t=="function")?t:J1(e)}function Hl(e,t){return Hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hl(e,t)}var nA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oA(e){var t=rA();return function(){var n=Hr(e),o;if(t){var i=Hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tA(this,o)}}var ql=function(e){eA(r,e);var t=oA(r);function r(n){Z1(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Gt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Gt.controlIcon,o}return r}(J);function iA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cA(e,t,r){return t&&EO(e.prototype,t),r&&EO(e,r),e}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(e)}function fA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ul(e,t)}function aA(e,t){return t&&(lA(t)==="object"||typeof t=="function")?t:iA(e)}function Ul(e,t){return Ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ul(e,t)}var lA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yA(e){var t=sA();return function(){var n=qr(e),o;if(t){var i=qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aA(this,o)}}var Gt=function(e){fA(r,e);var t=yA(r);function r(n){uA(this,r);var o;return o=t.call(this,n),o.props=new ql(n==null?void 0:n.props),o}return cA(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}(Z);Gt.controlEventKeys=["on_click"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];function _A(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pA(e,t,r){return t&&IO(e.prototype,t),r&&IO(e,r),e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function dA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wl(e,t)}function hA(e,t){return t&&(bA(t)==="object"||typeof t=="function")?t:_A(e)}function Wl(e,t){return Wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wl(e,t)}var bA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gA(e){var t=OA();return function(){var n=Ur(e),o;if(t){var i=Ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hA(this,o)}}var mA=function(e){dA(r,e);var t=gA(r);function r(n){vA(this,r);var o;return o=t.call(this,n),o.props=new ql(n==null?void 0:n.props),o}return pA(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ie),CO={Designer:Gt,Runtime:mA,Property:ql};function PA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function wA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kl(e,t)}function TA(e,t){return t&&($A(t)==="object"||typeof t=="function")?t:PA(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(e,t)}var $A=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EA(e){var t=SA();return function(){var n=Wr(e),o;if(t){var i=Wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TA(this,o)}}var Xl=function(e){wA(r,e);var t=EA(r);function r(n){RA(this,r);var o,i;o=t.call(this,n);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ht.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Ht.controlName;var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(l){return new Cl(l)}))!==null&&a!==void 0?a:[new Cl({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(J);function IA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NA(e,t,r){return t&&NO(e.prototype,t),r&&NO(e,r),e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(e)}function BA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ql(e,t)}function jA(e,t){return t&&(kA(t)==="object"||typeof t=="function")?t:IA(e)}function Ql(e,t){return Ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ql(e,t)}var kA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MA(e){var t=AA();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 jA(this,o)}}var Ht=function(e){BA(r,e);var t=MA(r);function r(n){CA(this,r);var o;return o=t.call(this,n),o.props=new Xl(n==null?void 0:n.props),o}return NA(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}(Z);Ht.controlEventKeys=["on_click","on_click_finish"],Ht.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];function DA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 FA(e,t,r){return t&&BO(e.prototype,t),r&&BO(e,r),e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xr(e)}function xA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zA(e,t){return t&&(VA(t)==="object"||typeof t=="function")?t:DA(e)}function Jl(e,t){return Jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jl(e,t)}var VA=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 GA(e){var t=YA();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 zA(this,o)}}var HA=function(e){xA(r,e);var t=GA(r);function r(n){LA(this,r);var o;return o=t.call(this,n),o.props=new Xl(n==null?void 0:n.props),o}return FA(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ie),jO={Designer:Ht,Runtime:HA,Property:Xl};function qA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function WA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zl(e,t)}function KA(e,t){return t&&(XA(t)==="object"||typeof t=="function")?t:qA(e)}function Zl(e,t){return Zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zl(e,t)}var XA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JA(e){var t=QA();return function(){var n=Qr(e),o;if(t){var i=Qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KA(this,o)}}var es=function(e){WA(r,e);var t=JA(r);function r(n){UA(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:qt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:qt.controlIcon,o}return r}(J);function ZA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t3(e,t,r){return t&&kO(e.prototype,t),r&&kO(e,r),e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(e)}function n3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ts(e,t)}function r3(e,t){return t&&(o3(t)==="object"||typeof t=="function")?t:ZA(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ts(e,t)}var o3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u3(e){var t=i3();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 r3(this,o)}}var qt=function(e){n3(r,e);var t=u3(r);function r(n){e3(this,r);var o;return o=t.call(this,n),o.props=new es(n==null?void 0:n.props),o}return t3(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}(Z);qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];function c3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f3(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 a3(e,t,r){return t&&AO(e.prototype,t),r&&AO(e,r),e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(e)}function l3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s3(e,t){return t&&(y3(t)==="object"||typeof t=="function")?t:c3(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ns(e,t)}var y3=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 v3(e){var t=_3();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 s3(this,o)}}var p3=function(e){l3(r,e);var t=v3(r);function r(n){f3(this,r);var o;return o=t.call(this,n),o.props=new es(n==null?void 0:n.props),o}return a3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ie),MO={Designer:qt,Runtime:p3,Property:es};function d3(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 eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eo(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&&rs(e,t)}function b3(e,t){return t&&(O3(t)==="object"||typeof t=="function")?t:d3(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rs(e,t)}var O3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m3(e){var t=g3();return function(){var n=eo(e),o;if(t){var i=eo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b3(this,o)}}var P3=function e(t){DO(this,e),this.dataCode=t.dataCode},os=function(e){h3(r,e);var t=m3(r);function r(n){DO(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:Ut.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Ut.controlIcon;var a;return o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new P3(l)}))!==null&&a!==void 0?a:[],o}return r}(J);function R3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 T3(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function $3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function S3(e,t){return t&&(E3(t)==="object"||typeof t=="function")?t:R3(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}var E3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=I3();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 S3(this,o)}}var Ut=function(e){$3(r,e);var t=C3(r);function r(n){w3(this,r);var o;return o=t.call(this,n),o.props=new os(n==null?void 0:n.props),o}return T3(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}(Z);Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];function N3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j3(e,t,r){return t&&FO(e.prototype,t),r&&FO(e,r),e}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},no(e)}function k3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&us(e,t)}function A3(e,t){return t&&(M3(t)==="object"||typeof t=="function")?t:N3(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(e,t)}var M3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L3(e){var t=D3();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 A3(this,o)}}var F3=function(e){k3(r,e);var t=L3(r);function r(n){B3(this,r);var o;return o=t.call(this,n),o.props=new os(n==null?void 0:n.props),o}return j3(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ie),xO={Designer:Ut,Runtime:F3,Property:os};function ro(){return{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:p.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 zO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function VO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function YO(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){z3(e,o,r[o])})}return e}function V3(e,t){return t&&(Y3(t)==="object"||typeof t=="function")?t:x3(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var Y3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GO(e){var t=G3();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 V3(this,o)}}var H3=function(e){VO(r,e);var t=GO(r);function r(n){zO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:YO({},ro())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:YO({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},ro())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return r}(D),io=function(e){VO(r,e);var t=GO(r);function r(n){zO(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Wt.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Wt.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new Gn(n==null?void 0:n.fillPayload),o.formBind=new Lh(n==null?void 0:n.formBind),o.fillBack=new Ea(n==null?void 0:n.fillBack),o}return r}(J);io.Rules=H3;function q3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W3(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(e)}function K3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function X3(e,t){return t&&(Q3(t)==="object"||typeof t=="function")?t:q3(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(e,t)}var Q3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z3(e){var t=J3();return function(){var n=uo(e),o;if(t){var i=uo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X3(this,o)}}var Wt=function(e){K3(r,e);var t=Z3(r);function r(n){U3(this,r);var o;return o=t.call(this,n),o.props=new io(n==null?void 0:n.props),o}return W3(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}(Z);Wt.controlEventKeys=["on_click","on_click_finish"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function eM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nM(e,t,r){return t&&qO(e.prototype,t),r&&qO(e,r),e}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},co(e)}function rM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}function oM(e,t){return t&&(iM(t)==="object"||typeof t=="function")?t:eM(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var iM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cM(e){var t=uM();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 oM(this,o)}}var fM=function(e){rM(r,e);var t=cM(r);function r(n){tM(this,r);var o;return o=t.call(this,n),o.props=new io(n==null?void 0:n.props),o}return nM(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ie),UO={Designer:Wt,Runtime:fM,Property:io};function aM(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 lM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(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 XO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){lM(e,o,r[o])})}return e}function sM(e,t){return t&&(yM(t)==="object"||typeof t=="function")?t:aM(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var yM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _M(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QO(e){var t=_M();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 sM(this,o)}}var vM=function(e){KO(r,e);var t=QO(r);function r(n){WO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:XO({},ro())},o.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}},o.fillBack={type:"object",fields:XO({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},ro())},o}return r}(D),ao=function(e){KO(r,e);var t=QO(r);function r(n){WO(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Kt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Kt.controlIcon,o.fillPayload=new Gn(n==null?void 0:n.fillPayload),o.listPageBind=new wa(n==null?void 0:n.listPageBind),o.fillBack=new Ea(n==null?void 0:n.fillBack),o}return r}(J);ao.Rules=vM;function pM(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 JO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hM(e,t,r){return t&&JO(e.prototype,t),r&&JO(e,r),e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(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&&ss(e,t)}function OM(e,t){return t&&(gM(t)==="object"||typeof t=="function")?t:pM(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var gM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PM(e){var t=mM();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 OM(this,o)}}var Kt=function(e){bM(r,e);var t=PM(r);function r(n){dM(this,r);var o;return o=t.call(this,n),o.props=new ao(n==null?void 0:n.props),o}return hM(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}(Z);Kt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function RM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TM(e,t,r){return t&&ZO(e.prototype,t),r&&ZO(e,r),e}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},so(e)}function $M(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ys(e,t)}function SM(e,t){return t&&(EM(t)==="object"||typeof t=="function")?t:RM(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(e,t)}var EM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CM(e){var t=IM();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 SM(this,o)}}var NM=function(e){$M(r,e);var t=CM(r);function r(n){wM(this,r);var o;return o=t.call(this,n),o.props=new ao(n==null?void 0:n.props),o}return TM(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ie),eg={Designer:Kt,Runtime:NM,Property:ao};function BM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yo(e)}function vs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jM(e,t){return t&&(kM(t)==="object"||typeof t=="function")?t:BM(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var kM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ds(e){var t=AM();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 jM(this,o)}}var MM=function(e){vs(r,e);var t=ds(r);function r(n){return _s(this,r),t.call(this,n)}return r}(D),DM=function(e){vs(r,e);var t=ds(r);function r(n){return _s(this,r),t.call(this,n)}return r}(be),Xt=function(e){vs(r,e);var t=ds(r);function r(n){return _s(this,r),t.call(this,n)}return r}(L);Xt.Rules=MM,Xt.RuntimeRules=DM;function LM(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 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 xM(e,t,r){return t&&tg(e.prototype,t),r&&tg(e,r),e}function _o(e){return _o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_o(e)}function 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&&hs(e,t)}function VM(e,t){return t&&(YM(t)==="object"||typeof t=="function")?t:LM(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hs(e,t)}var YM=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 HM(e){var t=GM();return function(){var n=_o(e),o;if(t){var i=_o(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VM(this,o)}}var ng=function(e){zM(r,e);var t=HM(r);function r(n){FM(this,r);var o;return o=t.call(this,n),o.props=new Xt(n==null?void 0:n.props),o}return xM(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(N);ng.setting=[];function qM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 WM(e,t,r){return t&&rg(e.prototype,t),r&&rg(e,r),e}function vo(e){return vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vo(e)}function KM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function XM(e,t){return t&&(QM(t)==="object"||typeof t=="function")?t:qM(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(e,t)}var QM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZM(e){var t=JM();return function(){var n=vo(e),o;if(t){var i=vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XM(this,o)}}var e2=function(e){KM(r,e);var t=ZM(r);function r(n){UM(this,r);var o;return o=t.call(this,n),o.props=new Xt(n==null?void 0:n.props),o}return WM(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(z),og={Designer:ng,Runtime:e2,Property:Xt};function t2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ig(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(e)}function ug(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Os(e,t)}function n2(e,t){return t&&(r2(t)==="object"||typeof t=="function")?t:t2(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var r2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cg(e){var t=o2();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 n2(this,o)}}var i2=function(e){ug(r,e);var t=cg(r);function r(n){ig(this,r);var o;return o=t.call(this,n),o.dashboardKey={type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")},o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(D),ho=function(e){ug(r,e);var t=cg(r);function r(n){ig(this,r);var o;o=t.call(this,n);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(L);ho.Rules=i2;function u2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f2(e,t,r){return t&&fg(e.prototype,t),r&&fg(e,r),e}function bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bo(e)}function a2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gs(e,t)}function l2(e,t){return t&&(s2(t)==="object"||typeof t=="function")?t:u2(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(e,t)}var s2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _2(e){var t=y2();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 l2(this,o)}}var ag=function(e){a2(r,e);var t=_2(r);function r(n){c2(this,r);var o;return o=t.call(this,n),o.props=new ho(n==null?void 0:n.props),o}return f2(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(N);ag.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 v2(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 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 d2(e,t,r){return t&&lg(e.prototype,t),r&&lg(e,r),e}function Oo(e){return Oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oo(e)}function h2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b2(e,t){return t&&(O2(t)==="object"||typeof t=="function")?t:v2(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}var O2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m2(e){var t=g2();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 b2(this,o)}}var P2=function(e){h2(r,e);var t=m2(r);function r(n){p2(this,r);var o;return o=t.call(this,n),o.props=new ho(n==null?void 0:n.props),o}return d2(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(z),sg={Designer:ag,Runtime:P2,Property:ho};function R2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},go(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&&Ps(e,t)}function w2(e,t){return t&&(T2(t)==="object"||typeof t=="function")?t:R2(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(e,t)}var T2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vg(e){var t=$2();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 w2(this,o)}}var S2=function(e){_g(r,e);var t=vg(r);function r(n){yg(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:p.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}},o}return r}(D),mo=function(e){_g(r,e);var t=vg(r);function r(n){yg(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 rb(a)}))!==null&&f!==void 0?f:[],o}return r}(L);mo.Rules=S2;function E2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C2(e,t,r){return t&&pg(e.prototype,t),r&&pg(e,r),e}function Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Po(e)}function N2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rs(e,t)}function B2(e,t){return t&&(j2(t)==="object"||typeof t=="function")?t:E2(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(e,t)}var j2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A2(e){var t=k2();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 B2(this,o)}}var dg=function(e){N2(r,e);var t=A2(r);function r(n){I2(this,r);var o;return o=t.call(this,n),o.props=new mo(n==null?void 0:n.props),o}return C2(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}(N);dg.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function M2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L2(e,t,r){return t&&hg(e.prototype,t),r&&hg(e,r),e}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function F2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function x2(e,t){return t&&(z2(t)==="object"||typeof t=="function")?t:M2(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ws(e,t)}var z2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y2(e){var t=V2();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 x2(this,o)}}var G2=function(e){F2(r,e);var t=Y2(r);function r(n){D2(this,r);var o;return o=t.call(this,n),o.props=new mo(n==null?void 0:n.props),o}return L2(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(z),bg={Designer:dg,Runtime:G2,Property:mo};function H2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(e)}function gg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ts(e,t)}function q2(e,t){return t&&(U2(t)==="object"||typeof t=="function")?t:H2(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(e,t)}var U2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mg(e){var t=W2();return function(){var n=wo(e),o;if(t){var i=wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q2(this,o)}}var K2=function(e){gg(r,e);var t=mg(r);function r(n){Og(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.ocrType={type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")},o.fillList={type:"array",validator:function(u,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(D),To=function(e){gg(r,e);var t=mg(r);function r(n){Og(this,r);var o,i;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:it.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:it.controlName;var _;o.icon=(_=n==null?void 0:n.icon)!==null&&_!==void 0?_:it.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var b;return o.fillList=(b=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new ee(h)}))!==null&&b!==void 0?b:[],o}return r}(J);To.Rules=K2;function X2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function J2(e,t,r){return t&&Pg(e.prototype,t),r&&Pg(e,r),e}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(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&&$s(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:X2(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$s(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 it=function(e){Z2(r,e);var t=rD(r);function r(n){Q2(this,r);var o;return o=t.call(this,n),o.props=new To(n==null?void 0:n.props),o}return J2(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}(Z);it.controlEventKeys=["on_click","on_click_finish"],it.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function 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 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 uD(e,t,r){return t&&Rg(e.prototype,t),r&&Rg(e,r),e}function So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},So(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&&Ss(e,t)}function fD(e,t){return t&&(aD(t)==="object"||typeof t=="function")?t:oD(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(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=So(e),o;if(t){var i=So(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 To(n==null?void 0:n.props),o}return uD(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ie),wg={Designer:it,Runtime:yD,Property:To};function _D(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(e)}function $g(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function vD(e,t){return t&&(pD(t)==="object"||typeof t=="function")?t:_D(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Es(e,t)}var pD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sg(e){var t=dD();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 vD(this,o)}}var hD=function(e){$g(r,e);var t=Sg(r);function r(n){Tg(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.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(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(D),Io=function(e){$g(r,e);var t=Sg(r);function r(n){Tg(this,r);var o,i;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ut.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:ut.controlName;var _;o.icon=(_=n==null?void 0:n.icon)!==null&&_!==void 0?_:ut.controlIcon;var d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var b;return o.fillList=(b=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new ee(h)}))!==null&&b!==void 0?b:[],o}return r}(J);Io.Rules=hD;function bD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gD(e,t,r){return t&&Eg(e.prototype,t),r&&Eg(e,r),e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Co(e)}function mD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}function PD(e,t){return t&&(RD(t)==="object"||typeof t=="function")?t:bD(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Is(e,t)}var RD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TD(e){var t=wD();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 PD(this,o)}}var ut=function(e){mD(r,e);var t=TD(r);function r(n){OD(this,r);var o;return o=t.call(this,n),o.props=new Io(n==null?void 0:n.props),o}return gD(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}(Z);ut.controlEventKeys=["on_click","on_click_finish"],ut.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function $D(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ig(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ED(e,t,r){return t&&Ig(e.prototype,t),r&&Ig(e,r),e}function No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(e)}function ID(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function CD(e,t){return t&&(ND(t)==="object"||typeof t=="function")?t:$D(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}var ND=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 jD(e){var t=BD();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 CD(this,o)}}var kD=function(e){ID(r,e);var t=jD(r);function r(n){SD(this,r);var o;return o=t.call(this,n),o.props=new Io(n==null?void 0:n.props),o}return ED(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ie),Cg={Designer:ut,Runtime:kD,Property:Io};function AD(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 Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(e)}function Bg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}function MD(e,t){return t&&(DD(t)==="object"||typeof t=="function")?t:AD(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}var DD=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 jg(e){var t=LD();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 MD(this,o)}}var FD=function(e){Bg(r,e);var t=jg(r);function r(){Ng(this,r);var n;return n=t.apply(this,arguments),n.printTemplates={type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")},n}return r}(D),jo=function(e){Bg(r,e);var t=jg(r);function r(n){Ng(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:Qt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Qt.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new oO(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}(J);jo.Rules=FD;function xD(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 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 VD(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),e}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(e)}function YD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function GD(e,t){return t&&(HD(t)==="object"||typeof t=="function")?t:xD(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}var HD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UD(e){var t=qD();return function(){var n=ko(e),o;if(t){var i=ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GD(this,o)}}var Qt=function(e){YD(r,e);var t=UD(r);function r(n){zD(this,r);var o;return o=t.call(this,n),o.props=new jo(n==null?void 0:n.props),o}return VD(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}(Z);Qt.controlEventKeys=["on_click","on_click_finish"],Qt.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 WD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XD(e,t,r){return t&&Ag(e.prototype,t),r&&Ag(e,r),e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(e)}function QD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&js(e,t)}function JD(e,t){return t&&(ZD(t)==="object"||typeof t=="function")?t:WD(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(e,t)}var ZD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tL(e){var t=eL();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 JD(this,o)}}var nL=function(e){QD(r,e);var t=tL(r);function r(n){KD(this,r);var o;return o=t.call(this,n),o.props=new jo(n==null?void 0:n.props),o}return XD(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ie),Mg={Designer:Qt,Runtime:nL,Property:jo};function rL(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 Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(e)}function iL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ks(e,t)}function uL(e,t){return t&&(cL(t)==="object"||typeof t=="function")?t:rL(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}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=Mo(e),o;if(t){var i=Mo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uL(this,o)}}var As=function(e){iL(r,e);var t=aL(r);function r(n){oL(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:Jt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Jt.controlIcon,o}return r}(J);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 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 yL(e,t,r){return t&&Dg(e.prototype,t),r&&Dg(e,r),e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(e)}function _L(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function vL(e,t){return t&&(pL(t)==="object"||typeof t=="function")?t:lL(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}var pL=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 hL(e){var t=dL();return function(){var n=Do(e),o;if(t){var i=Do(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vL(this,o)}}var Jt=function(e){_L(r,e);var t=hL(r);function r(n){sL(this,r);var o;return o=t.call(this,n),o.props=new As(n==null?void 0:n.props),o}return yL(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}(Z);Jt.controlEventKeys=["on_click"],Jt.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 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 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 gL(e,t,r){return t&&Lg(e.prototype,t),r&&Lg(e,r),e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(e)}function mL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ds(e,t)}function PL(e,t){return t&&(RL(t)==="object"||typeof t=="function")?t:bL(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var RL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TL(e){var t=wL();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 PL(this,o)}}var $L=function(e){mL(r,e);var t=TL(r);function r(n){OL(this,r);var o;return o=t.call(this,n),o.props=new As(n==null?void 0:n.props),o}return gL(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ie),Fg={Designer:Jt,Runtime:$L,Property:As};function SL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(e)}function zg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ls(e,t)}function EL(e,t){return t&&(IL(t)==="object"||typeof t=="function")?t:SL(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}var IL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vg(e){var t=CL();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 EL(this,o)}}var NL=function(e){zg(r,e);var t=Vg(r);function r(n){xg(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!1},(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return r}(D),xo=function(e){zg(r,e);var t=Vg(r);function r(n){xg(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return r}(L);xo.Rules=NL;function BL(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 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 kL(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 AL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fs(e,t)}function ML(e,t){return t&&(DL(t)==="object"||typeof t=="function")?t:BL(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}var DL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FL(e){var t=LL();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 ML(this,o)}}var Vo=function(e){AL(r,e);var t=FL(r);function r(n){jL(this,r);var o;return o=t.call(this,n),o.props=new xo(n==null?void 0:n.props),o}return kL(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(N);Vo.controlEventKeys=["on_click"],Vo.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 xL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 VL(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function YL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xs(e,t)}function GL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:xL(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(e,t)}var HL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UL(e){var t=qL();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 GL(this,o)}}var WL=function(e){YL(r,e);var t=UL(r);function r(n){zL(this,r);var o;return o=t.call(this,n),o.props=new xo(n==null?void 0:n.props),o}return VL(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(z),Zt={Designer:Vo,Runtime:WL,Property:xo};function KL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function QL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zs(e,t)}function JL(e,t){return t&&(ZL(t)==="object"||typeof t=="function")?t:KL(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zs(e,t)}var ZL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tF(e){var t=eF();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 JL(this,o)}}var Vs=function(e){QL(r,e);var t=tF(r);function r(n){XL(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:en.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:en.controlIcon;var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return r}(L);function nF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oF(e,t,r){return t&&Hg(e.prototype,t),r&&Hg(e,r),e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(e)}function iF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ys(e,t)}function uF(e,t){return t&&(cF(t)==="object"||typeof t=="function")?t:nF(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}var cF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aF(e){var t=fF();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 uF(this,o)}}var en=function(e){iF(r,e);var t=aF(r);function r(n){rF(this,r);var o;return o=t.call(this,n),o.props=new Vs(n==null?void 0:n.props),o}return oF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(N);en.controlEventKeys=["on_click"],en.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 lF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yF(e,t,r){return t&&qg(e.prototype,t),r&&qg(e,r),e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(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&&Gs(e,t)}function vF(e,t){return t&&(pF(t)==="object"||typeof t=="function")?t:lF(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}var pF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hF(e){var t=dF();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 vF(this,o)}}var bF=function(e){_F(r,e);var t=hF(r);function r(n){sF(this,r);var o;return o=t.call(this,n),o.props=new Vs(n==null?void 0:n.props),o}return yF(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(z),Ug={Designer:en,Runtime:bF,Property:Vs},OF=Object.freeze({__proto__:null,Text:Wb,Link:Qb,Button:eO,Divider:aO,Title:pO,CreateFormListButton:mO,BatchSubmissionListButton:SO,SubmissionRecordListButton:CO,ExportListButton:jO,ExportRecordListButton:MO,ImportRecordListButton:xO,FormSelectButton:UO,ListSelectButton:eg,Pagination:og,Dashboard:sg,ListViewSelect:bg,TextOcrButton:wg,InvoiceCheckButton:Cg,BatchPrintListButton:Mg,BatchPrintRecordListButton:Fg,OperationButton:Zt,BatchDeleteButton:Ug});function gF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(e)}function qs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function mF(e,t){return t&&(PF(t)==="object"||typeof t=="function")?t:gF(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}var PF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ws(e){var t=RF();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 mF(this,o)}}var wF=function(e){qs(r,e);var t=Ws(r);function r(n){Hs(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue=[{type:"string",max:200,min:0,message:p.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=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=zt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(K),TF=function(e){qs(r,e);var t=Ws(r);function r(n){Hs(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:zt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(j),ct=function(e){qs(r,e);var t=Ws(r);function r(n){Hs(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 Ia(n==null?void 0:n.regularRules);var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ft.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(E);ct.Rules=wF,ct.RuntimeRules=TF;function $F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EF(e,t,r){return t&&Wg(e.prototype,t),r&&Wg(e,r),e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(e)}function IF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function CF(e,t){return t&&(NF(t)==="object"||typeof t=="function")?t:$F(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ks(e,t)}var NF=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 jF(e){var t=BF();return function(){var n=Wo(e),o;if(t){var i=Wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CF(this,o)}}var ft=function(e){IF(r,e);var t=jF(r);function r(n){SF(this,r);var o;return o=t.call(this,n),o.props=new ct(n==null?void 0:n.props),o}return EF(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);ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ft.controlFieldType=c.FieldTypes.VARCHAR,ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];function kF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 MF(e,t,r){return t&&Kg(e.prototype,t),r&&Kg(e,r),e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function DF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function LF(e,t){return t&&(FF(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 FF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zF(e){var t=xF();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 LF(this,o)}}var Xg=function(e){DF(r,e);var t=zF(r);function r(n){AF(this,r);var o;return o=t.call(this,n),o.props=new ct(n==null?void 0:n.props),o}return MF(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(C);Xg.controlFieldType=c.FieldTypes.VARCHAR;var Qg={Designer:ft,Runtime:Xg,Property:ct};function VF(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 Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(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 YF(e,t){return t&&(GF(t)==="object"||typeof t=="function")?t:VF(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}var GF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ey(e){var t=HF();return function(){var n=Xo(e),o;if(t){var i=Xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YF(this,o)}}var qF=function(e){Js(r,e);var t=ey(r);function r(n){Qs(this,r);var o;o=t.call(this,n),o.limitMax={type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")};var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=u(n.limitMin),o}return r}(Ne),UF=function(e){Js(r,e);var t=ey(r);function r(n){Qs(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(j),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.options=le((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom";var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new Y(n==null?void 0:n.datasourceBind);var _;o.interreaction=(_=n==null?void 0:n.interreaction)!==null&&_!==void 0?_:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:nn.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var h;o.optionsFormat=(h=n==null?void 0:n.optionsFormat)!==null&&h!==void 0?h:"horizontal";var g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var R;(R=o.multistageFilling)===null||R===void 0||R.push(new ee(O))})),o}return r}(E);tn.Rules=qF,tn.RuntimeRules=UF;function WF(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 Jg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XF(e,t,r){return t&&Jg(e.prototype,t),r&&Jg(e,r),e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function QF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JF(e,t){return t&&(ZF(t)==="object"||typeof t=="function")?t:WF(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var ZF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t4(e){var t=e4();return function(){var n=Qo(e),o;if(t){var i=Qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JF(this,o)}}var nn=function(e){QF(r,e);var t=t4(r);function r(n){KF(this,r);var o;return o=t.call(this,n),o.props=new tn(n==null?void 0:n.props),o}return XF(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(I);nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=c.FieldTypes.ARRAY,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:"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 n4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 o4(e,t,r){return t&&Zg(e.prototype,t),r&&Zg(e,r),e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function i4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function u4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:n4(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var c4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a4(e){var t=f4();return function(){var n=Jo(e),o;if(t){var i=Jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u4(this,o)}}var em=function(e){i4(r,e);var t=a4(r);function r(n){r4(this,r);var o;return o=t.call(this,n),o.props=new tn(n==null?void 0:n.props),o}return o4(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(C);em.controlFieldType=c.FieldTypes.ARRAY;var tm={Designer:nn,Runtime:em,Property:tn};function l4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function rm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function s4(e,t){return t&&(y4(t)==="object"||typeof t=="function")?t:l4(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var y4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function om(e){var t=_4();return function(){var n=Zo(e),o;if(t){var i=Zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s4(this,o)}}var v4=function(e){rm(r,e);var t=om(r);function r(n){return nm(this,r),t.call(this,n)}return r}(Ne),ei=function(e){rm(r,e);var t=om(r);function r(n){nm(this,r);var o;o=t.call(this,n);var i;o.options=le((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom";var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new Y(n==null?void 0:n.datasourceBind);var _;o.interreaction=(_=n==null?void 0:n.interreaction)!==null&&_!==void 0?_:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:rn.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ee(g))})),o}return r}(E);ei.Rules=v4;function p4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function im(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h4(e,t,r){return t&&im(e.prototype,t),r&&im(e,r),e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(e)}function b4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function O4(e,t){return t&&(g4(t)==="object"||typeof t=="function")?t:p4(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}var g4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P4(e){var t=m4();return function(){var n=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O4(this,o)}}var rn=function(e){b4(r,e);var t=P4(r);function r(n){d4(this,r);var o;return o=t.call(this,n),o.props=new ei(n==null?void 0:n.props),o}return h4(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(I);rn.controlEventKeys=["on_change","on_click"],rn.controlFieldType=c.FieldTypes.VARCHAR,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 R4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function um(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T4(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function $4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function S4(e,t){return t&&(E4(t)==="object"||typeof t=="function")?t:R4(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}var E4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C4(e){var t=I4();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 S4(this,o)}}var cm=function(e){$4(r,e);var t=C4(r);function r(n){w4(this,r);var o;return o=t.call(this,n),o.props=new ei(n==null?void 0:n.props),o}return T4(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(C);cm.controlFieldType=c.FieldTypes.VARCHAR;var fm={Designer:rn,Runtime:cm,Property:ei};function N4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uy(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 cy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function B4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:N4(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}var j4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ay(e){var t=k4();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 B4(this,o)}}var A4=function(e){cy(r,e);var t=ay(r);function r(n){uy(this,r);var o;o=t.call(this,n),o.defaultValue=[{type:"number",min:0,max:200,message:p.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=p.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=zt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(K),M4=function(e){cy(r,e);var t=ay(r);function r(n){uy(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:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:zt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(j),on=function(e){cy(r,e);var t=ay(r);function r(n){uy(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 _;o.isShowUnit=(_=n==null?void 0:n.isShowUnit)!==null&&_!==void 0?_:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:un.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new Ia(n==null?void 0:n.regularRules),o}return r}(E);on.Rules=A4,on.RuntimeRules=M4;function D4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L4(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 F4(e,t,r){return t&&am(e.prototype,t),r&&am(e,r),e}function oi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?oi=Reflect.get:oi=function(o,i,u){var f=V4(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},oi(e,t,r||e)}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function x4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function z4(e,t){return t&&(Y4(t)==="object"||typeof t=="function")?t:D4(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}function V4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=at(e),e!==null););return e}var Y4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H4(e){var t=G4();return function(){var n=at(e),o;if(t){var i=at(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z4(this,o)}}var un=function(e){x4(r,e);var t=H4(r);function r(o){L4(this,r);var i;return i=t.call(this,o),i.props=new on(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=oi(at(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},F4(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(I);un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=c.FieldTypes.DECIMAL,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 q4(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 lm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W4(e,t,r){return t&&lm(e.prototype,t),r&&lm(e,r),e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(e)}function K4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function X4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:q4(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}var Q4=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 Z4(e){var t=J4();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 X4(this,o)}}var sm=function(e){K4(r,e);var t=Z4(r);function r(n){U4(this,r);var o;return o=t.call(this,n),o.props=new on(n==null?void 0:n.props),o}return W4(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(C);sm.controlFieldType=c.FieldTypes.DECIMAL;var ym={Designer:un,Runtime:sm,Property:on};function e5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function n5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yy(e,t)}function r5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:e5(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}var o5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u5(e){var t=i5();return function(){var n=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r5(this,o)}}var _y=function(e){n5(r,e);var t=u5(r);function r(n){t5(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:fi.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 Er(b)}))!==null&&y!==void 0?y:[];var _;o.allowDateRange=(_=n==null?void 0:n.allowDateRange)!==null&&_!==void 0?_:["",""];var d;return o.filterWeekend=(d=n==null?void 0:n.filterWeekend)!==null&&d!==void 0?d:!1,o}return r}(E);function c5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a5(e,t,r){return t&&_m(e.prototype,t),r&&_m(e,r),e}function ci(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ci=Reflect.get:ci=function(o,i,u){var f=y5(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},ci(e,t,r||e)}function lt(e){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lt(e)}function l5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function s5(e,t){return t&&(_5(t)==="object"||typeof t=="function")?t:c5(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}function y5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=lt(e),e!==null););return e}var _5=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 p5(e){var t=v5();return function(){var n=lt(e),o;if(t){var i=lt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s5(this,o)}}var fi=function(e){l5(r,e);var t=p5(r);function r(o){f5(this,r);var i;return i=t.call(this,o),i.props=new _y(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=ci(lt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},a5(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(I);fi.controlFieldType=c.FieldTypes.TIMESTAMP,fi.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 d5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 b5(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(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&&py(e,t)}function g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:d5(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}var m5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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=ai(e),o;if(t){var i=ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g5(this,o)}}var pm=function(e){O5(r,e);var t=R5(r);function r(n){h5(this,r);var o;return o=t.call(this,n),o.props=new _y(n==null?void 0:n.props),o}return b5(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(C);pm.controlFieldType=c.FieldTypes.TIMESTAMP;var dm={Designer:fi,Runtime:pm,Property:_y};function w5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(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&&dy(e,t)}function T5(e,t){return t&&($5(t)==="object"||typeof t=="function")?t:w5(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}var $5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Om(e){var t=S5();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 T5(this,o)}}var E5=function(e){bm(r,e);var t=Om(r);function r(n){hm(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(j),si=function(e){bm(r,e);var t=Om(r);function r(n){hm(this,r);var o,i;o=t.call(this,n),o.dataBind=new Jh(n==null?void 0:n.dataBind),o.defaultValue=new Zh(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 _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:_i.controlName;var d;return o.limitDateList=(d=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new Er(b)}))!==null&&d!==void 0?d:[],o}return r}(E);si.RuntimeRules=E5;function I5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C5(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 N5(e,t,r){return t&&gm(e.prototype,t),r&&gm(e,r),e}function yi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yi=Reflect.get:yi=function(o,i,u){var f=k5(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},yi(e,t,r||e)}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(e)}function B5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 j5(e,t){return t&&(A5(t)==="object"||typeof t=="function")?t:I5(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}function k5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=st(e),e!==null););return e}var A5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D5(e){var t=M5();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 j5(this,o)}}var _i=function(e){B5(r,e);var t=D5(r);function r(o){C5(this,r);var i;return i=t.call(this,o),i.props=new si(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=yi(st(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},N5(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);_i.controlFieldType=c.FieldTypes.TIMESCOPE,_i.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 L5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F5(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 x5(e,t,r){return t&&mm(e.prototype,t),r&&mm(e,r),e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(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&&by(e,t)}function V5(e,t){return t&&(Y5(t)==="object"||typeof t=="function")?t:L5(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}var Y5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H5(e){var t=G5();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 V5(this,o)}}var Pm=function(e){z5(r,e);var t=H5(r);function r(n){F5(this,r);var o;return o=t.call(this,n),o.props=new si(n==null?void 0:n.props),o}return x5(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(C);Pm.controlFieldType=c.FieldTypes.TIMESCOPE;var Rm={Designer:_i,Runtime:Pm,Property:si};function q5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function gy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function U5(e,t){return t&&(W5(t)==="object"||typeof t=="function")?t:q5(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}var W5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Py(e){var t=K5();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 U5(this,o)}}var X5=function(e){gy(r,e);var t=Py(r);function r(n){Oy(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:p.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=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(K),Q5=function(e){gy(r,e);var t=Py(r);function r(n){Oy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(j),cn=function(e){gy(r,e);var t=Py(r);function r(n){Oy(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:fn.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;return o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:4,o}return r}(E);cn.Rules=X5,cn.RuntimeRules=Q5;function J5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 e6(e,t,r){return t&&wm(e.prototype,t),r&&wm(e,r),e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function t6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 n6(e,t){return t&&(r6(t)==="object"||typeof t=="function")?t:J5(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}var r6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i6(e){var t=o6();return function(){var n=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n6(this,o)}}var fn=function(e){t6(r,e);var t=i6(r);function r(n){Z5(this,r);var o;return o=t.call(this,n),o.props=new cn(n==null?void 0:n.props),o}return e6(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);fn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fn.controlFieldType=c.FieldTypes.TEXT,fn.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 u6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f6(e,t,r){return t&&Tm(e.prototype,t),r&&Tm(e,r),e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function a6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function l6(e,t){return t&&(s6(t)==="object"||typeof t=="function")?t:u6(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}var s6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _6(e){var t=y6();return function(){var n=hi(e),o;if(t){var i=hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l6(this,o)}}var $m=function(e){a6(r,e);var t=_6(r);function r(n){c6(this,r);var o;return o=t.call(this,n),o.props=new cn(n==null?void 0:n.props),o}return f6(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(C);$m.controlFieldType=c.FieldTypes.TEXT;var Sm={Designer:fn,Runtime:$m,Property:cn};function v6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ty(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function $y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sy(e,t)}function p6(e,t){return t&&(d6(t)==="object"||typeof t=="function")?t:v6(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}var d6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ey(e){var t=h6();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 p6(this,o)}}var b6=function(e){$y(r,e);var t=Ey(r);function r(n){Ty(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:p.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=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(K),O6=function(e){$y(r,e);var t=Ey(r);function r(n){Ty(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(j),an=function(e){$y(r,e);var t=Ey(r);function r(n){Ty(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:ln.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(E);an.Rules=b6,an.RuntimeRules=O6;function g6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 P6(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function R6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function w6(e,t){return t&&(T6(t)==="object"||typeof t=="function")?t:g6(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}var T6=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 S6(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 w6(this,o)}}var ln=function(e){R6(r,e);var t=S6(r);function r(n){m6(this,r);var o;return o=t.call(this,n),o.props=new an(n==null?void 0:n.props),o}return P6(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);ln.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ln.controlFieldType=c.FieldTypes.TEXT,ln.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 E6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Im(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C6(e,t,r){return t&&Im(e.prototype,t),r&&Im(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&&Cy(e,t)}function B6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:E6(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}var j6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A6(e){var t=k6();return function(){var n=gi(e),o;if(t){var i=gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B6(this,o)}}var Cm=function(e){N6(r,e);var t=A6(r);function r(n){I6(this,r);var o;return o=t.call(this,n),o.props=new an(n==null?void 0:n.props),o}return C6(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(C);Cm.controlFieldType=c.FieldTypes.TEXT;var Nm={Designer:ln,Runtime:Cm,Property:an};function M6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function jm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function D6(e,t){return t&&(L6(t)==="object"||typeof t=="function")?t:M6(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}var L6=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 km(e){var t=F6();return function(){var n=mi(e),o;if(t){var i=mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D6(this,o)}}var x6=function(e){jm(r,e);var t=km(r);function r(n){return Bm(this,r),t.call(this,n)}return r}(Ne),Pi=function(e){jm(r,e);var t=km(r);function r(n){Bm(this,r);var o;o=t.call(this,n);var i;o.options=le((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new Y(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:wi.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;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1;var _;return o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(d){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new ee(d))})),o}return r}(E);Pi.Rules=x6;function z6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Am(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y6(e,t,r){return t&&Am(e.prototype,t),r&&Am(e,r),e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function G6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function H6(e,t){return t&&(q6(t)==="object"||typeof t=="function")?t:z6(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}var q6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W6(e){var t=U6();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 H6(this,o)}}var wi=function(e){G6(r,e);var t=W6(r);function r(n){V6(this,r);var o;return o=t.call(this,n),o.props=new Pi(n==null?void 0:n.props),o}return Y6(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);wi.controlFieldType=c.FieldTypes.VARCHAR,wi.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 K6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Q6(e,t,r){return t&&Mm(e.prototype,t),r&&Mm(e,r),e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function J6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jy(e,t)}function Z6(e,t){return t&&(e7(t)==="object"||typeof t=="function")?t:K6(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}var e7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function t7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n7(e){var t=t7();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 Z6(this,o)}}var Dm=function(e){J6(r,e);var t=n7(r);function r(n){X6(this,r);var o;return o=t.call(this,n),o.props=new Pi(n==null?void 0:n.props),o}return Q6(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(C);Dm.controlFieldType=c.FieldTypes.VARCHAR;var Lm={Designer:wi,Runtime:Dm,Property:Pi};function r7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ky(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function Ay(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function o7(e,t){return t&&(i7(t)==="object"||typeof t=="function")?t:r7(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}var i7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dy(e){var t=u7();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 o7(this,o)}}var c7=function(e){Ay(r,e);var t=Dy(r);function r(n){return ky(this,r),t.call(this,n)}return r}(Ne),f7=function(e){Ay(r,e);var t=Dy(r);function r(n){ky(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),sn=function(e){Ay(r,e);var t=Dy(r);function r(n){ky(this,r);var o;o=t.call(this,n);var i;o.options=le((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new Y(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Ei.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.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(_){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new ee(_))})),o}return r}(E);sn.Rules=c7,sn.RuntimeRules=f7;function a7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s7(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(e,r),e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function y7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _7(e,t){return t&&(v7(t)==="object"||typeof t=="function")?t:a7(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var v7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d7(e){var t=p7();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 _7(this,o)}}var Ei=function(e){y7(r,e);var t=d7(r);function r(n){l7(this,r);var o;return o=t.call(this,n),o.props=new sn(n==null?void 0:n.props),o}return s7(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);Ei.controlFieldType=c.FieldTypes.ARRAY,Ei.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 h7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b7(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 O7(e,t,r){return t&&xm(e.prototype,t),r&&xm(e,r),e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function g7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 m7(e,t){return t&&(P7(t)==="object"||typeof t=="function")?t:h7(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}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=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m7(this,o)}}var zm=function(e){g7(r,e);var t=w7(r);function r(n){b7(this,r);var o;return o=t.call(this,n),o.props=new sn(n==null?void 0:n.props),o}return O7(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(C);zm.controlFieldType=c.FieldTypes.ARRAY;var Vm={Designer:Ei,Runtime:zm,Property:sn};function T7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ym(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function Gm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function $7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:T7(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}var S7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hm(e){var t=E7();return function(){var n=Ci(e),o;if(t){var i=Ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $7(this,o)}}var I7=function(e){Gm(r,e);var t=Hm(r);function r(n){Ym(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Ni=function(e){Gm(r,e);var t=Hm(r);function r(n){Ym(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:ji.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new ee(b))})),o}return r}(E);Ni.RuntimeRules=I7;function C7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 B7(e,t,r){return t&&qm(e.prototype,t),r&&qm(e,r),e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function j7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zy(e,t)}function k7(e,t){return t&&(A7(t)==="object"||typeof t=="function")?t:C7(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(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 D7(e){var t=M7();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 k7(this,o)}}var ji=function(e){j7(r,e);var t=D7(r);function r(n){N7(this,r);var o;return o=t.call(this,n),o.props=new Ni(n==null?void 0:n.props),o}return B7(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(I);ji.controlFieldType=c.FieldTypes.EMPLOYEES,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.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 L7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 x7(e,t,r){return t&&Um(e.prototype,t),r&&Um(e,r),e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function V7(e,t){return t&&(Y7(t)==="object"||typeof t=="function")?t:L7(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}var Y7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H7(e){var t=G7();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 V7(this,o)}}var Wm=function(e){z7(r,e);var t=H7(r);function r(n){F7(this,r);var o;return o=t.call(this,n),o.props=new Ni(n==null?void 0:n.props),o}return x7(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(C);Wm.controlFieldType=c.FieldTypes.EMPLOYEES;var Km={Designer:ji,Runtime:Wm,Property:Ni};function q7(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 Gy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function U7(e,t){return t&&(W7(t)==="object"||typeof t=="function")?t:q7(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}var W7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qy(e){var t=K7();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 U7(this,o)}}var X7=10485760,Q7=104857600,J7=1048576e3,Z7=function(e){Gy(r,e);var t=qy(r);function r(n){Yy(this,r);var o;return o=t.call(this,n),o.maxSize={type:"number",min:0,max:J7,message:p.getMessage("attachmentMaxSize")},o}return r}(K),e8=function(e){Gy(r,e);var t=qy(r);function r(n){Yy(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:p.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(j),yt=function(e){Gy(r,e);var t=qy(r);function r(n){Yy(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:Q7;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:_t.controlName;var _;return o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(E);yt.Rules=Z7,yt.RuntimeRules=e8;function t8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n8(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 r8(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function o8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:t8(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}var u8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f8(e){var t=c8();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 i8(this,o)}}var _t=function(e){o8(r,e);var t=f8(r);function r(n){n8(this,r);var o;return o=t.call(this,n),o.props=new yt(n==null?void 0:n.props),o}return r8(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(I);_t.controlEventKeys=["on_change"],_t.controlFieldType=c.FieldTypes.FILE,_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:!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 a8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 s8(e,t,r){return t&&Qm(e.prototype,t),r&&Qm(e,r),e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(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&&Wy(e,t)}function _8(e,t){return t&&(v8(t)==="object"||typeof t=="function")?t:a8(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}var v8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d8(e){var t=p8();return function(){var n=Di(e),o;if(t){var i=Di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _8(this,o)}}var Ky=function(e){y8(r,e);var t=d8(r);function r(n){l8(this,r);var o;return o=t.call(this,n),o.props=new yt(n==null?void 0:n.props),o}return s8(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(C);Ky.controlFieldType=c.FieldTypes.FILE;var Jm={Designer:_t,Runtime:Ky,Property:yt};function h8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 O8(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function g8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function m8(e,t){return t&&(P8(t)==="object"||typeof t=="function")?t:h8(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}var P8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w8(e){var t=R8();return function(){var n=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m8(this,o)}}var Qy=function(e){g8(r,e);var t=w8(r);function r(n){b8(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 O8(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(_t);Qy.controlFieldType=c.FieldTypes.IMAGE,Qy.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 T8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S8(e,t,r){return t&&e0(e.prototype,t),r&&e0(e,r),e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function E8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function I8(e,t){return t&&(C8(t)==="object"||typeof t=="function")?t:T8(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}var C8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B8(e){var t=N8();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 I8(this,o)}}var j8=function(e){E8(r,e);var t=B8(r);function r(n){$8(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 S8(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Ky);function k8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(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&&Zy(e,t)}function D8(e,t){return t&&(L8(t)==="object"||typeof t=="function")?t:k8(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var L8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x8(e){var t=F8();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 D8(this,o)}}var z8=function(e){M8(r,e);var t=x8(r);function r(n){return A8(this,r),t.call(this,n)}return r}(yt),t0={Designer:Qy,Runtime:j8,Property:z8};function V8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function t_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G8(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){Y8(e,o,r[o])})}return e}function H8(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 q8(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H8(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function U8(e,t){return t&&(W8(t)==="object"||typeof t=="function")?t:V8(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}var W8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r_(e){var t=K8();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 U8(this,o)}}var X8=function(e){t_(r,e);var t=r_(r);function r(n){e_(this,r);var o;o=t.call(this,n),o.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.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=p.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:p.getMessage("numberRangeSetError")}),o}return r}(Ne),Q8=function(e){t_(r,e);var t=r_(r);function r(n){e_(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:[q8(G8({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(j),yn=function(e){t_(r,e);var t=r_(r);function r(n){e_(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 Xh(n==null?void 0:n.dataBind);var s;o.datasourceBind=new Y((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new Yn({value:"name"})]});var y;o.defaultValue=new Qh((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=le(n==null?void 0:n.options);var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:_n.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var h;return o.showUpperCase=(h=n==null?void 0:n.showUpperCase)!==null&&h!==void 0?h:!1,o}return r}(E);yn.Rules=X8,yn.RuntimeRules=Q8;function J8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ex(e,t,r){return t&&n0(e.prototype,t),r&&n0(e,r),e}function Vi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vi=Reflect.get:Vi=function(o,i,u){var f=rx(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Vi(e,t,r||e)}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function tx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o_(e,t)}function nx(e,t){return t&&(ox(t)==="object"||typeof t=="function")?t:J8(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}function rx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vt(e),e!==null););return e}var ox=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ix(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ux(e){var t=ix();return function(){var n=vt(e),o;if(t){var i=vt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nx(this,o)}}var _n=function(e){tx(r,e);var t=ux(r);function r(o){Z8(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=Vi(vt(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},ex(r,null,[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(I);_n.controlEventKeys=["on_change","on_input","on_focus","on_blur"],_n.controlFieldType=c.FieldTypes.MONEY,_n.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 cx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ax(e,t,r){return t&&r0(e.prototype,t),r&&r0(e,r),e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function lx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i_(e,t)}function sx(e,t){return t&&(yx(t)==="object"||typeof t=="function")?t:cx(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 _x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vx(e){var t=_x();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 sx(this,o)}}var o0=function(e){lx(r,e);var t=vx(r);function r(n){fx(this,r);var o;return o=t.call(this,n),o.props=new yn(n==null?void 0:n.props),o}return ax(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(C);o0.controlFieldType=c.FieldTypes.MONEY;var i0={Designer:_n,Runtime:o0,Property:yn};function px(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function c_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function dx(e,t){return t&&(hx(t)==="object"||typeof t=="function")?t:px(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}var hx=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 a_(e){var t=bx();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 dx(this,o)}}var Ox=function(e){c_(r,e);var t=a_(r);function r(n){u_(this,r);var o;return o=t.call(this,n),o.totalScore=[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}],o.defaultValue={type:"number",min:0,max:5,message:p.getMessage("scoreDefaultValueRange")},o.defaultValue.max=n.totalScore,o.defaultValue.message=p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(K),gx=function(e){c_(r,e);var t=a_(r);function r(n){u_(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:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(j),vn=function(e){c_(r,e);var t=a_(r);function r(n){u_(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(_){return new Ir(_)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new Ir});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:pn.controlName,o}return r}(E);vn.Rules=Ox,vn.RuntimeRules=gx;function l_(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 mx(e){if(Array.isArray(e))return l_(e)}function Px(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wx(e,t,r){return t&&u0(e.prototype,t),r&&u0(e,r),e}function Hi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hi=Reflect.get:Hi=function(o,i,u){var f=Ix(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 pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(e)}function Tx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function $x(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Sx(){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 Ex(e,t){return t&&(Nx(t)==="object"||typeof t=="function")?t:Px(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function Ix(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pt(e),e!==null););return e}function Cx(e){return mx(e)||$x(e)||Bx(e)||Sx()}var Nx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bx(e,t){if(!!e){if(typeof e=="string")return l_(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 l_(e,t)}}function jx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kx(e){var t=jx();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 Ex(this,o)}}var pn=function(e){Tx(r,e);var t=kx(r);function r(o){Rx(this,r);var i;return i=t.call(this,o),i.props=new vn(o==null?void 0:o.props),i}var n=r.prototype;return n.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 Ir});(f=this.props.explain).push.apply(f,Cx(l))}}Hi(pt(r.prototype),"postUpdate",this).call(this,i,u)},wx(r,null,[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(I);pn.controlEventKeys=["on_change","on_click"],pn.controlFieldType=c.FieldTypes.DECIMAL,pn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_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 Ax(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Dx(e,t,r){return t&&c0(e.prototype,t),r&&c0(e,r),e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(e)}function Lx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function Fx(e,t){return t&&(xx(t)==="object"||typeof t=="function")?t:Ax(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var xx=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 Vx(e){var t=zx();return function(){var n=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fx(this,o)}}var f0=function(e){Lx(r,e);var t=Vx(r);function r(n){Mx(this,r);var o;return o=t.call(this,n),o.props=new vn(n==null?void 0:n.props),o}return Dx(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(C);f0.controlFieldType=c.FieldTypes.DECIMAL;var a0={Designer:pn,Runtime:f0,Property:vn};function Yx(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 Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function s0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function Gx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:Yx(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var Hx=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 y0(e){var t=qx();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gx(this,o)}}var Ux=function(e){s0(r,e);var t=y0(r);function r(n){l0(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:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(j),Wi=function(e){s0(r,e);var t=y0(r);function r(n){l0(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Xi.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var f;o.addressType=(f=n==null?void 0:n.addressType)!==null&&f!==void 0?f:["province","city","district"];var a;o.defaultValue=new eb((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{});var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(E);Wi.RuntimeRules=Ux;function Wx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xx(e,t,r){return t&&_0(e.prototype,t),r&&_0(e,r),e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(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&&v_(e,t)}function Jx(e,t){return t&&(Zx(t)==="object"||typeof t=="function")?t:Wx(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var Zx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t9(e){var t=e9();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jx(this,o)}}var Xi=function(e){Qx(r,e);var t=t9(r);function r(n){Kx(this,r);var o;return o=t.call(this,n),o.props=new Wi(n==null?void 0:n.props),o}return Xx(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(I);Xi.controlFieldType=c.FieldTypes.ADDRESS,Xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];function n9(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 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 o9(e,t,r){return t&&v0(e.prototype,t),r&&v0(e,r),e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function i9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u9(e,t){return t&&(c9(t)==="object"||typeof t=="function")?t:n9(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}var c9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a9(e){var t=f9();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 u9(this,o)}}var p0=function(e){i9(r,e);var t=a9(r);function r(n){r9(this,r);var o;return o=t.call(this,n),o.props=new Wi(n==null?void 0:n.props),o}return o9(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(C);p0.controlFieldType=c.FieldTypes.ADDRESS;var d0={Designer:Xi,Runtime:p0,Property:Wi};function l9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(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&&d_(e,t)}function s9(e,t){return t&&(y9(t)==="object"||typeof t=="function")?t:l9(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}var y9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O0(e){var t=_9();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s9(this,o)}}var v9=function(e){b0(r,e);var t=O0(r);function r(n){h0(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Zi=function(e){b0(r,e);var t=O0(r);function r(n){h0(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 _;o.showSubDept=(_=n==null?void 0:n.showSubDept)!==null&&_!==void 0?_:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:tu.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ee(g))})),o}return r}(E);Zi.RuntimeRules=v9;function p9(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 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 h9(e,t,r){return t&&g0(e.prototype,t),r&&g0(e,r),e}function eu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?eu=Reflect.get:eu=function(o,i,u){var f=g9(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},eu(e,t,r||e)}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function b9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h_(e,t)}function O9(e,t){return t&&(m9(t)==="object"||typeof t=="function")?t:p9(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}function g9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dt(e),e!==null););return e}var m9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R9(e){var t=P9();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 O9(this,o)}}var tu=function(e){b9(r,e);var t=R9(r);function r(o){d9(this,r);var i;return i=t.call(this,o),i.props=new Zi(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=eu(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},h9(r,null,[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(I);tu.controlFieldType=c.FieldTypes.DEPARTMENTS,tu.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 w9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $9(e,t,r){return t&&m0(e.prototype,t),r&&m0(e,r),e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function S9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E9(e,t){return t&&(I9(t)==="object"||typeof t=="function")?t:w9(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(e,t)}var I9=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 N9(e){var t=C9();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E9(this,o)}}var P0=function(e){S9(r,e);var t=N9(r);function r(n){T9(this,r);var o;return o=t.call(this,n),o.props=new Zi(n==null?void 0:n.props),o}return $9(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(C);P0.controlFieldType=c.FieldTypes.DEPARTMENTS;var R0={Designer:tu,Runtime:P0,Property:Zi};function B9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function k9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A9(e,t){return t&&(M9(t)==="object"||typeof t=="function")?t:B9(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}var M9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L9(e){var t=D9();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 A9(this,o)}}var g_=function(e){k9(r,e);var t=L9(r);function r(n){j9(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:dn.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(E);function F9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 z9(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function V9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m_(e,t)}function Y9(e,t){return t&&(G9(t)==="object"||typeof t=="function")?t:F9(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var G9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=H9();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y9(this,o)}}var dn=function(e){V9(r,e);var t=q9(r);function r(n){x9(this,r);var o;return o=t.call(this,n),o.props=new g_(n==null?void 0:n.props),o}return z9(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);dn.controlEventKeys=["on_change"],dn.controlFieldType=c.FieldTypes.AUTO_NUMBER,dn.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 U9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 K9(e,t,r){return t&&T0(e.prototype,t),r&&T0(e,r),e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function X9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q9(e,t){return t&&(J9(t)==="object"||typeof t=="function")?t:U9(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}var J9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ez(e){var t=Z9();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 Q9(this,o)}}var $0=function(e){X9(r,e);var t=ez(r);function r(n){W9(this,r);var o;return o=t.call(this,n),o.props=new g_(n==null?void 0:n.props),o}return K9(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(C);$0.controlFieldType=c.FieldTypes.AUTO_NUMBER;var S0={Designer:dn,Runtime:$0,Property:g_};function tz(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 uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(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&&T_(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:tz(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}var rz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $_(e){var t=oz();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 nz(this,o)}}var iz=function(e){w_(r,e);var t=$_(r);function r(n){R_(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(K),uz=function(e){w_(r,e);var t=$_(r);function r(n){R_(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return r}(j),hn=function(e){w_(r,e);var t=$_(r);function r(n){R_(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 tb(n==null?void 0:n.dataBind),o.defaultValue=new nb(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:bn.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;o.scriptEcho=(s=n==null?void 0:n.scriptEcho)!==null&&s!==void 0?s:[];var y;return o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"",o}return r}(E);hn.Rules=iz,hn.RuntimeRules=uz;function cz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function az(e,t,r){return t&&E0(e.prototype,t),r&&E0(e,r),e}function cu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cu=Reflect.get:cu=function(o,i,u){var f=yz(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},cu(e,t,r||e)}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ht(e)}function lz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function sz(e,t){return t&&(_z(t)==="object"||typeof t=="function")?t:cz(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}function yz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ht(e),e!==null););return e}var _z=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pz(e){var t=vz();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 sz(this,o)}}var bn=function(e){lz(r,e);var t=pz(r);function r(o){fz(this,r);var i;return i=t.call(this,o),i.props=new hn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=cu(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},az(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);bn.controlEventKeys=["on_change"],bn.controlFieldType=c.FieldTypes.CALC,bn.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 dz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bz(e,t,r){return t&&I0(e.prototype,t),r&&I0(e,r),e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function Oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function gz(e,t){return t&&(mz(t)==="object"||typeof t=="function")?t:dz(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}var mz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rz(e){var t=Pz();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gz(this,o)}}var C0=function(e){Oz(r,e);var t=Rz(r);function r(n){hz(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return bz(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(C);C0.controlFieldType=c.FieldTypes.CALC;var N0={Designer:bn,Runtime:C0,Property:hn};function wz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B0(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 j0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function Tz(e,t){return t&&($z(t)==="object"||typeof t=="function")?t:wz(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}var $z=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k0(e){var t=Sz();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 Tz(this,o)}}var Ez=function(e){j0(r,e);var t=k0(r);function r(n){B0(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(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(j),lu=function(e){j0(r,e);var t=k0(r);function r(n){B0(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:yu.controlName,o}return r}(E);lu.RuntimeRules=Ez;function Iz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nz(e,t,r){return t&&A0(e.prototype,t),r&&A0(e,r),e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function Bz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function jz(e,t){return t&&(kz(t)==="object"||typeof t=="function")?t:Iz(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var kz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Az(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mz(e){var t=Az();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jz(this,o)}}var yu=function(e){Bz(r,e);var t=Mz(r);function r(n){Cz(this,r);var o;return o=t.call(this,n),o.props=new lu(n==null?void 0:n.props),o}return Nz(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);yu.controlFieldType=c.FieldTypes.DECIMAL_RANGE,yu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Dz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Fz(e,t,r){return t&&M0(e.prototype,t),r&&M0(e,r),e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(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&&N_(e,t)}function zz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:Dz(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var Vz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gz(e){var t=Yz();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 zz(this,o)}}var D0=function(e){xz(r,e);var t=Gz(r);function r(n){Lz(this,r);var o;return o=t.call(this,n),o.props=new lu(n==null?void 0:n.props),o}return Fz(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(C);D0.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var L0={Designer:yu,Runtime:D0,Property:lu};function Hz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F0(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 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&&B_(e,t)}function qz(e,t){return t&&(Uz(t)==="object"||typeof t=="function")?t:Hz(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}var Uz=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 z0(e){var t=Wz();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 qz(this,o)}}var Kz=function(e){x0(r,e);var t=z0(r);function r(n){F0(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(j),pu=function(e){x0(r,e);var t=z0(r);function r(n){F0(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 _;o.placeholderEnd=(_=n==null?void 0:n.placeholderEnd)!==null&&_!==void 0?_:"\u7ED3\u675F\u65E5\u671F";var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:hu.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(h){return new Er(h)}))!==null&&b!==void 0?b:[],o}return r}(E);pu.RuntimeRules=Kz;function Xz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Jz(e,t,r){return t&&V0(e.prototype,t),r&&V0(e,r),e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function Zz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function eV(e,t){return t&&(tV(t)==="object"||typeof t=="function")?t:Xz(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var tV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rV(e){var t=nV();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 eV(this,o)}}var hu=function(e){Zz(r,e);var t=rV(r);function r(n){Qz(this,r);var o;return o=t.call(this,n),o.props=new pu(n==null?void 0:n.props),o}return Jz(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);hu.controlFieldType=c.FieldTypes.ARRAY,hu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 oV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uV(e,t,r){return t&&Y0(e.prototype,t),r&&Y0(e,r),e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function cV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function fV(e,t){return t&&(aV(t)==="object"||typeof t=="function")?t:oV(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var aV=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 sV(e){var t=lV();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 fV(this,o)}}var G0=function(e){cV(r,e);var t=sV(r);function r(n){iV(this,r);var o;return o=t.call(this,n),o.props=new pu(n==null?void 0:n.props),o}return uV(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(C);G0.controlFieldType=c.FieldTypes.ARRAY;var H0={Designer:hu,Runtime:G0,Property:pu};function yV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function M_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function _V(e,t){return t&&(vV(t)==="object"||typeof t=="function")?t:yV(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}var vV=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 L_(e){var t=pV();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 _V(this,o)}}var dV=function(e){M_(r,e);var t=L_(r);function r(n){A_(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(K),hV=function(e){M_(r,e);var t=L_(r);function r(n){A_(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(j),On=function(e){M_(r,e);var t=L_(r);function r(n){A_(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.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var f;o.controlExportName=(f=n==null?void 0:n.controlExportName)!==null&&f!==void 0?f:"";var a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return r}(E);On.Rules=dV,On.RuntimeRules=hV;function bV(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 gV(e,t,r){return t&&q0(e.prototype,t),r&&q0(e,r),e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(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&&F_(e,t)}function PV(e,t){return t&&(RV(t)==="object"||typeof t=="function")?t:bV(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var RV=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 TV(e){var t=wV();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 PV(this,o)}}var gn=function(e){mV(r,e);var t=TV(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 gV(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);gn.controlFieldType=c.FieldTypes.ANY,gn.controlEventKeys=[],gn.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 $V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 EV(e,t,r){return t&&U0(e.prototype,t),r&&U0(e,r),e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function IV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function CV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:$V(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}var NV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jV(e){var t=BV();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 CV(this,o)}}var W0=function(e){IV(r,e);var t=jV(r);function r(n){SV(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return EV(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(C);W0.controlFieldType=c.FieldTypes.ANY;var K0={Designer:gn,Runtime:W0,Property:On};function kV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function Q0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function AV(e,t){return t&&(MV(t)==="object"||typeof t=="function")?t:kV(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var MV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J0(e){var t=DV();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 AV(this,o)}}var LV=function(e){Q0(r,e);var t=J0(r);function r(n){X0(this,r);var o;return o=t.call(this,n),o.listPageBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}]}}],o}return r}(Ne),Ru=function(e){Q0(r,e);var t=J0(r);function r(n){X0(this,r);var o;o=t.call(this,n);var i;o.options=le((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new wa(n==null?void 0:n.listPageBind),o.datasourceBind=new Y(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:mn.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(_){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new ee(_))}));var y;return o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1,o}return r}(E);Ru.Rules=LV;function FV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zV(e,t,r){return t&&Z0(e.prototype,t),r&&Z0(e,r),e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function VV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function YV(e,t){return t&&(GV(t)==="object"||typeof t=="function")?t:FV(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var GV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qV(e){var t=HV();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 YV(this,o)}}var mn=function(e){VV(r,e);var t=qV(r);function r(n){xV(this,r);var o;return o=t.call(this,n),o.props=new Ru(n==null?void 0:n.props),o}return zV(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);mn.controlFieldType=c.FieldTypes.VARCHAR,mn.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}],mn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];function UV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KV(e,t,r){return t&&eP(e.prototype,t),r&&eP(e,r),e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function XV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y_(e,t)}function QV(e,t){return t&&(JV(t)==="object"||typeof t=="function")?t:UV(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}var JV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eY(e){var t=ZV();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 QV(this,o)}}var tP=function(e){XV(r,e);var t=eY(r);function r(n){WV(this,r);var o;return o=t.call(this,n),o.props=new Ru(n==null?void 0:n.props),o}return KV(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(C);tP.controlFieldType=c.FieldTypes.VARCHAR;var nP={Designer:mn,Runtime:tP,Property:Ru};function tY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function rY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function oY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:tY(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}var iY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cY(e){var t=uY();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oY(this,o)}}var H_=function(e){rY(r,e);var t=cY(r);function r(n){return nY(this,r),t.call(this,n)}return r}(ct);function fY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lY(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function sY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function yY(e,t){return t&&(_Y(t)==="object"||typeof t=="function")?t:fY(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}var _Y=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 pY(e){var t=vY();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 yY(this,o)}}var oP=function(e){sY(r,e);var t=pY(r);function r(n){aY(this,r);var o;return o=t.call(this,n),o.props=new H_(n==null?void 0:n.props),o}return lY(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(ft);oP.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 dY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bY(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(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&&U_(e,t)}function gY(e,t){return t&&(mY(t)==="object"||typeof t=="function")?t:dY(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}var mY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RY(e){var t=PY();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gY(this,o)}}var uP=function(e){OY(r,e);var t=RY(r);function r(n){hY(this,r);var o;return o=t.call(this,n),o.props=new H_(n==null?void 0:n.props),o}return bY(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(C);uP.controlFieldType=c.FieldTypes.VARCHAR;var cP={Designer:oP,Runtime:uP,Property:H_};function fP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function K_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function wY(e,t){return t&&(TY(t)==="object"||typeof t=="function")?t:fP(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}var TY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $Y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q_(e){var t=$Y();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 wY(this,o)}}var SY=function(e){K_(r,e);var t=Q_(r);function r(n){W_(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],Xn.call(fP(o),n,Be.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:p.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:p.getMessage("rootNodeIsRequired")}}}]),o}return r}(K),EY=function(e){K_(r,e);var t=Q_(r);function r(n){W_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Pn=function(e){K_(r,e);var t=Q_(r);function r(n){W_(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:Be.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 _;o.containsSubNode=(_=n==null?void 0:n.containsSubNode)!==null&&_!==void 0?_:!1;var d;o.defaultCollapse=(d=n==null?void 0:n.defaultCollapse)!==null&&d!==void 0?d:"all";var b;o.defaultCollapseLevel=(b=n==null?void 0:n.defaultCollapseLevel)!==null&&b!==void 0?b:1;var h;o.datasourceBind=new Uh((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Be.controlCustomAttributes});var g;o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1;var v;o.multistageFilling=(v=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(R){return new ee(R)}))!==null&&v!==void 0?v:[];var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o}return r}(E);Pn.Rules=SY,Pn.RuntimeRules=EY;function IY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NY(e,t,r){return t&&aP(e.prototype,t),r&&aP(e,r),e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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&&J_(e,t)}function jY(e,t){return t&&(kY(t)==="object"||typeof t=="function")?t:IY(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(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=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jY(this,o)}}var Be=function(e){BY(r,e);var t=MY(r);function r(n){CY(this,r);var o;return o=t.call(this,n),o.props=new Pn(n==null?void 0:n.props),o}return NY(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);Be.controlEventKeys=["on_change","on_click"],Be.controlFieldType=c.FieldTypes.ARRAY,Be.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 DY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 FY(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(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&&Z_(e,t)}function zY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:DY(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}var VY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GY(e){var t=YY();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 zY(this,o)}}var sP=function(e){xY(r,e);var t=GY(r);function r(n){LY(this,r);var o;return o=t.call(this,n),o.props=new Pn(n==null?void 0:n.props),o}return FY(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(C);sP.controlFieldType=c.FieldTypes.ARRAY;var yP={Designer:Be,Runtime:sP,Property:Pn};function _P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ev(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function tv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function HY(e,t){return t&&(qY(t)==="object"||typeof t=="function")?t:_P(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}var qY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rv(e){var t=UY();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 HY(this,o)}}var WY=function(e){tv(r,e);var t=rv(r);function r(n){ev(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],o.externalScope={type:"any"},Xn.call(_P(o),n,bt.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return r}(K),KY=function(e){tv(r,e);var t=rv(r);function r(n){ev(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Rn=function(e){tv(r,e);var t=rv(r);function r(n){ev(this,r);var o;o=t.call(this,n);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:bt.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var d;o.datasourceBind=new At((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:bt.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:c.OrganizeType.INTERNAL;var h;o.insideType=(h=n==null?void 0:n.insideType)!==null&&h!==void 0?h:c.InternalType.ADMIN;var g;o.externalType=(g=n==null?void 0:n.externalType)!==null&&g!==void 0?g:c.AssignType.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new ee(R))})),o}return r}(E);Rn.Rules=WY,Rn.RuntimeRules=KY;function XY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 JY(e,t,r){return t&&vP(e.prototype,t),r&&vP(e,r),e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(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&&ov(e,t)}function eG(e,t){return t&&(tG(t)==="object"||typeof t=="function")?t:XY(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}var tG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rG(e){var t=nG();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 eG(this,o)}}var bt=function(e){ZY(r,e);var t=rG(r);function r(n){QY(this,r);var o;return o=t.call(this,n),o.props=new Rn(n==null?void 0:n.props),o}return JY(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);bt.controlFieldType=c.FieldTypes.EMPLOYEES,bt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];function oG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uG(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(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&&iv(e,t)}function fG(e,t){return t&&(aG(t)==="object"||typeof t=="function")?t:oG(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}var aG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sG(e){var t=lG();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fG(this,o)}}var dP=function(e){cG(r,e);var t=sG(r);function r(n){iG(this,r);var o;return o=t.call(this,n),o.props=new Rn(n==null?void 0:n.props),o}return uG(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(C);dP.controlFieldType=c.FieldTypes.EMPLOYEES;var hP={Designer:bt,Runtime:dP,Property:Rn};function yG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function OP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _G(e,t){return t&&(vG(t)==="object"||typeof t=="function")?t:yG(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}var vG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gP(e){var t=pG();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 _G(this,o)}}var dG=function(e){OP(r,e);var t=gP(r);function r(n){bP(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"&&Ee(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")&&Ee(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(K),Mu=function(e){OP(r,e);var t=gP(r);function r(n){bP(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:wn.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 tO(n==null?void 0:n.signatureConfig),o}return r}(E);Mu.Rules=dG;function hG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OG(e,t,r){return t&&mP(e.prototype,t),r&&mP(e,r),e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function gG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function mG(e,t){return t&&(PG(t)==="object"||typeof t=="function")?t:hG(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}var PG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wG(e){var t=RG();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 mG(this,o)}}var wn=function(e){gG(r,e);var t=wG(r);function r(n){bG(this,r);var o;return o=t.call(this,n),o.props=new Mu(n==null?void 0:n.props),o}return OG(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);wn.controlEventKeys=["on_click","on_click_finish"],wn.controlFieldType=c.FieldTypes.VARCHAR,wn.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 TG(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 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 SG(e,t,r){return t&&PP(e.prototype,t),r&&PP(e,r),e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function EG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function IG(e,t){return t&&(CG(t)==="object"||typeof t=="function")?t:TG(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var CG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BG(e){var t=NG();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 IG(this,o)}}var RP=function(e){EG(r,e);var t=BG(r);function r(n){$G(this,r);var o;return o=t.call(this,n),o.props=new Mu(n==null?void 0:n.props),o}return SG(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(C);RP.controlFieldType=c.FieldTypes.VARCHAR;var wP={Designer:wn,Runtime:RP,Property:Mu};function jG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function av(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function lv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function kG(e,t){return t&&(AG(t)==="object"||typeof t=="function")?t:jG(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}var AG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yv(e){var t=MG();return function(){var n=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kG(this,o)}}var DG=function(e){lv(r,e);var t=yv(r);function r(n){av(this,r);var o;return o=t.call(this,n),o.content={type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")},o.wpsSetting={type:"object",fields:{watermark:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(p.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(p.getMessage("pleaseEnterFileName"));return}a()}}}},o.canAdd={type:"boolean",validator:function(u,f,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(p.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(K),LG=function(e){lv(r,e);var t=yv(r);function r(n){av(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Tn=function(e){lv(r,e);var t=yv(r);function r(n){av(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$n.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 _;o.canExport=(_=n==null?void 0:n.canExport)!==null&&_!==void 0?_:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:X7;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new nO(n==null?void 0:n.wpsSetting);var g;return o.revisionsMode=(g=n==null?void 0:n.revisionsMode)!==null&&g!==void 0?g:!1,o}return r}(E);Tn.Rules=DG,Tn.RuntimeRules=LG;function FG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zG(e,t,r){return t&&TP(e.prototype,t),r&&TP(e,r),e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function YG(e,t){return t&&(GG(t)==="object"||typeof t=="function")?t:FG(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}var GG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qG(e){var t=HG();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 YG(this,o)}}var $n=function(e){VG(r,e);var t=qG(r);function r(n){xG(this,r);var o;return o=t.call(this,n),o.props=new Tn(n==null?void 0:n.props),o}return zG(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);$n.controlEventKeys=["on_change","on_wps_open"],$n.controlFieldType=c.FieldTypes.FILE,$n.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 UG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KG(e,t,r){return t&&$P(e.prototype,t),r&&$P(e,r),e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function XG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function QG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:UG(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}var JG=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 eH(e){var t=ZG();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 QG(this,o)}}var SP=function(e){XG(r,e);var t=eH(r);function r(n){WG(this,r);var o;return o=t.call(this,n),o.props=new Tn(n==null?void 0:n.props),o}return KG(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(C);SP.controlFieldType=c.FieldTypes.FILE;var EP={Designer:$n,Runtime:SP,Property:Tn};function IP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function dv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hv(e,t)}function tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:IP(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}var nH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bv(e){var t=rH();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 tH(this,o)}}var oH=function(e){dv(r,e);var t=bv(r);function r(n){pv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],o.businessScope={type:"any"},Xn.call(IP(o),n,gt.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(K),iH=function(e){dv(r,e);var t=bv(r);function r(n){pv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Sn=function(e){dv(r,e);var t=bv(r);function r(n){pv(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 _;o.showSubDept=(_=n==null?void 0:n.showSubDept)!==null&&_!==void 0?_:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:gt.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;o.datasourceBind=new At((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:gt.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:c.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:c.AssignType.ALL;var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new ee(m))})),o}return r}(E);Sn.Rules=oH,Sn.RuntimeRules=iH;function uH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Yu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Yu=Reflect.get:Yu=function(o,i,u){var f=sH(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Yu(e,t,r||e)}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(e)}function aH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function lH(e,t){return t&&(yH(t)==="object"||typeof t=="function")?t:uH(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function sH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var yH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _H(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=_H();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 lH(this,o)}}var gt=function(e){aH(r,e);var t=vH(r);function r(o){cH(this,r);var i;return i=t.call(this,o),i.props=new Sn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Yu(Ot(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u},fH(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);gt.controlFieldType=c.FieldTypes.DEPARTMENTS,gt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];function pH(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 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 hH(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function bH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function OH(e,t){return t&&(gH(t)==="object"||typeof t=="function")?t:pH(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var gH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PH(e){var t=mH();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 OH(this,o)}}var BP=function(e){bH(r,e);var t=PH(r);function r(n){dH(this,r);var o;return o=t.call(this,n),o.props=new Sn(n==null?void 0:n.props),o}return hH(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(C);BP.controlFieldType=c.FieldTypes.DEPARTMENTS;var jP={Designer:gt,Runtime:BP,Property:Sn},RH=Object.freeze({__proto__:null,Input:Qg,Checkbox:tm,Radio:fm,Number:ym,DatePicker:dm,DateRange:Rm,Textarea:Sm,RichText:Nm,Select:Lm,SelectMultiple:Vm,Employee:Km,Image:t0,Attachment:Jm,Amount:i0,Score:a0,Address:d0,Department:R0,AutoNumber:S0,Calc:N0,SearchNumberRange:L0,SearchDateRange:H0,VueFormItem:K0,SelectRelation:nP,SearchInput:cP,Tree:yP,Employee2:hP,ElectronicSignature:wP,WPS:EP,Department2:jP});function wH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $H(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function SH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function EH(e,t){return t&&(IH(t)==="object"||typeof t=="function")?t:wH(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}var IH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NH(e){var t=CH();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 EH(this,o)}}var AP=function(e){SH(r,e);var t=NH(r);function r(n){return TH(this,r),t.call(this,n)}return $H(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(M);AP.excludes=[c.CONTROL_TYPE.GRID];function BH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kH(e,t,r){return t&&MP(e.prototype,t),r&&MP(e,r),e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function AH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function MH(e,t){return t&&(DH(t)==="object"||typeof t=="function")?t:BH(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}var DH=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 FH(e){var t=LH();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 MH(this,o)}}var xH=function(e){AH(r,e);var t=FH(r);function r(n){return jH(this,r),t.call(this,n)}return kH(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(V),DP={Designer:AP,Runtime:xH,Property:A};function zH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function YH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GH(e,t){return t&&(HH(t)==="object"||typeof t=="function")?t:zH(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var HH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UH(e){var t=qH();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 GH(this,o)}}var WH=24,je=function(e){YH(r,e);var t=UH(r);function r(n){VH(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:WH;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(A);function KH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 QH(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function JH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function ZH(e,t){return t&&(eq(t)==="object"||typeof t=="function")?t:KH(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}var eq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nq(e){var t=tq();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZH(this,o)}}var En=function(e){JH(r,e);var t=nq(r);function r(n){XH(this,r);var o;return o=t.call(this,n),o.props=new je(n==null?void 0:n.props),o}return QH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(M);En.excludes=[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.DIVIDER],En.childrenMaxLength=1;function rq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 iq(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function 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&&Tv(e,t)}function cq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:rq(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(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=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cq(this,o)}}var $v=function(e){uq(r,e);var t=lq(r);function r(n){oq(this,r);var o;return o=t.call(this,n),o.props=new je(n==null?void 0:n.props),o}return iq(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(V),Xu={Designer:En,Runtime:$v,Property:je};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 Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function _q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sv(e,t)}function vq(e,t){return t&&(pq(t)==="object"||typeof t=="function")?t:sq(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}var pq=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 hq(e){var t=dq();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 vq(this,o)}}var Ju=function(e){_q(r,e);var t=hq(r);function r(n){yq(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}(A);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 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 gq(e,t,r){return t&&xP(e.prototype,t),r&&xP(e,r),e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(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&&Ev(e,t)}function Pq(e,t){return t&&(Rq(t)==="object"||typeof t=="function")?t:bq(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}var Rq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tq(e){var t=wq();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 Pq(this,o)}}var ec=function(e){mq(r,e);var t=Tq(r);function r(n){Oq(this,r);var o;return o=t.call(this,n),o.props=new Ju(n==null?void 0:n.props),o}return gq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(M);ec.excludes=[c.CONTROL_TYPE.ROW],ec.setting=[{key:"col-setting",visible:!0}];function $q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sq(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 Eq(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function Iq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function Cq(e,t){return t&&(Nq(t)==="object"||typeof t=="function")?t:$q(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}var Nq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jq(e){var t=Bq();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 Cq(this,o)}}var VP=function(e){Iq(r,e);var t=jq(r);function r(n){Sq(this,r);var o;return o=t.call(this,n),o.props=new Ju(n==null?void 0:n.props),o}return Eq(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(V),YP={Designer:ec,Runtime:VP,Property:Ju};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 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 Mq(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function Dq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function Lq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:kq(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}var Fq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zq(e){var t=xq();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lq(this,o)}}var Vq=4,rc=function(e){Dq(r,e);var t=zq(r);function r(n){return Aq(this,r),t.call(this,n)}return Mq(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}(ec);rc.excludes=[c.CONTROL_TYPE.GRID_ROW],rc.setting=[],rc.childrenMaxLength=Vq;function Yq(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 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 Hq(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(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&&Nv(e,t)}function Uq(e,t){return t&&(Wq(t)==="object"||typeof t=="function")?t:Yq(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(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=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uq(this,o)}}var Qq=function(e){qq(r,e);var t=Xq(r);function r(n){return Gq(this,r),t.call(this,n)}return Hq(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(VP);function Jq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function eU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function tU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:Jq(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}var nU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oU(e){var t=rU();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tU(this,o)}}var iU=function(e){eU(r,e);var t=oU(r);function r(n){return Zq(this,r),t.call(this,n)}return r}(Ju),jv={Designer:rc,Runtime:Qq,Property:iU};function uU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function UP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function cU(e,t){return t&&(fU(t)==="object"||typeof t=="function")?t:uU(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}var fU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WP(e){var t=aU();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cU(this,o)}}var lU=function(e){UP(r,e);var t=WP(r);function r(){qP(this,r);var n;return n=t.apply(this,arguments),n.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},n}return r}(A.Rules),cc=function(e){UP(r,e);var t=WP(r);function r(n){qP(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}(A);cc.Rules=lU;function sU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _U(e,t,r){return t&&KP(e.prototype,t),r&&KP(e,r),e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function vU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function pU(e,t){return t&&(dU(t)==="object"||typeof t=="function")?t:sU(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}var dU=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 bU(e){var t=hU();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pU(this,o)}}var Mv=function(e){vU(r,e);var t=bU(r);function r(n){yU(this,r);var o;return o=t.call(this,n),o.props=new cc(n==null?void 0:n.props),o}return _U(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(M);Mv.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}],Mv.excludes=[c.CONTROL_TYPE.CARD_GROUP];function OU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mU(e,t,r){return t&&XP(e.prototype,t),r&&XP(e,r),e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function PU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function RU(e,t){return t&&(wU(t)==="object"||typeof t=="function")?t:OU(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}var wU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $U(e){var t=TU();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 RU(this,o)}}var SU=function(e){PU(r,e);var t=$U(r);function r(n){gU(this,r);var o;return o=t.call(this,n),o.props=new cc(n==null?void 0:n.props),o}return mU(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(V),QP={Designer:Mv,Runtime:SU,Property:cc};function EU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function ZP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IU(e,t){return t&&(CU(t)==="object"||typeof t=="function")?t:EU(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var CU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eR(e){var t=NU();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 IU(this,o)}}var BU=function(e){ZP(r,e);var t=eR(r);function r(n){JP(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(D),sc=function(e){ZP(r,e);var t=eR(r);function r(n){JP(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.fixed=(u=n==null?void 0:n.fixed)!==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;return o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,o.metaAutoWidth=new Mh(n==null?void 0:n.metaAutoWidth),o}return r}(A);sc.Rules=BU;function jU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function AU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function MU(e,t){return t&&(DU(t)==="object"||typeof t=="function")?t:jU(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var DU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FU(e){var t=LU();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 MU(this,o)}}var ae=function(e){AU(r,e);var t=FU(r);function r(n){kU(this,r);var o;return o=t.call(this,n),o.props=new sc(n==null?void 0:n.props),o}return r}(M);ae.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ae.controlType="subtable-column",ae.controlIcon="subtable-column",ae.childrenMaxLength=1,ae.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],ae.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-auto-width",visible:!0}];function xU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zU(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 VU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function YU(e,t){return t&&(GU(t)==="object"||typeof t=="function")?t:xU(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}var GU=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 qU(e){var t=HU();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 YU(this,o)}}var tR=function(e){VU(r,e);var t=qU(r);function r(n){zU(this,r);var o;return o=t.call(this,n),o.props=new sc(n==null?void 0:n.props),o}return r}(V);tR.controlType="subtable-column";var zv={Designer:ae,Runtime:tR,Property:sc};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 vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(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&&Vv(e,t)}function XU(e,t){return t&&(QU(t)==="object"||typeof t=="function")?t:UU(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(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=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XU(this,o)}}var Yv=function(e){KU(r,e);var t=ZU(r);function r(n){return WU(this,r),t.call(this,n)}return r}(A);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 pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function nW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function rW(e,t){return t&&(oW(t)==="object"||typeof t=="function")?t:eW(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}var oW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uW(e){var t=iW();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rW(this,o)}}var ke=function(e){nW(r,e);var t=uW(r);function r(n){tW(this,r);var o;return o=t.call(this,n),o.props=new Yv(n==null?void 0:n.props),o}return r}(M);ke.controlName="\u660E\u7EC6\u5B50\u8868\u884C",ke.controlType="subtable-row",ke.controlIcon="subtable-row",ke.childrenMaxLength=1,ke.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],ke.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}];function cW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fW(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 aW(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function lW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function sW(e,t){return t&&(yW(t)==="object"||typeof t=="function")?t:cW(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var yW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _W(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vW(e){var t=_W();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sW(this,o)}}var pW=function(e){lW(r,e);var t=vW(r);function r(n){fW(this,r);var o;return o=t.call(this,n),o.props=new Yv(n==null?void 0:n.props),o}return aW(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(V),rR={Designer:ke,Runtime:pW,Property:Yv};function dW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function bW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function OW(e,t){return t&&(gW(t)==="object"||typeof t=="function")?t:dW(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}var gW=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 PW(e){var t=mW();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 OW(this,o)}}var Uv=function(e){bW(r,e);var t=PW(r);function r(n){hW(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 Y(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var _;o.decimalKeepPrecision=(_=n==null?void 0:n.decimalKeepPrecision)!==null&&_!==void 0?_:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:c.DateType.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return r}(A);function RW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wW(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 TW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function $W(e,t){return t&&(SW(t)==="object"||typeof t=="function")?t:RW(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(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=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $W(this,o)}}var Ae=function(e){TW(r,e);var t=IW(r);function r(n){wW(this,r);var o;return o=t.call(this,n),o.props=new Uv(n==null?void 0:n.props),o}return r}(M);Ae.controlName="\u5217\u8868\u5355\u5143\u683C",Ae.controlType="gridtable-column",Ae.controlIcon="gridtable-column",Ae.childrenMaxLength=1,Ae.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],Ae.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];function CW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NW(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 BW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function jW(e,t){return t&&(kW(t)==="object"||typeof t=="function")?t:CW(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}var kW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MW(e){var t=AW();return function(){var n=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jW(this,o)}}var oR=function(e){BW(r,e);var t=MW(r);function r(n){NW(this,r);var o;return o=t.call(this,n),o.props=new Uv(n==null?void 0:n.props),o}return r}(V);oR.controlType="gridtable-column";var iR={Designer:Ae,Runtime:oR,Property:Uv};function DW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function FW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function xW(e,t){return t&&(zW(t)==="object"||typeof t=="function")?t:DW(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}var zW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YW(e){var t=VW();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 Qv=function(e){FW(r,e);var t=YW(r);function r(n){return LW(this,r),t.call(this,n)}return r}(A);function GW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uR(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 cR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:GW(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}var qW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fR(e){var t=UW();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 HW(this,o)}}var WW=function(e){cR(r,e);var t=fR(r);function r(n){uR(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o}return r}(D),Pc=function(e){cR(r,e);var t=fR(r);function r(n){uR(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:Cn.controlName,o}return r}(A);Pc.Rules=WW;function KW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 QW(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function JW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function ZW(e,t){return t&&(eK(t)==="object"||typeof t=="function")?t:KW(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}var eK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nK(e){var t=tK();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZW(this,o)}}var In=function(e){JW(r,e);var t=nK(r);function r(n){XW(this,r);var o;return o=t.call(this,n),o.props=new Pc(n==null?void 0:n.props),o}return QW(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);In.excludes=[c.CONTROL_TYPE.TAB],In.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 rK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iK(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function uK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function cK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:rK(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var fK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lK(e){var t=aK();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cK(this,o)}}var sK=function(e){uK(r,e);var t=lK(r);function r(n){oK(this,r);var o;return o=t.call(this,n),o.props=new Pc(n==null?void 0:n.props),o}return iK(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(V),sR={Designer:In,Runtime:sK,Property:Pc};function yK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vK(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function pK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function dK(e,t){return t&&(hK(t)==="object"||typeof t=="function")?t:yK(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}var hK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OK(e){var t=bK();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dK(this,o)}}var Cn=function(e){pK(r,e);var t=OK(r);function r(n){_K(this,r);var o;o=t.call(this,n),o.props=new Qv(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new In,new In],o}return vK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(M);Cn.excludes=[c.CONTROL_TYPE.TAB],Cn.controlEventKeys=["on_change_tab"],Cn.setting=[{key:"super-setting",visible:!0}];function gK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 PK(e,t,r){return t&&_R(e.prototype,t),r&&_R(e,r),e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function RK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function wK(e,t){return t&&(TK(t)==="object"||typeof t=="function")?t:gK(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}var TK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $K(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SK(e){var t=$K();return function(){var n=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wK(this,o)}}var EK=function(e){RK(r,e);var t=SK(r);function r(n){mK(this,r);var o;return o=t.call(this,n),o.props=new Qv(n==null?void 0:n.props),o}return PK(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(V),vR={Designer:Cn,Runtime:EK,Property:Qv};function IK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&rp(e,t)}function BK(e,t){return t&&(jK(t)==="object"||typeof t=="function")?t:IK(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}var jK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AK(e){var t=kK();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BK(this,o)}}var pR=function(e){NK(r,e);var t=AK(r);function r(n){return CK(this,r),t.call(this,n)}return r}(A);function MK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LK(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function FK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function xK(e,t){return t&&(zK(t)==="object"||typeof t=="function")?t:MK(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}var zK=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 YK(e){var t=VK();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 xK(this,o)}}var hR=function(e){FK(r,e);var t=YK(r);function r(n){DK(this,r);var o;return o=t.call(this,n),o.props=new pR({}),o.children=(n==null?void 0:n.children)||[new En({props:new je({span:12})}),new En({props:new je({span:12})})],o}return LK(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(M);hR.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 GK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qK(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function UK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function WK(e,t){return t&&(KK(t)==="object"||typeof t=="function")?t:GK(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var KK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QK(e){var t=XK();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WK(this,o)}}var JK=function(e){UK(r,e);var t=QK(r);function r(n){HK(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new $v({props:new je({span:12})}),new $v({props:new je({span:12})})],o}return qK(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(V),OR={Designer:hR,Runtime:JK,Property:pR};function gR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function up(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function ZK(e,t){return t&&(eX(t)==="object"||typeof t=="function")?t:gR(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(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 ap(e){var t=tX();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 ZK(this,o)}}var Nc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Nc||(Nc={}));var nX=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(be),rX=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;if(o=t.call(this,n),o.triggerFieldCode={type:"any"},o.datasourceBind={type:"any"},n.triggerType===Nc.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}),Kn.call(gR(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}(D),Nn=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;o=t.call(this,n),o.datasourceBind=new Y(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:Nc.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new Vh(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 _;return o.isAllLoaded=(_=n==null?void 0:n.isAllLoaded)!==null&&_!==void 0?_:!0,o.countType=n==null?void 0:n.countType,o}return r}(A);Nn.Rules=rX,Nn.RuntimeRules=nX;function oX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uX(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function cX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function fX(e,t){return t&&(aX(t)==="object"||typeof t=="function")?t:oX(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}var aX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sX(e){var t=lX();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fX(this,o)}}var jc=function(e){cX(r,e);var t=sX(r);function r(n){iX(this,r);var o;return o=t.call(this,n),o.props=new Nn(n==null?void 0:n.props),o}return uX(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);jc.excludes=[c.CONTROL_TYPE.ROW],jc.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],jc.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 yX(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 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 vX(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function pX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function dX(e,t){return t&&(hX(t)==="object"||typeof t=="function")?t:yX(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var hX=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 OX(e){var t=bX();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 dX(this,o)}}var gX=function(e){pX(r,e);var t=OX(r);function r(n){_X(this,r);var o;return o=t.call(this,n),o.props=new Nn(n==null?void 0:n.props),o}return vX(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(V),yp={Designer:jc,Runtime:gX,Property:Nn};function mX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RR(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 wR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PX(e,t){return t&&(RX(t)==="object"||typeof t=="function")?t:mX(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}var RX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TR(e){var t=wX();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 PX(this,o)}}var TX=function(e){wR(r,e);var t=TR(r);function r(n){RR(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(be),Mc=function(e){wR(r,e);var t=TR(r);function r(n){RR(this,r);var o;o=t.call(this,n);var i;o.save=new pe((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new pe((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new pe((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 pe((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 pe(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new Y(n==null?void 0:n.datasourceBind),o}return r}(A);Mc.RuntimeRules=TX;function $X(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SX(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 EX(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function IX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function CX(e,t){return t&&(NX(t)==="object"||typeof t=="function")?t:$X(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var NX=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=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CX(this,o)}}var SR=function(e){IX(r,e);var t=jX(r);function r(n){SX(this,r);var o;return o=t.call(this,n),o.props=new Mc(n==null?void 0:n.props),o}return EX(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(M);SR.excludes=[];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 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 MX(e,t,r){return t&&ER(e.prototype,t),r&&ER(e,r),e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(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&&pp(e,t)}function LX(e,t){return t&&(FX(t)==="object"||typeof t=="function")?t:kX(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}var FX=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=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LX(this,o)}}var VX=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 Mc(n==null?void 0:n.props),o}return MX(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(V),dp={Designer:SR,Runtime:VX,Property:Mc};function YX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HX(e,t,r){return t&&IR(e.prototype,t),r&&IR(e,r),e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(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&&hp(e,t)}function UX(e,t){return t&&(WX(t)==="object"||typeof t=="function")?t:YX(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}var WX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XX(e){var t=KX();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 UX(this,o)}}var QX=function(e){qX(r,e);var t=XX(r);function r(n){return GX(this,r),t.call(this,n)}return HX(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 JX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eQ(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function tQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function nQ(e,t){return t&&(rQ(t)==="object"||typeof t=="function")?t:JX(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}var rQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iQ(e){var t=oQ();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 nQ(this,o)}}var uQ=function(e){tQ(r,e);var t=iQ(r);function r(n){return ZX(this,r),t.call(this,n)}return eQ(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(V);function cQ(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 zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function aQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function lQ(e,t){return t&&(sQ(t)==="object"||typeof t=="function")?t:cQ(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}var sQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Q(e){var t=yQ();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 lQ(this,o)}}var vQ=function(e){aQ(r,e);var t=_Q(r);function r(n){fQ(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}(A),NR={Designer:QX,Runtime:uQ,Property:vQ};function pQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hQ(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function bQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function OQ(e,t){return t&&(gQ(t)==="object"||typeof t=="function")?t:pQ(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}var gQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PQ(e){var t=mQ();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 OQ(this,o)}}var RQ=function(e){bQ(r,e);var t=PQ(r);function r(n){return dQ(this,r),t.call(this,n)}return hQ(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 wQ(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 jR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $Q(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(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&&mp(e,t)}function EQ(e,t){return t&&(IQ(t)==="object"||typeof t=="function")?t:wQ(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}var IQ=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 NQ(e){var t=CQ();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 EQ(this,o)}}var BQ=function(e){SQ(r,e);var t=NQ(r);function r(n){return TQ(this,r),t.call(this,n)}return $Q(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(V);function jQ(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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function AQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function MQ(e,t){return t&&(DQ(t)==="object"||typeof t=="function")?t:jQ(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}var DQ=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 FQ(e){var t=LQ();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 MQ(this,o)}}var xQ=function(e){AQ(r,e);var t=FQ(r);function r(n){kQ(this,r);var o;return o=t.call(this,n),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new iO(n==null?void 0:n.flexConfig),o}return r}(A),kR={Designer:RQ,Runtime:BQ,Property:xQ};function zQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 YQ(e,t,r){return t&&AR(e.prototype,t),r&&AR(e,r),e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(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&&Rp(e,t)}function HQ(e,t){return t&&(qQ(t)==="object"||typeof t=="function")?t:zQ(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var qQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WQ(e){var t=UQ();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HQ(this,o)}}var KQ=function(e){GQ(r,e);var t=WQ(r);function r(n){return VQ(this,r),t.call(this,n)}return YQ(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 XQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JQ(e,t,r){return t&&MR(e.prototype,t),r&&MR(e,r),e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function ZQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function eJ(e,t){return t&&(tJ(t)==="object"||typeof t=="function")?t:XQ(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}var tJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rJ(e){var t=nJ();return function(){var n=qc(e),o;if(t){var i=qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eJ(this,o)}}var oJ=function(e){ZQ(r,e);var t=rJ(r);function r(n){return QQ(this,r),t.call(this,n)}return JQ(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(V);function iJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function cJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function fJ(e,t){return t&&(aJ(t)==="object"||typeof t=="function")?t:iJ(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}var aJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sJ(e){var t=lJ();return function(){var n=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fJ(this,o)}}var yJ=function(e){cJ(r,e);var t=sJ(r);function r(n){return uJ(this,r),t.call(this,n)}return r}(A),DR={Designer:KQ,Runtime:oJ,Property:yJ};function _J(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pJ(e,t,r){return t&&LR(e.prototype,t),r&&LR(e,r),e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function dJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$p(e,t)}function hJ(e,t){return t&&(bJ(t)==="object"||typeof t=="function")?t:_J(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}var bJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gJ(e){var t=OJ();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hJ(this,o)}}var mJ=function(e){dJ(r,e);var t=gJ(r);function r(n){return vJ(this,r),t.call(this,n)}return pJ(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 PJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wJ(e,t,r){return t&&FR(e.prototype,t),r&&FR(e,r),e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(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&&Sp(e,t)}function $J(e,t){return t&&(SJ(t)==="object"||typeof t=="function")?t:PJ(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}var SJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IJ(e){var t=EJ();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $J(this,o)}}var CJ=function(e){TJ(r,e);var t=IJ(r);function r(n){return RJ(this,r),t.call(this,n)}return wJ(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(V);function NJ(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 Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(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&&Ep(e,t)}function kJ(e,t){return t&&(AJ(t)==="object"||typeof t=="function")?t:NJ(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(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=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kJ(this,o)}}var LJ=function(e){jJ(r,e);var t=DJ(r);function r(n){BJ(this,r);var o;o=t.call(this,n);var i;o.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}(A),xR={Designer:mJ,Runtime:CJ,Property:LJ},FJ=Object.freeze({__proto__:null,Grid:DP,Col:Xu,Row:YP,GridRow:jv,CardGroup:QP,SubTableColumn:zv,SubTableRow:rR,GridTableColumn:iR,Tab:vR,TabPane:sR,Toolbox:OR,ListView:yp,DataView:dp,Page:NR,AdvancedContainer:kR,PositioningContainer:DR,Position:xR});function xJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function Cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function zJ(e,t){return t&&(VJ(t)==="object"||typeof t=="function")?t:xJ(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}var VJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bp(e){var t=YJ();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zJ(this,o)}}var GJ=function(e){Cp(r,e);var t=Bp(r);function r(n){Ip(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.limitRows=[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}],o.formKey={type:"string",required:!1,message:p.getMessage("pleaseEnterForm")},o.maxHeight={type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")},n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(D),HJ=function(e){Cp(r,e);var t=Bp(r);function r(n){Ip(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:p.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,f,a){f.length<n.limitRows&&a(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(be),Bn=function(e){Cp(r,e);var t=Bp(r);function r(n,o){Ip(this,r);var i;i=t.call(this,n,o);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Zc.controlName;var f;i.isHideCaption=(f=o==null?void 0:o.isHideCaption)!==null&&f!==void 0?f:!1;var a;i.defaultState=(a=o==null?void 0:o.defaultState)!==null&&a!==void 0?a:"default";var l;i.labelPosition=(l=o==null?void 0:o.labelPosition)!==null&&l!==void 0?l:"top";var s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"default";var y;i.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var _;i.useCustomHeight=(_=o==null?void 0:o.useCustomHeight)!==null&&_!==void 0?_:!1;var d;i.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:rO;var b;i.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var h;i.limitRows=(h=o==null?void 0:o.limitRows)!==null&&h!==void 0?h:1;var g;i.defaultRows=(g=o==null?void 0:o.defaultRows)!==null&&g!==void 0?g:1,i.datasourceBind=new Y(o==null?void 0:o.datasourceBind);var v;i.canAdd=(v=o==null?void 0:o.canAdd)!==null&&v!==void 0?v:!0;var O;i.canDelete=(O=o==null?void 0:o.canDelete)!==null&&O!==void 0?O:!0;var R;i.canCheck=(R=o==null?void 0:o.canCheck)!==null&&R!==void 0?R:!1;var m;i.canEdit=(m=o==null?void 0:o.canEdit)!==null&&m!==void 0?m:!1;var T;i.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var w;i.canExport=(w=o==null?void 0:o.canExport)!==null&&w!==void 0?w:!1;var $;i.canClear=($=o==null?void 0:o.canClear)!==null&&$!==void 0?$:!0;var B;i.serverPagination=(B=o==null?void 0:o.serverPagination)!==null&&B!==void 0?B:!1;var te;i.isShowCaptionTip=(te=o==null?void 0:o.isShowCaptionTip)!==null&&te!==void 0?te:!1;var q;i.captionTip=(q=o==null?void 0:o.captionTip)!==null&&q!==void 0?q:"";var U;i.mobileShowType=(U=o==null?void 0:o.mobileShowType)!==null&&U!==void 0?U:"tile";var Et;i.dataStorageDoc=(Et=o==null?void 0:o.dataStorageDoc)!==null&&Et!==void 0?Et:new Dh;var Je;return i.fixedColumn=(Je=o==null?void 0:o.fixedColumn)!==null&&Je!==void 0?Je:[],i}return r}(xt);Bn.Rules=GJ,Bn.RuntimeRules=HJ;function zR(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 VR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UJ(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&jp(e,t)}function KJ(e,t){return t&&(XJ(t)==="object"||typeof t=="function")?t:zR(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(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=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KJ(this,o)}}var Zc=function(e){WJ(r,e);var t=JJ(r);function r(o){qJ(this,r);var i,u;return i=t.call(this,o),i.props=new Bn(zR(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 ae,new ae,new ae]),i}var n=r.prototype;return n.addColumn=function(i,u){var f=i!==void 0&&typeof i!="number"?i:new ae,a=typeof i=="number"?i:u;return a===void 0?this.props.headers.push(f):this.props.headers.splice(a,0,f),f},UJ(r,null,[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(ur);Zc.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Zc.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];function YR(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 GR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eZ(e,t,r){return t&&GR(e.prototype,t),r&&GR(e,r),e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function tZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function nZ(e,t){return t&&(rZ(t)==="object"||typeof t=="function")?t:YR(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}var rZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iZ(e){var t=oZ();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 nZ(this,o)}}var uZ=function(e){tZ(r,e);var t=iZ(r);function r(o){ZJ(this,r);var i;return i=t.call(this,o),i.props=new Bn(YR(i),o==null?void 0:o.props),i}var n=r.prototype;return n.getChildrenDataSourceBindLayout=function(){he("Method not implemented.")},n.getChildrenFormControl=function(){var i=[];return i},eZ(r,null,[{key:"controlType",get:function(){return"subtable"}}]),r}(nl),HR={Designer:Zc,Runtime:uZ,Property:Bn};function cZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function aZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function lZ(e,t){return t&&(sZ(t)==="object"||typeof t=="function")?t:cZ(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}var sZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Z(e){var t=yZ();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 lZ(this,o)}}var Mp=function(e){aZ(r,e);var t=_Z(r);function r(n,o){fZ(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}(xt);function vZ(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 nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function UR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function pZ(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:vZ(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}var dZ=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 WR(e){var t=hZ();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 pZ(this,o)}}var bZ=function(e){UR(r,e);var t=WR(r);function r(n){qR(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(ar),rf=function(e){UR(r,e);var t=WR(r);function r(n){qR(this,r);var o,i,u;o=t.call(this,n);var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"left";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Me.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var y;o.autoWidth.flex=(y=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&y!==void 0?y:.4;var _;return o.widthType=(_=n==null?void 0:n.widthType)!==null&&_!==void 0?_:"px",o}return r}(F);rf.Rules=bZ;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 of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(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&&Lp(e,t)}function PZ(e,t){return t&&(RZ(t)==="object"||typeof t=="function")?t:OZ(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(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 TZ(e){var t=wZ();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 PZ(this,o)}}var Me=function(e){mZ(r,e);var t=TZ(r);function r(n){gZ(this,r);var o;return o=t.call(this,n),o.props=new rf(n==null?void 0:n.props),o}return r}(G);Me.controlType="order-column",Me.controlName="\u5E8F\u53F7",Me.controlIcon="order-column",Me.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];function $Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SZ(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 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&&Fp(e,t)}function IZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:$Z(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}var CZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BZ(e){var t=NZ();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 IZ(this,o)}}var xp=function(e){EZ(r,e);var t=BZ(r);function r(n){SZ(this,r);var o;return o=t.call(this,n),o.props=new rf(n==null?void 0:n.props),o}return r}(H);xp.controlType="order-column",xp.controlFieldType=c.FieldTypes.DECIMAL;var KR={Designer:Me,Runtime:xp,Property:rf};function jZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function AZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function MZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:jZ(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}var DZ=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 FZ(e){var t=LZ();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 MZ(this,o)}}var Vp=function(e){AZ(r,e);var t=FZ(r);function r(n){kZ(this,r);var o,i;o=t.call(this,n);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:84;var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:De.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(F);function XR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QR(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 xZ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){QR(i,n,o,u,f,"next",a)}function f(a){QR(i,n,o,u,f,"throw",a)}u(void 0)})}}function zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mt=Reflect.get:mt=function(o,i,u){var f=WZ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},mt(e,t,r||e)}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pe(e)}function YZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function GZ(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){VZ(e,o,r[o])})}return e}function HZ(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 qZ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):HZ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function UZ(e,t){return t&&(KZ(t)==="object"||typeof t=="function")?t:XR(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function WZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pe(e),e!==null););return e}var KZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QZ(e){var t=XZ();return function(){var n=Pe(e),o;if(t){var i=Pe(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UZ(this,o)}}var JZ=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}}},De=function(e){YZ(r,e);var t=QZ(r);function r(o){zZ(this,r);var i;return i=t.call(this,o),i.props=new Vp(o==null?void 0:o.props),ye(XR(i),"children",o==null?void 0:o.children),i}var n=r.prototype;return n.toDataBindModel=function(){var i=mt(Pe(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(u){if(u.type===Vo.controlType){var f=u;i.props[f.props.command]=f.props}}),i},n.toSchema=function(){var i=mt(Pe(r.prototype),"toSchema",this).call(this);return qZ(GZ({},i),{children:this.children.map(function(u){return u.toSchema()})})},n.validate=function(i,u){var f=this,a=this,l=function(){return mt(Pe(r.prototype),"validate",f)};return xZ(function(){return JZ(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]}})})()},r}(G);De.controlType="operation-column",De.controlName="\u64CD\u4F5C",De.controlIcon="operation-column",De.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];function JR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function eee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function tee(e,t){return t&&(nee(t)==="object"||typeof t=="function")?t:JR(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}var nee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ree(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oee(e){var t=ree();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tee(this,o)}}var Hp=function(e){eee(r,e);var t=oee(r);function r(n){ZZ(this,r);var o;return o=t.call(this,n),o.props=new Vp(n==null?void 0:n.props),ye(JR(o),"children",n==null?void 0:n.children),o}return r}(H);Hp.controlType="operation-column",Hp.controlFieldType=c.FieldTypes.FILE;var ZR={Designer:De,Runtime:Hp,Property:Vp};function qp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ew(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 iee(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){ew(i,n,o,u,f,"next",a)}function f(a){ew(i,n,o,u,f,"throw",a)}u(void 0)})}}function uee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cee(e,t,r){return t&&tw(e.prototype,t),r&&tw(e,r),e}function fee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jn=Reflect.get:jn=function(o,i,u){var f=vee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},jn(e,t,r||e)}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(e)}function aee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function lee(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){fee(e,o,r[o])})}return e}function see(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 yee(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):see(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function _ee(e,t){return t&&(pee(t)==="object"||typeof t=="function")?t:qp(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function vee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Le(e),e!==null););return e}var pee=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 hee(e){var t=dee();return function(){var n=Le(e),o;if(t){var i=Le(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ee(this,o)}}var bee=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}}},nw=function(e){aee(r,e);var t=hee(r);function r(o){uee(this,r);var i;return i=t.call(this,o),i.props=new Mp(qp(i),o==null?void 0:o.props),ye(qp(i),"children",o==null?void 0:o.children),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new Me,new De]),i}var n=r.prototype;return n.toSchema=function(){var i=jn(Le(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return yee(lee({},i),{children:u})},n.validate=function(i,u){var f=this,a=this,l=function(){return jn(Le(r.prototype),"validate",f)};return iee(function(){return bee(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]}})})()},cee(r,null,[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(ur);nw.setting=[{key:"list-fixed-header",visible:!0}];function rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gee(e,t,r){return t&&ow(e.prototype,t),r&&ow(e,r),e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function mee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function Pee(e,t){return t&&(Ree(t)==="object"||typeof t=="function")?t:rw(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}var Ree=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tee(e){var t=wee();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 Pee(this,o)}}var $ee=function(e){mee(r,e);var t=Tee(r);function r(o){Oee(this,r);var i;return i=t.call(this,o),i.props=new Mp(rw(i),o==null?void 0:o.props),i}var n=r.prototype;return n.getChildrenDataSourceBindLayout=function(){he("Method not implemented.")},n.getChildrenFormControl=function(){var i=[];return i},n.getCheckboxProps=function(i){return{}},gee(r,null,[{key:"controlType",get:function(){return"grid-table"}}]),r}(nl),iw={Designer:nw,Runtime:$ee,Property:Mp},See=Object.freeze({__proto__:null,SubTable:HR,GridTable:iw});function Eee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function cw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function Iee(e,t){return t&&(Cee(t)==="object"||typeof t=="function")?t:Eee(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}var Cee=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 fw(e){var t=Nee();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 Iee(this,o)}}var Bee=function(e){cw(r,e);var t=fw(r);function r(n){return uw(this,r),t.call(this,n)}return r}(cl),sf=function(e){cw(r,e);var t=fw(r);function r(n){uw(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fe.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Y(n==null?void 0:n.datasourceBind);var f;o.options=le((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(F);sf.Rules=Bee;function jee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kee(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 Aee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function Mee(e,t){return t&&(Dee(t)==="object"||typeof t=="function")?t:jee(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}var Dee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fee(e){var t=Lee();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 Mee(this,o)}}var Fe=function(e){Aee(r,e);var t=Fee(r);function r(n){kee(this,r);var o;return o=t.call(this,n),o.props=new sf(n==null?void 0:n.props),o}return r}(G);Fe.controlType="varchar-column",Fe.controlName="\u77ED\u6587\u672C",Fe.controlIcon="varchar-column",Fe.controlFieldType=c.FieldTypes.VARCHAR,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",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 xee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function Vee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function Yee(e,t){return t&&(Gee(t)==="object"||typeof t=="function")?t:xee(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}var Gee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qee(e){var t=Hee();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 Yee(this,o)}}var Jp=function(e){Vee(r,e);var t=qee(r);function r(n){zee(this,r);var o;return o=t.call(this,n),o.props=new sf(n==null?void 0:n.props),o}return r}(H);Jp.controlType="varchar-column",Jp.controlFieldType=c.FieldTypes.VARCHAR;var aw={Designer:Fe,Runtime:Jp,Property:sf};function Uee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(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&&Zp(e,t)}function Xee(e,t){return t&&(Qee(t)==="object"||typeof t=="function")?t:Uee(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}var Qee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zee(e){var t=Jee();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 ed=function(e){Kee(r,e);var t=Zee(r);function r(n){Wee(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:xe.controlName;var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return r}(F);function ete(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pf=Reflect.get:pf=function(o,i,u){var f=ote(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},pf(e,t,r||e)}function Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pt(e)}function nte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&td(e,t)}function rte(e,t){return t&&(ite(t)==="object"||typeof t=="function")?t:ete(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}function ote(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pt(e),e!==null););return e}var ite=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ute(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cte(e){var t=ute();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 rte(this,o)}}var xe=function(e){nte(r,e);var t=cte(r);function r(o){tte(this,r);var i;return i=t.call(this,o),i.props=new ed(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=pf(Pt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.escapeHTML;u.props.escapeHTML=f}return u},r}(G);xe.controlType="text-column",xe.controlName="\u957F\u6587\u672C",xe.controlIcon="text-column",xe.controlFieldType=c.FieldTypes.TEXT,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",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 fte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ate(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 lte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function ste(e,t){return t&&(yte(t)==="object"||typeof t=="function")?t:fte(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}var yte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _te(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vte(e){var t=_te();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 ste(this,o)}}var rd=function(e){lte(r,e);var t=vte(r);function r(n){ate(this,r);var o;return o=t.call(this,n),o.props=new ed(n==null?void 0:n.props),o}return r}(H);rd.controlType="text-column",rd.controlFieldType=c.FieldTypes.TEXT;var lw={Designer:xe,Runtime:rd,Property:ed};function pte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function bte(e,t){return t&&(Ote(t)==="object"||typeof t=="function")?t:pte(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var Ote=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mte(e){var t=gte();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bte(this,o)}}var id=function(e){hte(r,e);var t=mte(r);function r(n){dte(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:ze.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 Y(n==null?void 0:n.datasourceBind);var s;return o.options=le((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]),o}return r}(F);function Pte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function Tte(e,t){return t&&(Ste(t)==="object"||typeof t=="function")?t:Pte(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function $te(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rt(e),e!==null););return e}var Ste=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ite(e){var t=Ete();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 Tte(this,o)}}var ze=function(e){wte(r,e);var t=Ite(r);function r(o){Rte(this,r);var i;return i=t.call(this,o),i.props=new id(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,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},r}(G);ze.controlType="decimal-column",ze.controlName="\u6570\u503C",ze.controlIcon="decimal-column",ze.controlFieldType=c.FieldTypes.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",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 Cte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function Bte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function jte(e,t){return t&&(kte(t)==="object"||typeof t=="function")?t:Cte(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var kte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mte(e){var t=Ate();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jte(this,o)}}var fd=function(e){Bte(r,e);var t=Mte(r);function r(n){Nte(this,r);var o;return o=t.call(this,n),o.props=new id(n==null?void 0:n.props),o}return r}(H);fd.controlType="decimal-column",fd.controlFieldType=c.FieldTypes.DECIMAL;var sw={Designer:ze,Runtime:fd,Property:id};function Dte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function Fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ad(e,t)}function xte(e,t){return t&&(zte(t)==="object"||typeof t=="function")?t:Dte(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var zte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yte(e){var t=Vte();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 xte(this,o)}}var ld=function(e){Fte(r,e);var t=Yte(r);function r(n){Lte(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:Ve.controlName,o}return r}(F);function Gte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mf=Reflect.get:mf=function(o,i,u){var f=Wte(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},mf(e,t,r||e)}function wt(e){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wt(e)}function qte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function Ute(e,t){return t&&(Kte(t)==="object"||typeof t=="function")?t:Gte(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function Wte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wt(e),e!==null););return e}var Kte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Xte();return function(){var n=wt(e),o;if(t){var i=wt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ute(this,o)}}var Ve=function(e){qte(r,e);var t=Qte(r);function r(o){Hte(this,r);var i;return i=t.call(this,o),i.props=new ld(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=mf(wt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.dateType;u.props.dateType=f}return u},r}(G);Ve.controlType="timescope-column",Ve.controlName="\u65E5\u671F\u533A\u95F4",Ve.controlIcon="timescope-column",Ve.controlFieldType=c.FieldTypes.TIMESCOPE,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function Jte(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 ene(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function tne(e,t){return t&&(nne(t)==="object"||typeof t=="function")?t:Jte(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var nne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function one(e){var t=rne();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tne(this,o)}}var _d=function(e){ene(r,e);var t=one(r);function r(n){Zte(this,r);var o;return o=t.call(this,n),o.props=new ld(n==null?void 0:n.props),o}return r}(H);_d.controlType="timescope-column",_d.controlFieldType=c.FieldTypes.TIMESCOPE;var yw={Designer:Ve,Runtime:_d,Property:ld};function ine(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function une(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function cne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function fne(e,t){return t&&(ane(t)==="object"||typeof t=="function")?t:ine(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var ane=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sne(e){var t=lne();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fne(this,o)}}var pd=function(e){cne(r,e);var t=sne(r);function r(n){une(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:Ye.controlName,o}return r}(F);function yne(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 wf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wf=Reflect.get:wf=function(o,i,u){var f=dne(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},wf(e,t,r||e)}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tt(e)}function vne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function pne(e,t){return t&&(hne(t)==="object"||typeof t=="function")?t:yne(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}function dne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tt(e),e!==null););return e}var hne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function One(e){var t=bne();return function(){var n=Tt(e),o;if(t){var i=Tt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pne(this,o)}}var Ye=function(e){vne(r,e);var t=One(r);function r(o){_ne(this,r);var i;return i=t.call(this,o),i.props=new pd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=wf(Tt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.dateType;u.props.dateType=f}return u},r}(G);Ye.controlType="timestamp-column",Ye.controlName="\u65E5\u671F",Ye.controlIcon="timestamp-column",Ye.controlFieldType=c.FieldTypes.TIMESTAMP,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function gne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function Pne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function Rne(e,t){return t&&(wne(t)==="object"||typeof t=="function")?t:gne(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}var wne=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 $ne(e){var t=Tne();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rne(this,o)}}var bd=function(e){Pne(r,e);var t=$ne(r);function r(n){mne(this,r);var o;return o=t.call(this,n),o.props=new pd(n==null?void 0:n.props),o}return r}(H);bd.controlType="timestamp-column",bd.controlFieldType=c.FieldTypes.TIMESTAMP;var _w={Designer:Ye,Runtime:bd,Property:pd};function Sne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function pw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function Ene(e,t){return t&&(Ine(t)==="object"||typeof t=="function")?t:Sne(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}var Ine=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dw(e){var t=Cne();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 Ene(this,o)}}var Nne=function(e){pw(r,e);var t=dw(r);function r(n){return vw(this,r),t.call(this,n)}return r}(cl),Sf=function(e){pw(r,e);var t=dw(r);function r(n){vw(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 Y(n==null?void 0:n.datasourceBind);var f;return o.options=le((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(F);Sf.Rules=Nne;function Bne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function kne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function Ane(e,t){return t&&(Mne(t)==="object"||typeof t=="function")?t:Bne(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}var Mne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lne(e){var t=Dne();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 Ane(this,o)}}var Ge=function(e){kne(r,e);var t=Lne(r);function r(n){jne(this,r);var o;return o=t.call(this,n),o.props=new Sf(n==null?void 0:n.props),o}return r}(G);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-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];function Fne(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 If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function zne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function Vne(e,t){return t&&(Yne(t)==="object"||typeof t=="function")?t:Fne(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var Yne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hne(e){var t=Gne();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vne(this,o)}}var Pd=function(e){zne(r,e);var t=Hne(r);function r(n){xne(this,r);var o;return o=t.call(this,n),o.props=new Sf(n==null?void 0:n.props),o}return r}(H);Pd.controlType="array-column",Pd.controlFieldType=c.FieldTypes.ARRAY;var hw={Designer:Ge,Runtime:Pd,Property:Sf};function qne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Une(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function Wne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function Kne(e,t){return t&&(Xne(t)==="object"||typeof t=="function")?t:qne(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var Xne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jne(e){var t=Qne();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kne(this,o)}}var wd=function(e){Wne(r,e);var t=Jne(r);function r(n){Une(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:He.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(F);function Zne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ere(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nf=Reflect.get:Nf=function(o,i,u){var f=rre(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Nf(e,t,r||e)}function $t(e){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$t(e)}function tre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function nre(e,t){return t&&(ore(t)==="object"||typeof t=="function")?t:Zne(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function rre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$t(e),e!==null););return e}var ore=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ire(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ure(e){var t=ire();return function(){var n=$t(e),o;if(t){var i=$t(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nre(this,o)}}var He=function(e){tre(r,e);var t=ure(r);function r(o){ere(this,r);var i;return i=t.call(this,o),i.props=new wd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Nf($t(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.displayLevel;u.props.displayLevel=f}return u},r}(G);He.controlType="department-column",He.controlName="\u90E8\u95E8",He.controlIcon="department-column",He.controlFieldType=c.FieldTypes.DEPARTMENTS,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];function cre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function are(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function lre(e,t){return t&&(sre(t)==="object"||typeof t=="function")?t:cre(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var sre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _re(e){var t=yre();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lre(this,o)}}var Sd=function(e){are(r,e);var t=_re(r);function r(n){fre(this,r);var o;return o=t.call(this,n),o.props=new wd(n==null?void 0:n.props),o}return r}(H);Sd.controlType="department-column",Sd.controlFieldType=c.FieldTypes.DEPARTMENTS;var bw={Designer:He,Runtime:Sd,Property:wd};function vre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function dre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function hre(e,t){return t&&(bre(t)==="object"||typeof t=="function")?t:vre(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var bre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ore(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gre(e){var t=Ore();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hre(this,o)}}var Id=function(e){dre(r,e);var t=gre(r);function r(n){pre(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qe.controlName,o}return r}(F);function mre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function Rre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function wre(e,t){return t&&(Tre(t)==="object"||typeof t=="function")?t:mre(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}var Tre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $re(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sre(e){var t=$re();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wre(this,o)}}var qe=function(e){Rre(r,e);var t=Sre(r);function r(n){Pre(this,r);var o;return o=t.call(this,n),o.props=new Id(n==null?void 0:n.props),o}return r}(G);qe.controlType="auto-number-column",qe.controlName="\u81EA\u52A8\u7F16\u53F7",qe.controlIcon="auto-number-column",qe.controlFieldType=c.FieldTypes.AUTO_NUMBER,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Ere(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ire(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function Cre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function Nre(e,t){return t&&(Bre(t)==="object"||typeof t=="function")?t:Ere(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var Bre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kre(e){var t=jre();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nre(this,o)}}var Bd=function(e){Cre(r,e);var t=kre(r);function r(n){Ire(this,r);var o;return o=t.call(this,n),o.props=new Id(n==null?void 0:n.props),o}return r}(H);Bd.controlType="auto-number-column",Bd.controlFieldType=c.FieldTypes.AUTO_NUMBER;var Ow={Designer:qe,Runtime:Bd,Property:Id};function Are(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function Dre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function Lre(e,t){return t&&(Fre(t)==="object"||typeof t=="function")?t:Are(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var Fre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zre(e){var t=xre();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lre(this,o)}}var kd=function(e){Dre(r,e);var t=zre(r);function r(n){Mre(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ue.controlName,o}return r}(F);function Vre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function Gre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function Hre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:Vre(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}var qre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ure(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wre(e){var t=Ure();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hre(this,o)}}var Ue=function(e){Gre(r,e);var t=Wre(r);function r(n){Yre(this,r);var o;return o=t.call(this,n),o.props=new kd(n==null?void 0:n.props),o}return r}(G);Ue.controlType="file-column",Ue.controlName="\u9644\u4EF6",Ue.controlIcon="file-column",Ue.controlFieldType=c.FieldTypes.FILE,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Kre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xre(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 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&&Md(e,t)}function Jre(e,t){return t&&(Zre(t)==="object"||typeof t=="function")?t:Kre(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(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=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jre(this,o)}}var Dd=function(e){Qre(r,e);var t=toe(r);function r(n){Xre(this,r);var o;return o=t.call(this,n),o.props=new kd(n==null?void 0:n.props),o}return r}(H);Dd.controlType="file-column",Dd.controlFieldType=c.FieldTypes.FILE;var gw={Designer:Ue,Runtime:Dd,Property:kd};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 Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function ooe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function ioe(e,t){return t&&(uoe(t)==="object"||typeof t=="function")?t:noe(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}var uoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function coe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function foe(e){var t=coe();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ioe(this,o)}}var Fd=function(e){ooe(r,e);var t=foe(r);function r(n){roe(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:We.controlName,o}return r}(F);function aoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function loe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function soe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function yoe(e,t){return t&&(_oe(t)==="object"||typeof t=="function")?t:aoe(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var _oe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function voe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function poe(e){var t=voe();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yoe(this,o)}}var We=function(e){soe(r,e);var t=poe(r);function r(n){loe(this,r);var o;return o=t.call(this,n),o.props=new Fd(n==null?void 0:n.props),o}return r}(G);We.controlType="image-column",We.controlName="\u56FE\u7247",We.controlIcon="image-column",We.controlFieldType=c.FieldTypes.IMAGE,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function doe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function boe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function Ooe(e,t){return t&&(goe(t)==="object"||typeof t=="function")?t:doe(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(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 Poe(e){var t=moe();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ooe(this,o)}}var Vd=function(e){boe(r,e);var t=Poe(r);function r(n){hoe(this,r);var o;return o=t.call(this,n),o.props=new Fd(n==null?void 0:n.props),o}return r}(H);Vd.controlType="image-column",Vd.controlFieldType=c.FieldTypes.IMAGE;var mw={Designer:We,Runtime:Vd,Property:Fd};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 Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function Toe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $oe(e,t){return t&&(Soe(t)==="object"||typeof t=="function")?t:Roe(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(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=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $oe(this,o)}}var Gd=function(e){Toe(r,e);var t=Ioe(r);function r(n){woe(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ke.controlName,o}return r}(F);function Coe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Noe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(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&&Hd(e,t)}function joe(e,t){return t&&(koe(t)==="object"||typeof t=="function")?t:Coe(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(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=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return joe(this,o)}}var Ke=function(e){Boe(r,e);var t=Moe(r);function r(n){Noe(this,r);var o;return o=t.call(this,n),o.props=new Gd(n==null?void 0:n.props),o}return r}(G);Ke.controlType="people-column",Ke.controlName="\u4EBA\u5458",Ke.controlIcon="people-column",Ke.controlFieldType=c.FieldTypes.EMPLOYEES,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Doe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Loe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function Foe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function xoe(e,t){return t&&(zoe(t)==="object"||typeof t=="function")?t:Doe(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}var zoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Voe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yoe(e){var t=Voe();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xoe(this,o)}}var Ud=function(e){Foe(r,e);var t=Yoe(r);function r(n){Loe(this,r);var o;return o=t.call(this,n),o.props=new Gd(n==null?void 0:n.props),o}return r}(H);Ud.controlType="people-column",Ud.controlFieldType=c.FieldTypes.EMPLOYEES;var Pw={Designer:Ke,Runtime:Ud,Property:Gd};function Goe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function qoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function Uoe(e,t){return t&&(Woe(t)==="object"||typeof t=="function")?t:Goe(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}var Woe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Koe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xoe(e){var t=Koe();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uoe(this,o)}}var Kd=function(e){qoe(r,e);var t=Xoe(r);function r(n){Hoe(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:Xe.controlName,o}return r}(F);function Qoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Joe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function Zoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eie(e,t){return t&&(tie(t)==="object"||typeof t=="function")?t:Qoe(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}var tie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rie(e){var t=nie();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eie(this,o)}}var Xe=function(e){Zoe(r,e);var t=rie(r);function r(n){Joe(this,r);var o;return o=t.call(this,n),o.props=new Kd(n==null?void 0:n.props),o}return r}(G);Xe.controlType="location-column",Xe.controlName="\u5730\u5740",Xe.controlIcon="location-column",Xe.controlFieldType=c.FieldTypes.ADDRESS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function oie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function uie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qd(e,t)}function cie(e,t){return t&&(fie(t)==="object"||typeof t=="function")?t:oie(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}var fie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lie(e){var t=aie();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cie(this,o)}}var Jd=function(e){uie(r,e);var t=lie(r);function r(n){iie(this,r);var o;return o=t.call(this,n),o.props=new Kd(n==null?void 0:n.props),o}return r}(H);Jd.controlType="location-column",Jd.controlFieldType=c.FieldTypes.ADDRESS;var Rw={Designer:Xe,Runtime:Jd,Property:Kd};function sie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function _ie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function vie(e,t){return t&&(pie(t)==="object"||typeof t=="function")?t:sie(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}var pie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function die(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hie(e){var t=die();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 vie(this,o)}}var eh=function(e){_ie(r,e);var t=hie(r);function r(n){yie(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Re.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(F);function ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kn=Reflect.get:kn=function(o,i,u){var f=$ie(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},kn(e,t,r||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(e)}function gie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mie(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Pie(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){Oie(e,o,r[o])})}return e}function Rie(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 wie(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Rie(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Tie(e,t){return t&&(Sie(t)==="object"||typeof t=="function")?t:ww(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function $ie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}var Sie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iie(e){var t=Eie();return function(){var n=Qe(e),o;if(t){var i=Qe(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tie(this,o)}}var Cie=1,Re=function(t){gie(n,t);var r=Iie(n);function n(i){bie(this,n);var u;u=r.call(this,i);var f=mie(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new eh(i==null?void 0:i.props),ye(ww(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=kn(Qe(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=kn(Qe(n.prototype),"toSchema",this).call(this);return wie(Pie({},u),{children:this.children.map(function(f){return f.toSchema()})})},n}(G);Re.controlType="custom-column",Re.controlName="\u81EA\u5B9A\u4E49",Re.controlIcon="custom-column",Re.excludes=[],Re.childrenMaxLength=Cie,Re.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nie(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 Bie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function jie(e,t){return t&&(kie(t)==="object"||typeof t=="function")?t:Tw(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var kie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mie(e){var t=Aie();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 jie(this,o)}}var $w=function(e){Bie(r,e);var t=Mie(r);function r(n){Nie(this,r);var o;return o=t.call(this,n),o.props=new eh(n==null?void 0:n.props),ye(Tw(o),"children",n==null?void 0:n.children),o}return r}(H);$w.controlType="custom-column";var Sw={Designer:Re,Runtime:$w,Property:eh};function Die(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function Fie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xie(e,t){return t&&(zie(t)==="object"||typeof t=="function")?t:Die(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var zie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yie(e){var t=Vie();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 xie(this,o)}}var oh=function(e){Fie(r,e);var t=Yie(r);function r(n){Lie(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:we.controlName;var u;return o.datasourceBind=new At((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:we.controlCustomAttributes}),o}return r}(F);function Gie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qie(e,t,r){return t&&Ew(e.prototype,t),r&&Ew(e,r),e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function Uie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function Wie(e,t){return t&&(Kie(t)==="object"||typeof t=="function")?t:Gie(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var Kie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qie(e){var t=Xie();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wie(this,o)}}var we=function(e){Uie(r,e);var t=Qie(r);function r(n){Hie(this,r);var o;return o=t.call(this,n),o.props=new oh(n==null?void 0:n.props),o}return qie(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(G);we.controlType="employee-column",we.controlName="\u4EBA\u5458",we.controlIcon="employee-column",we.controlFieldType=c.FieldTypes.EMPLOYEES,we.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Jie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zie(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 eue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tue(e,t){return t&&(nue(t)==="object"||typeof t=="function")?t:Jie(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var nue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oue(e){var t=rue();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 tue(this,o)}}var ch=function(e){eue(r,e);var t=oue(r);function r(n){Zie(this,r);var o;return o=t.call(this,n),o.props=new oh(n==null?void 0:n.props),o}return r}(H);ch.controlType="employee-column",ch.controlFieldType=c.FieldTypes.EMPLOYEES;var Iw={Designer:we,Runtime:ch,Property:oh},iue=Object.freeze({__proto__:null,VarcharColumn:aw,TextColumn:lw,DecimalColumn:sw,TimescopeColumn:yw,TimestampColumn:_w,ArrayColumn:hw,DepartmentColumn:bw,AutoNumberColumn:Ow,FileColumn:gw,ImageColumn:mw,PeopleColumn:Pw,LocationColumn:Rw,CustomColumn:Sw,OrderColumn:KR,OperationColumn:ZR,EmployeeColumn:Iw});function uue(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 Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function Nw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function cue(e,t){return t&&(fue(t)==="object"||typeof t=="function")?t:uue(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var fue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bw(e){var t=aue();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cue(this,o)}}var lue=function(e){Nw(r,e);var t=Bw(r);function r(n){Cw(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(be),ea=function(e){Nw(r,e);var t=Bw(r);function r(n){Cw(this,r);var o;o=t.call(this,n);var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var f;o.search=new pe((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new pe((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(_){return new pe(_)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return r}(_r);ea.RuntimeRules=lue;function sue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(e)}function _ue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function vue(e,t){return t&&(pue(t)==="object"||typeof t=="function")?t:sue(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var pue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function due(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hue(e){var t=due();return function(){var n=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vue(this,o)}}var lh=function(e){_ue(r,e);var t=hue(r);function r(n){yue(this,r);var o;return o=t.call(this,n),o.props=new ea(n==null?void 0:n.props),o}return r}(Yb);lh.controlType="simple-search",lh.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 bue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function gue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mue(e,t){return t&&(Pue(t)==="object"||typeof t=="function")?t:bue(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var Pue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wue(e){var t=Rue();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mue(this,o)}}var jw=function(e){gue(r,e);var t=wue(r);function r(n){Oue(this,r);var o;o=t.call(this,n),o.props=new ea(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}(Gb);jw.controlType="simple-search";var kw={Designer:lh,Runtime:jw,Property:ea},Tue=Object.freeze({__proto__:null,SimpleSearch:kw});function yh(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 $ue(e){if(Array.isArray(e))return e}function Sue(e){if(Array.isArray(e))return yh(e)}function Eue(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Iue(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 Cue(){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 Nue(){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 Bue(e,t){return $ue(e)||Iue(e,t)||Mw(e,t)||Cue()}function Aw(e){return Sue(e)||Eue(e)||Mw(e)||Nue()}function Mw(e,t){if(!!e){if(typeof e=="string")return yh(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 yh(e,t)}}var jue=function(e,t){var r=Array.isArray(e),n=r?e:[e];Hue(t==null?void 0:t.events),Fue(n),xue(n);var o=Lue(n),i=zue(o,t),u=Ce(Q(i,function(f){return Due(f,t)}));return r?u:u[0]},kue=[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"],Aue=["subtable","grid-table"],Mue=["simple-search"];function Due(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":kue.includes(i.type)?i.controlType="base":i.controlType="form",Aue.includes(i.type)&&(i.controlType="list"),Mue.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),W(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),W(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),W(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var f;i.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(W(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(W(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var a,l=i.props.entry_type||i.props.entryType;i.props.openType=l==="subpage"?"modal":"default",((a=i.children[0])===null||a===void 0?void 0:a.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(w,$){var B=new zv.Designer;B.props.caption=W(w.field_name)?w.field_name.zh:w.field_name;var te=B.toSchema();te.id=w.header_id;var q=i.children[0].children[$].children[0];return q&&(te.children=[q]),te}),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(w){w.label=W(w.text)?w.text.zh:w.text,w.id=w.id||w.opt_id||w.optId||w.data_id}),i=e),e.type==="grid-row"){var y=24/i.children.length;i.children=i.children.map(function(w){var $=new Xu.Designer;$.props.span=y;var B=$.toSchema();return B.children.push(w),B})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var _=i==null?void 0:i.children[0],d=i==null?void 0:i.children[1],b={};_&&(Dw(i,t),b.result=_.props.data_bind,i.id=_.id,i.props=_.props,i.props.script_src=_.props.script_src,i.props.script_echo=_.props.script_echo,i.props.precision=_.props.precision,i.props.micrometer=_.props.is_show_money,i.props.showUpperCase=_.props.is_show_chn),d&&(b.unit=d.props.data_bind,i.props.default_value={unit:d.props.value}),i.props.dataBind=b,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var h=i==null?void 0:i.children[0],g=i==null?void 0:i.children[1],v={},O={};h&&(Dw(i,t),i.id=h.id,v.amount=h.props.data_bind,i.props.range_min=Ie(h.props.range_min),i.props.range_max=Ie(h.props.range_max),O.amount=Ie(h.props.value),i.props.required=h.props.required,i.props.is_hide=h.props.is_hide,i.props.default_state=h.props.default_state,i.props.caption=W(h.props.caption)?h.props.caption.zh:h.props.caption,i.props.is_hide_caption=h.props.is_hide_caption,i.props.showUpperCase=h.props.is_show_chn),g&&(v.currency=g.props.data_bind,O.currency=g.props.value,i.props.datasourceBind=g.props.datasource_bind,i.props.options=g.props.options.map(function(w){return{label:w.text,value:w.value}})),i.props.dataBind=v,i.props.defaultValue=O,delete i.children}if(e.type==="date-range"){i.controlType="form";var R=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1];i.props.placeholderStart=W(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=W(e.props.caption)?e.props.caption.zh:e.props.caption;var T={};R&&(T.min=R.props.data_bind),m&&(T.max=m.props.data_bind),i.props.dataBind=T,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=W(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=Ie(e.props.range_min),i.props.range_max=Ie(e.props.range_max),i.props.defaultValue=Ie(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"),que(i,t==null?void 0:t.control_events),i}function Dw(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 Lue(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new dp.Designer,n=r.toSchema();return n.children=e,[n]}function Fue(e){e.forEach(function(t){t.children&&Gue(t.children)})}function xue(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 zue(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=Bue(l,3),y=s[0],_=s[1],d=s[2];Vue(y),d.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,Yue(d,_);var b,h=(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,g,v=((g=a==null||(o=a.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&g!==void 0?g:h)?"".concat(h,"_selectMore"):void 0,O,R=(O=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&O!==void 0?O:[],m=new yp.Designer;m.props.datasourceBind=new Y({dataCode:h,svcCode:v,orders:Ih(R)}),m.props.isShowSubList=a.is_show_sublist,m.props.triggerType=a.timing_type,m.props.triggerFieldCode=a.ctrl_field_code,a==null||(u=a.sublist_page)===null||u===void 0||u.sublists.forEach(function(w){w.title=W(w.title)?w.title.zh:w.title}),m.props.sublistPage=a.sublist_page;var T=m.toSchema();return T.children.push(y,d),[T]}function Vue(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=W(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(n=t.dateType)===null||n===void 0||(o=n.replace)===null||o===void 0?void 0:o.call(n,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Yue(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:W(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=W(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new Y({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 Gue(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 Hue(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 que(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,Aw(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,Aw(t[e.id].on_blur))}}}var Uue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ce(Q(n,function(i){return Wue(i)}));return r?o:o[0]};function Wue(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===c.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new re({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var Kue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ce(Q(n,function(i){return Xue(i)}));return r?o:o[0]};function Xue(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 Que=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ce(Q(n,function(i){return Jue(i)}));return r?o:o[0]};function Jue(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 Zue=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ce(Q(n,function(i){return tce(i)}));return r?o:o[0]},ece=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function tce(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(ece.includes(r.type))return r;var n=new jv.Designer,o=new Xu.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var nce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Ce(Q(n,function(i){return rce(i)}));return r?o:o[0]};function rce(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 oce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return ice(i)});return r?o:o[0]};function ice(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var uce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return cce(i)});return r?o:o[0]};function Te(e,t){e.field_code&&(e.field_type=t)}function cce(e,t){var r,n=(r={},k(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),k(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),k(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),k(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),k(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),k(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),k(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),k(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),k(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),k(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),k(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),k(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),k(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),k(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),k(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),k(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Te(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(Te(e.props.data_bind.amount,c.FieldTypes.DECIMAL),Te(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(Te(e.props.data_bind.result,c.FieldTypes.DECIMAL),Te(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(Te(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),Te(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;Te(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var fce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return ace(i)});return r?o:o[0]};function ace(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 lce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return sce(i)});return r?o:o[0]};function sce(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 yce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return _ce(i)});return r?o:o[0]};function _ce(e,t){return[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var vce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return pce(i)});return r?o:o[0]};function pce(e,t){return[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var dce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return hce(i)});return r?o:o[0]};function hce(e,t){return e.type===c.CONTROL_TYPE.TITLE&&e.props.config.push(c.TitleConfigEnum.ShowTitle),e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===c.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var u;if(r.children=(u=r==null?void 0:r.children)!==null&&u!==void 0?u:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var f,a,l,s,y,_,d=new Zt.Designer;Object.defineProperty(d,"id",{value:"listPageCheckBtnId"}),d.props.code="view",d.props.icon="iconliulan1",d.props.command="view",d.props.content=(f=r.props)===null||f===void 0?void 0:f.check.content,d.props.priorityProcess=(a=r.props)===null||a===void 0?void 0:a.check.priority_process,d.props.openType=(l=r.props)===null||l===void 0?void 0:l.check.open_type,d.props.formKey=(s=r.props)===null||s===void 0?void 0:s.check.form_key,!((y=r.props)===null||y===void 0)&&y.check.is_show&&r.children.push(d.toSchema()),(_=r.props)===null||_===void 0||delete _.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var b,h,g,v,O,R,m=new Zt.Designer;Object.defineProperty(m,"id",{value:"listPageEditBtnId"}),m.props.code="edit",m.props.icon="iconbianji1",m.props.command="edit",m.props.content=(b=r.props)===null||b===void 0?void 0:b.edit.content,m.props.priorityProcess=(h=r.props)===null||h===void 0?void 0:h.edit.priority_process,m.props.openType=(g=r.props)===null||g===void 0?void 0:g.edit.open_type,m.props.formKey=(v=r.props)===null||v===void 0?void 0:v.edit.form_key,!((O=r.props)===null||O===void 0)&&O.edit.is_show&&r.children.push(m.toSchema()),(R=r.props)===null||R===void 0||delete R.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var T,w,$,B,te,q,U=new Zt.Designer;Object.defineProperty(U,"id",{value:"listPageDeleteBtnId"}),U.props.code="delete",U.props.icon="iconlajitong",U.props.command="delete",U.props.content=(T=r.props)===null||T===void 0?void 0:T.delete.content,U.props.priorityProcess=(w=r.props)===null||w===void 0?void 0:w.delete.priority_process,U.props.openType=($=r.props)===null||$===void 0?void 0:$.delete.open_type,U.props.formKey=(B=r.props)===null||B===void 0?void 0:B.delete.form_key,U.props.needConfirm=!0,U.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((te=r.props)===null||te===void 0)&&te.delete.is_show&&r.children.push(U.toSchema()),(q=r.props)===null||q===void 0||delete q.delete}}}),[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Lw={"v1.0":jue,"v2.0":Uue,"v2.1":Kue,"v2.2":Que,"v2.3":Zue,"v2.4":nce,"v2.5":oce,"v2.6":uce,"v2.7":fce,"v2.8":lce,"v2.9":yce,"v2.10":vce,"v3.0":dce,"v3.1":function(){}};const Fw=(e,t)=>{const r=xw(e),n=xw(t),o=r.pop(),i=n.pop(),u=Yw(r,n);return u!==0?u:o&&i?Yw(o.split("."),i.split(".")):o||i?o?-1:1:0},ra=(e,t,r)=>{mce(r);const n=Fw(e,t);return Gw[r].includes(n)},bce=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,xw=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(bce);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},zw=e=>e==="*"||e==="x"||e==="X",Vw=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Oce=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],gce=(e,t)=>{if(zw(e)||zw(t))return 0;const[r,n]=Oce(Vw(e),Vw(t));return r>n?1:r<n?-1:0},Yw=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=gce(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},Gw={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},Hw=Object.keys(Gw),mce=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(Hw.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${Hw.join("|")}`)};function Pce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rce(e,t,r){return t&&qw(e.prototype,t),r&&qw(e,r),e}function _h(e){return e.replace(/^v/,"")}var St=Object.keys(Lw).map(function(e){return _h(e)}).sort(Fw),An=St[St.length-1],wce=function(){function e(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:An;Pce(this,e),this.schemaVersion=r,this.toVersion=n,ra(n,An,">")?he("Version Builder: The specified ".concat(n," is an undefined version, and the current latest version is ").concat(An)):(!St.includes(_h(n))||!St.includes(_h(r)))&&he("Version Builder: Please give me a valid version number, The valid version is: ".concat(St.join(","),", But give me a ").concat(r))}var t=e.prototype;return t.dataCleaner=function(n,o){var i=this;if(ra(this.toVersion,this.schemaVersion,"="))return n;var u=this.callDataCleanerKeys.reduce(function(f,a,l,s){var y,_=(y=s[l+1])!==null&&y!==void 0?y:i.toVersion;kt("Version Builder: current version: ".concat(a,", nextVersion: ").concat(_));var d=Lw[a],b=f;if(typeof d=="function"){var h=d(f,o);h&&(b=h)}return b},n);return kt("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u},Rce(e,[{key:"runDataCleanerKeys",get:function(){var n=this;return St.filter(function(o){return ra(o,n.schemaVersion,">=")&&ra(o,n.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(n){return"v"+n})}},{key:"version",get:function(){return An}}],[{key:"version",get:function(){return An}}]),e}();const oa=[],vh={exports:{}};let ph=!1;const Tce=window.module,$ce=window.exports,Sce=window.require;function Ece(e){return ph||(window.module=vh,window.exports=vh.exports,window.require=function(t){return e[t]},ph=!0),function(){window.module=Tce,window.exports=$ce,window.require=Sce,ph=!1}}function Ice(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=Ece(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const a=oa.findIndex(l=>l===r);oa.splice(a,1),oa.length===0&&u()};i.onerror=function(a){f(),o(a)},i.onload=function(){n(vh.exports),f()},document.head.appendChild(i)});return oa.push(r),r}function dh(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 Uw(e,t,r={fetch:dh}){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 ia(e,t){return Uw(e,t)}function Cce(e,t){return Mn(this,null,function*(){return yield Promise.all(e.map(r=>ia(r,t)))})}function ua(e,t,r){let n;t==="runtime"?n=class extends z{constructor(a){super(a),this.props={}}static get controlType(){return e}}:n=class extends N{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends L{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="iconfont iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:f=>f}}function Nce(e,t,r,n){return Mn(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Mn(this,null,function*(){let u=!0,f;try{u=!0;let a="";n.type==="runtime"?a=i.runtime:a=i.designer,a+="?v="+i.version,f=yield ia(a,r)}catch(a){u=!1,Se("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,a),f=ua(i.id,n.type,n.tipMessage)}if(u){let a="";if(n.type==="runtime"&&i.runtimecss!==void 0){const l=new RegExp(i.id+"-runtime-.*?$");a=i.runtime.replace(l,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const l=new RegExp(i.id+"-designer-.*?$");a=i.designer.replace(l,i.designercss)}if(a!==""){const l=document.createElement("link");l.href=a,l.rel="stylesheet",document.head.appendChild(l)}}Ww(n.type,f,o,u,i)}))),e==null||e.map(i=>{const[u,f]=i.split(":");if(o.has(u)===!1){const l=ua(u,n.type,n.tipMessage);Ww(n.type,l,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function Ww(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&Se(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&Se(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function Bce(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 jce(e,t){return Mn(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield dh(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield ia(`${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=ua(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=d0,c.AddressValue=eb,c.AdvancedContainer=kR,c.Amount=i0,c.AmountDataBind=Xh,c.AmountValue=Qh,c.ArrayColumn=hw,c.Attachment=Jm,c.AutoNumber=S0,c.AutoNumberColumn=Ow,c.AutoWidth=Ra,c.BaseControlProperty=E,c.BaseControlPropertyRules=K,c.BaseControlPropertyRuntimeRules=j,c.BaseStyle=ob,c.BatchDeleteButton=Ug,c.BatchPrintListButton=Mg,c.BatchPrintRecordListButton=Fg,c.BatchSubmissionListButton=SO,c.Button=eO,c.Calc=N0,c.CalcDataBind=tb,c.CalcScriptEchoItem=EE,c.CalcValue=nb,c.CardGroup=QP,c.Checkbox=tm,c.Col=Xu,c.ColumnControlProperty=F,c.ColumnControlPropertyRules=ar,c.ColumnOptionAndDataSourcePropertyRules=cl,c.CreateFormListButton=mO,c.CustomAttributeItem=qh,c.CustomColumn=Sw,c.CustomPermissionItem=RI,c.DEFAULT_LOCALE=hh,c.Dashboard=sg,c.DataBind=re,c.DataSourceBind=Y,c.DataSourceDataSetValue=Hh,c.DataSourceOrderItem=$a,c.DataSourceParamItem=gI,c.DataStorageDoc=Dh,c.DataView=dp,c.DatePicker=dm,c.DateRange=Rm,c.DecimalColumn=sw,c.Department=R0,c.Department2=jP,c.DepartmentColumn=bw,c.DepartmentEntity=Ze,c.DesignerColumnControl=G,c.DesignerControl=N,c.DesignerFormControl=I,c.DesignerLayoutControl=M,c.DesignerListControl=ur,c.DesignerSearchControl=Yb,c.DesignerWrapControl=GB,c.DisplayBoListItem=Yn,c.Divider=aO,c.ElectronicSignature=wP,c.ElectronicSignatureConfig=tO,c.Employee=Km,c.Employee2=hP,c.EmployeeColumn=Iw,c.EventLogic=Bh,c.Explain=Ir,c.ExportListButton=jO,c.ExportRecordListButton=MO,c.ExportTemplate=Cl,c.FieldBindItem=xh,c.FieldFilterCondition=Ta,c.FieldFilterConditions=Gh,c.FieldTypeToColumnType=CE,c.FileColumn=gw,c.FillBackBind=Ea,c.FillPayloadBind=Gn,c.FlexStyleConfig=iO,c.FormBind=Vn,c.FormSelectBind=Lh,c.FormSelectButton=UO,c.Grid=DP,c.GridRow=jv,c.GridTable=iw,c.GridTableColumn=iR,c.Image=t0,c.ImageColumn=mw,c.ImageOptionSetting=Kh,c.ImportRecordListButton=xO,c.Input=Qg,c.InvoiceCheckButton=Cg,c.JSONCopy=ve,c.Language=mI,c.LayoutControlProperty=A,c.LeftVariable=Yh,c.LimitDate=Er,c.Link=Qb,c.ListBind=wa,c.ListControlProperty=xt,c.ListSelectButton=eg,c.ListView=yp,c.ListViewSelect=bg,c.LocationColumn=Rw,c.MetaAutoWidth=Mh,c.MetaWidth=zn,c.MultistageFillingItem=ee,c.Number=ym,c.ObjectDataBind=Hn,c.OperationButton=Zt,c.OperationColumn=ZR,c.OperationItem=pe,c.OptionAndDataSourcePropertyRules=Ne,c.OptionSetting=Ca,c.OrderColumn=KR,c.Page=NR,c.Pagination=og,c.PeopleColumn=Pw,c.Position=xR,c.PositioningContainer=DR,c.PrintTemplate=oO,c.Property=L,c.PropertyRules=D,c.PropertyRuntimeRules=be,c.Radio=fm,c.RangeDataBind=Jh,c.RangeDateValue=Zh,c.RegisterControls=Fn,c.RegularRules=Ia,c.RichText=Nm,c.RightVariable=et,c.Row=YP,c.RulesMessage=p,c.RuntimeColumnControl=H,c.RuntimeControl=z,c.RuntimeFormControl=C,c.RuntimeLayoutControl=V,c.RuntimeListControl=nl,c.RuntimeSearchControl=Gb,c.RuntimeWrapControl=JB,c.SUBTABLE_DEFAULT_MAX_HEIGHT=rO,c.Score=a0,c.SearchControlProperty=_r,c.SearchDateRange=H0,c.SearchInput=cP,c.SearchNumberRange=L0,c.Select=Lm,c.SelectMultiple=Vm,c.SelectRelation=nP,c.SimpleSearch=kw,c.SubListItem=zh,c.SubListPageConfig=Vh,c.SubTable=HR,c.SubTableColumn=zv,c.SubTableRow=rR,c.SubmissionRecordListButton=CO,c.SuperDataSourceBind=At,c.Tab=vR,c.TabPane=sR,c.Text=Wb,c.TextColumn=lw,c.TextOcrButton=wg,c.Textarea=Sm,c.TimescopeColumn=yw,c.TimestampColumn=_w,c.Title=pO,c.Toolbox=OR,c.Tree=yP,c.TreeDataSourceBind=Uh,c.UndersignedPerson=Il,c.UserEntity=Dn,c.VarcharColumn=aw,c.VersionBuilder=wce,c.ViewOperationItem=rb,c.VueFormItem=K0,c.WPS=EP,c.WPSSetting=nO,c.Watcher=Nh,c.WpsOperationItem=Nl,c.WrapControlProperty=vl,c.baseControls=OF,c.camelizeKeys=Ih,c.columnControls=iue,c.controlHooksEmitter=yb,c.createValidator=sb,c.debounce=oI,c.decamelizeKeys=Ce,c.defineArrayParent=Sb,c.defineControlArrayToProperty=ye,c.defineParent=Ua,c.error=he,c.formControls=RH,c.genNonDuplicateId=ue,c.getHackerControl=ua,c.getNotRepeatItems=Eh,c.initExpression=zt,c.initImageOptions=PI,c.initOptionAndDataSourceRules=Kn,c.initOptions=le,c.initSuperDataSourceRules=Xn,c.isArray=Ee,c.isBuiltInControls=uI,c.isFunction=JE,c.isJSONArray=nI,c.isJSONObject=rI,c.isLanguageObject=W,c.isNumber=Oa,c.isNumberAndEmptyStringArray=tI,c.isNumberArray=eI,c.isObject=QE,c.isPlainObject=ba,c.isString=Sh,c.isStringArray=ZE,c.layoutControls=FJ,c.listControls=See,c.loadRemoteControl=ia,c.loadRemoteControls=Cce,c.loadScriptFromFetch=Uw,c.loadScriptFromTag=Ice,c.log=kt,c.logerror=Rh,c.loop=Q,c.loopFormSchema=pa,c.nativeFetch=dh,c.noop=IE,c.referenceError=va,c.registerByteluckControls=jce,c.registerCustomControls=Nce,c.searchControls=Tue,c.setPropertyDontEnum=$b,c.toNumberOrEmpty=Ie,c.updateValueFromKeys=Th,c.upgradeCustomControlSchema=Bce,c.wait=iI,c.warn=Se,Object.defineProperty(c,"__esModule",{value:!0})});
1
+ var fi=(u,rn,Ct)=>new Promise((hy,ai)=>{var D=yt=>{try{Gr(Ct.next(yt))}catch(Hr){ai(Hr)}},by=yt=>{try{Gr(Ct.throw(yt))}catch(Hr){ai(Hr)}},Gr=yt=>yt.done?hy(yt.value):Promise.resolve(yt.value).then(D,by);Gr((Ct=Ct.apply(u,rn)).next())});(function(u,rn){typeof exports=="object"&&typeof module!="undefined"?rn(exports):typeof define=="function"&&define.amd?define(["exports"],rn):(u=typeof globalThis!="undefined"?globalThis:u||self,rn(u.modelDrivenCoreAll={}))})(this,function(u){"use strict";function rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var hy=function e(){rn(this,e),Ct(this,"department_en_name",void 0),Ct(this,"department_id",void 0),Ct(this,"department_name",void 0)};function ai(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var by=function e(){ai(this,e),D(this,"avatar_big",void 0),D(this,"avatar_small",void 0),D(this,"avatar_url",void 0),D(this,"belong_dept_en_name",void 0),D(this,"belong_dept_id_list",void 0),D(this,"belong_dept_ids",void 0),D(this,"belong_dept_name",void 0),D(this,"cookie_language_enum",void 0),D(this,"department_id",void 0),D(this,"department_name",void 0),D(this,"email",void 0),D(this,"employee_card",void 0),D(this,"employee_en_name",void 0),D(this,"employee_id",void 0),D(this,"employee_name",void 0),D(this,"external_user",void 0),D(this,"gender",void 0),D(this,"is_show_chat_group",void 0),D(this,"manage_dept_en_name",void 0),D(this,"manage_dept_ids",void 0),D(this,"manage_dept_name",void 0),D(this,"msg_relation_type",void 0),D(this,"sequence",void 0),D(this,"telephone",void 0),D(this,"tenant_id",void 0)},Gr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",yt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Hr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",_1="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",h1="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",b1="{caption}\u5FC5\u586B",O1="\u8BF7\u8F93\u5165\u6807\u9898",g1="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",m1="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",P1="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",w1="\u8BF7\u7ED1\u5B9A\u8868\u5355",R1="\u8BF7\u7ED1\u5B9A\u5217\u8868",$1="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",T1="\u8BF7\u8F93\u5165\u663E\u793A\u503C",S1="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",E1="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",I1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",C1="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",N1="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",B1="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",A1="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",M1="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",D1="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",k1="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",j1="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",L1="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",F1="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",x1="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",V1="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",z1="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Y1="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",G1="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",H1="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",q1="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",U1="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",W1="\u8BF7\u7ED1\u5B9A\u670D\u52A1",K1="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",X1="\u8BF7\u9009\u62E9\u7701",Q1="\u8BF7\u9009\u62E9\u5E02",J1="\u8BF7\u9009\u62E9\u533A",Z1="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",e3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",t3="\u8BF7\u8F93\u5165\u5217\u5BBD",n3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",r3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",o3="\u8BF7\u9009\u62E9\u63A7\u4EF6",i3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",u3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",c3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",f3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",a3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",l3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",s3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",y3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",v3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",p3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",d3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",_3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",h3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",b3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",O3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",g3="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",m3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",P3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",w3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",R3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",T3={isNotNumber:Gr,isNotString:yt,isNotObject:Hr,isNotArray:_1,isNotBoolean:h1,runtimeRequired:b1,pleaseEnterCaption:O1,pleaseEnterCaptionTip:g1,pleaseEnterPlaceholder:m1,pleaseEnterFieldCode:P1,pleaseEnterForm:w1,pleaseEnterList:R1,pleaseEnterProcess:$1,pleaseEnterLabel:T1,pleaseEnterValue:S1,bizKeyNotBindFiled:E1,pleaseSelectOneField:I1,pleaseEnterNumberRange:C1,pleaseEnterAValueGreaterThanMin:N1,pleaseEnterAValueLessThanMax:B1,numberRangeSetError:A1,stringRangeError:M1,attachmentMaxSize:D1,pleaseEnterTotalScoreSetting:k1,theTotalScoreMustNotBeLessThan1:j1,scoreDefaultValueRange:L1,attachmentLimitError:F1,PleaseReselectTheOptionalQuantity:x1,TheMaximumLengthIsGreaterThanTheMinimumLength:V1,TheMinimumLengthIsGreaterThanTheMaximumLength:z1,PleaseSelectTheCorrectOptionSettings:Y1,optionIdIsRepeat:G1,optionIsRequired:H1,pleaseEnterDataCode:q1,pleaseEnterValueFieldCode:U1,pleaseEnterSvcCode:W1,pleaseBindAtLeastOneDisplayValue:K1,pleaseSelectProvince:X1,pleaseSelectCity:Q1,pleaseSelectDistrict:J1,limitRowsCannotBeLessThan0:Z1,TheNumberOfRowsCannotBeLessThanMinRows:e3,pleaseEnterColumnWidth:t3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:n3,pleaseCompleteAllRulesAndConditions:r3,pleaseSelectControl:o3,pleaseSelectAtLeastOneColumn:i3,pleaseSelectFillBackMode:u3,pleaseSelectDashboard:c3,rootNodeIsRequired:f3,theViewNameCannotBeEmpty:a3,pleaseSelectOcrType:l3,pleaseSelectAtLeastOneFieldToFillIn:s3,pleaseChooseAtLeastOne:y3,pleaseEnterButtonContent:v3,pleaseEnterDataCodeInDataSetting:p3,pleaseEnterValueFieldCodeInDataSetting:d3,pleaseEnterSvcCodeInDataSetting:_3,pleaseBindAtLeastOneDisplayValueInDataSetting:h3,rootNodeIsRequiredInDataSetting:b3,pleaseEnterMaxHeight:O3,pleaseEnter:g3,pleaseEnterWatermark:m3,pleaseEnterFileName:P3,pleaseUploadAtLeastOnePrintTemplate:w3,pleaseAssignBusiness:R3,pleaseAssignExternal:$3},S3="Please enter a number",E3="Please enter a string",I3="Please enter an object",C3="Please enter an array",N3="Please enter a boolean",B3="{caption} Required",A3="Please enter the title",M3="Please enter the bubble prompt",D3="Please enter the prompt text",k3="Please bind data items",j3="Please bind the form",L3="Please bind the list",F3="Please bind the process",x3="Please enter the displayed value",V3="Please enter the stored value",z3="The document number is not bound to the data item",Y3="Please select at least one display field",G3="Please enter a value greater than or equal to {min} and less than or equal to {max}",H3="Please enter a value greater than or equal to {min}",q3="Please enter a value less than or equal to {max}",U3="The value range is set incorrectly",W3="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",K3="The attachment size must be between 0MB and 1000MB",X3="Please fill in the total score setting",Q3="The total score cannot be less than 1",J3="The default value must be between {min} and {max}",Z3="The number of attachments uploaded must be between {min} and {max}",eA="Please re-select the optional quantity",tA="The maximum length of the control must be greater than the minimum length",nA="The minimum length of the control must be less than the maximum length",rA="Please select the correct option setting",oA="Option ID cannot be repeated",iA="Please enter at least one option",uA="Please bind the data source",cA="Please bind the stored value",fA="Please bind the service",aA="At least one display value must be bound",lA="Please select a province",sA="Please select a city",yA="Please select a district",vA="The minimum number of lines to fill in cannot be less than 0",pA="The number of rows cannot be less than {min} rows",dA="Please enter the column width",_A="Please set the logical relationship of all rule conditions",hA="Please complete all rules and conditions",bA="please select control",OA="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",gA="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mA="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",PA="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",wA="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",RA="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",$A="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",TA="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",SA="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",EA="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",IA="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",CA="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",NA="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",BA="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",AA="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",MA="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",DA="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",kA="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jA={isNotNumber:S3,isNotString:E3,isNotObject:I3,isNotArray:C3,isNotBoolean:N3,runtimeRequired:B3,pleaseEnterCaption:A3,pleaseEnterCaptionTip:M3,pleaseEnterPlaceholder:D3,pleaseEnterFieldCode:k3,pleaseEnterForm:j3,pleaseEnterList:L3,pleaseEnterProcess:F3,pleaseEnterLabel:x3,pleaseEnterValue:V3,bizKeyNotBindFiled:z3,pleaseSelectOneField:Y3,pleaseEnterNumberRange:G3,pleaseEnterAValueGreaterThanMin:H3,pleaseEnterAValueLessThanMax:q3,numberRangeSetError:U3,stringRangeError:W3,attachmentMaxSize:K3,pleaseEnterTotalScoreSetting:X3,theTotalScoreMustNotBeLessThan1:Q3,scoreDefaultValueRange:J3,attachmentLimitError:Z3,PleaseReselectTheOptionalQuantity:eA,TheMaximumLengthIsGreaterThanTheMinimumLength:tA,TheMinimumLengthIsGreaterThanTheMaximumLength:nA,PleaseSelectTheCorrectOptionSettings:rA,optionIdIsRepeat:oA,optionIsRequired:iA,pleaseEnterDataCode:uA,pleaseEnterValueFieldCode:cA,pleaseEnterSvcCode:fA,pleaseBindAtLeastOneDisplayValue:aA,pleaseSelectProvince:lA,pleaseSelectCity:sA,pleaseSelectDistrict:yA,limitRowsCannotBeLessThan0:vA,TheNumberOfRowsCannotBeLessThanMinRows:pA,pleaseEnterColumnWidth:dA,pleaseSetTheLogicalRelationshipOfAllRuleConditions:_A,pleaseCompleteAllRulesAndConditions:hA,pleaseSelectControl:bA,pleaseSelectDashboard:OA,theViewNameCannotBeEmpty:gA,pleaseSelectOcrType:mA,pleaseSelectAtLeastOneFieldToFillIn:PA,pleaseChooseAtLeastOne:wA,pleaseEnterButtonContent:RA,pleaseEnterDataCodeInDataSetting:$A,pleaseEnterValueFieldCodeInDataSetting:TA,pleaseEnterSvcCodeInDataSetting:SA,pleaseBindAtLeastOneDisplayValueInDataSetting:EA,rootNodeIsRequiredInDataSetting:IA,pleaseEnterMaxHeight:CA,pleaseEnter:NA,pleaseEnterWatermark:BA,pleaseEnterFileName:AA,pleaseUploadAtLeastOnePrintTemplate:MA,pleaseAssignBusiness:DA,pleaseAssignExternal:kA},LA="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FA="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xA="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VA="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zA="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YA="{caption}\u5FC5\u9808",GA="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HA="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qA="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UA="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",WA="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KA="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XA="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",QA="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JA="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZA="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",eM="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",tM="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nM="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rM="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",oM="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",iM="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uM="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",cM="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",fM="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",aM="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lM="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",sM="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yM="\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",vM="\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",pM="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dM="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",_M="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",hM="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bM="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",OM="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gM="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",mM="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",PM="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wM="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",RM="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$M="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",TM="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",SM="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",EM="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",IM="please select control",CM="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",NM="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",BM="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",AM="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",MM="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",DM="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",kM="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",jM="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",LM="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",FM="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xM="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",VM="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",zM="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",YM="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",GM="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",HM="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",qM="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",UM="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",WM={isNotNumber:LA,isNotString:FA,isNotObject:xA,isNotArray:VA,isNotBoolean:zA,runtimeRequired:YA,pleaseEnterCaption:GA,pleaseEnterCaptionTip:HA,pleaseEnterPlaceholder:qA,pleaseEnterFieldCode:UA,pleaseEnterForm:WA,pleaseEnterList:KA,pleaseEnterProcess:XA,pleaseEnterLabel:QA,pleaseEnterValue:JA,bizKeyNotBindFiled:ZA,pleaseSelectOneField:eM,pleaseEnterNumberRange:tM,pleaseEnterAValueGreaterThanMin:nM,pleaseEnterAValueLessThanMax:rM,numberRangeSetError:oM,stringRangeError:iM,attachmentMaxSize:uM,pleaseEnterTotalScoreSetting:cM,theTotalScoreMustNotBeLessThan1:fM,scoreDefaultValueRange:aM,attachmentLimitError:lM,PleaseReselectTheOptionalQuantity:sM,TheMaximumLengthIsGreaterThanTheMinimumLength:yM,TheMinimumLengthIsGreaterThanTheMaximumLength:vM,PleaseSelectTheCorrectOptionSettings:pM,optionIdIsRepeat:dM,optionIsRequired:_M,pleaseEnterDataCode:hM,pleaseEnterValueFieldCode:bM,pleaseEnterSvcCode:OM,pleaseBindAtLeastOneDisplayValue:gM,pleaseSelectProvince:mM,pleaseSelectCity:PM,pleaseSelectDistrict:wM,limitRowsCannotBeLessThan0:RM,TheNumberOfRowsCannotBeLessThanMinRows:$M,pleaseEnterColumnWidth:TM,pleaseSetTheLogicalRelationshipOfAllRuleConditions:SM,pleaseCompleteAllRulesAndConditions:EM,pleaseSelectControl:IM,pleaseSelectDashboard:CM,theViewNameCannotBeEmpty:NM,pleaseSelectOcrType:BM,pleaseSelectAtLeastOneFieldToFillIn:AM,pleaseChooseAtLeastOne:MM,pleaseEnterButtonContent:DM,pleaseEnterDataCodeInDataSetting:kM,pleaseEnterValueFieldCodeInDataSetting:jM,pleaseEnterSvcCodeInDataSetting:LM,pleaseBindAtLeastOneDisplayValueInDataSetting:FM,rootNodeIsRequiredInDataSetting:xM,pleaseEnterMaxHeight:VM,pleaseEnter:zM,pleaseEnterWatermark:YM,pleaseEnterFileName:GM,pleaseUploadAtLeastOnePrintTemplate:HM,pleaseAssignBusiness:qM,pleaseAssignExternal:UM},KM={zhCN:T3,enUS:jA,jaJP:WM};function XM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.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"}(u.CALC_TOKEN_TYPE||(u.CALC_TOKEN_TYPE={})),u.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(u.CALC_AGGREGATE_TYPE||(u.CALC_AGGREGATE_TYPE={}));var QM=function e(t){XM(this,e),zn(this,"name",void 0),zn(this,"id",void 0),zn(this,"type",void 0),zn(this,"subTableId",void 0),zn(this,"subTableName",void 0),zn(this,"aggregateType",void 0);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:u.CALC_TOKEN_TYPE.Number;var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var c;this.subTableName=(c=t==null?void 0:t.subTableId)!==null&&c!==void 0?c:void 0;var f;this.aggregateType=(f=t==null?void 0:t.aggregateType)!==null&&f!==void 0?f:void 0},Hm="zh-CN",JM=function(){};function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.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"}(u.CONTROL_BASE_TYPE||(u.CONTROL_BASE_TYPE={})),u.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"}(u.CONTROL_TYPE||(u.CONTROL_TYPE={})),u.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"}(u.FieldTypes||(u.FieldTypes={}));var Oe,ZM=(Oe={},De(Oe,u.FieldTypes.ARRAY,u.CONTROL_TYPE.ARRAY_COLUMN),De(Oe,u.FieldTypes.AUTO_NUMBER,u.CONTROL_TYPE.AUTO_NUMBER_COLUMN),De(Oe,u.FieldTypes.DECIMAL,u.CONTROL_TYPE.DECIMAL_COLUMN),De(Oe,u.FieldTypes.DEPARTMENTS,u.CONTROL_TYPE.DEPARTMENT_COLUMN),De(Oe,u.FieldTypes.FILE,u.CONTROL_TYPE.FILE_COLUMN),De(Oe,u.FieldTypes.IMAGE,u.CONTROL_TYPE.IMAGE_COLUMN),De(Oe,u.FieldTypes.ADDRESS,u.CONTROL_TYPE.LOCATION_COLUMN),De(Oe,u.FieldTypes.EMPLOYEES,u.CONTROL_TYPE.EMPLOYEE_COLUMN),De(Oe,u.FieldTypes.TEXT,u.CONTROL_TYPE.TEXT_COLUMN),De(Oe,u.FieldTypes.TIMESCOPE,u.CONTROL_TYPE.TIMESCOPE_COLUMN),De(Oe,u.FieldTypes.TIMESTAMP,u.CONTROL_TYPE.TIMESTAMP_COLUMN),De(Oe,u.FieldTypes.VARCHAR,u.CONTROL_TYPE.VARCHAR_COLUMN),De(Oe,u.FieldTypes.RELATION,u.CONTROL_TYPE.VARCHAR_COLUMN),Oe);u.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"}(u.DateType||(u.DateType={}));var qm="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",e2=qm+"0123456789";function qe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?qm:e2,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Oy(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 t2(e){if(Array.isArray(e))return Oy(e)}function n2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Um(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r2(){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 li(e,t,r){return r2()?li=Reflect.construct:li=function(o,i,c){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return c&&Ur(l,c.prototype),l},li.apply(null,arguments)}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(e)}function Wm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ur(e,t)}function o2(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function i2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function u2(){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 c2(e,t){return t&&(f2(t)==="object"||typeof t=="function")?t:n2(e)}function Ur(e,t){return Ur=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ur(e,t)}function Km(e){return t2(e)||i2(e)||a2(e)||u2()}var f2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a2(e,t){if(!!e){if(typeof e=="string")return Oy(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 Oy(e,t)}}function gy(e){var t=typeof Map=="function"?new Map:void 0;return gy=function(n){if(n===null||!o2(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 li(n,arguments,qr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ur(o,n)},gy(e)}function l2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xm(e){var t=l2();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 c2(this,o)}}var my=console;function on(){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=my).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Km(o)))}function Wr(){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=my).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Km(o)))}function s2(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Py=function(e){Wm(r,e);var t=Xm(r);function r(n){Um(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?s2(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(gy(Error)),y2=function(e){Wm(r,e);var t=Xm(r);function r(n){Um(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Py);function Nt(e){throw new Py(e)}function wy(e){throw new y2(e)}function Qm(e){my.error(new Py(e))}function Ry(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":Ry(r==null?void 0:r.children,t);break;case"search":Ry(r==null?void 0:r.children,t);break;case"form":t(r)}})}var v2=Object.prototype.toString;function Jm(e,t){return v2.call(e)==="[object "+t+"]"}function p2(e){return Jm(e,"String")}function d2(e){return Jm(e,"Promise")}var _2=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();d2(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,c,f){if(o!==void 0){var a=o[i];if(!(c===f.length-1&&!p2(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 h2(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 b2(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function O2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(){function e(){h2(this,e)}return b2(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hm;return new _2({locale:r,messages:KM})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();O2(d,"$i18n",d.resetI18n());function e0(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,c){return"."+c}).split("."),o=!1;return n.reduce(function(i,c,f,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,c)){on("Can not set ".concat(t,"'s ").concat(c," property in current %o, Because there is no ").concat(c," property on the %o"),i,i);return}return f===a.length-1&&!Object.is(l[c],r)&&(l[c]=r,o=!0),l[c]}},e),o}var g2=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},$y={exports:{}};(function(e){(function(t){var r=function(v,m,w){if(!l(m)||y(m)||p(m)||h(m)||a(m))return m;var P,S=0,$=0;if(s(m))for(P=[],$=m.length;S<$;S++)P.push(r(v,m[S],w));else{P={};for(var E in m)Object.prototype.hasOwnProperty.call(m,E)&&(P[v(E,w)]=r(v,m[E],w))}return P},n=function(v,m){m=m||{};var w=m.separator||"_",P=m.split||/(?=[A-Z])/;return v.split(P).join(w)},o=function(v){return O(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(m,w){return w?w.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var m=o(v);return m.substr(0,1).toUpperCase()+m.substr(1)},c=function(v,m){return n(v,m).toLowerCase()},f=Object.prototype.toString,a=function(v){return typeof v=="function"},l=function(v){return v===Object(v)},s=function(v){return f.call(v)=="[object Array]"},y=function(v){return f.call(v)=="[object Date]"},p=function(v){return f.call(v)=="[object RegExp]"},h=function(v){return f.call(v)=="[object Boolean]"},O=function(v){return v=v-0,v===v},b=function(v,m){var w=m&&"process"in m?m.process:m;return typeof w!="function"?v:function(P,S){return w(P,v,S)}},g={camelize:o,decamelize:c,pascalize:i,depascalize:c,camelizeKeys:function(v,m){return r(b(o,m),v)},decamelizeKeys:function(v,m){return r(b(c,m),v,m)},pascalizeKeys:function(v,m){return r(b(i,m),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g})(g2)})($y);var t0={};Object.defineProperty(t0,"__esModule",{value:!0});function Ty(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ty(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Ty(n)}return t}}var m2=t0.default=Ty;function vt(e){if(e!==void 0)return typeof e=="object"?m2(e):e}function le(e){return Sy(e)&&"zh"in e}function Sy(e){return Object.prototype.toString.call(e)==="[object Object]"}function P2(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function un(e){return Array.isArray(e)}function n0(e){return typeof e=="string"}function Ey(e){return typeof e=="number"}function w2(e){return typeof e=="function"}function R2(e){return un(e)&&e.every(function(t){return n0(t)})}function $2(e){return un(e)&&e.every(function(t){return Ey(t)})}function T2(e){return un(e)&&e.every(function(t){return Ey(t)||t===""})}function S2(e){return/^\[.*?]$/.test(e)}function E2(e){return/^{.*?}$/.test(e)}function cn(e){return isNaN(parseFloat(e))?"":Number(e)}function r0(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function I2(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 c=this;r||(r=setTimeout(function(){e.apply(c,o),clearTimeout(r),r=null},t))}}function C2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function ge(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=ge(n.children,t)),t(o)})),r}function o0(e){return $y.exports.camelizeKeys(e)}function fn(e){return $y.exports.decamelizeKeys(e)}function N2(e){return Object.values(u.CONTROL_TYPE).includes(e)}function Iy(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 B2(e){if(Array.isArray(e))return Iy(e)}function i0(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function A2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){i0(i,n,o,c,f,"next",a)}function f(a){i0(i,n,o,c,f,"throw",a)}c(void 0)})}}function M2(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 D2(e,t,r){return t&&u0(e.prototype,t),r&&u0(e,r),e}function c0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function j2(){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 Cy(e){return B2(e)||k2(e)||L2(e)||j2()}function L2(e,t){if(!!e){if(typeof e=="string")return Iy(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 Iy(e,t)}}var F2=function(e,t){var r,n,o,i,c={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(;c;)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 c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}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}}},f0=function(){function e(){M2(this,e),c0(this,"_events",new Map),c0(this,"debug",!1)}return D2(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var c=this;return A2(function(){var f,a,l,s,y,p,h,O,b,g,v,m;return F2(this,function(w){switch(w.label){case 0:if(f=c._events.get(r),a=[],!f)return[3,10];l=f.slice(),s=!0,y=!1,p=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),h=l[Symbol.iterator](),w.label=2;case 2:if(s=(O=h.next()).done)return[3,7];if(b=O.value,!f.includes(b))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),c.debug&&Wr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Cy(o))),[4,b.apply(null,Cy(o))];case 4:return g=w.sent(),c.debug&&Wr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Cy(o),[g])),a.push(g),g===!1?[3,7]:[3,6];case 5:return v=w.sent(),Qm(String(v)+":"+String(v.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return m=w.sent(),y=!0,p=m,[3,10];case 9:try{!s&&h.return!=null&&h.return()}finally{if(y)throw p}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function x2(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 V2(e,t,r){return t&&a0(e.prototype,t),r&&a0(e,r),e}function z2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Y2=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],l0=function(){function e(){x2(this,e)}return V2(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();z2(l0,"events",Y2);function G2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H2(e,t,r){return t&&s0(e.prototype,t),r&&s0(e,r),e}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y0=[],si=function(){function e(t){G2(this,e),an(this,"registeredControlTypes",new Set),an(this,"controlConfigMap",new Map),an(this,"_controls",[]),an(this,"_type",void 0),this._type=t,this._initControls(t)}return H2(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Nt("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(on("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(l){return o.createControl(l,n)});r.children&&(r.children=r.children.map(function(l){return o.createControl(l,n)})),this.isListControl(r)&&r.props.headers&&(r.props.headers=r.props.headers.map(function(l){return o.createControl(l,n)}));var i=this.getControlFormType(r.type);if(i){var c=r;if(typeof n=="function"){var f=n(c);f&&(c=f)}var a=new i(c);return a}else Nt("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r])})}}],[{key:"register",value:function(r){var n=r.Designer,o=r.Runtime;(!n||!o||!n.__is_control__||!o.__is_control__)&&Nt("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(c){return c.Designer.controlType===n.controlType});return i>-1&&(on("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();an(si,"staticControls",y0),an(si,"staticRegisteredTypes",new Set(y0.map(function(e){return e.Designer.controlType}))),an(si,"staticRegisteredConfigs",new Map);function F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function Ue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function v0(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function q2(e,t){return t&&(U2(t)==="object"||typeof t=="function")?t:F(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}var U2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function We(e){var t=W2();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 q2(this,o)}}var ke=function e(t){R(this,e),_(this,"dataCode",void 0),_(this,"fieldCode",void 0),_(this,"fieldType",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:""},By=function e(t){R(this,e),_(this,"minWidth",void 0),_(this,"maxWidth",void 0),_(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},vi=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;o=t.call(this,n),_(F(o),"width",void 0),_(F(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var c;return o.widthType=(c=n==null?void 0:n.widthType)!==null&&c!==void 0?c:"auto",o}return r}(By),p0=function e(t){R(this,e),_(this,"pc",void 0),_(this,"mobile",void 0),this.pc=new vi(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new vi(t==null?void 0:t.mobile):new vi({width:130,minWidth:180})},d0=function e(t){R(this,e),_(this,"type",void 0),_(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},pi=function e(t){R(this,e),_(this,"dataCode",void 0),_(this,"formKey",void 0),_(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},_0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;o=t.call(this,n),_(F(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(pi),h0=function e(t){R(this,e),_(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Ay=function e(t){R(this,e);var r;_(this,"appId",void 0),_(this,"formKey",void 0),_(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(c){return new h0(c)}))!==null&&i!==void 0?i:[]},b0=function e(t){R(this,e),_(this,"fieldName",void 0),_(this,"fieldCode",void 0),_(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:u.FieldTypes.VARCHAR},O0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;o=t.call(this,n),_(F(o),"title",void 0),_(F(o),"svcCode",void 0),_(F(o),"isOpenFilter",void 0),_(F(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var c;o.svcCode=(c=n==null?void 0:n.svcCode)!==null&&c!==void 0?c:"";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}(pi),g0=function e(t){R(this,e);var r,n;_(this,"type","sublist-page"),_(this,"formBind",void 0),_(this,"displayFields",void 0),_(this,"sublists",void 0),this.formBind=new pi(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(c){return new b0(c)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(c){return new O0(c)}))!==null&&i!==void 0?i:[]},m0=function e(t){R(this,e),_(this,"type",void 0),_(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Yn=function e(t){R(this,e),_(this,"type",void 0),_(this,"value",void 0),_(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},P0=function e(t){var r=this;R(this,e),_(this,"id",void 0),_(this,"ruleId",void 0),_(this,"type","conditions"),_(this,"level",void 0),_(this,"value",void 0),_(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:qe();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 c;this.value=(c=t==null?void 0:t.value)!==null&&c!==void 0?c:"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 My(f);(s=r.children)===null||s===void 0||s.push(y)}}))},My=function e(t){R(this,e),_(this,"id",void 0),_(this,"ruleId",void 0),_(this,"type","condition"),_(this,"symbol",void 0),_(this,"checked",void 0),_(this,"describe",void 0),_(this,"leftVariableBo",void 0),_(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:qe();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 c;this.describe=(c=t==null?void 0:t.describe)!==null&&c!==void 0?c:"",this.leftVariableBo=new m0(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Yn(t==null?void 0:t.rightVariableBo)},Ee=function e(t){R(this,e),_(this,"controlId",void 0),_(this,"fieldCode",void 0),_(this,"fieldType",void 0),_(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},di=function e(t){R(this,e),_(this,"type",void 0),_(this,"value",void 0),_(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Dy=function e(t){R(this,e),_(this,"columnName",void 0),_(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},w0=function e(t){R(this,e),_(this,"code",void 0),_(this,"value",void 0),_(this,"field_type",void 0);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:u.FieldTypes.ANY},K2=function e(t){R(this,e);var r,n;_(this,"id",void 0),_(this,"limit",void 0),_(this,"orders",void 0),_(this,"formKey",void 0),_(this,"dataSet",void 0);var 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 c;this.formKey=(c=t.formKey)!==null&&c!==void 0?c:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(l){return new Dy(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 w0(l)}))!==null&&a!==void 0?a:[]};function ky(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 P0(i):new My(i)}))!==null&&r!==void 0?r:[],v0(this,J)||v0(this,_i)){var n,o;this.orders=(o=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(i){return new Dy(i)}))!==null&&o!==void 0?o:[]}}var J=function e(t){var r=this;R(this,e),_(this,"dataCode",void 0),_(this,"valueFieldCode",void 0),_(this,"displayBoList",void 0),_(this,"svcCode",void 0),_(this,"appId",void 0),_(this,"filters",void 0),_(this,"orders",void 0),_(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[],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 di(a))}));var c;this.showOrder=(c=t==null?void 0:t.showOrder)!==null&&c!==void 0?c:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",ky.call(this,t)},R0=function e(t){R(this,e);var r;_(this,"name",void 0),_(this,"key",void 0),_(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(c){return new di(c)}))!==null&&i!==void 0?i:[]},Kr=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o,i;o=t.call(this,n),_(F(o),"attributes",void 0);var c;return o.attributes=(c=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new R0(f)}))!==null&&c!==void 0?c:[],o}return r}(J),$0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;return o=t.call(this,n),_(F(o),"rootNode",void 0),o.rootNode=new Yn(n==null?void 0:n.rootNode),o}return r}(Kr),T0=function e(t){R(this,e);var r;_(this,"dataCode",void 0),_(this,"appId",void 0),_(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(c){return new Ee(c)}))!==null&&i!==void 0?i:[]},_i=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;return o=t.call(this,n),_(F(o),"filters",void 0),_(F(o),"orders",void 0),ky.call(F(o),n),o}return r}(T0),jy=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;o=t.call(this,n),_(F(o),"mode",void 0),_(F(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var c;return o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1,o}return r}(T0),X2=function e(t){R(this,e),_(this,"zh",void 0),_(this,"en",void 0),_(this,"ja",void 0);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:""},Ly=function e(t){R(this,e),_(this,"stencilName",void 0),_(this,"expression",void 0),_(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},Fy=function e(t){R(this,e),_(this,"id",void 0),_(this,"label",void 0),_(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:qe(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},S0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;o=t.call(this,n),_(F(o),"image",void 0),_(F(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var c;return o.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:"src",o}return r}(Fy);function et(e){var t;return(t=e==null?void 0:e.map(function(r){return new Fy(r)}))!==null&&t!==void 0?t:[]}function Q2(e){var t;return(t=e==null?void 0:e.map(function(r){return new S0(r)}))!==null&&t!==void 0?t:[]}var hi=function e(){R(this,e)},E0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;return o=t.call(this),_(F(o),"amount",void 0),_(F(o),"currency",void 0),o.amount=new ke(n==null?void 0:n.amount),o.currency=new ke(n==null?void 0:n.currency),o}return r}(hi),I0=function e(t){R(this,e),_(this,"amount",void 0),_(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:u.AMOUNT_TYPE.CNY},C0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;return o=t.call(this),_(F(o),"min",void 0),_(F(o),"max",void 0),o.min=new ke(n==null?void 0:n.min),o.max=new ke(n==null?void 0:n.max),o}return r}(hi),N0=function e(t){R(this,e),_(this,"min",void 0),_(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},B0=function e(t){R(this,e),_(this,"city",void 0),_(this,"cityDisplay",void 0),_(this,"district",void 0),_(this,"districtDisplay",void 0),_(this,"province",void 0),_(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var c;this.province=(c=t==null?void 0:t.province)!==null&&c!==void 0?c:"";var f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},A0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;return o=t.call(this),_(F(o),"result",void 0),_(F(o),"unit",void 0),o.result=new ke(n==null?void 0:n.result),o.unit=new ke(n==null?void 0:n.unit),o}return r}(hi),M0=function e(t){R(this,e),_(this,"result",void 0),_(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};u.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"}(u.AMOUNT_TYPE||(u.AMOUNT_TYPE={})),u.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"}(u.COMMON_SETTING_TYPE||(u.COMMON_SETTING_TYPE={})),u.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"}(u.PAGE_STATUS||(u.PAGE_STATUS={}));var pt=function e(t){R(this,e),_(this,"isShow",void 0),_(this,"priorityProcess",void 0),_(this,"formKey",void 0),_(this,"content",void 0),_(this,"openType",void 0),_(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var c;this.type=(c=t==null?void 0:t.type)!==null&&c!==void 0?c:"";var f;this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!==null&&f!==void 0?f:!1},D0=function e(t){R(this,e);var r;_(this,"id",void 0),_(this,"title",void 0),_(this,"filters",void 0),_(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:qe(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(c){return new h0(c)}))!==null&&i!==void 0?i:[],ky.call(this,t)},J2=function e(t){R(this,e),_(this,"key",void 0),_(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:qe(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},k0=function e(t){R(this,e),_(this,"width",void 0),_(this,"height",void 0),_(this,"widthConfig",void 0),_(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function Z2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eD(){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 bi(e,t,r){return eD()?bi=Reflect.construct:bi=function(o,i,c){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return c&&Qr(l,c.prototype),l},bi.apply(null,arguments)}function ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xr(e)}function tD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qr(e,t)}function nD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function rD(e,t){return t&&(oD(t)==="object"||typeof t=="function")?t:Z2(e)}function Qr(e,t){return Qr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qr(e,t)}var oD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vy(e){var t=typeof Map=="function"?new Map:void 0;return Vy=function(n){if(n===null||!nD(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 bi(n,arguments,Xr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Qr(o,n)},Vy(e)}function iD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uD(e){var t=iD();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 rD(this,o)}}var q=function e(t){xy(this,e),ln(this,"isHide",{type:"boolean"})},Bt=function(e){tD(r,e);var t=uD(r);function r(n){return xy(this,r),t.call(this)}return r}(Vy(Array)),U=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";xy(this,e),ln(this,"isHide",void 0),ln(this,"className",void 0),ln(this,"style",void 0),ln(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new k0(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};ln(U,"Rules",q),ln(U,"RuntimeRules",Bt);function tt(){return tt=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},tt.apply(this,arguments)}function cD(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function zy(e){return zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zy(e)}function Oi(e,t){return Oi=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oi(e,t)}function fD(){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 gi(e,t,r){return fD()?gi=Reflect.construct:gi=function(o,i,c){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return c&&Oi(l,c.prototype),l},gi.apply(null,arguments)}function aD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Yy(e){var t=typeof Map=="function"?new Map:void 0;return Yy=function(n){if(n===null||!aD(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 gi(n,arguments,zy(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Oi(o,n)},Yy(e)}var lD=/%[sdj%]/g,j0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(j0=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Gy(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 je(){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 c=String(o).replace(lD,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 c}return o}function sD(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function X(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||sD(t)&&typeof e=="string"&&!e)}function yD(e,t,r){var n=[],o=0,i=e.length;function c(f){n.push.apply(n,f),o++,o===i&&r(n)}e.forEach(function(f){t(f,c)})}function L0(e,t,r){var n=0,o=e.length;function i(c){if(c&&c.length){r(c);return}var f=n;n=n+1,f<o?t(e[f],i):r([])}i([])}function vD(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var F0=function(e){cD(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}(Yy(Error));function pD(e,t,r,n){if(t.first){var o=new Promise(function(y,p){var h=function(g){return n(g),g.length?p(new F0(g,Gy(g))):y()},O=vD(e);L0(O,r,h)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var c=Object.keys(e),f=c.length,a=0,l=[],s=new Promise(function(y,p){var h=function(b){if(l.push.apply(l,b),a++,a===f)return n(l),l.length?p(new F0(l,Gy(l))):y()};c.length||(n(l),y()),c.forEach(function(O){var b=e[O];i.indexOf(O)!==-1?L0(b,r,h):yD(b,r,h)})});return s.catch(function(y){return y}),s}function x0(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 V0(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]=tt(tt({},e[r]),n):e[r]=n}}return e}function z0(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||X(t,i||e.type))&&n.push(je(o.messages.required,e.fullField))}function dD(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(je(o.messages.whitespace,e.fullField))}var Hy={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},Jr={integer:function(t){return Jr.number(t)&&parseInt(t,10)===t},float:function(t){return Jr.number(t)&&!Jr.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"&&!Jr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Hy.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Hy.url)},hex:function(t){return typeof t=="string"&&!!t.match(Hy.hex)}};function _D(e,t,r,n,o){if(e.required&&t===void 0){z0(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=e.type;i.indexOf(c)>-1?Jr[c](t)||n.push(je(o.messages.types[c],e.fullField,e.type)):c&&typeof t!==e.type&&n.push(je(o.messages.types[c],e.fullField,e.type))}function hD(e,t,r,n,o){var i=typeof e.len=="number",c=typeof e.min=="number",f=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,s=null,y=typeof t=="number",p=typeof t=="string",h=Array.isArray(t);if(y?s="number":p?s="string":h&&(s="array"),!s)return!1;h&&(l=t.length),p&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(je(o.messages[s].len,e.fullField,e.len)):c&&!f&&l<e.min?n.push(je(o.messages[s].min,e.fullField,e.min)):f&&!c&&l>e.max?n.push(je(o.messages[s].max,e.fullField,e.max)):c&&f&&(l<e.min||l>e.max)&&n.push(je(o.messages[s].range,e.fullField,e.min,e.max))}var Gn="enum";function bD(e,t,r,n,o){e[Gn]=Array.isArray(e[Gn])?e[Gn]:[],e[Gn].indexOf(t)===-1&&n.push(je(o.messages[Gn],e.fullField,e[Gn].join(", ")))}function OD(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(je(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(je(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:z0,whitespace:dD,type:_D,range:hD,enum:bD,pattern:OD};function gD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t,"string")&&!e.required)return r();I.required(e,t,n,i,o,"string"),X(t,"string")||(I.type(e,t,n,i,o),I.range(e,t,n,i,o),I.pattern(e,t,n,i,o),e.whitespace===!0&&I.whitespace(e,t,n,i,o))}r(i)}function mD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&I.type(e,t,n,i,o)}r(i)}function PD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(t===""&&(t=void 0),X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&(I.type(e,t,n,i,o),I.range(e,t,n,i,o))}r(i)}function wD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&I.type(e,t,n,i,o)}r(i)}function RD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),X(t)||I.type(e,t,n,i,o)}r(i)}function $D(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&(I.type(e,t,n,i,o),I.range(e,t,n,i,o))}r(i)}function TD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&(I.type(e,t,n,i,o),I.range(e,t,n,i,o))}r(i)}function SD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(t==null&&!e.required)return r();I.required(e,t,n,i,o,"array"),t!=null&&(I.type(e,t,n,i,o),I.range(e,t,n,i,o))}r(i)}function ED(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&I.type(e,t,n,i,o)}r(i)}var ID="enum";function CD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&I[ID](e,t,n,i,o)}r(i)}function ND(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t,"string")&&!e.required)return r();I.required(e,t,n,i,o),X(t,"string")||I.pattern(e,t,n,i,o)}r(i)}function BD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t,"date")&&!e.required)return r();if(I.required(e,t,n,i,o),!X(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),I.type(e,f,n,i,o),f&&I.range(e,f.getTime(),n,i,o)}}r(i)}function AD(e,t,r,n,o){var i=[],c=Array.isArray(t)?"array":typeof t;I.required(e,t,n,i,o,c),r(i)}function qy(e,t,r,n,o){var i=e.type,c=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(X(t,i)&&!e.required)return r();I.required(e,t,n,c,o,i),X(t,i)||I.type(e,t,n,c,o)}r(c)}function MD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o)}r(i)}var Zr={string:gD,method:mD,number:PD,boolean:wD,regexp:RD,integer:$D,float:TD,array:SD,object:ED,enum:CD,pattern:ND,date:BD,url:qy,hex:qy,email:qy,required:AD,any:MD};function Uy(){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 Wy=Uy();function At(e){this.rules=null,this._messages=Wy,this.define(e)}At.prototype={messages:function(t){return t&&(this._messages=V0(Uy(),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,c=r,f=n;if(typeof c=="function"&&(f=c,c={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function a(b){var g,v=[],m={};function w(P){if(Array.isArray(P)){var S;v=(S=v).concat.apply(S,P)}else v.push(P)}for(g=0;g<b.length;g++)w(b[g]);v.length?m=Gy(v):(v=null,m=null),f(v,m)}if(c.messages){var l=this.messages();l===Wy&&(l=Uy()),V0(l,c.messages),c.messages=l}else c.messages=this.messages();var s,y,p={},h=c.keys||Object.keys(this.rules);h.forEach(function(b){s=o.rules[b],y=i[b],s.forEach(function(g){var v=g;typeof v.transform=="function"&&(i===t&&(i=tt({},i)),y=i[b]=v.transform(y)),typeof v=="function"?v={validator:v}:v=tt({},v),v.validator=o.getValidationMethod(v),v.field=b,v.fullField=v.fullField||b,v.type=o.getType(v),v.validator&&(p[b]=p[b]||[],p[b].push({rule:v,value:y,source:i,field:b}))})});var O={};return pD(p,c,function(b,g){var v=b.rule,m=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");m=m&&(v.required||!v.required&&b.value),v.field=b.field;function w($,E){return tt(tt({},E),{},{fullField:v.fullField+"."+$})}function P($){$===void 0&&($=[]);var E=$;if(Array.isArray(E)||(E=[E]),!c.suppressWarning&&E.length&&At.warning("async-validator:",E),E.length&&v.message!==void 0&&(E=[].concat(v.message)),E=E.map(x0(v)),c.first&&E.length)return O[v.field]=1,g(E);if(!m)g(E);else{if(v.required&&!b.value)return v.message!==void 0?E=[].concat(v.message).map(x0(v)):c.error&&(E=[c.error(v,je(c.messages.required,v.field))]),g(E);var L={};if(v.defaultField)for(var Me in b.value)b.value.hasOwnProperty(Me)&&(L[Me]=v.defaultField);L=tt(tt({},L),b.rule.fields);for(var fe in L)if(L.hasOwnProperty(fe)){var ae=Array.isArray(L[fe])?L[fe]:[L[fe]];L[fe]=ae.map(w.bind(null,fe))}var zr=new At(L);zr.messages(c.messages),b.rule.options&&(b.rule.options.messages=c.messages,b.rule.options.error=c.error),zr.validate(b.value,b.rule.options||c,function(Vn){var Yr=[];E&&E.length&&Yr.push.apply(Yr,E),Vn&&Vn.length&&Yr.push.apply(Yr,Vn),g(Yr.length?Yr:null)})}}var S;v.asyncValidator?S=v.asyncValidator(v,b.value,P,b.source,c):v.validator&&(S=v.validator(v,b.value,P,b.source,c),S===!0?P():S===!1?P(v.message||v.field+" fails"):S instanceof Array?P(S):S instanceof Error&&P(S.message)),S&&S.then&&S.then(function(){return P()},function($){return P($)})},function(b){a(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Zr.hasOwnProperty(t.type))throw new Error(je("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"?Zr.required:Zr[this.getType(t)]||!1}},At.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Zr[t]=r},At.warning=j0,At.messages=Wy,At.validators=Zr;var DD={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 Y0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new At(e);return r.messages(Object.assign(DD,t)),r}var G0=new f0;function Ky(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 kD(e){if(Array.isArray(e))return e}function jD(e){if(Array.isArray(e))return Ky(e)}function H0(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function q0(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){H0(i,n,o,c,f,"next",a)}function f(a){H0(i,n,o,c,f,"throw",a)}c(void 0)})}}function LD(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 FD(e,t,r){return t&&U0(e.prototype,t),r&&U0(e,r),e}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function W0(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function K0(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xD(){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 VD(){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 X0(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){j(e,o,r[o])})}return e}function zD(e){return kD(e)||K0(e)||Q0(e)||xD()}function Xy(e){return jD(e)||K0(e)||Q0(e)||VD()}function Q0(e,t){if(!!e){if(typeof e=="string")return Ky(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 Ky(e,t)}}var J0=function(e,t){var r,n,o,i,c={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(;c;)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 c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}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}}},k=function(){function t(r){var n=this;LD(this,t),j(this,"id",void 0),j(this,"name",void 0),j(this,"icon",void 0),j(this,"type",void 0),j(this,"controlType",void 0),j(this,"props",void 0),j(this,"setting",[]),j(this,"fieldType",void 0),j(this,"eventKeys",[]),j(this,"customEvents",[]),j(this,"parent",null),j(this,"updateSetting",eP),j(this,"removeSetting",Z0),this._callControlHooks("preInstance",r);var o=W0(this,t)?this.constructor:void 0,i=o.controlName,c=o.controlIcon,f=o.controlType,a=o.controlFieldType,l=o.controlEventKeys,s=o.controlCustomEvents,y=o.name,p=o.setting;i&&c&&f||wy("The ".concat(y," controlName,controlIcon,controlType is not define"));var h;this.id=(h=r==null?void 0:r.id)!==null&&h!==void 0?h:qe(10),this.name=i,this.icon=c;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:f,this.props=new U(r==null?void 0:r.props,(W0(this,t)?this.constructor:void 0).controlName);var b;this.controlType=(b=r==null?void 0:r.controlType)!==null&&b!==void 0?b:"base",this.setting=vt(p);var g;this.fieldType=(g=r==null?void 0:r.fieldType)!==null&&g!==void 0?g:a,this.eventKeys=vt(l),this.customEvents=vt(s),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return FD(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var c,f=zD(o),a=f[0],l=f.slice(1);return(c=G0).emit.apply(c,[a,this].concat(Xy(l)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),e0(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return q0(function(){var o,i,c;return J0(this,function(f){switch(f.label){case 0:return o=X0({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=f.sent(),c=i[i.length-1],[2,c===!1?void 0:c]}})})()}},{key:"validate",value:function(n,o){var i=this;return q0(function(){var c,f,a,l;return J0(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:c=s.sent(),f=c!==void 0?c:X0({},i.rules),Array.isArray(o)&&o.forEach(function(y){f.hasOwnProperty(y)&&delete f[y]}),a=Y0(f,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw l=s.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,c=this.type,f=this.props,a=f.dataBind,l=f.datasourceBind,s=f.optionConfig,y=f.caption,p=f.required,h=f.maxLength,O=f.options,b=f.encrypted,g=f.encryptedMode;if(!(!o&&!a&&!l)){var v={parentId:n,fieldType:o,controlId:i,caption:y,type:c,props:{}};switch(a&&(v.dataBind=a),s){case"datasource":case void 0:l&&(v.datasourceBind=l);break;case"custom":v.props.options=O;break}return p!==void 0&&(v.required=p),h!==void 0&&(v.maxLength=h),b!==void 0&&(v.encrypted=b),g!==void 0&&(v.encryptedMode=g),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:vt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Xy(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();j(k,"controlName","\u63A7\u4EF6"),j(k,"controlIcon","icon"),j(k,"controlType","control"),j(k,"controlFieldType",void 0),j(k,"controlEventKeys",[]),j(k,"controlCustomEvents",[]),j(k,"setting",[]),j(k,"__is_control__",!0),j(k,"removeSettingItem",Z0),j(k,"updateSettingItem",eP);function Z0(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 c,f;o?t.setting[i].showItems=(c=t.setting[i].showItems)===null||c===void 0?void 0:c.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 eP(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 c,f=(c=t.type)!==null&&c!==void 0?c:"replace";if(f==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Xy(t.showItems))}}}})}function YD(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 GD(e,t,r){return t&&tP(e.prototype,t),r&&tP(e,r),e}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function HD(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var W=function(){function t(r){YD(this,t),ze(this,"id",void 0),ze(this,"type",void 0),ze(this,"controlType",void 0),ze(this,"props",void 0),ze(this,"fieldType",void 0),ze(this,"customEvents",[]),ze(this,"pageStatus",void 0),ze(this,"parent",null);var n=HD(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,c=n.name,f=n.controlCustomEvents;o||wy("The ".concat(c," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:qe(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new U(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 p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:u.PAGE_STATUS.UNKNOWN}return GD(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}();ze(W,"controlType","control"),ze(W,"controlFieldType",void 0),ze(W,"__is_control__",!0),ze(W,"controlCustomEvents",[]);function mi(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(d.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(f){return f.value}),c=r0(i);i.length!==c.length?o(d.getMessage("optionIdIsRepeat")):o()},message:d.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(d.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Pi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(o,i,c){i.length===0&&c(d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),c()},message:d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function x(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function $i(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qD(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function UD(e,t){return t&&(WD(t)==="object"||typeof t=="function")?t:x(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}var WD=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 Ti(e){var t=KD();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 UD(this,o)}}var se=function(e){$i(r,e);var t=Ti(r);function r(n){wi(this,r);var o;o=t.call(this,n),V(x(o),"dataBind",{}),V(x(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),V(x(o),"isHideCaption",{type:"boolean"}),V(x(o),"labelPosition",{type:"enum",enum:["top","left"]}),V(x(o),"defaultState",{type:"enum",enum:["default","readonly"]}),V(x(o),"required",{type:"boolean"}),V(x(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(qD(n.dataBind,ke))o.dataBind={type:"object",required:!0,fields:vt(i),message:d.getMessage("pleaseEnterFieldCode")};else{var c={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){c.fields[f]={type:"object",required:!0,fields:vt(i),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=c}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),z=function(e){$i(r,e);var t=Ti(r);function r(n){wi(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:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Bt),C=function(e){$i(r,e);var t=Ti(r);function r(n){wi(this,r);var o;o=t.call(this,n),V(x(o),"caption",void 0),V(x(o),"isHideCaption",void 0),V(x(o),"isShowCaptionTip",void 0),V(x(o),"captionTip",void 0),V(x(o),"labelPosition",void 0),V(x(o),"dataBind",void 0),V(x(o),"defaultValue",void 0),V(x(o),"placeholder",void 0),V(x(o),"defaultState",void 0),V(x(o),"required",void 0),V(x(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!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 p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var h;o.requiredMessage=(h=n==null?void 0:n.requiredMessage)!==null&&h!==void 0?h:"",o.dataBind=new ke(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(U);V(C,"Rules",se),V(C,"RuntimeRules",z);var sn=function(e){$i(r,e);var t=Ti(r);function r(n){wi(this,r);var o;return o=t.call(this,n),V(x(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(x(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),V(x(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),mi.call(x(o),n),o}return r}(se);function Jy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function QD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function JD(e,t){return t&&(ZD(t)==="object"||typeof t=="function")?t:Jy(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var ZD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ek(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tk(e){var t=ek();return function(){var n=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JD(this,o)}}var A=function(e){QD(r,e);var t=tk(r);function r(n){XD(this,r);var o;return o=t.call(this,n),Si(Jy(o),"controlType","form"),Si(Jy(o),"props",void 0),o.props=new C(n==null?void 0:n.props),o}return r}(k);Si(A,"controlEventKeys",["on_change","on_focus","on_blur"]),Si(A,"controlCustomAttributes",void 0);function Ii(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ev(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function rk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function ok(e,t){return t&&(ik(t)==="object"||typeof t=="function")?t:Ii(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var ik=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ck(e){var t=uk();return function(){var n=Ci(e),o;if(t){var i=Ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ok(this,o)}}var M=function(e){rk(r,e);var t=ck(r);function r(n){nk(this,r);var o;return o=t.call(this,n),ev(Ii(o),"controlType","form"),ev(Ii(o),"props",void 0),ev(Ii(o),"value",void 0),o.props=new C(n==null?void 0:n.props),o}return r}(W);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 Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(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&&nv(e,t)}function sk(e,t){return t&&(yk(t)==="object"||typeof t=="function")?t:fk(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(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 pk(e){var t=vk();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 sk(this,o)}}var G=function(e){lk(r,e);var t=pk(r);function r(n){return ak(this,r),t.call(this,n)}return r}(U);function rv(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 dk(e){if(Array.isArray(e))return rv(e)}function _k(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hk(){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 nP(e){return dk(e)||_k(e)||bk(e)||hk()}function bk(e,t){if(!!e){if(typeof e=="string")return rv(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 rv(e,t)}}function rP(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function ov(e,t){e.parent=t,rP(e,"parent")}function oP(e,t){e.forEach(function(r){ov(r,t)})}var iP=Symbol("targetKey");function uP(e){var t;return(t=e[iP])!==null&&t!==void 0?t:e}function cP(e,t){return oP(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,c=new Array(i>2?i-2:0),f=2;f<i;f++)c[f-2]=arguments[f];var a;return o===iP?n:(a=Reflect).get.apply(a,[n,o].concat(nP(c)))},set:function(n,o,i){for(var c=arguments.length,f=new Array(c>3?c-3:0),a=3;a<c;a++)f[a-3]=arguments[a];var l;if(un(e)&&o==="length"&&i===e.length)return!0;var s=(l=Reflect).set.apply(l,[n,o,i].concat(nP(f)));return Sy(i)&&ov(i,t),s}})}function nt(e,t,r,n){var o=n!=null?n:e,i=cP(uP(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=cP(uP(f),o)},enumerable:!0})}function iv(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 Ok(e){if(Array.isArray(e))return iv(e)}function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fP(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function gk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){fP(i,n,o,c,f,"next",a)}function f(a){fP(i,n,o,c,f,"throw",a)}c(void 0)})}}function mk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pk(e,t,r){return t&&aP(e.prototype,t),r&&aP(e,r),e}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hn=Reflect.get:Hn=function(o,i,c){var f=Nk(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Hn(e,t,r||e)}function Dt(e){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dt(e)}function wk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function Rk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function $k(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Tk(){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 Sk(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){Mt(e,o,r[o])})}return e}function Ek(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 Ik(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ek(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Ck(e,t){return t&&(Bk(t)==="object"||typeof t=="function")?t:yn(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function Nk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dt(e),e!==null););return e}function lP(e){return Ok(e)||$k(e)||Ak(e)||Tk()}var Bk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ak(e,t){if(!!e){if(typeof e=="string")return iv(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 iv(e,t)}}function Mk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dk(e){var t=Mk();return function(){var n=Dt(e),o;if(t){var i=Dt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ck(this,o)}}var kk=function(e,t){var r,n,o,i,c={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(;c;)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 c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}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}}},jk=1e4,H=function(t){wk(n,t);var r=Dk(n);function n(o){mk(this,n);var i;i=r.call(this,o),Mt(yn(i),"controlType","layout"),Mt(yn(i),"children",void 0),Mt(yn(i),"excludes",void 0),Mt(yn(i),"childrenMaxLength",void 0),Mt(yn(i),"props",void 0);var c=Rk(this,n)?this.constructor:void 0,f=c.excludes,a=c.childrenMaxLength;return i.props=new G(o==null?void 0:o.props),nt(yn(i),"children",o==null?void 0:o.children),i.excludes=vt(f),i.childrenMaxLength=a,i}return Pk(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var c=this.judgeExcludesChildren(i);return c&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,c){var f=this,a=this,l=function(){return Hn(Dt(n.prototype),"validate",f)};return gk(function(){return kk(this,function(s){switch(s.label){case 0:return[4,l().call(a,i,c)];case 1:return s.sent(),[4,Promise.all(a.children.map(function(y){return y.validate(i,c)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,c=Hn(Dt(n.prototype),"toDataBindModel",this).call(this),f=c?[c]:[];return this.children.reduce(function(a,l){var s=l.toDataBindModel(i);if(Array.isArray(s)){var y=s.filter(function(p){return!!p});return lP(a).concat(lP(y))}return s&&a.push(s),a},f)}},{key:"toSchema",value:function(){var i=Hn(Dt(n.prototype),"toSchema",this).call(this),c=this.children.map(function(f){var a=f.toSchema();return a});return Ik(Sk({},i),{children:c})}}]),n}(k);Mt(H,"excludes",!1),Mt(H,"childrenMaxLength",jk);function eo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function Fk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function xk(e,t){return t&&(Vk(t)==="object"||typeof t=="function")?t:eo(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var Vk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yk(e){var t=zk();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 xk(this,o)}}var Q=function(e){Fk(r,e);var t=Yk(r);function r(n){Lk(this,r);var o;return o=t.call(this,n),cv(eo(o),"controlType","layout"),cv(eo(o),"children",void 0),cv(eo(o),"props",void 0),o.props=new G(n==null?void 0:n.props),nt(eo(o),"children",n==null?void 0:n.children),o}return r}(W);function av(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function qk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Uk(e,t){return t&&(Wk(t)==="object"||typeof t=="function")?t:av(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}var Wk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xk(e){var t=Kk();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 Uk(this,o)}}var to=function(e){qk(r,e);var t=Xk(r);function r(n,o){Gk(this,r);var i;return i=t.call(this,o),Hk(av(i),"headers",void 0),nt(av(i),"headers",o==null?void 0:o.headers,n),i}return r}(U);function sv(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 Qk(e){if(Array.isArray(e))return sv(e)}function Mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sP(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function Jk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){sP(i,n,o,c,f,"next",a)}function f(a){sP(i,n,o,c,f,"throw",a)}c(void 0)})}}function Zk(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 ej(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function Di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qn=Reflect.get:qn=function(o,i,c){var f=uj(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},qn(e,t,r||e)}function kt(e){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kt(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&&yv(e,t)}function nj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function rj(){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 vP(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){Di(e,o,r[o])})}return e}function oj(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 pP(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):oj(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ij(e,t){return t&&(cj(t)==="object"||typeof t=="function")?t:Mi(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function uj(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kt(e),e!==null););return e}function dP(e){return Qk(e)||nj(e)||fj(e)||rj()}var cj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fj(e,t){if(!!e){if(typeof e=="string")return sv(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 sv(e,t)}}function aj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lj(e){var t=aj();return function(){var n=kt(e),o;if(t){var i=kt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ij(this,o)}}var sj=function(e,t){var r,n,o,i,c={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(;c;)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 c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}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}}},ki=function(e){tj(r,e);var t=lj(r);function r(n){Zk(this,r);var o;return o=t.call(this,n),Di(Mi(o),"controlType","list"),Di(Mi(o),"props",void 0),o.props=new to(Mi(o),n==null?void 0:n.props),o}return ej(r,[{key:"validate",value:function(o,i){var c=this,f=this,a=function(){return qn(kt(r.prototype),"validate",c)};return Jk(function(){return sj(this,function(l){switch(l.label){case 0:return[4,a().call(f,o)];case 1:return l.sent(),[4,Promise.all(f.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=qn(kt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],c=this.id;return this.props.headers.reduce(function(f,a){var l=a.toDataBindModel(c);if(Array.isArray(l)){var s=l.filter(function(y){return!!y});return dP(f).concat(dP(s))}return l&&f.push(l),f},i)}},{key:"toSchema",value:function(){var o=qn(kt(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(c){return c.toSchema()});return pP(vP({},o),{props:pP(vP({},this.props),{headers:i})})}}]),r}(k);Di(ki,"controlFieldType",u.FieldTypes.LIST);function Un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vj(e,t,r){return t&&_P(e.prototype,t),r&&_P(e,r),e}function vv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function pj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function dj(e,t){return t&&(_j(t)==="object"||typeof t=="function")?t:Un(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}var _j=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bj(e){var t=hj();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dj(this,o)}}var dv=function(e){pj(r,e);var t=bj(r);function r(n){yj(this,r);var o;return o=t.call(this,n),vv(Un(o),"controlType","list"),vv(Un(o),"children",void 0),vv(Un(o),"props",void 0),o.props=new to(Un(o),n==null?void 0:n.props),nt(Un(o),"children",n==null?void 0:n.children),o}return vj(r,[{key:"length",get:function(){return this.children.length}}]),r}(W);function te(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 ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(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&&bv(e,t)}function Oj(e,t){return t&&(gj(t)==="object"||typeof t=="function")?t:te(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(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 Ov(e){var t=mj();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 Oj(this,o)}}var Fi=function(e){hv(r,e);var t=Ov(r);function r(n){_v(this,r);var o;return o=t.call(this,n),ye(te(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ye(te(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(q),K=function(e){hv(r,e);var t=Ov(r);function r(n){_v(this,r);var o;o=t.call(this,n),ye(te(o),"widthType",void 0),ye(te(o),"width",void 0),ye(te(o),"caption",void 0),ye(te(o),"dataBind",void 0),ye(te(o),"autoWidth",void 0),ye(te(o),"fixed",void 0),ye(te(o),"sort",void 0),ye(te(o),"align",void 0),ye(te(o),"colSpan",void 0),ye(te(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"none",o.autoWidth=new By(n==null?void 0:n.autoWidth),o.dataBind=new ke(n==null?void 0:n.dataBind);var a;o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var l;return o.autoHeight=(l=n==null?void 0:n.autoHeight)!==null&&l!==void 0?l:!1,o}return r}(U);ye(K,"Rules",Fi);var gv=function(e){hv(r,e);var t=Ov(r);function r(n){_v(this,r);var o;return o=t.call(this,n),ye(te(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),ye(te(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),ye(te(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),mi.call(te(o),n),o}return r}(Fi);function mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(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&&Pv(e,t)}function Rj(e,t){return t&&($j(t)==="object"||typeof t=="function")?t:mv(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}var $j=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sj(e){var t=Tj();return function(){var n=xi(e),o;if(t){var i=xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rj(this,o)}}var ne=function(e){wj(r,e);var t=Sj(r);function r(n){Pj(this,r);var o;return o=t.call(this,n),hP(mv(o),"controlType","column"),hP(mv(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(k);function wv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ej(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function Ij(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cj(e,t){return t&&(Nj(t)==="object"||typeof t=="function")?t:wv(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var Nj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aj(e){var t=Bj();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 Cj(this,o)}}var re=function(e){Ij(r,e);var t=Aj(r);function r(n){Ej(this,r);var o;return o=t.call(this,n),bP(wv(o),"controlType","column"),bP(wv(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(W);function OP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function 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&&$v(e,t)}function jj(e,t){return t&&(Lj(t)==="object"||typeof t=="function")?t:OP(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}var Lj=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 xj(e){var t=Fj();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 jj(this,o)}}var Yi=function(e){kj(r,e);var t=xj(r);function r(n){Mj(this,r);var o;return o=t.call(this,n),Dj(OP(o),"dataBind",void 0),o.dataBind=new ke(n==null?void 0:n.dataBind),o}return r}(G);function Tv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function zj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sv(e,t)}function Yj(e,t){return t&&(Gj(t)==="object"||typeof t=="function")?t:Tv(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}var Gj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qj(e){var t=Hj();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yj(this,o)}}var mP=function(e){zj(r,e);var t=qj(r);function r(n){Vj(this,r);var o;return o=t.call(this,n),gP(Tv(o),"controlType","search"),gP(Tv(o),"props",void 0),o.props=new Yi(n==null?void 0:n.props),o}return r}(H);function Ev(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function 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&&Iv(e,t)}function Kj(e,t){return t&&(Xj(t)==="object"||typeof t=="function")?t:Ev(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(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=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kj(this,o)}}var wP=function(e){Wj(r,e);var t=Jj(r);function r(n){Uj(this,r);var o;return o=t.call(this,n),PP(Ev(o),"controlType","search"),PP(Ev(o),"props",void 0),o.props=new Yi(n==null?void 0:n.props),o}return r}(Q);function Zj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eL(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 tL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function nL(e,t){return t&&(rL(t)==="object"||typeof t=="function")?t:Zj(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}var rL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iL(e){var t=oL();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 nL(this,o)}}var Nv=function(e){tL(r,e);var t=iL(r);function r(n){return eL(this,r),t.call(this,n)}return r}(G);function Bv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function cL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function fL(e,t){return t&&(aL(t)==="object"||typeof t=="function")?t:Bv(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}var aL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sL(e){var t=lL();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 fL(this,o)}}var yL=function(e){cL(r,e);var t=sL(r);function r(n){uL(this,r);var o;return o=t.call(this,n),RP(Bv(o),"controlType","wrap"),RP(Bv(o),"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return r}(H);function Mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function pL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function dL(e,t){return t&&(_L(t)==="object"||typeof t=="function")?t:Mv(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}var _L=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bL(e){var t=hL();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 dL(this,o)}}var OL=function(e){pL(r,e);var t=bL(r);function r(n){vL(this,r);var o;return o=t.call(this,n),$P(Mv(o),"controlType","wrap"),$P(Mv(o),"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return r}(Q);function Wn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function mL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function PL(e,t){return t&&(wL(t)==="object"||typeof t=="function")?t:Wn(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}var wL=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 $L(e){var t=RL();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 PL(this,o)}}var jv=function(e){mL(r,e);var t=$L(r);function r(n){gL(this,r);var o;o=t.call(this,n),no(Wn(o),"content",void 0),no(Wn(o),"fontSize",void 0),no(Wn(o),"color",void 0),no(Wn(o),"icon",void 0),no(Wn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"#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}(U);function TP(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 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 SL(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function EP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(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&&Lv(e,t)}function IL(e,t){return t&&(CL(t)==="object"||typeof t=="function")?t:TP(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var CL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BL(e){var t=NL();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 IL(this,o)}}var IP=function(e){EL(r,e);var t=BL(r);function r(n){TL(this,r);var o;return o=t.call(this,n),EP(TP(o),"props",void 0),o.props=new jv(n==null?void 0:n.props),o}return SL(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(k);EP(IP,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[u.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 CP(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 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 ML(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function DL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function kL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function jL(e,t){return t&&(LL(t)==="object"||typeof t=="function")?t:CP(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var LL=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 xL(e){var t=FL();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 jL(this,o)}}var VL=function(e){kL(r,e);var t=xL(r);function r(n){AL(this,r);var o;return o=t.call(this,n),DL(CP(o),"props",void 0),o.props=new jv(n==null?void 0:n.props),o}return ML(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(W),BP={Designer:IP,Runtime:VL,Property:jv};function Ji(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function YL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function GL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:Ji(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}var HL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UL(e){var t=qL();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 GL(this,o)}}var zv=function(e){YL(r,e);var t=UL(r);function r(n){zL(this,r);var o;o=t.call(this,n),xv(Ji(o),"content",void 0),xv(Ji(o),"url",void 0),xv(Ji(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var c;o.url=(c=n==null?void 0:n.url)!==null&&c!==void 0?c:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(U);function AP(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 MP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KL(e,t,r){return t&&MP(e.prototype,t),r&&MP(e,r),e}function Yv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function 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&&Gv(e,t)}function QL(e,t){return t&&(JL(t)==="object"||typeof t=="function")?t:AP(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}var JL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eF(e){var t=ZL();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 QL(this,o)}}var Hv=function(e){XL(r,e);var t=eF(r);function r(n){WL(this,r);var o;return o=t.call(this,n),Yv(AP(o),"props",void 0),o.props=new zv(n==null?void 0:n.props),o}return KL(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(k);Yv(Hv,"controlEventKeys",["on_click"]),Yv(Hv,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function DP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tF(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 nF(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function rF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function oF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function iF(e,t){return t&&(uF(t)==="object"||typeof t=="function")?t:DP(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}var uF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fF(e){var t=cF();return function(){var n=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iF(this,o)}}var aF=function(e){oF(r,e);var t=fF(r);function r(n){tF(this,r);var o;return o=t.call(this,n),rF(DP(o),"props",void 0),o.props=new zv(n==null?void 0:n.props),o}return nF(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(W),jP={Designer:Hv,Runtime:aF,Property:zv};function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function sF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function yF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:dt(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var vF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dF(e){var t=pF();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 yF(this,o)}}var me=function(e){sF(r,e);var t=dF(r);function r(n){lF(this,r);var o;o=t.call(this,n),jt(dt(o),"content",void 0),jt(dt(o),"buttonType",void 0),jt(dt(o),"showType",void 0),jt(dt(o),"color",void 0),jt(dt(o),"icon",void 0),jt(dt(o),"defaultState",void 0),jt(dt(o),"command",void 0),jt(dt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"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 p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return r}(U);function LP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hF(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function Wv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function bF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OF(e,t){return t&&(gF(t)==="object"||typeof t=="function")?t:LP(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}var gF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PF(e){var t=mF();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 OF(this,o)}}var Pe=function(e){bF(r,e);var t=PF(r);function r(n){_F(this,r);var o;return o=t.call(this,n),Wv(LP(o),"props",void 0),o.props=new me(n==null?void 0:n.props),o}return hF(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(k);Wv(Pe,"controlEventKeys",["on_click"]),Wv(Pe,"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:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function xP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RF(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function $F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(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&&Xv(e,t)}function SF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:xP(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}var EF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CF(e){var t=IF();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 SF(this,o)}}var Le=function(e){TF(r,e);var t=CF(r);function r(n){wF(this,r);var o;return o=t.call(this,n),$F(xP(o),"props",void 0),o.props=new me(n==null?void 0:n.props),o}return RF(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(W),zP={Designer:Pe,Runtime:Le,Property:me};function _t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.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",e.ShowTitle="is_show_title"}(u.TitleConfigEnum||(u.TitleConfigEnum={})),u.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(u.DATE_CONFIG_TYPE||(u.DATE_CONFIG_TYPE={})),u.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(u.DATE_LIMIT_TYPE||(u.DATE_LIMIT_TYPE={}));var iu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:u.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:u.DATE_LIMIT_TYPE.FILE_IN_TIME,id:qe(8),value:["",""]};_t(this,e),T(this,"dateConfigType",void 0),T(this,"dateLimitType",void 0),T(this,"id",void 0),T(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};u.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(u.SCORE_TYPE||(u.SCORE_TYPE={}));var uu=function e(t){_t(this,e),T(this,"id",void 0),T(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:qe();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};u.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"}(u.LINE_STYLE||(u.LINE_STYLE={}));var Qv=function e(t){_t(this,e),T(this,"type",void 0),T(this,"person",void 0),T(this,"signatureType",void 0),T(this,"telephone",void 0),T(this,"company",void 0),T(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Yn((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,c;this.telephone=(c=t==null?void 0:t.telephone)!==null&&c!==void 0?c:new Yn((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 Yn((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:""},YP=function e(t){_t(this,e);var r;T(this,"fileControl",void 0),T(this,"undersignedList",void 0),T(this,"statusControl",void 0),T(this,"completeControl",void 0),T(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new Qv(a)}))!==null&&o!==void 0?o:[new Qv];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var c;this.completeControl=(c=t==null?void 0:t.completeControl)!==null&&c!==void 0?c:"";var f;this.completeTimeControl=(f=t==null?void 0:t.completeTimeControl)!==null&&f!==void 0?f:""},Jv=function e(t){_t(this,e),T(this,"id",void 0),T(this,"appId",void 0),T(this,"dataCode",void 0),T(this,"svcCode",void 0),T(this,"name",void 0),T(this,"fieldList",void 0),T(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:qe(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 c;this.name=(c=t==null?void 0:t.name)!==null&&c!==void 0?c:"";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},Zv=function e(t){_t(this,e),T(this,"active",void 0),T(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},GP=function e(t){_t(this,e),T(this,"types",void 0),T(this,"history",void 0),T(this,"collaborativeRecord",void 0),T(this,"logicToDelete",void 0),T(this,"watermark",void 0),T(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Zv(t==null?void 0:t.watermark),this.autoRename=new Zv(t==null?void 0:t.autoRename)},HP=480;function ro(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var qP=function e(t){_t(this,e),T(this,"fileId",void 0),T(this,"fileName",void 0),T(this,"ruleName",void 0),T(this,"isDefault",void 0),T(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var c;this.rules=(c=t.rules)!==null&&c!==void 0?c:[]},UP=function e(t){_t(this,e),T(this,"direction",void 0),T(this,"justifyContent",void 0),T(this,"alignItems",void 0);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"};u.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(u.EncryptTypeEnum||(u.EncryptTypeEnum={})),u.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(u.OrganizeType||(u.OrganizeType={})),u.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(u.DepartmentType||(u.DepartmentType={})),u.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(u.AssignType||(u.AssignType={})),u.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(u.InternalType||(u.InternalType={}));function ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function BF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function AF(e,t){return t&&(MF(t)==="object"||typeof t=="function")?t:ep(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}var MF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kF(e){var t=DF();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 AF(this,o)}}var np=function(e){BF(r,e);var t=kF(r);function r(n){NF(this,r);var o;o=t.call(this,n),WP(ep(o),"color",void 0),WP(ep(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var c;return o.lineStyle=(c=n==null?void 0:n.lineStyle)!==null&&c!==void 0?c:u.LINE_STYLE.SOLID,o}return r}(U);function KP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 LF(e,t,r){return t&&XP(e.prototype,t),r&&XP(e,r),e}function QP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function FF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function xF(e,t){return t&&(VF(t)==="object"||typeof t=="function")?t:KP(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}var VF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YF(e){var t=zF();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xF(this,o)}}var JP=function(e){FF(r,e);var t=YF(r);function r(n){jF(this,r);var o;return o=t.call(this,n),QP(KP(o),"props",void 0),o.props=new np(n==null?void 0:n.props),o}return LF(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(k);QP(JP,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]}]);function ZP(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 ew(e,t){for(var r=0;r<t.length;r++){var 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&&ew(e.prototype,t),r&&ew(e,r),e}function qF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function UF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function WF(e,t){return t&&(KF(t)==="object"||typeof t=="function")?t:ZP(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}var KF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QF(e){var t=XF();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 WF(this,o)}}var JF=function(e){UF(r,e);var t=QF(r);function r(n){GF(this,r);var o;return o=t.call(this,n),qF(ZP(o),"props",void 0),o.props=new np(n==null?void 0:n.props),o}return HF(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(W),tw={Designer:JP,Runtime:JF,Property:np};function Lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(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&&ip(e,t)}function ZF(e,t){return t&&(e4(t)==="object"||typeof t=="function")?t:Lt(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var e4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function t4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ow(e){var t=t4();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 ZF(this,o)}}var n4=function(e){rw(r,e);var t=ow(r);function r(n){nw(this,r);var o;return o=t.call(this,n),Ft(Lt(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Ft(Lt(o),"dataBind",{type:"any"}),Ft(Lt(o),"config",{type:"array"}),n.config.includes(u.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")}),o}return r}(q),su=function(e){rw(r,e);var t=ow(r);function r(n){nw(this,r);var o;o=t.call(this,n),Ft(Lt(o),"dataBind",void 0),Ft(Lt(o),"caption",void 0),Ft(Lt(o),"config",void 0),Ft(Lt(o),"position",void 0),o.dataBind=new ke(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[u.TitleConfigEnum.ShowSubmitUser,u.TitleConfigEnum.ShowSubmitDept,u.TitleConfigEnum.ShowSubmitTime,u.TitleConfigEnum.ShowCurrentApprovar,u.TitleConfigEnum.ShowTitle];var c,f;o.caption=(f=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Kn==null?void 0:Kn.controlName)!==null&&f!==void 0?f:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(U);Ft(su,"Rules",n4);function iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 o4(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function up(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function i4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cp(e,t)}function u4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:iw(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(e,t)}var c4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a4(e){var t=f4();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u4(this,o)}}var Kn=function(e){i4(r,e);var t=a4(r);function r(n){r4(this,r);var o;return o=t.call(this,n),up(iw(o),"props",void 0),o.props=new su(n==null?void 0:n.props),o}return o4(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(k);up(Kn,"controlFieldType",u.FieldTypes.AUTO_NUMBER),up(Kn,"setting",[{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s4(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function y4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function v4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function p4(e,t){return t&&(d4(t)==="object"||typeof t=="function")?t:cw(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}var d4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h4(e){var t=_4();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 p4(this,o)}}var b4=function(e){v4(r,e);var t=h4(r);function r(n){l4(this,r);var o;return o=t.call(this,n),y4(cw(o),"props",void 0),o.props=new su(n==null?void 0:n.props),o}return s4(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(W),aw={Designer:Kn,Runtime:b4,Property:su};function pu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function du(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function 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&&ap(e,t)}function O4(e,t){return t&&(g4(t)==="object"||typeof t=="function")?t:pu(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}var g4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yw(e){var t=m4();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 O4(this,o)}}var P4=function(e){sw(r,e);var t=yw(r);function r(n){lw(this,r);var o;return o=t.call(this,n),du(pu(o),"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(q),hu=function(e){sw(r,e);var t=yw(r);function r(n){lw(this,r);var o;o=t.call(this,n),du(pu(o),"formKey",void 0),du(pu(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:oo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:oo.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}(me);du(hu,"Rules",P4);function vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R4(e,t,r){return t&&pw(e.prototype,t),r&&pw(e,r),e}function lp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function $4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function T4(e,t){return t&&(S4(t)==="object"||typeof t=="function")?t:vw(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var S4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I4(e){var t=E4();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 T4(this,o)}}var oo=function(e){$4(r,e);var t=I4(r);function r(n){w4(this,r);var o;return o=t.call(this,n),lp(vw(o),"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return R4(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}(Pe);lp(oo,"controlEventKeys",["on_click","on_click_finish"]),lp(oo,"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 dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N4(e,t,r){return t&&_w(e.prototype,t),r&&_w(e,r),e}function B4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function A4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function M4(e,t){return t&&(D4(t)==="object"||typeof t=="function")?t:dw(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}var D4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j4(e){var t=k4();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 M4(this,o)}}var L4=function(e){A4(r,e);var t=j4(r);function r(n){C4(this,r);var o;return o=t.call(this,n),B4(dw(o),"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return N4(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Le),hw={Designer:oo,Runtime:L4,Property:hu};function Xn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function Ow(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function F4(e,t){return t&&(x4(t)==="object"||typeof t=="function")?t:Xn(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var x4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gw(e){var t=V4();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 F4(this,o)}}var z4=function(e){Ow(r,e);var t=gw(r);function r(n){bw(this,r);var o;return o=t.call(this,n),Qn(Xn(o),"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return r}(q),mu=function(e){Ow(r,e);var t=gw(r);function r(n){bw(this,r);var o;o=t.call(this,n),Qn(Xn(o),"processKey",void 0),Qn(Xn(o),"initiatorMode",void 0),Qn(Xn(o),"fieldCode",void 0),Qn(Xn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:io.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:io.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}(me);Qn(mu,"Rules",z4);function mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G4(e,t,r){return t&&Pw(e.prototype,t),r&&Pw(e,r),e}function pp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function H4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function q4(e,t){return t&&(U4(t)==="object"||typeof t=="function")?t:mw(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}var U4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K4(e){var t=W4();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 q4(this,o)}}var io=function(e){H4(r,e);var t=K4(r);function r(n){Y4(this,r);var o;return o=t.call(this,n),pp(mw(o),"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return G4(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}(Pe);pp(io,"controlEventKeys",["on_click","on_click_finish"]),pp(io,"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 ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q4(e,t,r){return t&&Rw(e.prototype,t),r&&Rw(e,r),e}function J4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function Z4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function e5(e,t){return t&&(t5(t)==="object"||typeof t=="function")?t:ww(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}var t5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r5(e){var t=n5();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e5(this,o)}}var o5=function(e){Z4(r,e);var t=r5(r);function r(n){X4(this,r);var o;return o=t.call(this,n),J4(ww(o),"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return Q4(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Le),$w={Designer:io,Runtime:o5,Property:mu};function i5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function c5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function f5(e,t){return t&&(a5(t)==="object"||typeof t=="function")?t:i5(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}var a5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s5(e){var t=l5();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f5(this,o)}}var bp=function(e){c5(r,e);var t=s5(r);function r(n){u5(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:uo.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:uo.controlIcon,o}return r}(me);function Tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v5(e,t,r){return t&&Sw(e.prototype,t),r&&Sw(e,r),e}function Op(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function p5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function d5(e,t){return t&&(_5(t)==="object"||typeof t=="function")?t:Tw(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}var _5=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 b5(e){var t=h5();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 d5(this,o)}}var uo=function(e){p5(r,e);var t=b5(r);function r(n){y5(this,r);var o;return o=t.call(this,n),Op(Tw(o),"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return v5(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}(Pe);Op(uo,"controlEventKeys",["on_click"]),Op(uo,"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 Ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g5(e,t,r){return t&&Iw(e.prototype,t),r&&Iw(e,r),e}function m5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function P5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function w5(e,t){return t&&(R5(t)==="object"||typeof t=="function")?t:Ew(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}var R5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T5(e){var t=$5();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w5(this,o)}}var S5=function(e){P5(r,e);var t=T5(r);function r(n){O5(this,r);var o;return o=t.call(this,n),m5(Ew(o),"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return g5(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Le),Cw={Designer:uo,Runtime:S5,Property:bp};function Nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function C5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function N5(e,t){return t&&(B5(t)==="object"||typeof t=="function")?t:Nw(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}var B5=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 M5(e){var t=A5();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 N5(this,o)}}var wp=function(e){C5(r,e);var t=M5(r);function r(n){E5(this,r);var o,i;o=t.call(this,n),I5(Nw(o),"templateList",void 0);var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:co.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:co.controlName;var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(l){return new Jv(l)}))!==null&&a!==void 0?a:[new Jv({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(me);function Bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k5(e,t,r){return t&&Aw(e.prototype,t),r&&Aw(e,r),e}function Rp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function j5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 L5(e,t){return t&&(F5(t)==="object"||typeof t=="function")?t:Bw(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}var F5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V5(e){var t=x5();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 L5(this,o)}}var co=function(e){j5(r,e);var t=V5(r);function r(n){D5(this,r);var o;return o=t.call(this,n),Rp(Bw(o),"props",void 0),o.props=new wp(n==null?void 0:n.props),o}return k5(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}(Pe);Rp(co,"controlEventKeys",["on_click","on_click_finish"]),Rp(co,"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 Mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y5(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}function G5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function H5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function q5(e,t){return t&&(U5(t)==="object"||typeof t=="function")?t:Mw(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}var U5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K5(e){var t=W5();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q5(this,o)}}var X5=function(e){H5(r,e);var t=K5(r);function r(n){z5(this,r);var o;return o=t.call(this,n),G5(Mw(o),"props",void 0),o.props=new wp(n==null?void 0:n.props),o}return Y5(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Le),kw={Designer:co,Runtime:X5,Property:wp};function Q5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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&&Sp(e,t)}function e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:Q5(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}var t6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r6(e){var t=n6();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 e6(this,o)}}var Ep=function(e){Z5(r,e);var t=r6(r);function r(n){J5(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:fo.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:fo.controlIcon,o}return r}(me);function jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i6(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function Ip(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function u6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function c6(e,t){return t&&(f6(t)==="object"||typeof t=="function")?t:jw(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}var f6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l6(e){var t=a6();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 c6(this,o)}}var fo=function(e){u6(r,e);var t=l6(r);function r(n){o6(this,r);var o;return o=t.call(this,n),Ip(jw(o),"props",void 0),o.props=new Ep(n==null?void 0:n.props),o}return i6(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}(Pe);Ip(fo,"controlEventKeys",["on_click"]),Ip(fo,"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 Fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y6(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function v6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function 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&&Np(e,t)}function d6(e,t){return t&&(_6(t)==="object"||typeof t=="function")?t:Fw(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}var _6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b6(e){var t=h6();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 d6(this,o)}}var O6=function(e){p6(r,e);var t=b6(r);function r(n){s6(this,r);var o;return o=t.call(this,n),v6(Fw(o),"props",void 0),o.props=new Ep(n==null?void 0:n.props),o}return y6(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Le),Vw={Designer:fo,Runtime:O6,Property:Ep};function zw(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 Gw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function g6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function m6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:zw(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}var P6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R6(e){var t=w6();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 m6(this,o)}}var $6=function e(t){Yw(this,e),Gw(this,"dataCode",void 0),this.dataCode=t.dataCode},Ap=function(e){g6(r,e);var t=R6(r);function r(n){Yw(this,r);var o,i;o=t.call(this,n),Gw(zw(o),"canImportList",void 0);var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:ao.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:ao.controlIcon;var a;return o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new $6(l)}))!==null&&a!==void 0?a:[],o}return r}(me);function Hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S6(e,t,r){return t&&qw(e.prototype,t),r&&qw(e,r),e}function Mp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function E6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function I6(e,t){return t&&(C6(t)==="object"||typeof t=="function")?t:Hw(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}var C6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B6(e){var t=N6();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 I6(this,o)}}var ao=function(e){E6(r,e);var t=B6(r);function r(n){T6(this,r);var o;return o=t.call(this,n),Mp(Hw(o),"props",void 0),o.props=new Ap(n==null?void 0:n.props),o}return S6(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}(Pe);Mp(ao,"controlEventKeys",["on_click","on_click_finish"]),Mp(ao,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}]);function Uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(e,t){for(var r=0;r<t.length;r++){var 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&&Ww(e.prototype,t),r&&Ww(e,r),e}function D6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function k6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function j6(e,t){return t&&(L6(t)==="object"||typeof t=="function")?t:Uw(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}var L6=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 x6(e){var t=F6();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 j6(this,o)}}var V6=function(e){k6(r,e);var t=x6(r);function r(n){A6(this,r);var o;return o=t.call(this,n),D6(Uw(o),"props",void 0),o.props=new Ap(n==null?void 0:n.props),o}return M6(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Le),Kw={Designer:ao,Runtime:V6,Property:Ap};function ku(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function Qw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jp(e,t)}function Jw(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ht(e,o,r[o])})}return e}function z6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:xt(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}var Y6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zw(e){var t=G6();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 z6(this,o)}}var H6=function(e){Qw(r,e);var t=Zw(r);function r(n){Xw(this,r);var o;return o=t.call(this,n),ht(xt(o),"fillPayload",{type:"object",fields:Jw({},ku())}),ht(xt(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),ht(xt(o),"fillBack",{type:"object",fields:Jw({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ku())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return r}(q),Lu=function(e){Qw(r,e);var t=Zw(r);function r(n){Xw(this,r);var o;o=t.call(this,n),ht(xt(o),"fillPayload",void 0),ht(xt(o),"formBind",void 0),ht(xt(o),"fillBack",void 0),ht(xt(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:lo.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:lo.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new _i(n==null?void 0:n.fillPayload),o.formBind=new _0(n==null?void 0:n.formBind),o.fillBack=new jy(n==null?void 0:n.fillBack),o}return r}(me);ht(Lu,"Rules",H6);function eR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U6(e,t,r){return t&&tR(e.prototype,t),r&&tR(e,r),e}function Lp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function W6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function K6(e,t){return t&&(X6(t)==="object"||typeof t=="function")?t:eR(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}var X6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J6(e){var t=Q6();return function(){var n=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K6(this,o)}}var lo=function(e){W6(r,e);var t=J6(r);function r(n){q6(this,r);var o;return o=t.call(this,n),Lp(eR(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return U6(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}(Pe);Lp(lo,"controlEventKeys",["on_click","on_click_finish"]),Lp(lo,"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:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z6(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 ex(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function tx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function nx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function rx(e,t){return t&&(ox(t)==="object"||typeof t=="function")?t:nR(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}var ox=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ix(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ux(e){var t=ix();return function(){var n=xu(e),o;if(t){var i=xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rx(this,o)}}var cx=function(e){nx(r,e);var t=ux(r);function r(n){Z6(this,r);var o;return o=t.call(this,n),tx(nR(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return ex(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Le),oR={Designer:lo,Runtime:cx,Property:Lu};function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function uR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function cR(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){Vt(e,o,r[o])})}return e}function fx(e,t){return t&&(ax(t)==="object"||typeof t=="function")?t:vn(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}var ax=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fR(e){var t=lx();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 fx(this,o)}}var sx=function(e){uR(r,e);var t=fR(r);function r(n){iR(this,r);var o;return o=t.call(this,n),Vt(vn(o),"fillPayload",{type:"object",fields:cR({},ku())}),Vt(vn(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),Vt(vn(o),"fillBack",{type:"object",fields:cR({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ku())}),o}return r}(q),zu=function(e){uR(r,e);var t=fR(r);function r(n){iR(this,r);var o;o=t.call(this,n),Vt(vn(o),"fillPayload",void 0),Vt(vn(o),"listPageBind",void 0),Vt(vn(o),"fillBack",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:so.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:so.controlIcon,o.fillPayload=new _i(n==null?void 0:n.fillPayload),o.listPageBind=new Ay(n==null?void 0:n.listPageBind),o.fillBack=new jy(n==null?void 0:n.fillBack),o}return r}(me);Vt(zu,"Rules",sx);function aR(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 lR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vx(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function zp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(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&&Yp(e,t)}function dx(e,t){return t&&(_x(t)==="object"||typeof t=="function")?t:aR(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}var _x=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bx(e){var t=hx();return function(){var n=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dx(this,o)}}var so=function(e){px(r,e);var t=bx(r);function r(n){yx(this,r);var o;return o=t.call(this,n),zp(aR(o),"props",void 0),o.props=new zu(n==null?void 0:n.props),o}return vx(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}(Pe);zp(so,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),zp(so,"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:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function sR(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 yR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gx(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function mx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function 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&&Gp(e,t)}function wx(e,t){return t&&(Rx(t)==="object"||typeof t=="function")?t:sR(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}var Rx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tx(e){var t=$x();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wx(this,o)}}var Sx=function(e){Px(r,e);var t=Tx(r);function r(n){Ox(this,r);var o;return o=t.call(this,n),mx(sR(o),"props",void 0),o.props=new zu(n==null?void 0:n.props),o}return gx(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Le),vR={Designer:so,Runtime:Sx,Property:zu};function Ex(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 pR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function qp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function Ix(e,t){return t&&(Cx(t)==="object"||typeof t=="function")?t:Ex(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}var Cx=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 Wp(e){var t=Nx();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 Ix(this,o)}}var Bx=function(e){qp(r,e);var t=Wp(r);function r(n){return Hp(this,r),t.call(this,n)}return r}(q),Ax=function(e){qp(r,e);var t=Wp(r);function r(n){return Hp(this,r),t.call(this,n)}return r}(Bt),yo=function(e){qp(r,e);var t=Wp(r);function r(n){return Hp(this,r),t.call(this,n)}return r}(U);pR(yo,"Rules",Bx),pR(yo,"RuntimeRules",Ax);function dR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 Dx(e,t,r){return t&&_R(e.prototype,t),r&&_R(e,r),e}function hR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function 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&&Kp(e,t)}function jx(e,t){return t&&(Lx(t)==="object"||typeof t=="function")?t:dR(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}var Lx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xx(e){var t=Fx();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 jx(this,o)}}var bR=function(e){kx(r,e);var t=xx(r);function r(n){Mx(this,r);var o;return o=t.call(this,n),hR(dR(o),"props",void 0),o.props=new yo(n==null?void 0:n.props),o}return Dx(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(k);hR(bR,"setting",[]);function OR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zx(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function Yx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function Gx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function Hx(e,t){return t&&(qx(t)==="object"||typeof t=="function")?t:OR(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}var qx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ux(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wx(e){var t=Ux();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 Hx(this,o)}}var Kx=function(e){Gx(r,e);var t=Wx(r);function r(n){Vx(this,r);var o;return o=t.call(this,n),Yx(OR(o),"props",void 0),o.props=new yo(n==null?void 0:n.props),o}return zx(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(W),mR={Designer:bR,Runtime:Kx,Property:yo};function Ye(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 Ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function wR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function Xx(e,t){return t&&(Qx(t)==="object"||typeof t=="function")?t:Ye(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}var Qx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RR(e){var t=Jx();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 Xx(this,o)}}var Zx=function(e){wR(r,e);var t=RR(r);function r(n){PR(this,r);var o;return o=t.call(this,n),Ge(Ye(o),"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),Ge(Ye(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Ge(Ye(o),"isHideCaption",{type:"boolean"}),Ge(Ye(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ge(Ye(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),Ku=function(e){wR(r,e);var t=RR(r);function r(n){PR(this,r);var o;o=t.call(this,n),Ge(Ye(o),"dashboardKey",void 0),Ge(Ye(o),"caption",void 0),Ge(Ye(o),"isHideCaption",void 0),Ge(Ye(o),"isShowCaptionTip",void 0),Ge(Ye(o),"captionTip",void 0),Ge(Ye(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";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}(U);Ge(Ku,"Rules",Zx);function $R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t7(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function SR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function n7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jp(e,t)}function r7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:$R(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}var o7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u7(e){var t=i7();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r7(this,o)}}var ER=function(e){n7(r,e);var t=u7(r);function r(n){e7(this,r);var o;return o=t.call(this,n),SR($R(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return t7(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(k);SR(ER,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f7(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function a7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function l7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function s7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:IR(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(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 p7(e){var t=v7();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 s7(this,o)}}var d7=function(e){l7(r,e);var t=p7(r);function r(n){c7(this,r);var o;return o=t.call(this,n),a7(IR(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return f7(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(W),NR={Designer:ER,Runtime:d7,Property:Ku};function vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function AR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _7(e,t){return t&&(h7(t)==="object"||typeof t=="function")?t:vo(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var h7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MR(e){var t=b7();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 _7(this,o)}}var O7=function(e){AR(r,e);var t=MR(r);function r(n){BR(this,r);var o;return o=t.call(this,n),po(vo(o),"showType",{type:"enum",enum:["select","tabs"]}),po(vo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(q),Zu=function(e){AR(r,e);var t=MR(r);function r(n){BR(this,r);var o,i;o=t.call(this,n),po(vo(o),"showType",void 0),po(vo(o),"viewList",void 0);var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"select";var f;return o.viewList=(f=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new D0(a)}))!==null&&f!==void 0?f:[],o}return r}(U);po(Zu,"Rules",O7);function DR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 m7(e,t,r){return t&&kR(e.prototype,t),r&&kR(e,r),e}function jR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function P7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&td(e,t)}function w7(e,t){return t&&(R7(t)==="object"||typeof t=="function")?t:DR(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}var R7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T7(e){var t=$7();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 w7(this,o)}}var LR=function(e){P7(r,e);var t=T7(r);function r(n){g7(this,r);var o;return o=t.call(this,n),jR(DR(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return m7(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(k);jR(LR,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function FR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E7(e,t,r){return t&&xR(e.prototype,t),r&&xR(e,r),e}function I7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function C7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 N7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:FR(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}var B7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M7(e){var t=A7();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 N7(this,o)}}var D7=function(e){C7(r,e);var t=M7(r);function r(n){S7(this,r);var o;return o=t.call(this,n),I7(FR(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return E7(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(W),VR={Designer:LR,Runtime:D7,Property:Zu};function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function YR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 k7(e,t){return t&&(j7(t)==="object"||typeof t=="function")?t:Ie(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}var j7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GR(e){var t=L7();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 k7(this,o)}}var F7=function(e){YR(r,e);var t=GR(r);function r(n){zR(this,r);var o;return o=t.call(this,n),Ce(Ie(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Ce(Ie(o),"isHideCaption",{type:"boolean"}),Ce(Ie(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ce(Ie(o),"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),Ce(Ie(o),"fillList",{type:"array",validator:function(c,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Ce(Ie(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),rc=function(e){YR(r,e);var t=GR(r);function r(n){zR(this,r);var o,i;o=t.call(this,n),Ce(Ie(o),"caption",void 0),Ce(Ie(o),"isHideCaption",void 0),Ce(Ie(o),"isShowCaptionTip",void 0),Ce(Ie(o),"captionTip",void 0),Ce(Ie(o),"labelPosition",void 0),Ce(Ie(o),"ocrType",void 0),Ce(Ie(o),"fillList",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Jn.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:Jn.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:Jn.controlIcon;var h;o.ocrType=(h=n==null?void 0:n.ocrType)!==null&&h!==void 0?h:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Ee(b)}))!==null&&O!==void 0?O:[],o}return r}(me);Ce(rc,"Rules",F7);function HR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V7(e,t,r){return t&&qR(e.prototype,t),r&&qR(e,r),e}function od(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function Y7(e,t){return t&&(G7(t)==="object"||typeof t=="function")?t:HR(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var G7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q7(e){var t=H7();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 Y7(this,o)}}var Jn=function(e){z7(r,e);var t=q7(r);function r(n){x7(this,r);var o;return o=t.call(this,n),od(HR(o),"props",void 0),o.props=new rc(n==null?void 0:n.props),o}return V7(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}(Pe);od(Jn,"controlEventKeys",["on_click","on_click_finish"]),od(Jn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W7(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function K7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function X7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function Q7(e,t){return t&&(J7(t)==="object"||typeof t=="function")?t:UR(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}var J7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Z7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e8(e){var t=Z7();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 Q7(this,o)}}var t8=function(e){X7(r,e);var t=e8(r);function r(n){U7(this,r);var o;return o=t.call(this,n),K7(UR(o),"props",void 0),o.props=new rc(n==null?void 0:n.props),o}return W7(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Le),KR={Designer:Jn,Runtime:t8,Property:rc};function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function QR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function n8(e,t){return t&&(r8(t)==="object"||typeof t=="function")?t:Ne(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var r8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JR(e){var t=o8();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n8(this,o)}}var i8=function(e){QR(r,e);var t=JR(r);function r(n){XR(this,r);var o;return o=t.call(this,n),Be(Ne(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Be(Ne(o),"isHideCaption",{type:"boolean"}),Be(Ne(o),"labelPosition",{type:"enum",enum:["top","left"]}),Be(Ne(o),"invoiceCheck",{type:"boolean"}),Be(Ne(o),"fillList",{type:"array",validator:function(c,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Be(Ne(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),cc=function(e){QR(r,e);var t=JR(r);function r(n){XR(this,r);var o,i;o=t.call(this,n),Be(Ne(o),"caption",void 0),Be(Ne(o),"isHideCaption",void 0),Be(Ne(o),"isShowCaptionTip",void 0),Be(Ne(o),"captionTip",void 0),Be(Ne(o),"labelPosition",void 0),Be(Ne(o),"invoiceCheck",void 0),Be(Ne(o),"fillList",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Zn.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:Zn.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:Zn.controlIcon;var h;o.invoiceCheck=(h=n==null?void 0:n.invoiceCheck)!==null&&h!==void 0?h:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Ee(b)}))!==null&&O!==void 0?O:[],o}return r}(me);Be(cc,"Rules",i8);function ZR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c8(e,t,r){return t&&e$(e.prototype,t),r&&e$(e,r),e}function fd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function f8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ad(e,t)}function a8(e,t){return t&&(l8(t)==="object"||typeof t=="function")?t:ZR(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var l8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function s8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y8(e){var t=s8();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a8(this,o)}}var Zn=function(e){f8(r,e);var t=y8(r);function r(n){u8(this,r);var o;return o=t.call(this,n),fd(ZR(o),"props",void 0),o.props=new cc(n==null?void 0:n.props),o}return c8(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}(Pe);fd(Zn,"controlEventKeys",["on_click","on_click_finish"]),fd(Zn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p8(e,t,r){return t&&n$(e.prototype,t),r&&n$(e,r),e}function d8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function _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&&ld(e,t)}function h8(e,t){return t&&(b8(t)==="object"||typeof t=="function")?t:t$(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}var b8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g8(e){var t=O8();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 h8(this,o)}}var m8=function(e){_8(r,e);var t=g8(r);function r(n){v8(this,r);var o;return o=t.call(this,n),d8(t$(o),"props",void 0),o.props=new cc(n==null?void 0:n.props),o}return p8(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Le),r$={Designer:Zn,Runtime:m8,Property:cc};function lc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function i$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 P8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:lc(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var w8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u$(e){var t=R8();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 P8(this,o)}}var $8=function(e){i$(r,e);var t=u$(r);function r(){o$(this,r);var n;return n=t.apply(this,arguments),sc(lc(n),"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(q),vc=function(e){i$(r,e);var t=u$(r);function r(n){o$(this,r);var o,i;o=t.call(this,n),sc(lc(o),"printTemplates",void 0),sc(lc(o),"autoSelectTemplate",void 0);var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:_o.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:_o.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new qP(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}(me);sc(vc,"Rules",$8);function c$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S8(e,t,r){return t&&f$(e.prototype,t),r&&f$(e,r),e}function yd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function E8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function I8(e,t){return t&&(C8(t)==="object"||typeof t=="function")?t:c$(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var C8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B8(e){var t=N8();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 I8(this,o)}}var _o=function(e){E8(r,e);var t=B8(r);function r(n){T8(this,r);var o;return o=t.call(this,n),yd(c$(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return S8(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}(Pe);yd(_o,"controlEventKeys",["on_click","on_click_finish"]),yd(_o,"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 a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M8(e,t,r){return t&&l$(e.prototype,t),r&&l$(e,r),e}function D8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function k8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function j8(e,t){return t&&(L8(t)==="object"||typeof t=="function")?t:a$(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}var L8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x8(e){var t=F8();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 j8(this,o)}}var V8=function(e){k8(r,e);var t=x8(r);function r(n){A8(this,r);var o;return o=t.call(this,n),D8(a$(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return M8(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Le),s$={Designer:_o,Runtime:V8,Property:vc};function z8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y8(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 G8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function H8(e,t){return t&&(q8(t)==="object"||typeof t=="function")?t:z8(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}var q8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W8(e){var t=U8();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 H8(this,o)}}var _d=function(e){G8(r,e);var t=W8(r);function r(n){Y8(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:ho.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:ho.controlIcon,o}return r}(me);function y$(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 v$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X8(e,t,r){return t&&v$(e.prototype,t),r&&v$(e,r),e}function hd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function Q8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function J8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:y$(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var Z8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tV(e){var t=eV();return function(){var n=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J8(this,o)}}var ho=function(e){Q8(r,e);var t=tV(r);function r(n){K8(this,r);var o;return o=t.call(this,n),hd(y$(o),"props",void 0),o.props=new _d(n==null?void 0:n.props),o}return X8(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}(Pe);hd(ho,"controlEventKeys",["on_click"]),hd(ho,"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 p$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rV(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function oV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function iV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function uV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:p$(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}var cV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aV(e){var t=fV();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uV(this,o)}}var lV=function(e){iV(r,e);var t=aV(r);function r(n){nV(this,r);var o;return o=t.call(this,n),oV(p$(o),"props",void 0),o.props=new _d(n==null?void 0:n.props),o}return rV(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Le),_$={Designer:ho,Runtime:lV,Property:_d};function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function b$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function sV(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:we(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}var yV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O$(e){var t=vV();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 sV(this,o)}}var pV=function(e){b$(r,e);var t=O$(r);function r(n){h$(this,r);var o;return o=t.call(this,n),Re(we(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(q),gc=function(e){b$(r,e);var t=O$(r);function r(n){h$(this,r);var o;o=t.call(this,n),Re(we(o),"content",void 0),Re(we(o),"code",void 0),Re(we(o),"command",void 0),Re(we(o),"color",void 0),Re(we(o),"icon",void 0),Re(we(o),"formKey",void 0),Re(we(o),"openType",void 0),Re(we(o),"needConfirm",void 0),Re(we(o),"confirmMessage",void 0),Re(we(o),"options",void 0),Re(we(o),"defaultState",void 0),Re(we(o),"priorityProcess",void 0),Re(we(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var c;o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"custom";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return r}(U);Re(gc,"Rules",pV);function g$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _V(e,t,r){return t&&m$(e.prototype,t),r&&m$(e,r),e}function md(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function 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&&Pd(e,t)}function bV(e,t){return t&&(OV(t)==="object"||typeof t=="function")?t:g$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var OV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mV(e){var t=gV();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bV(this,o)}}var Pc=function(e){hV(r,e);var t=mV(r);function r(n){dV(this,r);var o;return o=t.call(this,n),md(g$(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return _V(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(k);md(Pc,"controlEventKeys",["on_click"]),md(Pc,"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:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function P$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wV(e,t,r){return t&&w$(e.prototype,t),r&&w$(e,r),e}function RV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function $V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function TV(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:P$(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var SV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IV(e){var t=EV();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TV(this,o)}}var CV=function(e){$V(r,e);var t=IV(r);function r(n){PV(this,r);var o;return o=t.call(this,n),RV(P$(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return wV(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(W),bo={Designer:Pc,Runtime:CV,Property:gc};function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function BV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function AV(e,t){return t&&(MV(t)==="object"||typeof t=="function")?t:bt(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var MV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=DV();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 AV(this,o)}}var $d=function(e){BV(r,e);var t=kV(r);function r(n){NV(this,r);var o;o=t.call(this,n),zt(bt(o),"content",void 0),zt(bt(o),"buttonType",void 0),zt(bt(o),"showType",void 0),zt(bt(o),"color",void 0),zt(bt(o),"icon",void 0),zt(bt(o),"defaultState",void 0),zt(bt(o),"command",void 0),zt(bt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Oo.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Oo.controlIcon;var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var h;return o.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1,o}return r}(U);function R$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LV(e,t,r){return t&&$$(e.prototype,t),r&&$$(e,r),e}function Td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function FV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xV(e,t){return t&&(VV(t)==="object"||typeof t=="function")?t:R$(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}var VV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YV(e){var t=zV();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 xV(this,o)}}var Oo=function(e){FV(r,e);var t=YV(r);function r(n){jV(this,r);var o;return o=t.call(this,n),Td(R$(o),"props",void 0),o.props=new $d(n==null?void 0:n.props),o}return LV(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(k);Td(Oo,"controlEventKeys",["on_click"]),Td(Oo,"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:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function T$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HV(e,t,r){return t&&S$(e.prototype,t),r&&S$(e,r),e}function qV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function 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&&Ed(e,t)}function WV(e,t){return t&&(KV(t)==="object"||typeof t=="function")?t:T$(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var KV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QV(e){var t=XV();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 WV(this,o)}}var JV=function(e){UV(r,e);var t=QV(r);function r(n){GV(this,r);var o;return o=t.call(this,n),qV(T$(o),"props",void 0),o.props=new $d(n==null?void 0:n.props),o}return HV(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(W),E$={Designer:Oo,Runtime:JV,Property:$d},ZV=Object.freeze({__proto__:null,Text:BP,Link:jP,Button:zP,Divider:tw,Title:aw,CreateFormListButton:hw,BatchSubmissionListButton:$w,SubmissionRecordListButton:Cw,ExportListButton:kw,ExportRecordListButton:Vw,ImportRecordListButton:Kw,FormSelectButton:oR,ListSelectButton:vR,Pagination:mR,Dashboard:NR,ListViewSelect:VR,TextOcrButton:KR,InvoiceCheckButton:r$,BatchPrintListButton:s$,BatchPrintRecordListButton:_$,OperationButton:bo,BatchDeleteButton:E$});function rt(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 Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&Nd(e,t)}function e9(e,t){return t&&(t9(t)==="object"||typeof t=="function")?t:rt(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var t9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bd(e){var t=n9();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 e9(this,o)}}var r9=function(e){Cd(r,e);var t=Bd(r);function r(n){Id(this,r);var o;return o=t.call(this,n),Ke(rt(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ke(rt(o),"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ke(rt(o),"defaultValue",[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=ro(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(se),o9=function(e){Cd(r,e);var t=Bd(r);function r(n){Id(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:ro(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(z),er=function(e){Cd(r,e);var t=Bd(r);function r(n){Id(this,r);var o;o=t.call(this,n),Ke(rt(o),"maxLength",void 0),Ke(rt(o),"minLength",void 0),Ke(rt(o),"regularRules",void 0),Ke(rt(o),"defaultValue",void 0),Ke(rt(o),"encrypted",void 0),Ke(rt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0,o.regularRules=new Ly(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:tr.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}(C);Ke(er,"Rules",r9),Ke(er,"RuntimeRules",o9);function I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u9(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function Ec(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function c9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function f9(e,t){return t&&(a9(t)==="object"||typeof t=="function")?t:I$(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}var a9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s9(e){var t=l9();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 f9(this,o)}}var tr=function(e){c9(r,e);var t=s9(r);function r(n){i9(this,r);var o;return o=t.call(this,n),Ec(I$(o),"props",void 0),o.props=new er(n==null?void 0:n.props),o}return u9(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}(A);Ec(tr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ec(tr,"controlFieldType",u.FieldTypes.VARCHAR),Ec(tr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.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 N$(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 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 v9(e,t,r){return t&&B$(e.prototype,t),r&&B$(e,r),e}function A$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(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&&Md(e,t)}function d9(e,t){return t&&(_9(t)==="object"||typeof t=="function")?t:N$(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var _9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b9(e){var t=h9();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 d9(this,o)}}var M$=function(e){p9(r,e);var t=b9(r);function r(n){y9(this,r);var o;return o=t.call(this,n),A$(N$(o),"props",void 0),o.props=new er(n==null?void 0:n.props),o}return v9(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(M);A$(M$,"controlFieldType",u.FieldTypes.VARCHAR);var D$={Designer:tr,Runtime:M$,Property:er};function ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function kd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function O9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:ve(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var g9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ld(e){var t=m9();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 O9(this,o)}}var P9=function(e){kd(r,e);var t=Ld(r);function r(n){Dd(this,r);var o;o=t.call(this,n),oe(ve(o),"limitMax",{type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var c=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=c(n.limitMin),o}return r}(sn),w9=function(e){kd(r,e);var t=Ld(r);function r(n){Dd(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}(z),go=function(e){kd(r,e);var t=Ld(r);function r(n){Dd(this,r);var o;o=t.call(this,n),oe(ve(o),"checkboxMode",void 0),oe(ve(o),"options",void 0),oe(ve(o),"optionsOrder",void 0),oe(ve(o),"limitMax",void 0),oe(ve(o),"limitMin",void 0),oe(ve(o),"otherOption",void 0),oe(ve(o),"optionConfig",void 0),oe(ve(o),"optionsFormat",void 0),oe(ve(o),"defaultShowOptions",void 0),oe(ve(o),"datasourceBind",void 0),oe(ve(o),"multistageFilling",void 0),oe(ve(o),"interreaction",void 0),oe(ve(o),"defaultValue",void 0),oe(ve(o),"openMultistageFilling",void 0);var i;o.options=et((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 c;o.checkboxMode=(c=n==null?void 0:n.checkboxMode)!==null&&c!==void 0?c:"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 J(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:mo.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Ee(m))})),o}return r}(C);oe(go,"Rules",P9),oe(go,"RuntimeRules",w9);function k$(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 j$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $9(e,t,r){return t&&j$(e.prototype,t),r&&j$(e,r),e}function Bc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function T9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function S9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:k$(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}var E9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C9(e){var t=I9();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 S9(this,o)}}var mo=function(e){T9(r,e);var t=C9(r);function r(n){R9(this,r);var o;return o=t.call(this,n),Bc(k$(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return $9(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(A);Bc(mo,"controlEventKeys",["on_change","on_click"]),Bc(mo,"controlFieldType",u.FieldTypes.ARRAY),Bc(mo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.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 L$(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 F$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B9(e,t,r){return t&&F$(e.prototype,t),r&&F$(e,r),e}function x$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function A9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function M9(e,t){return t&&(D9(t)==="object"||typeof t=="function")?t:L$(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var D9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j9(e){var t=k9();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 M9(this,o)}}var V$=function(e){A9(r,e);var t=j9(r);function r(n){N9(this,r);var o;return o=t.call(this,n),x$(L$(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return B9(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(M);x$(V$,"controlFieldType",u.FieldTypes.ARRAY);var z$={Designer:mo,Runtime:V$,Property:go};function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&Vd(e,t)}function L9(e,t){return t&&(F9(t)==="object"||typeof t=="function")?t:Fe(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}var F9=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 H$(e){var t=x9();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 L9(this,o)}}var V9=function(e){G$(r,e);var t=H$(r);function r(n){return Y$(this,r),t.call(this,n)}return r}(sn),kc=function(e){G$(r,e);var t=H$(r);function r(n){Y$(this,r);var o;o=t.call(this,n),xe(Fe(o),"radioMode",void 0),xe(Fe(o),"options",void 0),xe(Fe(o),"optionConfig",void 0),xe(Fe(o),"optionsFormat",void 0),xe(Fe(o),"defaultShowOptions",void 0),xe(Fe(o),"otherOption",void 0),xe(Fe(o),"optionsOrder",void 0),xe(Fe(o),"datasourceBind",void 0),xe(Fe(o),"multistageFilling",void 0),xe(Fe(o),"interreaction",void 0),xe(Fe(o),"defaultValue",void 0),xe(Fe(o),"openMultistageFilling",void 0);var i;o.options=et((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 c;o.radioMode=(c=n==null?void 0:n.radioMode)!==null&&c!==void 0?c:"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 J(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Po.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Ee(g))})),o}return r}(C);xe(kc,"Rules",V9);function q$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y9(e,t,r){return t&&U$(e.prototype,t),r&&U$(e,r),e}function jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function G9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function H9(e,t){return t&&(q9(t)==="object"||typeof t=="function")?t:q$(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}var q9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W9(e){var t=U9();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H9(this,o)}}var Po=function(e){G9(r,e);var t=W9(r);function r(n){z9(this,r);var o;return o=t.call(this,n),jc(q$(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return Y9(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(A);jc(Po,"controlEventKeys",["on_change","on_click"]),jc(Po,"controlFieldType",u.FieldTypes.VARCHAR),jc(Po,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function W$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X9(e,t,r){return t&&K$(e.prototype,t),r&&K$(e,r),e}function X$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function Q9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yd(e,t)}function J9(e,t){return t&&(Z9(t)==="object"||typeof t=="function")?t:W$(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}var Z9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ez(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tz(e){var t=ez();return function(){var n=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J9(this,o)}}var Q$=function(e){Q9(r,e);var t=tz(r);function r(n){K9(this,r);var o;return o=t.call(this,n),X$(W$(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return X9(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(M);X$(Q$,"controlFieldType",u.FieldTypes.VARCHAR);var J$={Designer:Po,Runtime:Q$,Property:kc};function $e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function Hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:$e(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}var rz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ud(e){var t=oz();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 nz(this,o)}}var iz=function(e){Hd(r,e);var t=Ud(r);function r(n){Gd(this,r);var o;o=t.call(this,n),pe($e(o),"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),pe($e(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=c,o.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:i,min:c}),c&&i!==void 0&&(o.rangeMax={type:"number",min:c,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=ro(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(se),uz=function(e){Hd(r,e);var t=Ud(r);function r(n){Gd(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,c=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:c,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":c===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:c})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:ro(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(z),wo=function(e){Hd(r,e);var t=Ud(r);function r(n){Gd(this,r);var o;o=t.call(this,n),pe($e(o),"rangeMin",void 0),pe($e(o),"rangeMax",void 0),pe($e(o),"numberType",void 0),pe($e(o),"percentageFormat",void 0),pe($e(o),"micrometer",void 0),pe($e(o),"precision",void 0),pe($e(o),"showUpperCase",void 0),pe($e(o),"isShowUnit",void 0),pe($e(o),"unitPosition",void 0),pe($e(o),"unit",void 0),pe($e(o),"defaultValue",void 0),pe($e(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";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 p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var h;o.unitPosition=(h=n==null?void 0:n.unitPosition)!==null&&h!==void 0?h:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Ro.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new Ly(n==null?void 0:n.regularRules),o}return r}(C);pe(wo,"Rules",iz),pe(wo,"RuntimeRules",uz);function Z$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fz(e,t,r){return t&&eT(e.prototype,t),r&&eT(e,r),e}function Vc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zc=Reflect.get:zc=function(o,i,c){var f=sz(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},zc(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function az(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function lz(e,t){return t&&(yz(t)==="object"||typeof t=="function")?t:Z$(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function sz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}var yz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pz(e){var t=vz();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 lz(this,o)}}var Ro=function(e){az(r,e);var t=pz(r);function r(n){cz(this,r);var o;return o=t.call(this,n),Vc(Z$(o),"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return fz(r,[{key:"toDataBindModel",value:function(o){var i=zc(nr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,a=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(A);Vc(Ro,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Vc(Ro,"controlFieldType",u.FieldTypes.DECIMAL),Vc(Ro,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_UNIT,u.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:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function tT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _z(e,t,r){return t&&nT(e.prototype,t),r&&nT(e,r),e}function rT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(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&&Kd(e,t)}function bz(e,t){return t&&(Oz(t)==="object"||typeof t=="function")?t:tT(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}var Oz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mz(e){var t=gz();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 bz(this,o)}}var oT=function(e){hz(r,e);var t=mz(r);function r(n){dz(this,r);var o;return o=t.call(this,n),rT(tT(o),"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return _z(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(M);rT(oT,"controlFieldType",u.FieldTypes.DECIMAL);var iT={Designer:Ro,Runtime:oT,Property:wo};function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function wz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function Rz(e,t){return t&&($z(t)==="object"||typeof t=="function")?t:pn(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}var $z=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 Sz(e){var t=Tz();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 Rz(this,o)}}var Qd=function(e){wz(r,e);var t=Sz(r);function r(n){Pz(this,r);var o,i;o=t.call(this,n),rr(pn(o),"dateType",void 0),rr(pn(o),"setValueType",void 0),rr(pn(o),"defaultValue",void 0),rr(pn(o),"limitDateList",void 0),rr(pn(o),"allowDateRange",void 0),rr(pn(o),"filterWeekend",void 0);var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.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:qc.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(O){return new iu(O)}))!==null&&y!==void 0?y:[];var p;o.allowDateRange=(p=n==null?void 0:n.allowDateRange)!==null&&p!==void 0?p:["",""];var h;return o.filterWeekend=(h=n==null?void 0:n.filterWeekend)!==null&&h!==void 0?h:!1,o}return r}(C);function uT(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 cT(e,t){for(var r=0;r<t.length;r++){var 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&&cT(e.prototype,t),r&&cT(e,r),e}function Jd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hc=Reflect.get:Hc=function(o,i,c){var f=Bz(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Hc(e,t,r||e)}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},or(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&&Zd(e,t)}function Nz(e,t){return t&&(Az(t)==="object"||typeof t=="function")?t:uT(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function Bz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=or(e),e!==null););return e}var Az=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dz(e){var t=Mz();return function(){var n=or(e),o;if(t){var i=or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nz(this,o)}}var qc=function(e){Cz(r,e);var t=Dz(r);function r(n){Ez(this,r);var o;return o=t.call(this,n),Jd(uT(o),"props",void 0),o.props=new Qd(n==null?void 0:n.props),o}return Iz(r,[{key:"toDataBindModel",value:function(o){var i=Hc(or(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props.dateType;i.props.dateType=c}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(A);Jd(qc,"controlFieldType",u.FieldTypes.TIMESTAMP),Jd(qc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function fT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jz(e,t,r){return t&&aT(e.prototype,t),r&&aT(e,r),e}function lT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function Lz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function Fz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:fT(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var xz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zz(e){var t=Vz();return function(){var n=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fz(this,o)}}var sT=function(e){Lz(r,e);var t=zz(r);function r(n){kz(this,r);var o;return o=t.call(this,n),lT(fT(o),"props",void 0),o.props=new Qd(n==null?void 0:n.props),o}return jz(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(M);lT(sT,"controlFieldType",u.FieldTypes.TIMESTAMP);var yT={Designer:qc,Runtime:sT,Property:Qd};function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function pT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yz(e,t){return t&&(Gz(t)==="object"||typeof t=="function")?t:ot(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(e,t)}var Gz=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 dT(e){var t=Hz();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 Yz(this,o)}}var qz=function(e){pT(r,e);var t=dT(r);function r(n){vT(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}(z),Kc=function(e){pT(r,e);var t=dT(r);function r(n){vT(this,r);var o,i;o=t.call(this,n),it(ot(o),"dataBind",void 0),it(ot(o),"rangeMin",void 0),it(ot(o),"rangeMax",void 0),it(ot(o),"placeholderStart",void 0),it(ot(o),"placeholderEnd",void 0),it(ot(o),"dateType",void 0),it(ot(o),"setValueType",void 0),it(ot(o),"defaultValue",void 0),it(ot(o),"limitDateList",void 0),o.dataBind=new C0(n==null?void 0:n.dataBind),o.defaultValue=new N0(n==null?void 0:n.defaultValue);var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Qc.controlName;var h;return o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(O){return new iu(O)}))!==null&&h!==void 0?h:[],o}return r}(C);it(Kc,"RuntimeRules",qz);function _T(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 hT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wz(e,t,r){return t&&hT(e.prototype,t),r&&hT(e,r),e}function n_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xc=Reflect.get:Xc=function(o,i,c){var f=Qz(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Xc(e,t,r||e)}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function Kz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function Xz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:_T(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}function Qz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ir(e),e!==null););return e}var Jz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eY(e){var t=Zz();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 Xz(this,o)}}var Qc=function(e){Kz(r,e);var t=eY(r);function r(n){Uz(this,r);var o;return o=t.call(this,n),n_(_T(o),"props",void 0),o.props=new Kc(n==null?void 0:n.props),o}return Wz(r,[{key:"toDataBindModel",value:function(o){var i=Xc(ir(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props.dateType;i.props.dateType=c}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(A);n_(Qc,"controlFieldType",u.FieldTypes.TIMESCOPE),n_(Qc,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function bT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nY(e,t,r){return t&&OT(e.prototype,t),r&&OT(e,r),e}function gT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function rY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o_(e,t)}function oY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:bT(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}var iY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cY(e){var t=uY();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oY(this,o)}}var mT=function(e){rY(r,e);var t=cY(r);function r(n){tY(this,r);var o;return o=t.call(this,n),gT(bT(o),"props",void 0),o.props=new Kc(n==null?void 0:n.props),o}return nY(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(M);gT(mT,"controlFieldType",u.FieldTypes.TIMESCOPE);var PT={Designer:Qc,Runtime:mT,Property:Kc};function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function u_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function fY(e,t){return t&&(aY(t)==="object"||typeof t=="function")?t:Yt(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var aY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f_(e){var t=lY();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 fY(this,o)}}var sY=function(e){u_(r,e);var t=f_(r);function r(n){i_(this,r);var o;return o=t.call(this,n),Ot(Yt(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ot(Yt(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ot(Yt(o),"defaultValue",{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(se),yY=function(e){u_(r,e);var t=f_(r);function r(n){i_(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(z),$o=function(e){u_(r,e);var t=f_(r);function r(n){i_(this,r);var o;o=t.call(this,n),Ot(Yt(o),"maxLength",void 0),Ot(Yt(o),"minLength",void 0),Ot(Yt(o),"defaultValue",void 0),Ot(Yt(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c: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:To.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}(C);Ot($o,"Rules",sY),Ot($o,"RuntimeRules",yY);function wT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pY(e,t,r){return t&&RT(e.prototype,t),r&&RT(e,r),e}function ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function dY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function _Y(e,t){return t&&(hY(t)==="object"||typeof t=="function")?t:wT(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}var hY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OY(e){var t=bY();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Y(this,o)}}var To=function(e){dY(r,e);var t=OY(r);function r(n){vY(this,r);var o;return o=t.call(this,n),ef(wT(o),"props",void 0),o.props=new $o(n==null?void 0:n.props),o}return pY(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}(A);ef(To,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ef(To,"controlFieldType",u.FieldTypes.TEXT),ef(To,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.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 $T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mY(e,t,r){return t&&TT(e.prototype,t),r&&TT(e,r),e}function ST(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function 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&&l_(e,t)}function wY(e,t){return t&&(RY(t)==="object"||typeof t=="function")?t:$T(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}var RY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $Y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TY(e){var t=$Y();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 wY(this,o)}}var ET=function(e){PY(r,e);var t=TY(r);function r(n){gY(this,r);var o;return o=t.call(this,n),ST($T(o),"props",void 0),o.props=new $o(n==null?void 0:n.props),o}return mY(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(M);ST(ET,"controlFieldType",u.FieldTypes.TEXT);var IT={Designer:To,Runtime:ET,Property:$o};function dn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function y_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function SY(e,t){return t&&(EY(t)==="object"||typeof t=="function")?t:dn(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var EY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p_(e){var t=IY();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 SY(this,o)}}var CY=function(e){y_(r,e);var t=p_(r);function r(n){s_(this,r);var o;return o=t.call(this,n),Gt(dn(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Gt(dn(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Gt(dn(o),"defaultValue",{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(se),NY=function(e){y_(r,e);var t=p_(r);function r(n){s_(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(z),So=function(e){y_(r,e);var t=p_(r);function r(n){s_(this,r);var o;o=t.call(this,n),Gt(dn(o),"maxLength",void 0),Gt(dn(o),"minLength",void 0),Gt(dn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c: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:Eo.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(C);Gt(So,"Rules",CY),Gt(So,"RuntimeRules",NY);function CT(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 NT(e,t){for(var r=0;r<t.length;r++){var 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&&NT(e.prototype,t),r&&NT(e,r),e}function of(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function MY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d_(e,t)}function DY(e,t){return t&&(kY(t)==="object"||typeof t=="function")?t:CT(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}var kY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LY(e){var t=jY();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 DY(this,o)}}var Eo=function(e){MY(r,e);var t=LY(r);function r(n){BY(this,r);var o;return o=t.call(this,n),of(CT(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return AY(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}(A);of(Eo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),of(Eo,"controlFieldType",u.FieldTypes.TEXT),of(Eo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.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 BT(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 AT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xY(e,t,r){return t&&AT(e.prototype,t),r&&AT(e,r),e}function MT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function 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&&__(e,t)}function zY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:BT(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var YY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HY(e){var t=GY();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 zY(this,o)}}var DT=function(e){VY(r,e);var t=HY(r);function r(n){FY(this,r);var o;return o=t.call(this,n),MT(BT(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return xY(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(M);MT(DT,"controlFieldType",u.FieldTypes.TEXT);var kT={Designer:Eo,Runtime:DT,Property:So};function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function LT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:gt(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var UY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FT(e){var t=WY();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 qY(this,o)}}var KY=function(e){LT(r,e);var t=FT(r);function r(n){return jT(this,r),t.call(this,n)}return r}(sn),af=function(e){LT(r,e);var t=FT(r);function r(n){jT(this,r);var o;o=t.call(this,n),mt(gt(o),"options",void 0),mt(gt(o),"defaultShowOptions",void 0),mt(gt(o),"optionConfig",void 0),mt(gt(o),"defaultValue",void 0),mt(gt(o),"datasourceBind",void 0),mt(gt(o),"multistageFilling",void 0),mt(gt(o),"allowCopyOptions",void 0),mt(gt(o),"openMultistageFilling",void 0);var i;o.options=et((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 c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:sf.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;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1;var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Ee(h))})),o}return r}(C);mt(af,"Rules",KY);function xT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QY(e,t,r){return t&&VT(e.prototype,t),r&&VT(e,r),e}function b_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(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&&O_(e,t)}function ZY(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:xT(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}var eG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nG(e){var t=tG();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 ZY(this,o)}}var sf=function(e){JY(r,e);var t=nG(r);function r(n){XY(this,r);var o;return o=t.call(this,n),b_(xT(o),"props",void 0),o.props=new af(n==null?void 0:n.props),o}return QY(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(A);b_(sf,"controlFieldType",u.FieldTypes.VARCHAR),b_(sf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function zT(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 YT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oG(e,t,r){return t&&YT(e.prototype,t),r&&YT(e,r),e}function GT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function iG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function uG(e,t){return t&&(cG(t)==="object"||typeof t=="function")?t:zT(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var cG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aG(e){var t=fG();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 uG(this,o)}}var HT=function(e){iG(r,e);var t=aG(r);function r(n){rG(this,r);var o;return o=t.call(this,n),GT(zT(o),"props",void 0),o.props=new af(n==null?void 0:n.props),o}return oG(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(M);GT(HT,"controlFieldType",u.FieldTypes.VARCHAR);var qT={Designer:sf,Runtime:HT,Property:af};function Ht(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 Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function P_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function lG(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:Ht(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}var sG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R_(e){var t=yG();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 lG(this,o)}}var vG=function(e){P_(r,e);var t=R_(r);function r(n){return m_(this,r),t.call(this,n)}return r}(sn),pG=function(e){P_(r,e);var t=R_(r);function r(n){m_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),Io=function(e){P_(r,e);var t=R_(r);function r(n){m_(this,r);var o;o=t.call(this,n),Pt(Ht(o),"options",void 0),Pt(Ht(o),"defaultShowOptions",void 0),Pt(Ht(o),"optionConfig",void 0),Pt(Ht(o),"defaultValue",void 0),Pt(Ht(o),"datasourceBind",void 0),Pt(Ht(o),"multistageFilling",void 0),Pt(Ht(o),"openMultistageFilling",void 0);var i;o.options=et((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 c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:df.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.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Ee(p))})),o}return r}(C);Pt(Io,"Rules",vG),Pt(Io,"RuntimeRules",pG);function UT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _G(e,t,r){return t&&WT(e.prototype,t),r&&WT(e,r),e}function $_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function hG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}function bG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:UT(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(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=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bG(this,o)}}var df=function(e){hG(r,e);var t=mG(r);function r(n){dG(this,r);var o;return o=t.call(this,n),$_(UT(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return _G(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}(A);$_(df,"controlFieldType",u.FieldTypes.ARRAY),$_(df,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function KT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XT(e,t){for(var r=0;r<t.length;r++){var 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&&XT(e.prototype,t),r&&XT(e,r),e}function QT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function RG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function $G(e,t){return t&&(TG(t)==="object"||typeof t=="function")?t:KT(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var TG=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 EG(e){var t=SG();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 $G(this,o)}}var JT=function(e){RG(r,e);var t=EG(r);function r(n){PG(this,r);var o;return o=t.call(this,n),QT(KT(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return wG(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(M);QT(JT,"controlFieldType",u.FieldTypes.ARRAY);var ZT={Designer:df,Runtime:JT,Property:Io};function wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function tS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function IG(e,t){return t&&(CG(t)==="object"||typeof t=="function")?t:wt(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}var CG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nS(e){var t=NG();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IG(this,o)}}var BG=function(e){tS(r,e);var t=nS(r);function r(n){eS(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),bf=function(e){tS(r,e);var t=nS(r);function r(n){eS(this,r);var o;o=t.call(this,n),Rt(wt(o),"showType",void 0),Rt(wt(o),"range",void 0),Rt(wt(o),"rangeOptions",void 0),Rt(wt(o),"multiple",void 0),Rt(wt(o),"defaultValueType",void 0),Rt(wt(o),"defaultValue",void 0),Rt(wt(o),"multistageFilling",void 0),Rt(wt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"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:gf.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Ee(O))})),o}return r}(C);Rt(bf,"RuntimeRules",BG);function rS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MG(e,t,r){return t&&oS(e.prototype,t),r&&oS(e,r),e}function I_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function DG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function kG(e,t){return t&&(jG(t)==="object"||typeof t=="function")?t:rS(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var jG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=LG();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 kG(this,o)}}var gf=function(e){DG(r,e);var t=FG(r);function r(n){AG(this,r);var o;return o=t.call(this,n),I_(rS(o),"props",void 0),o.props=new bf(n==null?void 0:n.props),o}return MG(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(A);I_(gf,"controlFieldType",u.FieldTypes.EMPLOYEES),I_(gf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.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 iS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VG(e,t,r){return t&&uS(e.prototype,t),r&&uS(e,r),e}function cS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function zG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function YG(e,t){return t&&(GG(t)==="object"||typeof t=="function")?t:iS(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var GG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qG(e){var t=HG();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 YG(this,o)}}var fS=function(e){zG(r,e);var t=qG(r);function r(n){xG(this,r);var o;return o=t.call(this,n),cS(iS(o),"props",void 0),o.props=new bf(n==null?void 0:n.props),o}return VG(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(M);cS(fS,"controlFieldType",u.FieldTypes.EMPLOYEES);var aS={Designer:gf,Runtime:fS,Property:bf};function qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function A_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M_(e,t)}function UG(e,t){return t&&(WG(t)==="object"||typeof t=="function")?t:qt(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(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 D_(e){var t=KG();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 UG(this,o)}}var XG=10485760,QG=104857600,JG=1048576e3,ZG=function(e){A_(r,e);var t=D_(r);function r(n){B_(this,r);var o;return o=t.call(this,n),$t(qt(o),"maxSize",{type:"number",min:0,max:JG,message:d.getMessage("attachmentMaxSize")}),o}return r}(se),eH=function(e){A_(r,e);var t=D_(r);function r(n){B_(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:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(z),ur=function(e){A_(r,e);var t=D_(r);function r(n){B_(this,r);var o;o=t.call(this,n),$t(qt(o),"defaultValue",void 0),$t(qt(o),"showType",void 0),$t(qt(o),"attachmentAccept",void 0),$t(qt(o),"maxLimit",void 0),$t(qt(o),"minLimit",void 0),$t(qt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"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:QG;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:cr.controlName;var p;return o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(C);$t(ur,"Rules",ZG),$t(ur,"RuntimeRules",eH);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nH(e,t,r){return t&&sS(e.prototype,t),r&&sS(e,r),e}function wf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function rH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:lS(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var iH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cH(e){var t=uH();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 oH(this,o)}}var cr=function(e){rH(r,e);var t=cH(r);function r(n){tH(this,r);var o;return o=t.call(this,n),wf(lS(o),"props",void 0),o.props=new ur(n==null?void 0:n.props),o}return nH(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(A);wf(cr,"controlEventKeys",["on_change"]),wf(cr,"controlFieldType",u.FieldTypes.FILE),wf(cr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.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 yS(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 vS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aH(e,t,r){return t&&vS(e.prototype,t),r&&vS(e,r),e}function pS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function 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&&j_(e,t)}function sH(e,t){return t&&(yH(t)==="object"||typeof t=="function")?t:yS(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var yH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pH(e){var t=vH();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 sH(this,o)}}var L_=function(e){lH(r,e);var t=pH(r);function r(n){fH(this,r);var o;return o=t.call(this,n),pS(yS(o),"props",void 0),o.props=new ur(n==null?void 0:n.props),o}return aH(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(M);pS(L_,"controlFieldType",u.FieldTypes.FILE);var dS={Designer:cr,Runtime:L_,Property:ur};function dH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hH(e,t,r){return t&&_S(e.prototype,t),r&&_S(e,r),e}function hS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function bH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function OH(e,t){return t&&(gH(t)==="object"||typeof t=="function")?t:dH(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var gH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PH(e){var t=mH();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 OH(this,o)}}var x_=function(e){bH(r,e);var t=PH(r);function r(n){_H(this,r);var o,i,c;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||(c=n.props)===null||c===void 0?void 0:c.placeholder)!==null&&a!==void 0?a:"\u4E0A\u4F20\u56FE\u7247",o}return hH(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(cr);hS(x_,"controlFieldType",u.FieldTypes.IMAGE),hS(x_,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function wH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(e,t){for(var r=0;r<t.length;r++){var 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&&bS(e.prototype,t),r&&bS(e,r),e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function TH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function SH(e,t){return t&&(EH(t)==="object"||typeof t=="function")?t:wH(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var EH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CH(e){var t=IH();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 SH(this,o)}}var NH=function(e){TH(r,e);var t=CH(r);function r(n){RH(this,r);var o,i,c,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||(c=n.props)===null||c===void 0?void 0:c.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 $H(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(L_);function BH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AH(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 MH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function DH(e,t){return t&&(kH(t)==="object"||typeof t=="function")?t:BH(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var kH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LH(e){var t=jH();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 DH(this,o)}}var FH=function(e){MH(r,e);var t=LH(r);function r(n){return AH(this,r),t.call(this,n)}return r}(ur),OS={Designer:x_,Runtime:NH,Property:FH};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function 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&&H_(e,t)}function xH(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){de(e,o,r[o])})}return e}function VH(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 zH(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):VH(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function YH(e,t){return t&&(GH(t)==="object"||typeof t=="function")?t:Ae(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}var GH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q_(e){var t=HH();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 YH(this,o)}}var qH=function(e){G_(r,e);var t=q_(r);function r(n){Y_(this,r);var o;o=t.call(this,n),de(Ae(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}}),de(Ae(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=c,o.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:i,min:c}),c&&i!==void 0&&(o.rangeMax={type:"number",min:c,message:d.getMessage("numberRangeSetError")}),o}return r}(sn),UH=function(e){G_(r,e);var t=q_(r);function r(n){Y_(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[zH(xH({},o[0]),{type:"number"}),{type:"number",min:c,max:i,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":c===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:c})}],currency:{type:"string"}}}),o}return r}(z),Co=function(e){G_(r,e);var t=q_(r);function r(n){Y_(this,r);var o;o=t.call(this,n),de(Ae(o),"rangeMin",void 0),de(Ae(o),"rangeMax",void 0),de(Ae(o),"showUpperCase",void 0),de(Ae(o),"submitSelectCurrency",void 0),de(Ae(o),"micrometer",void 0),de(Ae(o),"precision",void 0),de(Ae(o),"optionConfig",void 0),de(Ae(o),"dataBind",void 0),de(Ae(o),"datasourceBind",void 0),de(Ae(o),"defaultValue",void 0),de(Ae(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";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 E0(n==null?void 0:n.dataBind);var s;o.datasourceBind=new J((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new di({value:"name"})]});var y;o.defaultValue=new I0((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:u.AMOUNT_TYPE.CNY}),o.options=et(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:No.controlName;var h;o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var b;return o.showUpperCase=(b=n==null?void 0:n.showUpperCase)!==null&&b!==void 0?b:!1,o}return r}(C);de(Co,"Rules",qH),de(Co,"RuntimeRules",UH);function gS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KH(e,t,r){return t&&mS(e.prototype,t),r&&mS(e,r),e}function Cf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nf=Reflect.get:Nf=function(o,i,c){var f=JH(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Nf(e,t,r||e)}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fr(e)}function XH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function QH(e,t){return t&&(ZH(t)==="object"||typeof t=="function")?t:gS(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function JH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fr(e),e!==null););return e}var ZH=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=fr(e),o;if(t){var i=fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QH(this,o)}}var No=function(e){XH(r,e);var t=tq(r);function r(n){WH(this,r);var o;return o=t.call(this,n),Cf(gS(o),"props",void 0),o.props=new Co(n==null?void 0:n.props),o}return KH(r,[{key:"toDataBindModel",value:function(o){var i=Nf(fr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,a=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(A);Cf(No,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Cf(No,"controlFieldType",u.FieldTypes.MONEY),Cf(No,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,u.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:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function PS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rq(e,t,r){return t&&wS(e.prototype,t),r&&wS(e,r),e}function RS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(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&&W_(e,t)}function iq(e,t){return t&&(uq(t)==="object"||typeof t=="function")?t:PS(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var uq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fq(e){var t=cq();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iq(this,o)}}var $S=function(e){oq(r,e);var t=fq(r);function r(n){nq(this,r);var o;return o=t.call(this,n),RS(PS(o),"props",void 0),o.props=new Co(n==null?void 0:n.props),o}return rq(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(M);RS($S,"controlFieldType",u.FieldTypes.MONEY);var TS={Designer:No,Runtime:$S,Property:Co};function Ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(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&&Q_(e,t)}function aq(e,t){return t&&(lq(t)==="object"||typeof t=="function")?t:Ut(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var lq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J_(e){var t=sq();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 aq(this,o)}}var yq=function(e){X_(r,e);var t=J_(r);function r(n){K_(this,r);var o;return o=t.call(this,n),Tt(Ut(o),"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),Tt(Ut(o),"defaultValue",{type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(se),vq=function(e){X_(r,e);var t=J_(r);function r(n){K_(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:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(z),Bo=function(e){X_(r,e);var t=J_(r);function r(n){K_(this,r);var o,i;o=t.call(this,n),Tt(Ut(o),"totalScore",void 0),Tt(Ut(o),"scoreType",void 0),Tt(Ut(o),"isShowExplain",void 0),Tt(Ut(o),"explain",void 0),Tt(Ut(o),"defaultValue",void 0);var c;o.totalScore=(c=n==null?void 0:n.totalScore)!==null&&c!==void 0?c:5;var f;o.scoreType=(f=n==null?void 0:n.scoreType)!==null&&f!==void 0?f:u.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(p){return new uu(p)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new uu});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:Ao.controlName,o}return r}(C);Tt(Bo,"Rules",yq),Tt(Bo,"RuntimeRules",vq);function Z_(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 pq(e){if(Array.isArray(e))return Z_(e)}function SS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ES(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _q(e,t,r){return t&&ES(e.prototype,t),r&&ES(e,r),e}function Mf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Df=Reflect.get:Df=function(o,i,c){var f=mq(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Df(e,t,r||e)}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ar(e)}function hq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function bq(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Oq(){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 gq(e,t){return t&&(wq(t)==="object"||typeof t=="function")?t:SS(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function mq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ar(e),e!==null););return e}function Pq(e){return pq(e)||bq(e)||Rq(e)||Oq()}var wq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rq(e,t){if(!!e){if(typeof e=="string")return Z_(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 Z_(e,t)}}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 Tq(e){var t=$q();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 gq(this,o)}}var Ao=function(e){hq(r,e);var t=Tq(r);function r(n){dq(this,r);var o;return o=t.call(this,n),Mf(SS(o),"props",void 0),o.props=new Bo(n==null?void 0:n.props),o}return _q(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var c,f=i-this.props.explain.length,a=Array(f).fill(void 0).map(function(){return new uu});(c=this.props.explain).push.apply(c,Pq(a))}}Df(ar(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(A);Mf(Ao,"controlEventKeys",["on_change","on_click"]),Mf(Ao,"controlFieldType",u.FieldTypes.DECIMAL),Mf(Ao,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.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 IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Eq(e,t,r){return t&&CS(e.prototype,t),r&&CS(e,r),e}function NS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function Iq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function Cq(e,t){return t&&(Nq(t)==="object"||typeof t=="function")?t:IS(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var Nq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aq(e){var t=Bq();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 Cq(this,o)}}var BS=function(e){Iq(r,e);var t=Aq(r);function r(n){Sq(this,r);var o;return o=t.call(this,n),NS(IS(o),"props",void 0),o.props=new Bo(n==null?void 0:n.props),o}return Eq(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(M);NS(BS,"controlFieldType",u.FieldTypes.DECIMAL);var AS={Designer:Ao,Runtime:BS,Property:Bo};function jf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function DS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mq(e,t){return t&&(Dq(t)==="object"||typeof t=="function")?t:jf(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var Dq=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 kS(e){var t=kq();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 Mq(this,o)}}var jq=function(e){DS(r,e);var t=kS(r);function r(n){MS(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:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(z),xf=function(e){DS(r,e);var t=kS(r);function r(n){MS(this,r);var o;o=t.call(this,n),Lf(jf(o),"defaultValueType",void 0),Lf(jf(o),"defaultValue",void 0),Lf(jf(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:zf.controlName;var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"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 B0((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}(C);Lf(xf,"RuntimeRules",jq);function jS(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 LS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fq(e,t,r){return t&&LS(e.prototype,t),r&&LS(e,r),e}function rh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function 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&&oh(e,t)}function Vq(e,t){return t&&(zq(t)==="object"||typeof t=="function")?t:jS(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}var zq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gq(e){var t=Yq();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 Vq(this,o)}}var zf=function(e){xq(r,e);var t=Gq(r);function r(n){Lq(this,r);var o;return o=t.call(this,n),rh(jS(o),"props",void 0),o.props=new xf(n==null?void 0:n.props),o}return Fq(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(A);rh(zf,"controlFieldType",u.FieldTypes.ADDRESS),rh(zf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function FS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qq(e,t,r){return t&&xS(e.prototype,t),r&&xS(e,r),e}function VS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function 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&&ih(e,t)}function Wq(e,t){return t&&(Kq(t)==="object"||typeof t=="function")?t:FS(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var Kq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qq(e){var t=Xq();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wq(this,o)}}var zS=function(e){Uq(r,e);var t=Qq(r);function r(n){Hq(this,r);var o;return o=t.call(this,n),VS(FS(o),"props",void 0),o.props=new xf(n==null?void 0:n.props),o}return qq(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}(M);VS(zS,"controlFieldType",u.FieldTypes.ADDRESS);var YS={Designer:zf,Runtime:zS,Property:xf};function Xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function HS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jq(e,t){return t&&(Zq(t)==="object"||typeof t=="function")?t:Xe(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var Zq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qS(e){var t=eU();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 Jq(this,o)}}var tU=function(e){HS(r,e);var t=qS(r);function r(n){GS(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),Hf=function(e){HS(r,e);var t=qS(r);function r(n){GS(this,r);var o;o=t.call(this,n),Qe(Xe(o),"showType",void 0),Qe(Xe(o),"range",void 0),Qe(Xe(o),"defaultValueType",void 0),Qe(Xe(o),"multiple",void 0),Qe(Xe(o),"rangeOptions",void 0),Qe(Xe(o),"defaultValue",void 0),Qe(Xe(o),"displayLevel",void 0),Qe(Xe(o),"showSubDept",void 0),Qe(Xe(o),"multistageFilling",void 0),Qe(Xe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!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 p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Uf.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Ee(g))})),o}return r}(C);Qe(Hf,"RuntimeRules",tU);function US(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 WS(e,t){for(var r=0;r<t.length;r++){var 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&&WS(e.prototype,t),r&&WS(e,r),e}function ch(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qf=Reflect.get:qf=function(o,i,c){var f=uU(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},qf(e,t,r||e)}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(e)}function oU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:US(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function uU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=lr(e),e!==null););return e}var cU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aU(e){var t=fU();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 iU(this,o)}}var Uf=function(e){oU(r,e);var t=aU(r);function r(n){nU(this,r);var o;return o=t.call(this,n),ch(US(o),"props",void 0),o.props=new Hf(n==null?void 0:n.props),o}return rU(r,[{key:"toDataBindModel",value:function(o){var i=qf(lr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,a=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=a}return i}}],[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(A);ch(Uf,"controlFieldType",u.FieldTypes.DEPARTMENTS),ch(Uf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.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 KS(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 XS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sU(e,t,r){return t&&XS(e.prototype,t),r&&XS(e,r),e}function QS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function yU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vU(e,t){return t&&(pU(t)==="object"||typeof t=="function")?t:KS(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var pU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _U(e){var t=dU();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 vU(this,o)}}var JS=function(e){yU(r,e);var t=_U(r);function r(n){lU(this,r);var o;return o=t.call(this,n),QS(KS(o),"props",void 0),o.props=new Hf(n==null?void 0:n.props),o}return sU(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(M);QS(JS,"controlFieldType",u.FieldTypes.DEPARTMENTS);var ZS={Designer:Uf,Runtime:JS,Property:Hf};function eE(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 bU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function OU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gU(e,t){return t&&(mU(t)==="object"||typeof t=="function")?t:eE(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var mU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wU(e){var t=PU();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 gU(this,o)}}var sh=function(e){OU(r,e);var t=wU(r);function r(n){hU(this,r);var o;o=t.call(this,n),bU(eE(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Mo.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}(C);function tE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nE(e,t){for(var r=0;r<t.length;r++){var 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&&nE(e.prototype,t),r&&nE(e,r),e}function Xf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function TU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function SU(e,t){return t&&(EU(t)==="object"||typeof t=="function")?t:tE(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}var EU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CU(e){var t=IU();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SU(this,o)}}var Mo=function(e){TU(r,e);var t=CU(r);function r(n){RU(this,r);var o;return o=t.call(this,n),Xf(tE(o),"props",void 0),o.props=new sh(n==null?void 0:n.props),o}return $U(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}(A);Xf(Mo,"controlEventKeys",["on_change"]),Xf(Mo,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Xf(Mo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function rE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(e,t){for(var r=0;r<t.length;r++){var 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&&oE(e.prototype,t),r&&oE(e,r),e}function iE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(e)}function AU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function MU(e,t){return t&&(DU(t)==="object"||typeof t=="function")?t:rE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var DU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jU(e){var t=kU();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 MU(this,o)}}var uE=function(e){AU(r,e);var t=jU(r);function r(n){NU(this,r);var o;return o=t.call(this,n),iE(rE(o),"props",void 0),o.props=new sh(n==null?void 0:n.props),o}return BU(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(M);iE(uE,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var cE={Designer:Mo,Runtime:uE,Property:sh};function Wt(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 St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function 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&&_h(e,t)}function LU(e,t){return t&&(FU(t)==="object"||typeof t=="function")?t:Wt(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var FU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hh(e){var t=xU();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LU(this,o)}}var VU=function(e){dh(r,e);var t=hh(r);function r(n){ph(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}(se),zU=function(e){dh(r,e);var t=hh(r);function r(n){ph(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}}),o}return r}(z),Do=function(e){dh(r,e);var t=hh(r);function r(n){ph(this,r);var o;o=t.call(this,n),St(Wt(o),"precision",void 0),St(Wt(o),"micrometer",void 0),St(Wt(o),"showUpperCase",void 0),St(Wt(o),"scriptSrc",void 0),St(Wt(o),"scriptEcho",void 0),St(Wt(o),"dataBind",void 0),St(Wt(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1,o.dataBind=new A0(n==null?void 0:n.dataBind),o.defaultValue=new M0(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ko.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";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}(C);St(Do,"Rules",VU),St(Do,"RuntimeRules",zU);function fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GU(e,t,r){return t&&aE(e.prototype,t),r&&aE(e,r),e}function ea(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ta=Reflect.get:ta=function(o,i,c){var f=UU(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},ta(e,t,r||e)}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(e)}function HU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function qU(e,t){return t&&(WU(t)==="object"||typeof t=="function")?t:fE(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function UU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=sr(e),e!==null););return e}var WU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XU(e){var t=KU();return function(){var n=sr(e),o;if(t){var i=sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qU(this,o)}}var ko=function(e){HU(r,e);var t=XU(r);function r(n){YU(this,r);var o;return o=t.call(this,n),ea(fE(o),"props",void 0),o.props=new Do(n==null?void 0:n.props),o}return GU(r,[{key:"toDataBindModel",value:function(o){var i=ta(sr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,a=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(A);ea(ko,"controlEventKeys",["on_change"]),ea(ko,"controlFieldType",u.FieldTypes.CALC),ea(ko,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function lE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JU(e,t,r){return t&&sE(e.prototype,t),r&&sE(e,r),e}function yE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function ZU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function eW(e,t){return t&&(tW(t)==="object"||typeof t=="function")?t:lE(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var tW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rW(e){var t=nW();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eW(this,o)}}var vE=function(e){ZU(r,e);var t=rW(r);function r(n){QU(this,r);var o;return o=t.call(this,n),yE(lE(o),"props",void 0),o.props=new Do(n==null?void 0:n.props),o}return JU(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(M);yE(vE,"controlFieldType",u.FieldTypes.CALC);var pE={Designer:ko,Runtime:vE,Property:Do};function yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function _E(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oW(e,t){return t&&(iW(t)==="object"||typeof t=="function")?t:yr(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(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 hE(e){var t=uW();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oW(this,o)}}var cW=function(e){_E(r,e);var t=hE(r);function r(n){dE(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(c,f){if(n.required){var a=f.every(function(l){return!l});return a?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(z),oa=function(e){_E(r,e);var t=hE(r);function r(n){dE(this,r);var o;o=t.call(this,n),vr(yr(o),"rangeMin",void 0),vr(yr(o),"rangeMax",void 0),vr(yr(o),"placeholderStart",void 0),vr(yr(o),"placeholderEnd",void 0),vr(yr(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var c;o.rangeMin=(c=n==null?void 0:n.rangeMin)!==null&&c!==void 0?c:"";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:ua.controlName,o}return r}(C);vr(oa,"RuntimeRules",cW);function bE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aW(e,t,r){return t&&OE(e.prototype,t),r&&OE(e,r),e}function mh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function lW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function sW(e,t){return t&&(yW(t)==="object"||typeof t=="function")?t:bE(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var yW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pW(e){var t=vW();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sW(this,o)}}var ua=function(e){lW(r,e);var t=pW(r);function r(n){fW(this,r);var o;return o=t.call(this,n),mh(bE(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return aW(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}(A);mh(ua,"controlFieldType",u.FieldTypes.DECIMAL_RANGE),mh(ua,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function gE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _W(e,t,r){return t&&mE(e.prototype,t),r&&mE(e,r),e}function PE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function hW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function bW(e,t){return t&&(OW(t)==="object"||typeof t=="function")?t:gE(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var OW=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 mW(e){var t=gW();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bW(this,o)}}var wE=function(e){hW(r,e);var t=mW(r);function r(n){dW(this,r);var o;return o=t.call(this,n),PE(gE(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return _W(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(M);PE(wE,"controlFieldType",u.FieldTypes.DECIMAL_RANGE);var RE={Designer:ua,Runtime:wE,Property:oa};function Et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function TE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function PW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:Et(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var wW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SE(e){var t=RW();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PW(this,o)}}var $W=function(e){TE(r,e);var t=SE(r);function r(n){$E(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}(z),aa=function(e){TE(r,e);var t=SE(r);function r(n){$E(this,r);var o,i;o=t.call(this,n),It(Et(o),"rangeMin",void 0),It(Et(o),"rangeMax",void 0),It(Et(o),"placeholderStart",void 0),It(Et(o),"placeholderEnd",void 0),It(Et(o),"dateType",void 0),It(Et(o),"setValueType",void 0),It(Et(o),"defaultValue",void 0),It(Et(o),"limitDateList",void 0);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:["",""];var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:u.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 p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:"\u7ED3\u675F\u65E5\u671F";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:sa.controlName;var O;return o.limitDateList=(O=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new iu(b)}))!==null&&O!==void 0?O:[],o}return r}(C);It(aa,"RuntimeRules",$W);function EE(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 IE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SW(e,t,r){return t&&IE(e.prototype,t),r&&IE(e,r),e}function $h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function EW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function IW(e,t){return t&&(CW(t)==="object"||typeof t=="function")?t:EE(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}var CW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BW(e){var t=NW();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IW(this,o)}}var sa=function(e){EW(r,e);var t=BW(r);function r(n){TW(this,r);var o;return o=t.call(this,n),$h(EE(o),"props",void 0),o.props=new aa(n==null?void 0:n.props),o}return SW(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}(A);$h(sa,"controlFieldType",u.FieldTypes.ARRAY),$h(sa,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function CE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MW(e,t,r){return t&&NE(e.prototype,t),r&&NE(e,r),e}function BE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function DW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function kW(e,t){return t&&(jW(t)==="object"||typeof t=="function")?t:CE(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}var jW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FW(e){var t=LW();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kW(this,o)}}var AE=function(e){DW(r,e);var t=FW(r);function r(n){AW(this,r);var o;return o=t.call(this,n),BE(CE(o),"props",void 0),o.props=new aa(n==null?void 0:n.props),o}return MW(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(M);BE(AE,"controlFieldType",u.FieldTypes.ARRAY);var ME={Designer:sa,Runtime:AE,Property:aa};function jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function Ih(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function xW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:jo(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}var VW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nh(e){var t=zW();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xW(this,o)}}var YW=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(se),GW=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(z),Lo=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;o=t.call(this,n),pr(jo(o),"controlExportName",void 0),pr(jo(o),"permissions",void 0),pr(jo(o),"defaultValue",void 0),pr(jo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fo.controlName;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c: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}(C);pr(Lo,"Rules",YW),pr(Lo,"RuntimeRules",GW);function DE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kE(e,t){for(var r=0;r<t.length;r++){var 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&&kE(e.prototype,t),r&&kE(e,r),e}function pa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(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&&Bh(e,t)}function WW(e,t){return t&&(KW(t)==="object"||typeof t=="function")?t:DE(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(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=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WW(this,o)}}var Fo=function(e){UW(r,e);var t=QW(r);function r(n){HW(this,r);var o;return o=t.call(this,n),pa(DE(o),"props",void 0),o.props=new Lo(n==null?void 0:n.props),o}return qW(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}(A);pa(Fo,"controlFieldType",u.FieldTypes.ANY),pa(Fo,"controlEventKeys",[]),pa(Fo,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function jE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZW(e,t,r){return t&&LE(e.prototype,t),r&&LE(e,r),e}function FE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function eK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function tK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:jE(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}var nK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oK(e){var t=rK();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tK(this,o)}}var xE=function(e){eK(r,e);var t=oK(r);function r(n){JW(this,r);var o;return o=t.call(this,n),FE(jE(o),"props",void 0),o.props=new Lo(n==null?void 0:n.props),o}return ZW(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(M);FE(xE,"controlFieldType",u.FieldTypes.ANY);var VE={Designer:Fo,Runtime:xE,Property:Lo};function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function YE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iK(e,t){return t&&(uK(t)==="object"||typeof t=="function")?t:ut(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var uK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GE(e){var t=cK();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iK(this,o)}}var fK=function(e){YE(r,e);var t=GE(r);function r(n){zE(this,r);var o;return o=t.call(this,n),ct(ut(o),"listPageBind",[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]),o}return r}(sn),ba=function(e){YE(r,e);var t=GE(r);function r(n){zE(this,r);var o;o=t.call(this,n),ct(ut(o),"options",void 0),ct(ut(o),"optionConfig",void 0),ct(ut(o),"defaultValue",void 0),ct(ut(o),"listPageBind",void 0),ct(ut(o),"datasourceBind",void 0),ct(ut(o),"multistageFilling",void 0),ct(ut(o),"canViewForm",void 0),ct(ut(o),"openMultistageFilling",void 0);var i;o.options=et((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource",o.listPageBind=new Ay(n==null?void 0:n.listPageBind),o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:xo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Ee(p))}));var y;return o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1,o}return r}(C);ct(ba,"Rules",fK);function HE(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 qE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lK(e,t,r){return t&&qE(e.prototype,t),r&&qE(e,r),e}function Oa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function 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&&Dh(e,t)}function yK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:HE(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}var vK=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 dK(e){var t=pK();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yK(this,o)}}var xo=function(e){sK(r,e);var t=dK(r);function r(n){aK(this,r);var o;return o=t.call(this,n),Oa(HE(o),"props",void 0),o.props=new ba(n==null?void 0:n.props),o}return lK(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}(A);Oa(xo,"controlFieldType",u.FieldTypes.VARCHAR),Oa(xo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}]),Oa(xo,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hK(e,t,r){return t&&WE(e.prototype,t),r&&WE(e,r),e}function KE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(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&&kh(e,t)}function OK(e,t){return t&&(gK(t)==="object"||typeof t=="function")?t:UE(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(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=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OK(this,o)}}var XE=function(e){bK(r,e);var t=PK(r);function r(n){_K(this,r);var o;return o=t.call(this,n),KE(UE(o),"props",void 0),o.props=new ba(n==null?void 0:n.props),o}return hK(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(M);KE(XE,"controlFieldType",u.FieldTypes.VARCHAR);var QE={Designer:xo,Runtime:XE,Property:ba};function wK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function $K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function TK(e,t){return t&&(SK(t)==="object"||typeof t=="function")?t:wK(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var SK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IK(e){var t=EK();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TK(this,o)}}var Lh=function(e){$K(r,e);var t=IK(r);function r(n){return RK(this,r),t.call(this,n)}return r}(er);function JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NK(e,t,r){return t&&ZE(e.prototype,t),r&&ZE(e,r),e}function eI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function 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&&Fh(e,t)}function AK(e,t){return t&&(MK(t)==="object"||typeof t=="function")?t:JE(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(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 kK(e){var t=DK();return function(){var n=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AK(this,o)}}var tI=function(e){BK(r,e);var t=kK(r);function r(n){CK(this,r);var o;return o=t.call(this,n),eI(JE(o),"props",void 0),o.props=new Lh(n==null?void 0:n.props),o}return NK(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(tr);eI(tI,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function nI(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 rI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LK(e,t,r){return t&&rI(e.prototype,t),r&&rI(e,r),e}function oI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function FK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function xK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:nI(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}var VK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YK(e){var t=zK();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xK(this,o)}}var iI=function(e){FK(r,e);var t=YK(r);function r(n){jK(this,r);var o;return o=t.call(this,n),oI(nI(o),"props",void 0),o.props=new Lh(n==null?void 0:n.props),o}return LK(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(M);oI(iI,"controlFieldType",u.FieldTypes.VARCHAR);var uI={Designer:tI,Runtime:iI,Property:Lh};function _e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function zh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function GK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:_e(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var HK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gh(e){var t=qK();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GK(this,o)}}var UK=function(e){zh(r,e);var t=Gh(r);function r(n){Vh(this,r);var o;return o=t.call(this,n),he(_e(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Pi.call(_e(o),n,_n.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}]),o}return r}(se),WK=function(e){zh(r,e);var t=Gh(r);function r(n){Vh(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),Vo=function(e){zh(r,e);var t=Gh(r);function r(n){Vh(this,r);var o,i;o=t.call(this,n),he(_e(o),"placeholder",void 0),he(_e(o),"multiple",void 0),he(_e(o),"canSearch",void 0),he(_e(o),"levelType",void 0),he(_e(o),"optionalLevel",void 0),he(_e(o),"containsSubNode",void 0),he(_e(o),"defaultCollapse",void 0),he(_e(o),"defaultCollapseLevel",void 0),he(_e(o),"optionConfig","datasource"),he(_e(o),"datasourceBind",void 0),he(_e(o),"multistageFilling",void 0),he(_e(o),"defaultValue",void 0),he(_e(o),"openMultistageFilling",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:_n.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 p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var h;o.defaultCollapse=(h=n==null?void 0:n.defaultCollapse)!==null&&h!==void 0?h:"all";var O;o.defaultCollapseLevel=(O=n==null?void 0:n.defaultCollapseLevel)!==null&&O!==void 0?O:1;var b;o.datasourceBind=new $0((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:_n.controlCustomAttributes});var g;o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1;var v;o.multistageFilling=(v=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(w){return new Ee(w)}))!==null&&v!==void 0?v:[];var m;return o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[],o}return r}(C);he(Vo,"Rules",UK),he(Vo,"RuntimeRules",WK);function cI(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 fI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XK(e,t,r){return t&&fI(e.prototype,t),r&&fI(e,r),e}function Ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function QK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function JK(e,t){return t&&(ZK(t)==="object"||typeof t=="function")?t:cI(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}var ZK=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 tX(e){var t=eX();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JK(this,o)}}var _n=function(e){QK(r,e);var t=tX(r);function r(n){KK(this,r);var o;return o=t.call(this,n),Ta(cI(o),"props",void 0),o.props=new Vo(n==null?void 0:n.props),o}return XK(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}(A);Ta(_n,"controlEventKeys",["on_change","on_click"]),Ta(_n,"controlFieldType",u.FieldTypes.ARRAY),Ta(_n,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.CAN_SEARCH,u.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,u.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 aI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rX(e,t,r){return t&&lI(e.prototype,t),r&&lI(e,r),e}function sI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function oX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function iX(e,t){return t&&(uX(t)==="object"||typeof t=="function")?t:aI(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}var uX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fX(e){var t=cX();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iX(this,o)}}var yI=function(e){oX(r,e);var t=fX(r);function r(n){nX(this,r);var o;return o=t.call(this,n),sI(aI(o),"props",void 0),o.props=new Vo(n==null?void 0:n.props),o}return rX(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(M);sI(yI,"controlFieldType",u.FieldTypes.ARRAY);var vI={Designer:_n,Runtime:yI,Property:Vo};function ie(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 ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(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&&Kh(e,t)}function aX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:ie(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(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 Xh(e){var t=sX();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aX(this,o)}}var yX=function(e){Wh(r,e);var t=Xh(r);function r(n){Uh(this,r);var o;return o=t.call(this,n),ue(ie(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),ue(ie(o),"externalScope",{type:"any"}),Pi.call(ie(o),n,dr.controlCustomAttributes),n.externalType===u.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return r}(se),vX=function(e){Wh(r,e);var t=Xh(r);function r(n){Uh(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),zo=function(e){Wh(r,e);var t=Xh(r);function r(n){Uh(this,r);var o;o=t.call(this,n),ue(ie(o),"showType",void 0),ue(ie(o),"range",void 0),ue(ie(o),"rangeOptions",void 0),ue(ie(o),"multiple",void 0),ue(ie(o),"defaultValueType",void 0),ue(ie(o),"defaultValue",void 0),ue(ie(o),"multistageFilling",void 0),ue(ie(o),"datasourceBind",void 0),ue(ie(o),"datasourceType",void 0),ue(ie(o),"insideType",void 0),ue(ie(o),"externalType",void 0),ue(ie(o),"externalScope",void 0),ue(ie(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"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:dr.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var h;o.datasourceBind=new Kr((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:dr.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:u.OrganizeType.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b:u.InternalType.ADMIN;var g;o.externalType=(g=n==null?void 0:n.externalType)!==null&&g!==void 0?g:u.AssignType.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Ee(w))})),o}return r}(C);ue(zo,"Rules",yX),ue(zo,"RuntimeRules",vX);function pI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dI(e,t){for(var r=0;r<t.length;r++){var 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&&dI(e.prototype,t),r&&dI(e,r),e}function Qh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function _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&&Jh(e,t)}function hX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:pI(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var bX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gX(e){var t=OX();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hX(this,o)}}var dr=function(e){_X(r,e);var t=gX(r);function r(n){pX(this,r);var o;return o=t.call(this,n),Qh(pI(o),"props",void 0),o.props=new zo(n==null?void 0:n.props),o}return dX(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}(A);Qh(dr,"controlFieldType",u.FieldTypes.EMPLOYEES),Qh(dr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.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 _I(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PX(e,t,r){return t&&hI(e.prototype,t),r&&hI(e,r),e}function bI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function wX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function RX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:_I(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var $X=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 SX(e){var t=TX();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RX(this,o)}}var OI=function(e){wX(r,e);var t=SX(r);function r(n){mX(this,r);var o;return o=t.call(this,n),bI(_I(o),"props",void 0),o.props=new zo(n==null?void 0:n.props),o}return PX(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(M);bI(OI,"controlFieldType",u.FieldTypes.EMPLOYEES);var gI={Designer:dr,Runtime:OI,Property:zo};function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function PI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function EX(e,t){return t&&(IX(t)==="object"||typeof t=="function")?t:ft(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}var IX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wI(e){var t=CX();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EX(this,o)}}var NX=function(e){PI(r,e);var t=wI(r);function r(n){mI(this,r);var o;return o=t.call(this,n),at(ft(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,c,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(c.type==="public"&&un(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(c.type==="public"&&c.signatureType.includes("company")&&un(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(se),Aa=function(e){PI(r,e);var t=wI(r);function r(n){mI(this,r);var o;o=t.call(this,n),at(ft(o),"buttonType",void 0),at(ft(o),"content",void 0),at(ft(o),"showType",void 0),at(ft(o),"color",void 0),at(ft(o),"icon",void 0),at(ft(o),"command",""),at(ft(o),"isLoading",!1),at(ft(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yo.controlName;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:"\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 YP(n==null?void 0:n.signatureConfig),o}return r}(C);at(Aa,"Rules",NX);function RI(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 $I(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AX(e,t,r){return t&&$I(e.prototype,t),r&&$I(e,r),e}function Ma(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function MX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function DX(e,t){return t&&(kX(t)==="object"||typeof t=="function")?t:RI(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}var kX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LX(e){var t=jX();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DX(this,o)}}var Yo=function(e){MX(r,e);var t=LX(r);function r(n){BX(this,r);var o;return o=t.call(this,n),Ma(RI(o),"props",void 0),o.props=new Aa(n==null?void 0:n.props),o}return AX(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}(A);Ma(Yo,"controlEventKeys",["on_click","on_click_finish"]),Ma(Yo,"controlFieldType",u.FieldTypes.VARCHAR),Ma(Yo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.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 TI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xX(e,t,r){return t&&SI(e.prototype,t),r&&SI(e,r),e}function EI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(e)}function 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&&nb(e,t)}function zX(e,t){return t&&(YX(t)==="object"||typeof t=="function")?t:TI(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}var YX=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 HX(e){var t=GX();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zX(this,o)}}var II=function(e){VX(r,e);var t=HX(r);function r(n){FX(this,r);var o;return o=t.call(this,n),EI(TI(o),"props",void 0),o.props=new Aa(n==null?void 0:n.props),o}return xX(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(M);EI(II,"controlFieldType",u.FieldTypes.VARCHAR);var CI={Designer:Yo,Runtime:II,Property:Aa};function be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function ob(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function qX(e,t){return t&&(UX(t)==="object"||typeof t=="function")?t:be(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}var UX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=WX();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qX(this,o)}}var KX=function(e){ob(r,e);var t=ub(r);function r(n){rb(this,r);var o;return o=t.call(this,n),ce(be(o),"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),ce(be(o),"canAdd",void 0),ce(be(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(c,f,a){if(f.active&&!f.text){a(d.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(c,f,a){if(f.active&&!f.text){a(d.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(c,f,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(d.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(se),XX=function(e){ob(r,e);var t=ub(r);function r(n){rb(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),Go=function(e){ob(r,e);var t=ub(r);function r(n){rb(this,r);var o;o=t.call(this,n),ce(be(o),"content",void 0),ce(be(o),"canAdd",void 0),ce(be(o),"addLocal",void 0),ce(be(o),"addOnline",void 0),ce(be(o),"canDownload",void 0),ce(be(o),"canEdit",void 0),ce(be(o),"canExport",void 0),ce(be(o),"canDelete",void 0),ce(be(o),"wpsSetting",void 0),ce(be(o),"maxSize",void 0),ce(be(o),"defaultValue",void 0),ce(be(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ho.controlName;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:"\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 p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var h;o.canDelete=(h=n==null?void 0:n.canDelete)!==null&&h!==void 0?h:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:XG;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new GP(n==null?void 0:n.wpsSetting);var g;return o.revisionsMode=(g=n==null?void 0:n.revisionsMode)!==null&&g!==void 0?g:!1,o}return r}(C);ce(Go,"Rules",KX),ce(Go,"RuntimeRules",XX);function NI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BI(e,t){for(var r=0;r<t.length;r++){var 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&&BI(e.prototype,t),r&&BI(e,r),e}function La(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function ZX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function eQ(e,t){return t&&(tQ(t)==="object"||typeof t=="function")?t:NI(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(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=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eQ(this,o)}}var Ho=function(e){ZX(r,e);var t=rQ(r);function r(n){QX(this,r);var o;return o=t.call(this,n),La(NI(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return JX(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(A);La(Ho,"controlEventKeys",["on_change","on_wps_open"]),La(Ho,"controlFieldType",u.FieldTypes.FILE),La(Ho,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.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 AI(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 MI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iQ(e,t,r){return t&&MI(e.prototype,t),r&&MI(e,r),e}function DI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function uQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function cQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:AI(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(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=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cQ(this,o)}}var kI=function(e){uQ(r,e);var t=lQ(r);function r(n){oQ(this,r);var o;return o=t.call(this,n),DI(AI(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return iQ(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(M);DI(kI,"controlFieldType",u.FieldTypes.FILE);var jI={Designer:Ho,Runtime:kI,Property:Go};function Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ab(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function lb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function sQ(e,t){return t&&(yQ(t)==="object"||typeof t=="function")?t:Z(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}var yQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yb(e){var t=vQ();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sQ(this,o)}}var pQ=function(e){lb(r,e);var t=yb(r);function r(n){ab(this,r);var o;return o=t.call(this,n),ee(Z(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),ee(Z(o),"businessScope",{type:"any"}),Pi.call(Z(o),n,hr.controlCustomAttributes),n.businessType===u.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(se),dQ=function(e){lb(r,e);var t=yb(r);function r(n){ab(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),qo=function(e){lb(r,e);var t=yb(r);function r(n){ab(this,r);var o;o=t.call(this,n),ee(Z(o),"showType",void 0),ee(Z(o),"range",void 0),ee(Z(o),"defaultValueType",void 0),ee(Z(o),"multiple",void 0),ee(Z(o),"rangeOptions",void 0),ee(Z(o),"defaultValue",void 0),ee(Z(o),"displayLevel",void 0),ee(Z(o),"showSubDept",void 0),ee(Z(o),"multistageFilling",void 0),ee(Z(o),"datasourceBind",void 0),ee(Z(o),"datasourceType",void 0),ee(Z(o),"businessType",void 0),ee(Z(o),"businessScope",void 0),ee(Z(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!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 p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:hr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;o.datasourceBind=new Kr((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:hr.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:u.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var m;o.businessType=(m=n==null?void 0:n.businessType)!==null&&m!==void 0?m:u.AssignType.ALL;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new Ee(P))})),o}return r}(C);ee(qo,"Rules",pQ),ee(qo,"RuntimeRules",dQ);function LI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hQ(e,t,r){return t&&FI(e.prototype,t),r&&FI(e,r),e}function vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?za=Reflect.get:za=function(o,i,c){var f=gQ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},za(e,t,r||e)}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function bQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function OQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:LI(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function gQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_r(e),e!==null););return e}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 wQ(e){var t=PQ();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 OQ(this,o)}}var hr=function(e){bQ(r,e);var t=wQ(r);function r(n){_Q(this,r);var o;return o=t.call(this,n),vb(LI(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return hQ(r,[{key:"toDataBindModel",value:function(o){var i=za(_r(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,a=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=a}return i}}],[{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}(A);vb(hr,"controlFieldType",u.FieldTypes.DEPARTMENTS),vb(hr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.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 xI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $Q(e,t,r){return t&&VI(e.prototype,t),r&&VI(e,r),e}function zI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function TQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function SQ(e,t){return t&&(EQ(t)==="object"||typeof t=="function")?t:xI(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}var EQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CQ(e){var t=IQ();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SQ(this,o)}}var YI=function(e){TQ(r,e);var t=CQ(r);function r(n){RQ(this,r);var o;return o=t.call(this,n),zI(xI(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return $Q(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(M);zI(YI,"controlFieldType",u.FieldTypes.DEPARTMENTS);var GI={Designer:hr,Runtime:YI,Property:qo},NQ=Object.freeze({__proto__:null,Input:D$,Checkbox:z$,Radio:J$,Number:iT,DatePicker:yT,DateRange:PT,Textarea:IT,RichText:kT,Select:qT,SelectMultiple:ZT,Employee:aS,Image:OS,Attachment:dS,Amount:TS,Score:AS,Address:YS,Department:ZS,AutoNumber:cE,Calc:pE,SearchNumberRange:RE,SearchDateRange:ME,VueFormItem:VE,SelectRelation:QE,SearchInput:uI,Tree:vI,Employee2:gI,ElectronicSignature:CI,WPS:jI,Department2:GI});function BQ(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 HI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MQ(e,t,r){return t&&HI(e.prototype,t),r&&HI(e,r),e}function DQ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function kQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function jQ(e,t){return t&&(LQ(t)==="object"||typeof t=="function")?t:BQ(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}var LQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xQ(e){var t=FQ();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jQ(this,o)}}var qI=function(e){kQ(r,e);var t=xQ(r);function r(n){return AQ(this,r),t.call(this,n)}return MQ(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(H);DQ(qI,"excludes",[u.CONTROL_TYPE.GRID]);function VQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YQ(e,t,r){return t&&UI(e.prototype,t),r&&UI(e,r),e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(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&&hb(e,t)}function HQ(e,t){return t&&(qQ(t)==="object"||typeof t=="function")?t:VQ(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}var qQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WQ(e){var t=UQ();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HQ(this,o)}}var KQ=function(e){GQ(r,e);var t=WQ(r);function r(n){return zQ(this,r),t.call(this,n)}return YQ(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Q),WI={Designer:qI,Runtime:KQ,Property:G};function bb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(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&&Ob(e,t)}function JQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:bb(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(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 tJ(e){var t=eJ();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JQ(this,o)}}var nJ=24,hn=function(e){QQ(r,e);var t=tJ(r);function r(n){XQ(this,r);var o;o=t.call(this,n),KI(bb(o),"span",void 0),KI(bb(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:nJ;var c;return o.offset=(c=n==null?void 0:n.offset)!==null&&c!==void 0?c:0,o}return r}(G);function XI(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 QI(e,t){for(var r=0;r<t.length;r++){var 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&&QI(e.prototype,t),r&&QI(e,r),e}function gb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function iJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function uJ(e,t){return t&&(cJ(t)==="object"||typeof t=="function")?t:XI(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}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=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uJ(this,o)}}var Uo=function(e){iJ(r,e);var t=aJ(r);function r(n){rJ(this,r);var o;return o=t.call(this,n),gb(XI(o),"props",void 0),o.props=new hn(n==null?void 0:n.props),o}return oJ(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(H);gb(Uo,"excludes",[u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.DIVIDER]),gb(Uo,"childrenMaxLength",1);function JI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZI(e,t){for(var r=0;r<t.length;r++){var 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&&ZI(e.prototype,t),r&&ZI(e,r),e}function yJ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function vJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function pJ(e,t){return t&&(dJ(t)==="object"||typeof t=="function")?t:JI(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}var dJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hJ(e){var t=_J();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pJ(this,o)}}var wb=function(e){vJ(r,e);var t=hJ(r);function r(n){lJ(this,r);var o;return o=t.call(this,n),yJ(JI(o),"props",void 0),o.props=new hn(n==null?void 0:n.props),o}return sJ(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Q),Ka={Designer:Uo,Runtime:wb,Property:hn};function Rb(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 eC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function 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&&$b(e,t)}function gJ(e,t){return t&&(mJ(t)==="object"||typeof t=="function")?t:Rb(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}var mJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wJ(e){var t=PJ();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gJ(this,o)}}var Qa=function(e){OJ(r,e);var t=wJ(r);function r(n){bJ(this,r);var o;o=t.call(this,n),eC(Rb(o),"layoutMode",void 0),eC(Rb(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var c;return o.gutter=(c=n==null?void 0:n.gutter)!==null&&c!==void 0?c:0,o}return r}(G);function tC(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 nC(e,t){for(var r=0;r<t.length;r++){var 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&&nC(e.prototype,t),r&&nC(e,r),e}function Tb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(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&&Sb(e,t)}function SJ(e,t){return t&&(EJ(t)==="object"||typeof t=="function")?t:tC(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(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 CJ(e){var t=IJ();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SJ(this,o)}}var Za=function(e){TJ(r,e);var t=CJ(r);function r(n){RJ(this,r);var o;return o=t.call(this,n),Tb(tC(o),"props",void 0),o.props=new Qa(n==null?void 0:n.props),o}return $J(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(H);Tb(Za,"excludes",[u.CONTROL_TYPE.ROW]),Tb(Za,"setting",[{key:"col-setting",visible:!0}]);function rC(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 oC(e,t){for(var r=0;r<t.length;r++){var 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&&oC(e.prototype,t),r&&oC(e,r),e}function AJ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function 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&&Eb(e,t)}function DJ(e,t){return t&&(kJ(t)==="object"||typeof t=="function")?t:rC(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}var kJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LJ(e){var t=jJ();return function(){var n=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DJ(this,o)}}var iC=function(e){MJ(r,e);var t=LJ(r);function r(n){NJ(this,r);var o;return o=t.call(this,n),AJ(rC(o),"props",void 0),o.props=new Qa(n==null?void 0:n.props),o}return BJ(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Q),uC={Designer:Za,Runtime:iC,Property:Qa};function FJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VJ(e,t,r){return t&&cC(e.prototype,t),r&&cC(e,r),e}function Ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function zJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function YJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:FJ(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}var GJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qJ(e){var t=HJ();return function(){var n=tl(e),o;if(t){var i=tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YJ(this,o)}}var UJ=4,nl=function(e){zJ(r,e);var t=qJ(r);function r(n){return xJ(this,r),t.call(this,n)}return VJ(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}(Za);Ib(nl,"excludes",[u.CONTROL_TYPE.GRID_ROW]),Ib(nl,"setting",[]),Ib(nl,"childrenMaxLength",UJ);function WJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XJ(e,t,r){return t&&fC(e.prototype,t),r&&fC(e,r),e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nb(e,t)}function JJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:WJ(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(e,t)}var ZJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tZ(e){var t=eZ();return function(){var n=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JJ(this,o)}}var nZ=function(e){QJ(r,e);var t=tZ(r);function r(n){return KJ(this,r),t.call(this,n)}return XJ(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(iC);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 ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(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&&Bb(e,t)}function uZ(e,t){return t&&(cZ(t)==="object"||typeof t=="function")?t:rZ(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}var cZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aZ(e){var t=fZ();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uZ(this,o)}}var lZ=function(e){iZ(r,e);var t=aZ(r);function r(n){return oZ(this,r),t.call(this,n)}return r}(Qa),Ab={Designer:nl,Runtime:nZ,Property:lZ};function il(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ul(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function lC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function sZ(e,t){return t&&(yZ(t)==="object"||typeof t=="function")?t:il(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}var yZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sC(e){var t=vZ();return function(){var n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sZ(this,o)}}var pZ=function(e){lC(r,e);var t=sC(r);function r(){aC(this,r);var n;return n=t.apply(this,arguments),ul(il(n),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return r}(G.Rules),fl=function(e){lC(r,e);var t=sC(r);function r(n){aC(this,r);var o;o=t.call(this,n),ul(il(o),"caption",void 0),ul(il(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(G);ul(fl,"Rules",pZ);function yC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _Z(e,t,r){return t&&vC(e.prototype,t),r&&vC(e,r),e}function Db(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function 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&&kb(e,t)}function bZ(e,t){return t&&(OZ(t)==="object"||typeof t=="function")?t:yC(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}var OZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mZ(e){var t=gZ();return function(){var n=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bZ(this,o)}}var jb=function(e){hZ(r,e);var t=mZ(r);function r(n){dZ(this,r);var o;return o=t.call(this,n),Db(yC(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return _Z(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(H);Db(jb,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Db(jb,"excludes",[u.CONTROL_TYPE.CARD_GROUP]);function pC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wZ(e,t,r){return t&&dC(e.prototype,t),r&&dC(e,r),e}function RZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function $Z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function TZ(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:pC(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}var SZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IZ(e){var t=EZ();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TZ(this,o)}}var CZ=function(e){$Z(r,e);var t=IZ(r);function r(n){PZ(this,r);var o;return o=t.call(this,n),RZ(pC(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return wZ(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Q),_C={Designer:jb,Runtime:CZ,Property:fl};function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(e)}function bC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function NZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:lt(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}var BZ=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 OC(e){var t=AZ();return function(){var n=sl(e),o;if(t){var i=sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NZ(this,o)}}var MZ=function(e){bC(r,e);var t=OC(r);function r(n){hC(this,r);var o;return o=t.call(this,n),st(lt(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),st(lt(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),st(lt(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),yl=function(e){bC(r,e);var t=OC(r);function r(n){hC(this,r);var o;o=t.call(this,n),st(lt(o),"metaAutoWidth",void 0),st(lt(o),"caption",void 0),st(lt(o),"fixed",void 0),st(lt(o),"isShowCaptionTip",void 0),st(lt(o),"captionTip",void 0),st(lt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!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;return o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,o.metaAutoWidth=new p0(n==null?void 0:n.metaAutoWidth),o}return r}(G);st(yl,"Rules",MZ);function gC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function kZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xb(e,t)}function jZ(e,t){return t&&(LZ(t)==="object"||typeof t=="function")?t:gC(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}var LZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xZ(e){var t=FZ();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jZ(this,o)}}var Je=function(e){kZ(r,e);var t=xZ(r);function r(n){DZ(this,r);var o;return o=t.call(this,n),bn(gC(o),"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return r}(H);bn(Je,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),bn(Je,"controlType","subtable-column"),bn(Je,"controlIcon","subtable-column"),bn(Je,"childrenMaxLength",1),bn(Je,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),bn(Je,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function mC(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 PC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function zZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vb(e,t)}function YZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:mC(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}var GZ=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 qZ(e){var t=HZ();return function(){var n=pl(e),o;if(t){var i=pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YZ(this,o)}}var wC=function(e){zZ(r,e);var t=qZ(r);function r(n){VZ(this,r);var o;return o=t.call(this,n),PC(mC(o),"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return r}(Q);PC(wC,"controlType","subtable-column");var zb={Designer:Je,Runtime:wC,Property:yl};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 dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function KZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function XZ(e,t){return t&&(QZ(t)==="object"||typeof t=="function")?t:UZ(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}var QZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZZ(e){var t=JZ();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XZ(this,o)}}var Gb=function(e){KZ(r,e);var t=ZZ(r);function r(n){return WZ(this,r),t.call(this,n)}return r}(G);function RC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(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&&Hb(e,t)}function nee(e,t){return t&&(ree(t)==="object"||typeof t=="function")?t:RC(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}var ree=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iee(e){var t=oee();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nee(this,o)}}var gn=function(e){tee(r,e);var t=iee(r);function r(n){eee(this,r);var o;return o=t.call(this,n),On(RC(o),"props",void 0),o.props=new Gb(n==null?void 0:n.props),o}return r}(H);On(gn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),On(gn,"controlType","subtable-row"),On(gn,"controlIcon","subtable-row"),On(gn,"childrenMaxLength",1),On(gn,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.SUBTABLE_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),On(gn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function $C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cee(e,t,r){return t&&TC(e.prototype,t),r&&TC(e,r),e}function fee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function aee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function lee(e,t){return t&&(see(t)==="object"||typeof t=="function")?t:$C(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}var see=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vee(e){var t=yee();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lee(this,o)}}var pee=function(e){aee(r,e);var t=vee(r);function r(n){uee(this,r);var o;return o=t.call(this,n),fee($C(o),"props",void 0),o.props=new Gb(n==null?void 0:n.props),o}return cee(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Q),SC={Designer:gn,Runtime:pee,Property:Gb};function Ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function _ee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function hee(e,t){return t&&(bee(t)==="object"||typeof t=="function")?t:Ve(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}var bee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gee(e){var t=Oee();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hee(this,o)}}var Wb=function(e){_ee(r,e);var t=gee(r);function r(n){dee(this,r);var o;o=t.call(this,n),He(Ve(o),"widthType",void 0),He(Ve(o),"width",void 0),He(Ve(o),"caption",void 0),He(Ve(o),"fieldCode",void 0),He(Ve(o),"fieldType",void 0),He(Ve(o),"fieldName",void 0),He(Ve(o),"datasourceBind",void 0),He(Ve(o),"fixed",void 0),He(Ve(o),"textCleanFormart",void 0),He(Ve(o),"decimalKeepPrecision",void 0),He(Ve(o),"timestampDateType",void 0),He(Ve(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";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:u.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var h;o.timestampDateType=(h=n==null?void 0:n.timestampDateType)!==null&&h!==void 0?h:u.DateType.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(G);function EC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function Pee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function wee(e,t){return t&&(Ree(t)==="object"||typeof t=="function")?t:EC(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}var Ree=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tee(e){var t=$ee();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wee(this,o)}}var Pn=function(e){Pee(r,e);var t=Tee(r);function r(n){mee(this,r);var o;return o=t.call(this,n),mn(EC(o),"props",void 0),o.props=new Wb(n==null?void 0:n.props),o}return r}(H);mn(Pn,"controlName","\u5217\u8868\u5355\u5143\u683C"),mn(Pn,"controlType","gridtable-column"),mn(Pn,"controlIcon","gridtable-column"),mn(Pn,"childrenMaxLength",1),mn(Pn,"excludes",[u.CONTROL_TYPE.GRID_TABLE,u.CONTROL_TYPE.GRID_TABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),mn(Pn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function IC(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 CC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function Eee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function Iee(e,t){return t&&(Cee(t)==="object"||typeof t=="function")?t:IC(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}var Cee=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 Bee(e){var t=Nee();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iee(this,o)}}var NC=function(e){Eee(r,e);var t=Bee(r);function r(n){See(this,r);var o;return o=t.call(this,n),CC(IC(o),"props",void 0),o.props=new Wb(n==null?void 0:n.props),o}return r}(Q);CC(NC,"controlType","gridtable-column");var BC={Designer:Pn,Runtime:NC,Property:Wb};function Aee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function Dee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qb(e,t)}function kee(e,t){return t&&(jee(t)==="object"||typeof t=="function")?t:Aee(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}var jee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fee(e){var t=Lee();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kee(this,o)}}var Jb=function(e){Dee(r,e);var t=Fee(r);function r(n){return Mee(this,r),t.call(this,n)}return r}(G);function Zb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(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&&tO(e,t)}function xee(e,t){return t&&(Vee(t)==="object"||typeof t=="function")?t:Zb(e)}function tO(e,t){return tO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tO(e,t)}var Vee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DC(e){var t=zee();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xee(this,o)}}var Yee=function(e){MC(r,e);var t=DC(r);function r(n){AC(this,r);var o;return o=t.call(this,n),eO(Zb(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return r}(q),wl=function(e){MC(r,e);var t=DC(r);function r(n){AC(this,r);var o;o=t.call(this,n),eO(Zb(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ko.controlName,o}return r}(G);eO(wl,"Rules",Yee);function kC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Hee(e,t,r){return t&&jC(e.prototype,t),r&&jC(e,r),e}function nO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(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&&rO(e,t)}function Uee(e,t){return t&&(Wee(t)==="object"||typeof t=="function")?t:kC(e)}function rO(e,t){return rO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rO(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=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uee(this,o)}}var Wo=function(e){qee(r,e);var t=Xee(r);function r(n){Gee(this,r);var o;return o=t.call(this,n),nO(kC(o),"props",void 0),o.props=new wl(n==null?void 0:n.props),o}return Hee(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}(H);nO(Wo,"excludes",[u.CONTROL_TYPE.TAB]),nO(Wo,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function LC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jee(e,t,r){return t&&FC(e.prototype,t),r&&FC(e,r),e}function Zee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function 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&&oO(e,t)}function tte(e,t){return t&&(nte(t)==="object"||typeof t=="function")?t:LC(e)}function oO(e,t){return oO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oO(e,t)}var nte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ote(e){var t=rte();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tte(this,o)}}var ite=function(e){ete(r,e);var t=ote(r);function r(n){Qee(this,r);var o;return o=t.call(this,n),Zee(LC(o),"props",void 0),o.props=new wl(n==null?void 0:n.props),o}return Jee(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Q),xC={Designer:Wo,Runtime:ite,Property:wl};function VC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ute(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cte(e,t,r){return t&&zC(e.prototype,t),r&&zC(e,r),e}function Tl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iO(e,t)}function ate(e,t){return t&&(lte(t)==="object"||typeof t=="function")?t:VC(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}var lte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ste(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yte(e){var t=ste();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ate(this,o)}}var Ko=function(e){fte(r,e);var t=yte(r);function r(n){ute(this,r);var o;o=t.call(this,n),Tl(VC(o),"props",void 0),o.props=new Jb(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Wo,new Wo],o}return cte(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(H);Tl(Ko,"excludes",[u.CONTROL_TYPE.TAB]),Tl(Ko,"controlEventKeys",["on_change_tab"]),Tl(Ko,"setting",[{key:"super-setting",visible:!0}]);function YC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pte(e,t,r){return t&&GC(e.prototype,t),r&&GC(e,r),e}function dte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function _te(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uO(e,t)}function hte(e,t){return t&&(bte(t)==="object"||typeof t=="function")?t:YC(e)}function uO(e,t){return uO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uO(e,t)}var bte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ote(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gte(e){var t=Ote();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hte(this,o)}}var mte=function(e){_te(r,e);var t=gte(r);function r(n){vte(this,r);var o;return o=t.call(this,n),dte(YC(o),"props",void 0),o.props=new Jb(n==null?void 0:n.props),o}return pte(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Q),HC={Designer:Ko,Runtime:mte,Property:Jb};function Pte(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 Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function Rte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cO(e,t)}function $te(e,t){return t&&(Tte(t)==="object"||typeof t=="function")?t:Pte(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cO(e,t)}var Tte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ste(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ete(e){var t=Ste();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $te(this,o)}}var qC=function(e){Rte(r,e);var t=Ete(r);function r(n){return wte(this,r),t.call(this,n)}return r}(G);function UC(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 WC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cte(e,t,r){return t&&WC(e.prototype,t),r&&WC(e,r),e}function KC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function Nte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fO(e,t)}function Bte(e,t){return t&&(Ate(t)==="object"||typeof t=="function")?t:UC(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fO(e,t)}var Ate=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dte(e){var t=Mte();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bte(this,o)}}var XC=function(e){Nte(r,e);var t=Dte(r);function r(n){Ite(this,r);var o;return o=t.call(this,n),KC(UC(o),"props",void 0),o.props=new qC({}),o.children=(n==null?void 0:n.children)||[new Uo({props:new hn({span:12})}),new Uo({props:new hn({span:12})})],o}return Cte(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(H);KC(XC,"excludes",[u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.GRID,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.TOOLBOX]);function kte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lte(e,t,r){return t&&QC(e.prototype,t),r&&QC(e,r),e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function Fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aO(e,t)}function xte(e,t){return t&&(Vte(t)==="object"||typeof t=="function")?t:kte(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(e,t)}var Vte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yte(e){var t=zte();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xte(this,o)}}var Gte=function(e){Fte(r,e);var t=Yte(r);function r(n){jte(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new wb({props:new hn({span:12})}),new wb({props:new hn({span:12})})],o}return Lte(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Q),JC={Designer:XC,Runtime:Gte,Property:qC};function Te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function sO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yO(e,t)}function Hte(e,t){return t&&(qte(t)==="object"||typeof t=="function")?t:Te(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yO(e,t)}var qte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ute(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ute();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hte(this,o)}}var Al;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Al||(Al={}));var Wte=function(e){sO(r,e);var t=vO(r);function r(n){lO(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Bt),Kte=function(e){sO(r,e);var t=vO(r);function r(n){lO(this,r);var o;if(o=t.call(this,n),Se(Te(o),"triggerFieldCode",{type:"any"}),Se(Te(o),"datasourceBind",{type:"any"}),n.triggerType===Al.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),mi.call(Te(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(c){return c.type==="object"&&c.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(q),Xo=function(e){sO(r,e);var t=vO(r);function r(n){lO(this,r);var o;o=t.call(this,n),Se(Te(o),"datasourceBind",void 0),Se(Te(o),"isLoading",void 0),Se(Te(o),"isShowSubList",void 0),Se(Te(o),"triggerType",void 0),Se(Te(o),"triggerFieldCode",void 0),Se(Te(o),"sublistPage",void 0),Se(Te(o),"showType",void 0),Se(Te(o),"showFullScreen",void 0),Se(Te(o),"isFixedHeader",void 0),Se(Te(o),"isAllLoaded",void 0),Se(Te(o),"countType",void 0),o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:Al.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new g0(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 p;return o.isAllLoaded=(p=n==null?void 0:n.isAllLoaded)!==null&&p!==void 0?p:!0,o.countType=n==null?void 0:n.countType,o}return r}(G);Se(Xo,"Rules",Kte),Se(Xo,"RuntimeRules",Wte);function ZC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qte(e,t,r){return t&&eN(e.prototype,t),r&&eN(e,r),e}function Ml(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function Jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pO(e,t)}function Zte(e,t){return t&&(ene(t)==="object"||typeof t=="function")?t:ZC(e)}function pO(e,t){return pO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pO(e,t)}var ene=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 nne(e){var t=tne();return function(){var n=Dl(e),o;if(t){var i=Dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zte(this,o)}}var kl=function(e){Jte(r,e);var t=nne(r);function r(n){Xte(this,r);var o;return o=t.call(this,n),Ml(ZC(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return Qte(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}(H);Ml(kl,"excludes",[u.CONTROL_TYPE.ROW]),Ml(kl,"controlEventKeys",["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"]),Ml(kl,"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 tN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function one(e,t,r){return t&&nN(e.prototype,t),r&&nN(e,r),e}function ine(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function une(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dO(e,t)}function cne(e,t){return t&&(fne(t)==="object"||typeof t=="function")?t:tN(e)}function dO(e,t){return dO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dO(e,t)}var fne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ane(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lne(e){var t=ane();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cne(this,o)}}var sne=function(e){une(r,e);var t=lne(r);function r(n){rne(this,r);var o;return o=t.call(this,n),ine(tN(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return one(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Q),_O={Designer:kl,Runtime:sne,Property:Xo};function Kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function oN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hO(e,t)}function yne(e,t){return t&&(vne(t)==="object"||typeof t=="function")?t:Kt(e)}function hO(e,t){return hO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hO(e,t)}var vne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iN(e){var t=pne();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yne(this,o)}}var dne=function(e){oN(r,e);var t=iN(r);function r(n){rN(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Bt),Fl=function(e){oN(r,e);var t=iN(r);function r(n){rN(this,r);var o;o=t.call(this,n),Xt(Kt(o),"save",void 0),Xt(Kt(o),"cancel",void 0),Xt(Kt(o),"saveAs",void 0),Xt(Kt(o),"print",void 0),Xt(Kt(o),"custom",void 0),Xt(Kt(o),"isLoading",void 0),Xt(Kt(o),"datasourceBind",void 0);var i;o.save=new pt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var c;o.cancel=new pt((c=n==null?void 0:n.cancel)!==null&&c!==void 0?c:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new pt((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 pt((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 pt(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new J(n==null?void 0:n.datasourceBind),o}return r}(G);Xt(Fl,"RuntimeRules",dne);function uN(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 cN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hne(e,t,r){return t&&cN(e.prototype,t),r&&cN(e,r),e}function fN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function bne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bO(e,t)}function One(e,t){return t&&(gne(t)==="object"||typeof t=="function")?t:uN(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bO(e,t)}var gne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pne(e){var t=mne();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return One(this,o)}}var aN=function(e){bne(r,e);var t=Pne(r);function r(n){_ne(this,r);var o;return o=t.call(this,n),fN(uN(o),"props",void 0),o.props=new Fl(n==null?void 0:n.props),o}return hne(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(H);fN(aN,"excludes",[]);function lN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rne(e,t,r){return t&&sN(e.prototype,t),r&&sN(e,r),e}function $ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function Tne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OO(e,t)}function Sne(e,t){return t&&(Ene(t)==="object"||typeof t=="function")?t:lN(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OO(e,t)}var Ene=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 Cne(e){var t=Ine();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sne(this,o)}}var Nne=function(e){Tne(r,e);var t=Cne(r);function r(n){wne(this,r);var o;return o=t.call(this,n),$ne(lN(o),"props",void 0),o.props=new Fl(n==null?void 0:n.props),o}return Rne(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Q),gO={Designer:aN,Runtime:Nne,Property:Fl};function Bne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ane(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mne(e,t,r){return t&&yN(e.prototype,t),r&&yN(e,r),e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(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&&mO(e,t)}function kne(e,t){return t&&(jne(t)==="object"||typeof t=="function")?t:Bne(e)}function mO(e,t){return mO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mO(e,t)}var jne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fne(e){var t=Lne();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kne(this,o)}}var xne=function(e){Dne(r,e);var t=Fne(r);function r(n){return Ane(this,r),t.call(this,n)}return Mne(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(H);function Vne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yne(e,t,r){return t&&vN(e.prototype,t),r&&vN(e,r),e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function Gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PO(e,t)}function Hne(e,t){return t&&(qne(t)==="object"||typeof t=="function")?t:Vne(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(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=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hne(this,o)}}var Kne=function(e){Gne(r,e);var t=Wne(r);function r(n){return zne(this,r),t.call(this,n)}return Yne(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Q);function br(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 Qo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(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&&wO(e,t)}function Jne(e,t){return t&&(Zne(t)==="object"||typeof t=="function")?t:br(e)}function wO(e,t){return wO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wO(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=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jne(this,o)}}var nre=function(e){Qne(r,e);var t=tre(r);function r(n){Xne(this,r);var o;o=t.call(this,n),Qo(br(o),"hideHeader",void 0),Qo(br(o),"background","#fff"),Qo(br(o),"minWidth",""),Qo(br(o),"maxWidth",""),Qo(br(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(G),pN={Designer:xne,Runtime:Kne,Property:nre};function rre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ore(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ire(e,t,r){return t&&dN(e.prototype,t),r&&dN(e,r),e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function ure(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RO(e,t)}function cre(e,t){return t&&(fre(t)==="object"||typeof t=="function")?t:rre(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RO(e,t)}var fre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lre(e){var t=are();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cre(this,o)}}var sre=function(e){ure(r,e);var t=lre(r);function r(n){return ore(this,r),t.call(this,n)}return ire(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(H);function yre(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 _N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pre(e,t,r){return t&&_N(e.prototype,t),r&&_N(e,r),e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function dre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$O(e,t)}function _re(e,t){return t&&(hre(t)==="object"||typeof t=="function")?t:yre(e)}function $O(e,t){return $O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$O(e,t)}var hre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ore(e){var t=bre();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _re(this,o)}}var gre=function(e){dre(r,e);var t=Ore(r);function r(n){return vre(this,r),t.call(this,n)}return pre(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Q);function TO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function Pre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SO(e,t)}function wre(e,t){return t&&(Rre(t)==="object"||typeof t=="function")?t:TO(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SO(e,t)}var Rre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $re(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tre(e){var t=$re();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wre(this,o)}}var Sre=function(e){Pre(r,e);var t=Tre(r);function r(n){mre(this,r);var o;return o=t.call(this,n),hN(TO(o),"display",void 0),hN(TO(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new UP(n==null?void 0:n.flexConfig),o}return r}(G),bN={Designer:sre,Runtime:gre,Property:Sre};function Ere(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ire(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ON(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cre(e,t,r){return t&&ON(e.prototype,t),r&&ON(e,r),e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function Nre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EO(e,t)}function Bre(e,t){return t&&(Are(t)==="object"||typeof t=="function")?t:Ere(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}var Are=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 Dre(e){var t=Mre();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bre(this,o)}}var kre=function(e){Nre(r,e);var t=Dre(r);function r(n){return Ire(this,r),t.call(this,n)}return Cre(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(H);function jre(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 gN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fre(e,t,r){return t&&gN(e.prototype,t),r&&gN(e,r),e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function xre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IO(e,t)}function Vre(e,t){return t&&(zre(t)==="object"||typeof t=="function")?t:jre(e)}function IO(e,t){return IO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IO(e,t)}var zre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gre(e){var t=Yre();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vre(this,o)}}var Hre=function(e){xre(r,e);var t=Gre(r);function r(n){return Lre(this,r),t.call(this,n)}return Fre(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Q);function qre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ure(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function Wre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CO(e,t)}function Kre(e,t){return t&&(Xre(t)==="object"||typeof t=="function")?t:qre(e)}function CO(e,t){return CO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CO(e,t)}var Xre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jre(e){var t=Qre();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kre(this,o)}}var Zre=function(e){Wre(r,e);var t=Jre(r);function r(n){return Ure(this,r),t.call(this,n)}return r}(G),mN={Designer:kre,Runtime:Hre,Property:Zre};function eoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function toe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function noe(e,t,r){return t&&PN(e.prototype,t),r&&PN(e,r),e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function roe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NO(e,t)}function ooe(e,t){return t&&(ioe(t)==="object"||typeof t=="function")?t:eoe(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}var ioe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function coe(e){var t=uoe();return function(){var n=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ooe(this,o)}}var foe=function(e){roe(r,e);var t=coe(r);function r(n){return toe(this,r),t.call(this,n)}return noe(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}(H);function aoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function loe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function soe(e,t,r){return t&&wN(e.prototype,t),r&&wN(e,r),e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(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&&BO(e,t)}function voe(e,t){return t&&(poe(t)==="object"||typeof t=="function")?t:aoe(e)}function BO(e,t){return BO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BO(e,t)}var poe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function doe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _oe(e){var t=doe();return function(){var n=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return voe(this,o)}}var hoe=function(e){yoe(r,e);var t=_oe(r);function r(n){return loe(this,r),t.call(this,n)}return soe(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Q);function Jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function boe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function Ooe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AO(e,t)}function goe(e,t){return t&&(moe(t)==="object"||typeof t=="function")?t:Jo(e)}function AO(e,t){return AO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AO(e,t)}var moe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Poe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function woe(e){var t=Poe();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return goe(this,o)}}var Roe=function(e){Ooe(r,e);var t=woe(r);function r(n){boe(this,r);var o;o=t.call(this,n),Zl(Jo(o),"widthSpan",void 0),Zl(Jo(o),"heightSpan",void 0),Zl(Jo(o),"left",void 0),Zl(Jo(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var c;o.heightSpan=(c=n==null?void 0:n.heightSpan)!==null&&c!==void 0?c: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}(G),RN={Designer:foe,Runtime:hoe,Property:Roe},$oe=Object.freeze({__proto__:null,Grid:WI,Col:Ka,Row:uC,GridRow:Ab,CardGroup:_C,SubTableColumn:zb,SubTableRow:SC,GridTableColumn:BC,Tab:HC,TabPane:xC,Toolbox:JC,ListView:_O,DataView:gO,Page:pN,AdvancedContainer:bN,PositioningContainer:mN,Position:RN});function B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function DO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kO(e,t)}function Toe(e,t){return t&&(Soe(t)==="object"||typeof t=="function")?t:B(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(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 jO(e){var t=Eoe();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Toe(this,o)}}var Ioe=function(e){DO(r,e);var t=jO(r);function r(n){MO(this,r);var o;return o=t.call(this,n),N(B(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),N(B(o),"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),N(B(o),"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),N(B(o),"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),N(B(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),Coe=function(e){DO(r,e);var t=jO(r);function r(n){MO(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(c,f,a){f.length<n.limitRows&&a(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Bt),Zo=function(e){DO(r,e);var t=jO(r);function r(n,o){MO(this,r);var i;i=t.call(this,n,o),N(B(i),"caption",void 0),N(B(i),"labelPosition",void 0),N(B(i),"isHideCaption",void 0),N(B(i),"isShowCaptionTip",void 0),N(B(i),"captionTip",void 0),N(B(i),"defaultState",void 0),N(B(i),"limitRows",void 0),N(B(i),"defaultRows",void 0),N(B(i),"datasourceBind",void 0),N(B(i),"printMode",void 0),N(B(i),"openType",void 0),N(B(i),"formKey",void 0),N(B(i),"useCustomHeight",void 0),N(B(i),"maxHeight",void 0),N(B(i),"canAdd",void 0),N(B(i),"canDelete",void 0),N(B(i),"canCheck",void 0),N(B(i),"canEdit",void 0),N(B(i),"canImport",void 0),N(B(i),"canExport",void 0),N(B(i),"canClear",void 0),N(B(i),"mobileShowType",void 0),N(B(i),"dataStorageDoc",void 0),N(B(i),"serverPagination",void 0),N(B(i),"fixedColumn",void 0);var c;i.caption=(c=o==null?void 0:o.caption)!==null&&c!==void 0?c:rs.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 p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var h;i.maxHeight=(h=o==null?void 0:o.maxHeight)!==null&&h!==void 0?h:HP;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;i.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b:1;var g;i.defaultRows=(g=o==null?void 0:o.defaultRows)!==null&&g!==void 0?g:1,i.datasourceBind=new J(o==null?void 0:o.datasourceBind);var v;i.canAdd=(v=o==null?void 0:o.canAdd)!==null&&v!==void 0?v:!0;var m;i.canDelete=(m=o==null?void 0:o.canDelete)!==null&&m!==void 0?m:!0;var w;i.canCheck=(w=o==null?void 0:o.canCheck)!==null&&w!==void 0?w:!1;var P;i.canEdit=(P=o==null?void 0:o.canEdit)!==null&&P!==void 0?P:!1;var S;i.canImport=(S=o==null?void 0:o.canImport)!==null&&S!==void 0?S:!1;var $;i.canExport=($=o==null?void 0:o.canExport)!==null&&$!==void 0?$:!1;var E;i.canClear=(E=o==null?void 0:o.canClear)!==null&&E!==void 0?E:!0;var L;i.serverPagination=(L=o==null?void 0:o.serverPagination)!==null&&L!==void 0?L:!1;var Me;i.isShowCaptionTip=(Me=o==null?void 0:o.isShowCaptionTip)!==null&&Me!==void 0?Me:!1;var fe;i.captionTip=(fe=o==null?void 0:o.captionTip)!==null&&fe!==void 0?fe:"";var ae;i.mobileShowType=(ae=o==null?void 0:o.mobileShowType)!==null&&ae!==void 0?ae:"list";var zr;i.dataStorageDoc=(zr=o==null?void 0:o.dataStorageDoc)!==null&&zr!==void 0?zr:new d0;var Vn;return i.fixedColumn=(Vn=o==null?void 0:o.fixedColumn)!==null&&Vn!==void 0?Vn:[],i}return r}(to);N(Zo,"Rules",Ioe),N(Zo,"RuntimeRules",Coe);function LO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Noe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Boe(e,t,r){return t&&$N(e.prototype,t),r&&$N(e,r),e}function FO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function Aoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xO(e,t)}function Moe(e,t){return t&&(Doe(t)==="object"||typeof t=="function")?t:LO(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}var Doe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function koe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function joe(e){var t=koe();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Moe(this,o)}}var rs=function(e){Aoe(r,e);var t=joe(r);function r(n){Noe(this,r);var o,i;return o=t.call(this,n),FO(LO(o),"props",void 0),o.props=new Zo(LO(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new Je,new Je,new Je]),o}return Boe(r,[{key:"addColumn",value:function(o,i){var c=o!==void 0&&typeof o!="number"?o:new Je,f=typeof o=="number"?o:i;return f===void 0?this.props.headers.push(c):this.props.headers.splice(f,0,c),c}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(ki);FO(rs,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),FO(rs,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.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:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function VO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Loe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Foe(e,t,r){return t&&TN(e.prototype,t),r&&TN(e,r),e}function xoe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function Voe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zO(e,t)}function zoe(e,t){return t&&(Yoe(t)==="object"||typeof t=="function")?t:VO(e)}function zO(e,t){return zO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zO(e,t)}var Yoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hoe(e){var t=Goe();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zoe(this,o)}}var qoe=function(e){Voe(r,e);var t=Hoe(r);function r(n){Loe(this,r);var o;return o=t.call(this,n),xoe(VO(o),"props",void 0),o.props=new Zo(VO(o),n==null?void 0:n.props),o}return Foe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Nt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(dv),SN={Designer:rs,Runtime:qoe,Property:Zo};function Or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ei(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(e)}function Woe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YO(e,t)}function Koe(e,t){return t&&(Xoe(t)==="object"||typeof t=="function")?t:Or(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YO(e,t)}var Xoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Joe(e){var t=Qoe();return function(){var n=is(e),o;if(t){var i=is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Koe(this,o)}}var GO=function(e){Woe(r,e);var t=Joe(r);function r(n,o){Uoe(this,r);var i;i=t.call(this,n,o),ei(Or(i),"isFixedHeader",void 0),ei(Or(i),"selectionType",void 0),ei(Or(i),"isShowToolbar",void 0),ei(Or(i),"isShowSelection",void 0),ei(Or(i),"isShowCustomColumns",void 0);var c;i.isFixedHeader=(c=o==null?void 0:o.isFixedHeader)!==null&&c!==void 0?c:!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}(to);function Zoe(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 eie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(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&&HO(e,t)}function tie(e,t){return t&&(nie(t)==="object"||typeof t=="function")?t:Zoe(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HO(e,t)}var nie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CN(e){var t=rie();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tie(this,o)}}var oie=function(e){IN(r,e);var t=CN(r);function r(n){EN(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(Fi),cs=function(e){IN(r,e);var t=CN(r);function r(n){EN(this,r);var o,i,c;o=t.call(this,n);var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"left";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:wn.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var y;o.autoWidth.flex=(y=n==null||(c=n.autoWidth)===null||c===void 0?void 0:c.flex)!==null&&y!==void 0?y:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(K);eie(cs,"Rules",oie);function NN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ti(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function uie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qO(e,t)}function cie(e,t){return t&&(fie(t)==="object"||typeof t=="function")?t:NN(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qO(e,t)}var fie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lie(e){var t=aie();return function(){var n=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cie(this,o)}}var wn=function(e){uie(r,e);var t=lie(r);function r(n){iie(this,r);var o;return o=t.call(this,n),ti(NN(o),"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return r}(ne);ti(wn,"controlType","order-column"),ti(wn,"controlName","\u5E8F\u53F7"),ti(wn,"controlIcon","order-column"),ti(wn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function BN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function yie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&WO(e,t)}function vie(e,t){return t&&(pie(t)==="object"||typeof t=="function")?t:BN(e)}function WO(e,t){return WO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WO(e,t)}var pie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function die(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ie(e){var t=die();return function(){var n=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vie(this,o)}}var KO=function(e){yie(r,e);var t=_ie(r);function r(n){sie(this,r);var o;return o=t.call(this,n),UO(BN(o),"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return r}(re);UO(KO,"controlType","order-column"),UO(KO,"controlFieldType",u.FieldTypes.DECIMAL);var AN={Designer:wn,Runtime:KO,Property:cs};function XO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function bie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QO(e,t)}function Oie(e,t){return t&&(gie(t)==="object"||typeof t=="function")?t:XO(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QO(e,t)}var gie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pie(e){var t=mie();return function(){var n=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oie(this,o)}}var JO=function(e){bie(r,e);var t=Pie(r);function r(n){hie(this,r);var o,i;o=t.call(this,n),MN(XO(o),"showType",void 0),MN(XO(o),"limit",void 0);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"right",o.widthType="auto";var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:84;var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:$n.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(K);function ss(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DN(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function wie(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){DN(i,n,o,c,f,"next",a)}function f(a){DN(i,n,o,c,f,"throw",a)}c(void 0)})}}function Rie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kN(e,t){for(var r=0;r<t.length;r++){var 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&&kN(e.prototype,t),r&&kN(e,r),e}function Rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?gr=Reflect.get:gr=function(o,i,c){var f=Nie(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},gr(e,t,r||e)}function Qt(e){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qt(e)}function Tie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZO(e,t)}function Sie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Rn(e,o,r[o])})}return e}function Eie(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 Iie(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Eie(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Cie(e,t){return t&&(Bie(t)==="object"||typeof t=="function")?t:ss(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}function Nie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qt(e),e!==null););return e}var Bie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mie(e){var t=Aie();return function(){var n=Qt(e),o;if(t){var i=Qt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cie(this,o)}}var Die=function(e,t){var r,n,o,i,c={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(;c;)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 c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}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}}},$n=function(e){Tie(r,e);var t=Mie(r);function r(n){Rie(this,r);var o;return o=t.call(this,n),Rn(ss(o),"props",void 0),Rn(ss(o),"children",void 0),o.props=new JO(n==null?void 0:n.props),nt(ss(o),"children",n==null?void 0:n.children),o}return $ie(r,[{key:"toDataBindModel",value:function(){var o=gr(Qt(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Pc.controlType){var c=i;o.props[c.props.command]=c.props}}),o}},{key:"toSchema",value:function(){var o=gr(Qt(r.prototype),"toSchema",this).call(this);return Iie(Sie({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var c=this,f=this,a=function(){return gr(Qt(r.prototype),"validate",c)};return wie(function(){return Die(this,function(l){switch(l.label){case 0:return[4,a().call(f,o,i)];case 1:return l.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),r}(ne);Rn($n,"controlType","operation-column"),Rn($n,"controlName","\u64CD\u4F5C"),Rn($n,"controlIcon","operation-column"),Rn($n,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function ys(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(e)}function jie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eg(e,t)}function Lie(e,t){return t&&(Fie(t)==="object"||typeof t=="function")?t:ys(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eg(e,t)}var Fie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vie(e){var t=xie();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lie(this,o)}}var tg=function(e){jie(r,e);var t=Vie(r);function r(n){kie(this,r);var o;return o=t.call(this,n),vs(ys(o),"props",void 0),vs(ys(o),"children",void 0),o.props=new JO(n==null?void 0:n.props),nt(ys(o),"children",n==null?void 0:n.children),o}return r}(re);vs(tg,"controlType","operation-column"),vs(tg,"controlFieldType",u.FieldTypes.FILE);var jN={Designer:$n,Runtime:tg,Property:JO};function ni(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LN(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function zie(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){LN(i,n,o,c,f,"next",a)}function f(a){LN(i,n,o,c,f,"throw",a)}c(void 0)})}}function Yie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gie(e,t,r){return t&&FN(e.prototype,t),r&&FN(e,r),e}function ds(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ri(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ri=Reflect.get:ri=function(o,i,c){var f=Xie(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},ri(e,t,r||e)}function Tn(e){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tn(e)}function Hie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ng(e,t)}function qie(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){ds(e,o,r[o])})}return e}function Uie(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 Wie(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Uie(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Kie(e,t){return t&&(Qie(t)==="object"||typeof t=="function")?t:ni(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ng(e,t)}function Xie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tn(e),e!==null););return e}var Qie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zie(e){var t=Jie();return function(){var n=Tn(e),o;if(t){var i=Tn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kie(this,o)}}var eue=function(e,t){var r,n,o,i,c={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(;c;)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 c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}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}}},xN=function(e){Hie(r,e);var t=Zie(r);function r(n){Yie(this,r);var o;return o=t.call(this,n),ds(ni(o),"props",void 0),ds(ni(o),"children",void 0),o.props=new GO(ni(o),n==null?void 0:n.props),nt(ni(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new wn,new $n]),o}return Gie(r,[{key:"toSchema",value:function(){var o=ri(Tn(r.prototype),"toSchema",this).call(this),i=this.children.map(function(c){return c.toSchema()});return Wie(qie({},o),{children:i})}},{key:"validate",value:function(o,i){var c=this,f=this,a=function(){return ri(Tn(r.prototype),"validate",c)};return zie(function(){return eue(this,function(l){switch(l.label){case 0:return[4,a().call(f,o,i)];case 1:return l.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(ki);ds(xN,"setting",[{key:"list-fixed-header",visible:!0}]);function rg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nue(e,t,r){return t&&VN(e.prototype,t),r&&VN(e,r),e}function rue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function oue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&og(e,t)}function iue(e,t){return t&&(uue(t)==="object"||typeof t=="function")?t:rg(e)}function og(e,t){return og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},og(e,t)}var uue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fue(e){var t=cue();return function(){var n=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iue(this,o)}}var aue=function(e){oue(r,e);var t=fue(r);function r(n){tue(this,r);var o;return o=t.call(this,n),rue(rg(o),"props",void 0),o.props=new GO(rg(o),n==null?void 0:n.props),o}return nue(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Nt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}},{key:"getCheckboxProps",value:function(o){return{}}}],[{key:"controlType",get:function(){return"grid-table"}}]),r}(dv),zN={Designer:xN,Runtime:aue,Property:GO},lue=Object.freeze({__proto__:null,SubTable:SN,GridTable:zN});function oi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function GN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ig(e,t)}function sue(e,t){return t&&(yue(t)==="object"||typeof t=="function")?t:oi(e)}function ig(e,t){return ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ig(e,t)}var yue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HN(e){var t=vue();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sue(this,o)}}var pue=function(e){GN(r,e);var t=HN(r);function r(n){return YN(this,r),t.call(this,n)}return r}(gv),bs=function(e){GN(r,e);var t=HN(r);function r(n){YN(this,r);var o;o=t.call(this,n),ii(oi(o),"optionConfig",void 0),ii(oi(o),"datasourceBind",void 0),ii(oi(o),"options",void 0),ii(oi(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Sn.controlName;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;o.options=et((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}(K);ii(bs,"Rules",pue);function qN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function due(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function _ue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ug(e,t)}function hue(e,t){return t&&(bue(t)==="object"||typeof t=="function")?t:qN(e)}function ug(e,t){return ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ug(e,t)}var bue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gue(e){var t=Oue();return function(){var n=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hue(this,o)}}var Sn=function(e){_ue(r,e);var t=gue(r);function r(n){due(this,r);var o;return o=t.call(this,n),mr(qN(o),"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return r}(ne);mr(Sn,"controlType","varchar-column"),mr(Sn,"controlName","\u77ED\u6587\u672C"),mr(Sn,"controlIcon","varchar-column"),mr(Sn,"controlFieldType",u.FieldTypes.VARCHAR),mr(Sn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",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 UN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function Pue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fg(e,t)}function wue(e,t){return t&&(Rue(t)==="object"||typeof t=="function")?t:UN(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}var Rue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tue(e){var t=$ue();return function(){var n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wue(this,o)}}var ag=function(e){Pue(r,e);var t=Tue(r);function r(n){mue(this,r);var o;return o=t.call(this,n),cg(UN(o),"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return r}(re);cg(ag,"controlType","varchar-column"),cg(ag,"controlFieldType",u.FieldTypes.VARCHAR);var WN={Designer:Sn,Runtime:ag,Property:bs};function lg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function Eue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function Iue(e,t){return t&&(Cue(t)==="object"||typeof t=="function")?t:lg(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}var Cue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bue(e){var t=Nue();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iue(this,o)}}var yg=function(e){Eue(r,e);var t=Bue(r);function r(n){Sue(this,r);var o;o=t.call(this,n),KN(lg(o),"escapeHTML",void 0),KN(lg(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:En.controlName;var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return r}(K);function XN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mue(e,t,r){return t&&QN(e.prototype,t),r&&QN(e,r),e}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ps(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ps=Reflect.get:Ps=function(o,i,c){var f=jue(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Ps(e,t,r||e)}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function Due(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vg(e,t)}function kue(e,t){return t&&(Lue(t)==="object"||typeof t=="function")?t:XN(e)}function vg(e,t){return vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vg(e,t)}function jue(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wr(e),e!==null););return e}var Lue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xue(e){var t=Fue();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 kue(this,o)}}var En=function(e){Due(r,e);var t=xue(r);function r(n){Aue(this,r);var o;return o=t.call(this,n),Pr(XN(o),"props",void 0),o.props=new yg(n==null?void 0:n.props),o}return Mue(r,[{key:"toDataBindModel",value:function(o){var i=Ps(wr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.escapeHTML;i.props.escapeHTML=c}return i}}]),r}(ne);Pr(En,"controlType","text-column"),Pr(En,"controlName","\u957F\u6587\u672C"),Pr(En,"controlIcon","text-column"),Pr(En,"controlFieldType",u.FieldTypes.TEXT),Pr(En,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",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 JN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(e)}function zue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dg(e,t)}function Yue(e,t){return t&&(Gue(t)==="object"||typeof t=="function")?t:JN(e)}function dg(e,t){return dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dg(e,t)}var Gue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function que(e){var t=Hue();return function(){var n=ws(e),o;if(t){var i=ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yue(this,o)}}var _g=function(e){zue(r,e);var t=que(r);function r(n){Vue(this,r);var o;return o=t.call(this,n),pg(JN(o),"props",void 0),o.props=new yg(n==null?void 0:n.props),o}return r}(re);pg(_g,"controlType","text-column"),pg(_g,"controlFieldType",u.FieldTypes.TEXT);var ZN={Designer:En,Runtime:_g,Property:yg};function In(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function Wue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hg(e,t)}function Kue(e,t){return t&&(Xue(t)==="object"||typeof t=="function")?t:In(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(e,t)}var Xue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Que(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jue(e){var t=Que();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kue(this,o)}}var bg=function(e){Wue(r,e);var t=Jue(r);function r(n){Uue(this,r);var o;o=t.call(this,n),Rr(In(o),"optionConfig",void 0),Rr(In(o),"datasourceBind",void 0),Rr(In(o),"options",void 0),Rr(In(o),"precision",void 0),Rr(In(o),"micrometer",void 0),Rr(In(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Cn.controlName;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c: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 J(n==null?void 0:n.datasourceBind);var s;return o.options=et((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]),o}return r}(K);function eB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ece(e,t,r){return t&&tB(e.prototype,t),r&&tB(e,r),e}function $r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $s(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$s=Reflect.get:$s=function(o,i,c){var f=rce(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},$s(e,t,r||e)}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(e)}function tce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Og(e,t)}function nce(e,t){return t&&(oce(t)==="object"||typeof t=="function")?t:eB(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(e,t)}function rce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tr(e),e!==null););return e}var oce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ice(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uce(e){var t=ice();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 nce(this,o)}}var Cn=function(e){tce(r,e);var t=uce(r);function r(n){Zue(this,r);var o;return o=t.call(this,n),$r(eB(o),"props",void 0),o.props=new bg(n==null?void 0:n.props),o}return ece(r,[{key:"toDataBindModel",value:function(o){var i=$s(Tr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props,f=c.precision,a=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}]),r}(ne);$r(Cn,"controlType","decimal-column"),$r(Cn,"controlName","\u6570\u503C"),$r(Cn,"controlIcon","decimal-column"),$r(Cn,"controlFieldType",u.FieldTypes.DECIMAL),$r(Cn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION,u.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function nB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ts(e)}function fce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mg(e,t)}function ace(e,t){return t&&(lce(t)==="object"||typeof t=="function")?t:nB(e)}function mg(e,t){return mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mg(e,t)}var lce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yce(e){var t=sce();return function(){var n=Ts(e),o;if(t){var i=Ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ace(this,o)}}var Pg=function(e){fce(r,e);var t=yce(r);function r(n){cce(this,r);var o;return o=t.call(this,n),gg(nB(o),"props",void 0),o.props=new bg(n==null?void 0:n.props),o}return r}(re);gg(Pg,"controlType","decimal-column"),gg(Pg,"controlFieldType",u.FieldTypes.DECIMAL);var rB={Designer:Cn,Runtime:Pg,Property:bg};function oB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ss(e)}function dce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wg(e,t)}function _ce(e,t){return t&&(hce(t)==="object"||typeof t=="function")?t:oB(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}var hce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oce(e){var t=bce();return function(){var n=Ss(e),o;if(t){var i=Ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ce(this,o)}}var Rg=function(e){dce(r,e);var t=Oce(r);function r(n){vce(this,r);var o;o=t.call(this,n),pce(oB(o),"dateType",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Nn.controlName,o}return r}(K);function iB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mce(e,t,r){return t&&uB(e.prototype,t),r&&uB(e,r),e}function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Es(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Es=Reflect.get:Es=function(o,i,c){var f=Rce(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Es(e,t,r||e)}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(e)}function Pce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wce(e,t){return t&&($ce(t)==="object"||typeof t=="function")?t:iB(e)}function $g(e,t){return $g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$g(e,t)}function Rce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Er(e),e!==null););return e}var $ce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sce(e){var t=Tce();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 wce(this,o)}}var Nn=function(e){Pce(r,e);var t=Sce(r);function r(n){gce(this,r);var o;return o=t.call(this,n),Sr(iB(o),"props",void 0),o.props=new Rg(n==null?void 0:n.props),o}return mce(r,[{key:"toDataBindModel",value:function(o){var i=Es(Er(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.dateType;i.props.dateType=c}return i}}]),r}(ne);Sr(Nn,"controlType","timescope-column"),Sr(Nn,"controlName","\u65E5\u671F\u533A\u95F4"),Sr(Nn,"controlIcon","timescope-column"),Sr(Nn,"controlFieldType",u.FieldTypes.TIMESCOPE),Sr(Nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function cB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ece(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Is(e)}function Ice(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sg(e,t)}function Cce(e,t){return t&&(Nce(t)==="object"||typeof t=="function")?t:cB(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(e,t)}var Nce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ace(e){var t=Bce();return function(){var n=Is(e),o;if(t){var i=Is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cce(this,o)}}var Eg=function(e){Ice(r,e);var t=Ace(r);function r(n){Ece(this,r);var o;return o=t.call(this,n),Tg(cB(o),"props",void 0),o.props=new Rg(n==null?void 0:n.props),o}return r}(re);Tg(Eg,"controlType","timescope-column"),Tg(Eg,"controlFieldType",u.FieldTypes.TIMESCOPE);var fB={Designer:Nn,Runtime:Eg,Property:Rg};function aB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cs(e)}function kce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ig(e,t)}function jce(e,t){return t&&(Lce(t)==="object"||typeof t=="function")?t:aB(e)}function Ig(e,t){return Ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ig(e,t)}var Lce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xce(e){var t=Fce();return function(){var n=Cs(e),o;if(t){var i=Cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jce(this,o)}}var Cg=function(e){kce(r,e);var t=xce(r);function r(n){Mce(this,r);var o;o=t.call(this,n),Dce(aB(o),"dateType",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Bn.controlName,o}return r}(K);function lB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vce(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 zce(e,t,r){return t&&sB(e.prototype,t),r&&sB(e,r),e}function Ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ns(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ns=Reflect.get:Ns=function(o,i,c){var f=Hce(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Ns(e,t,r||e)}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(e)}function Yce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ng(e,t)}function Gce(e,t){return t&&(qce(t)==="object"||typeof t=="function")?t:lB(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ng(e,t)}function Hce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cr(e),e!==null););return e}var qce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wce(e){var t=Uce();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 Gce(this,o)}}var Bn=function(e){Yce(r,e);var t=Wce(r);function r(n){Vce(this,r);var o;return o=t.call(this,n),Ir(lB(o),"props",void 0),o.props=new Cg(n==null?void 0:n.props),o}return zce(r,[{key:"toDataBindModel",value:function(o){var i=Ns(Cr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.dateType;i.props.dateType=c}return i}}]),r}(ne);Ir(Bn,"controlType","timestamp-column"),Ir(Bn,"controlName","\u65E5\u671F"),Ir(Bn,"controlIcon","timestamp-column"),Ir(Bn,"controlFieldType",u.FieldTypes.TIMESTAMP),Ir(Bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function yB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bs(e)}function Xce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ag(e,t)}function Qce(e,t){return t&&(Jce(t)==="object"||typeof t=="function")?t:yB(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ag(e,t)}var Jce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function efe(e){var t=Zce();return function(){var n=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qce(this,o)}}var Mg=function(e){Xce(r,e);var t=efe(r);function r(n){Kce(this,r);var o;return o=t.call(this,n),Bg(yB(o),"props",void 0),o.props=new Cg(n==null?void 0:n.props),o}return r}(re);Bg(Mg,"controlType","timestamp-column"),Bg(Mg,"controlFieldType",u.FieldTypes.TIMESTAMP);var vB={Designer:Bn,Runtime:Mg,Property:Cg};function As(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ms(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function dB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dg(e,t)}function tfe(e,t){return t&&(nfe(t)==="object"||typeof t=="function")?t:As(e)}function Dg(e,t){return Dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dg(e,t)}var nfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=rfe();return function(){var n=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tfe(this,o)}}var ofe=function(e){dB(r,e);var t=_B(r);function r(n){return pB(this,r),t.call(this,n)}return r}(gv),ks=function(e){dB(r,e);var t=_B(r);function r(n){pB(this,r);var o;o=t.call(this,n),Ms(As(o),"optionConfig",void 0),Ms(As(o),"datasourceBind",void 0),Ms(As(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:An.controlName;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;return o.options=et((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(K);Ms(ks,"Rules",ofe);function hB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ife(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(e)}function ufe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kg(e,t)}function cfe(e,t){return t&&(ffe(t)==="object"||typeof t=="function")?t:hB(e)}function kg(e,t){return kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kg(e,t)}var ffe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function afe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lfe(e){var t=afe();return function(){var n=js(e),o;if(t){var i=js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cfe(this,o)}}var An=function(e){ufe(r,e);var t=lfe(r);function r(n){ife(this,r);var o;return o=t.call(this,n),Nr(hB(o),"props",void 0),o.props=new ks(n==null?void 0:n.props),o}return r}(ne);Nr(An,"controlType","array-column"),Nr(An,"controlName","\u6570\u7EC4"),Nr(An,"controlIcon","array-column"),Nr(An,"controlFieldType",u.FieldTypes.ARRAY),Nr(An,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function bB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(e)}function yfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lg(e,t)}function vfe(e,t){return t&&(pfe(t)==="object"||typeof t=="function")?t:bB(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}var pfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dfe();return function(){var n=Ls(e),o;if(t){var i=Ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vfe(this,o)}}var Fg=function(e){yfe(r,e);var t=_fe(r);function r(n){sfe(this,r);var o;return o=t.call(this,n),jg(bB(o),"props",void 0),o.props=new ks(n==null?void 0:n.props),o}return r}(re);jg(Fg,"controlType","array-column"),jg(Fg,"controlFieldType",u.FieldTypes.ARRAY);var OB={Designer:An,Runtime:Fg,Property:ks};function gB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bfe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function Ofe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xg(e,t)}function gfe(e,t){return t&&(mfe(t)==="object"||typeof t=="function")?t:gB(e)}function xg(e,t){return xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xg(e,t)}var mfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wfe(e){var t=Pfe();return function(){var n=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gfe(this,o)}}var Vg=function(e){Ofe(r,e);var t=wfe(r);function r(n){hfe(this,r);var o;o=t.call(this,n),bfe(gB(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mn.controlName;var c;return o.displayLevel=(c=n==null?void 0:n.displayLevel)!==null&&c!==void 0?c:1,o}return r}(K);function mB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rfe(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 $fe(e,t,r){return t&&PB(e.prototype,t),r&&PB(e,r),e}function Br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xs(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?xs=Reflect.get:xs=function(o,i,c){var f=Efe(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},xs(e,t,r||e)}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function Tfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function Sfe(e,t){return t&&(Ife(t)==="object"||typeof t=="function")?t:mB(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}function Efe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ar(e),e!==null););return e}var Ife=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nfe(e){var t=Cfe();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 Sfe(this,o)}}var Mn=function(e){Tfe(r,e);var t=Nfe(r);function r(n){Rfe(this,r);var o;return o=t.call(this,n),Br(mB(o),"props",void 0),o.props=new Vg(n==null?void 0:n.props),o}return $fe(r,[{key:"toDataBindModel",value:function(o){var i=xs(Ar(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.displayLevel;i.props.displayLevel=c}return i}}]),r}(ne);Br(Mn,"controlType","department-column"),Br(Mn,"controlName","\u90E8\u95E8"),Br(Mn,"controlIcon","department-column"),Br(Mn,"controlFieldType",u.FieldTypes.DEPARTMENTS),Br(Mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function wB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(e)}function Afe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gg(e,t)}function Mfe(e,t){return t&&(Dfe(t)==="object"||typeof t=="function")?t:wB(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gg(e,t)}var Dfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jfe(e){var t=kfe();return function(){var n=Vs(e),o;if(t){var i=Vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mfe(this,o)}}var Hg=function(e){Afe(r,e);var t=jfe(r);function r(n){Bfe(this,r);var o;return o=t.call(this,n),Yg(wB(o),"props",void 0),o.props=new Vg(n==null?void 0:n.props),o}return r}(re);Yg(Hg,"controlType","department-column"),Yg(Hg,"controlFieldType",u.FieldTypes.DEPARTMENTS);var RB={Designer:Mn,Runtime:Hg,Property:Vg};function Lfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ffe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zs(e){return zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zs(e)}function xfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qg(e,t)}function Vfe(e,t){return t&&(zfe(t)==="object"||typeof t=="function")?t:Lfe(e)}function qg(e,t){return qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qg(e,t)}var zfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gfe(e){var t=Yfe();return function(){var n=zs(e),o;if(t){var i=zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vfe(this,o)}}var Ug=function(e){xfe(r,e);var t=Gfe(r);function r(n){Ffe(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:Dn.controlName,o}return r}(K);function $B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ys(e)}function qfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wg(e,t)}function Ufe(e,t){return t&&(Wfe(t)==="object"||typeof t=="function")?t:$B(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wg(e,t)}var Wfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xfe(e){var t=Kfe();return function(){var n=Ys(e),o;if(t){var i=Ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ufe(this,o)}}var Dn=function(e){qfe(r,e);var t=Xfe(r);function r(n){Hfe(this,r);var o;return o=t.call(this,n),Mr($B(o),"props",void 0),o.props=new Ug(n==null?void 0:n.props),o}return r}(ne);Mr(Dn,"controlType","auto-number-column"),Mr(Dn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Mr(Dn,"controlIcon","auto-number-column"),Mr(Dn,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Mr(Dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function TB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gs(e)}function Jfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xg(e,t)}function Zfe(e,t){return t&&(eae(t)==="object"||typeof t=="function")?t:TB(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xg(e,t)}var eae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nae(e){var t=tae();return function(){var n=Gs(e),o;if(t){var i=Gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zfe(this,o)}}var Qg=function(e){Jfe(r,e);var t=nae(r);function r(n){Qfe(this,r);var o;return o=t.call(this,n),Kg(TB(o),"props",void 0),o.props=new Ug(n==null?void 0:n.props),o}return r}(re);Kg(Qg,"controlType","auto-number-column"),Kg(Qg,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var SB={Designer:Dn,Runtime:Qg,Property:Ug};function rae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(e)}function iae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jg(e,t)}function uae(e,t){return t&&(cae(t)==="object"||typeof t=="function")?t:rae(e)}function Jg(e,t){return Jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jg(e,t)}var cae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aae(e){var t=fae();return function(){var n=Hs(e),o;if(t){var i=Hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uae(this,o)}}var Zg=function(e){iae(r,e);var t=aae(r);function r(n){oae(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:kn.controlName,o}return r}(K);function EB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(e)}function sae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&em(e,t)}function yae(e,t){return t&&(vae(t)==="object"||typeof t=="function")?t:EB(e)}function em(e,t){return em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},em(e,t)}var vae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dae(e){var t=pae();return function(){var n=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yae(this,o)}}var kn=function(e){sae(r,e);var t=dae(r);function r(n){lae(this,r);var o;return o=t.call(this,n),Dr(EB(o),"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return r}(ne);Dr(kn,"controlType","file-column"),Dr(kn,"controlName","\u9644\u4EF6"),Dr(kn,"controlIcon","file-column"),Dr(kn,"controlFieldType",u.FieldTypes.FILE),Dr(kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function IB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Us(e)}function hae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nm(e,t)}function bae(e,t){return t&&(Oae(t)==="object"||typeof t=="function")?t:IB(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nm(e,t)}var Oae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mae(e){var t=gae();return function(){var n=Us(e),o;if(t){var i=Us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bae(this,o)}}var rm=function(e){hae(r,e);var t=mae(r);function r(n){_ae(this,r);var o;return o=t.call(this,n),tm(IB(o),"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return r}(re);tm(rm,"controlType","file-column"),tm(rm,"controlFieldType",u.FieldTypes.FILE);var CB={Designer:kn,Runtime:rm,Property:Zg};function Pae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function Rae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&om(e,t)}function $ae(e,t){return t&&(Tae(t)==="object"||typeof t=="function")?t:Pae(e)}function om(e,t){return om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},om(e,t)}var Tae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eae(e){var t=Sae();return function(){var n=Ws(e),o;if(t){var i=Ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ae(this,o)}}var im=function(e){Rae(r,e);var t=Eae(r);function r(n){wae(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:jn.controlName,o}return r}(K);function NB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ks(e)}function Cae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&um(e,t)}function Nae(e,t){return t&&(Bae(t)==="object"||typeof t=="function")?t:NB(e)}function um(e,t){return um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},um(e,t)}var Bae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mae(e){var t=Aae();return function(){var n=Ks(e),o;if(t){var i=Ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nae(this,o)}}var jn=function(e){Cae(r,e);var t=Mae(r);function r(n){Iae(this,r);var o;return o=t.call(this,n),kr(NB(o),"props",void 0),o.props=new im(n==null?void 0:n.props),o}return r}(ne);kr(jn,"controlType","image-column"),kr(jn,"controlName","\u56FE\u7247"),kr(jn,"controlIcon","image-column"),kr(jn,"controlFieldType",u.FieldTypes.IMAGE),kr(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",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 Dae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(e)}function kae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fm(e,t)}function jae(e,t){return t&&(Lae(t)==="object"||typeof t=="function")?t:BB(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}var Lae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xae(e){var t=Fae();return function(){var n=Xs(e),o;if(t){var i=Xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jae(this,o)}}var am=function(e){kae(r,e);var t=xae(r);function r(n){Dae(this,r);var o;return o=t.call(this,n),cm(BB(o),"props",void 0),o.props=new im(n==null?void 0:n.props),o}return r}(re);cm(am,"controlType","image-column"),cm(am,"controlFieldType",u.FieldTypes.IMAGE);var AB={Designer:jn,Runtime:am,Property:im};function Vae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qs(e)}function Yae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lm(e,t)}function Gae(e,t){return t&&(Hae(t)==="object"||typeof t=="function")?t:Vae(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lm(e,t)}var Hae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uae(e){var t=qae();return function(){var n=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gae(this,o)}}var sm=function(e){Yae(r,e);var t=Uae(r);function r(n){zae(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:Ln.controlName,o}return r}(K);function MB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Js(e){return Js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Js(e)}function Kae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ym(e,t)}function Xae(e,t){return t&&(Qae(t)==="object"||typeof t=="function")?t:MB(e)}function ym(e,t){return ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ym(e,t)}var Qae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zae(e){var t=Jae();return function(){var n=Js(e),o;if(t){var i=Js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xae(this,o)}}var Ln=function(e){Kae(r,e);var t=Zae(r);function r(n){Wae(this,r);var o;return o=t.call(this,n),jr(MB(o),"props",void 0),o.props=new sm(n==null?void 0:n.props),o}return r}(ne);jr(Ln,"controlType","people-column"),jr(Ln,"controlName","\u4EBA\u5458"),jr(Ln,"controlIcon","people-column"),jr(Ln,"controlFieldType",u.FieldTypes.EMPLOYEES),jr(Ln,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function DB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ele(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zs(e)}function tle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pm(e,t)}function nle(e,t){return t&&(rle(t)==="object"||typeof t=="function")?t:DB(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}var rle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ole(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ile(e){var t=ole();return function(){var n=Zs(e),o;if(t){var i=Zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nle(this,o)}}var dm=function(e){tle(r,e);var t=ile(r);function r(n){ele(this,r);var o;return o=t.call(this,n),vm(DB(o),"props",void 0),o.props=new sm(n==null?void 0:n.props),o}return r}(re);vm(dm,"controlType","people-column"),vm(dm,"controlFieldType",u.FieldTypes.EMPLOYEES);var kB={Designer:Ln,Runtime:dm,Property:sm};function ule(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function fle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ale(e,t){return t&&(lle(t)==="object"||typeof t=="function")?t:ule(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}var lle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yle(e){var t=sle();return function(){var n=ey(e),o;if(t){var i=ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ale(this,o)}}var hm=function(e){fle(r,e);var t=yle(r);function r(n){cle(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:Fn.controlName,o}return r}(K);function jB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function ple(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bm(e,t)}function dle(e,t){return t&&(_le(t)==="object"||typeof t=="function")?t:jB(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(e,t)}var _le=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ble(e){var t=hle();return function(){var n=ty(e),o;if(t){var i=ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dle(this,o)}}var Fn=function(e){ple(r,e);var t=ble(r);function r(n){vle(this,r);var o;return o=t.call(this,n),Lr(jB(o),"props",void 0),o.props=new hm(n==null?void 0:n.props),o}return r}(ne);Lr(Fn,"controlType","location-column"),Lr(Fn,"controlName","\u5730\u5740"),Lr(Fn,"controlIcon","location-column"),Lr(Fn,"controlFieldType",u.FieldTypes.ADDRESS),Lr(Fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function LB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ole(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ny(e)}function gle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gm(e,t)}function mle(e,t){return t&&(Ple(t)==="object"||typeof t=="function")?t:LB(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}var Ple=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rle(e){var t=wle();return function(){var n=ny(e),o;if(t){var i=ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mle(this,o)}}var mm=function(e){gle(r,e);var t=Rle(r);function r(n){Ole(this,r);var o;return o=t.call(this,n),Om(LB(o),"props",void 0),o.props=new hm(n==null?void 0:n.props),o}return r}(re);Om(mm,"controlType","location-column"),Om(mm,"controlFieldType",u.FieldTypes.ADDRESS);var FB={Designer:Fn,Runtime:mm,Property:hm};function xB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tle(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(e)}function Sle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pm(e,t)}function Ele(e,t){return t&&(Ile(t)==="object"||typeof t=="function")?t:xB(e)}function Pm(e,t){return Pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pm(e,t)}var Ile=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nle(e){var t=Cle();return function(){var n=ry(e),o;if(t){var i=ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ele(this,o)}}var wm=function(e){Sle(r,e);var t=Nle(r);function r(n){$le(this,r);var o;o=t.call(this,n),Tle(xB(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jt.controlName;var c;return o.fieldCodeList=(c=n==null?void 0:n.fieldCodeList)!==null&&c!==void 0?c:[],o}return r}(K);function Fr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ble(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 Ale(e,t,r){return t&&VB(e.prototype,t),r&&VB(e,r),e}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ui(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ui=Reflect.get:ui=function(o,i,c){var f=xle(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},ui(e,t,r||e)}function xn(e){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xn(e)}function Mle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rm(e,t)}function Dle(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function kle(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){Ze(e,o,r[o])})}return e}function jle(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 Lle(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jle(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Fle(e,t){return t&&(Vle(t)==="object"||typeof t=="function")?t:Fr(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rm(e,t)}function xle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=xn(e),e!==null););return e}var Vle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yle(e){var t=zle();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 Fle(this,o)}}var Gle=1,Jt=function(t){Mle(n,t);var r=Yle(n);function n(o){Ble(this,n);var i;i=r.call(this,o),Ze(Fr(i),"excludes",void 0),Ze(Fr(i),"childrenMaxLength",void 0),Ze(Fr(i),"props",void 0),Ze(Fr(i),"children",void 0);var c=Dle(this,n)?this.constructor:void 0,f=c.excludes,a=c.childrenMaxLength;return i.props=new wm(o==null?void 0:o.props),nt(Fr(i),"children",o==null?void 0:o.children),i.excludes=vt(f),i.childrenMaxLength=a,i}return Ale(n,[{key:"judgeJoinChildren",value:function(i){var c=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return c&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var c=ui(xn(n.prototype),"toDataBindModel",this).call(this,i);if(c){var f=this.props.fieldCodeList;c.props.fieldCodeList=f}return c}},{key:"toSchema",value:function(){var i=ui(xn(n.prototype),"toSchema",this).call(this);return Lle(kle({},i),{children:this.children.map(function(c){return c.toSchema()})})}}]),n}(ne);Ze(Jt,"controlType","custom-column"),Ze(Jt,"controlName","\u81EA\u5B9A\u4E49"),Ze(Jt,"controlIcon","custom-column"),Ze(Jt,"excludes",[]),Ze(Jt,"childrenMaxLength",Gle),Ze(Jt,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function oy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(e)}function qle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tm(e,t)}function Ule(e,t){return t&&(Wle(t)==="object"||typeof t=="function")?t:oy(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}var Wle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xle(e){var t=Kle();return function(){var n=iy(e),o;if(t){var i=iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ule(this,o)}}var zB=function(e){qle(r,e);var t=Xle(r);function r(n){Hle(this,r);var o;return o=t.call(this,n),$m(oy(o),"props",void 0),$m(oy(o),"children",void 0),o.props=new wm(n==null?void 0:n.props),nt(oy(o),"children",n==null?void 0:n.children),o}return r}(re);$m(zB,"controlType","custom-column");var YB={Designer:Jt,Runtime:zB,Property:wm};function GB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jle(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uy(e){return uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uy(e)}function Zle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sm(e,t)}function ese(e,t){return t&&(tse(t)==="object"||typeof t=="function")?t:GB(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(e,t)}var tse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rse(e){var t=nse();return function(){var n=uy(e),o;if(t){var i=uy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ese(this,o)}}var Em=function(e){Zle(r,e);var t=rse(r);function r(n){Qle(this,r);var o;o=t.call(this,n),Jle(GB(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Zt.controlName;var c;return o.datasourceBind=new Kr((c=n==null?void 0:n.datasourceBind)!==null&&c!==void 0?c:{attributes:Zt.controlCustomAttributes}),o}return r}(K);function HB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ose(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ise(e,t,r){return t&&qB(e.prototype,t),r&&qB(e,r),e}function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function use(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Im(e,t)}function cse(e,t){return t&&(fse(t)==="object"||typeof t=="function")?t:HB(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}var fse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ase(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lse(e){var t=ase();return function(){var n=cy(e),o;if(t){var i=cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cse(this,o)}}var Zt=function(e){use(r,e);var t=lse(r);function r(n){ose(this,r);var o;return o=t.call(this,n),xr(HB(o),"props",void 0),o.props=new Em(n==null?void 0:n.props),o}return ise(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ne);xr(Zt,"controlType","employee-column"),xr(Zt,"controlName","\u4EBA\u5458"),xr(Zt,"controlIcon","employee-column"),xr(Zt,"controlFieldType",u.FieldTypes.EMPLOYEES),xr(Zt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function UB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fy(e){return fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fy(e)}function yse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nm(e,t)}function vse(e,t){return t&&(pse(t)==="object"||typeof t=="function")?t:UB(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nm(e,t)}var pse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _se(e){var t=dse();return function(){var n=fy(e),o;if(t){var i=fy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vse(this,o)}}var Bm=function(e){yse(r,e);var t=_se(r);function r(n){sse(this,r);var o;return o=t.call(this,n),Cm(UB(o),"props",void 0),o.props=new Em(n==null?void 0:n.props),o}return r}(re);Cm(Bm,"controlType","employee-column"),Cm(Bm,"controlFieldType",u.FieldTypes.EMPLOYEES);var WB={Designer:Zt,Runtime:Bm,Property:Em},hse=Object.freeze({__proto__:null,VarcharColumn:WN,TextColumn:ZN,DecimalColumn:rB,TimescopeColumn:fB,TimestampColumn:vB,ArrayColumn:OB,DepartmentColumn:RB,AutoNumberColumn:SB,FileColumn:CB,ImageColumn:AB,PeopleColumn:kB,LocationColumn:FB,CustomColumn:YB,OrderColumn:AN,OperationColumn:jN,EmployeeColumn:WB});function en(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 tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(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&&Am(e,t)}function bse(e,t){return t&&(Ose(t)==="object"||typeof t=="function")?t:en(e)}function Am(e,t){return Am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Am(e,t)}var Ose=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QB(e){var t=gse();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bse(this,o)}}var mse=function(e){XB(r,e);var t=QB(r);function r(n){KB(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Bt),ly=function(e){XB(r,e);var t=QB(r);function r(n){KB(this,r);var o;o=t.call(this,n),tn(en(o),"search",void 0),tn(en(o),"cancel",void 0),tn(en(o),"labelPosition",void 0),tn(en(o),"viewType",void 0),tn(en(o),"isLoading",void 0),tn(en(o),"custom",void 0),tn(en(o),"queryTypeMap",void 0);var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var f;o.search=new pt((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new pt((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(p){return new pt(p)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return r}(Yi);tn(ly,"RuntimeRules",mse);function JB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sy(e){return sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sy(e)}function wse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dm(e,t)}function Rse(e,t){return t&&($se(t)==="object"||typeof t=="function")?t:JB(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(e,t)}var $se=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sse(e){var t=Tse();return function(){var n=sy(e),o;if(t){var i=sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rse(this,o)}}var km=function(e){wse(r,e);var t=Sse(r);function r(n){Pse(this,r);var o;return o=t.call(this,n),Mm(JB(o),"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return r}(mP);Mm(km,"controlType","simple-search"),Mm(km,"setting",[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function jm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ese(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yy(e){return yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yy(e)}function Ise(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function Cse(e,t){return t&&(Nse(t)==="object"||typeof t=="function")?t:jm(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}var Nse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ase(e){var t=Bse();return function(){var n=yy(e),o;if(t){var i=yy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cse(this,o)}}var ZB=function(e){Ise(r,e);var t=Ase(r);function r(n){Ese(this,r);var o;o=t.call(this,n),Lm(jm(o),"props",void 0),Lm(jm(o),"children",void 0),o.props=new ly(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}(wP);Lm(ZB,"controlType","simple-search");var e1={Designer:km,Runtime:ZB,Property:ly},Mse=Object.freeze({__proto__:null,SimpleSearch:e1});function xm(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 Dse(e){if(Array.isArray(e))return e}function kse(e){if(Array.isArray(e))return xm(e)}function jse(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lse(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,c,f;try{for(r=r.call(e);!(o=(c=r.next()).done)&&(n.push(c.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 Fse(){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 xse(){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 Vse(e,t){return Dse(e)||Lse(e,t)||n1(e,t)||Fse()}function t1(e){return kse(e)||jse(e)||n1(e)||xse()}function n1(e,t){if(!!e){if(typeof e=="string")return xm(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 xm(e,t)}}var zse=function(e,t){var r=Array.isArray(e),n=r?e:[e];eye(t==null?void 0:t.events),Wse(n),Kse(n);var o=Use(n),i=Xse(o,t),c=fn(ge(i,function(f){return qse(f,t)}));return r?c:c[0]},Yse=[u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT,u.CONTROL_TYPE.TITLE,u.CONTROL_TYPE.LINK,u.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],Gse=["subtable","grid-table"],Hse=["simple-search"];function qse(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":Yse.includes(i.type)?i.controlType="base":i.controlType="form",Gse.includes(i.type)&&(i.controlType="list"),Hse.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),le(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),le(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),le(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 c;i.type="attachment",i.props.attachmentAccept=(c=e.attachment_format)===null||c===void 0?void 0:c.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"&&(le(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(le(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($,E){var L=new zb.Designer;L.props.caption=le($.field_name)?$.field_name.zh:$.field_name;var Me=L.toSchema();Me.id=$.header_id;var fe=i.children[0].children[E].children[0];return fe&&(Me.children=[fe]),Me}),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($){$.label=le($.text)?$.text.zh:$.text,$.id=$.id||$.opt_id||$.optId||$.data_id}),i=e),e.type==="grid-row"){var y=24/i.children.length;i.children=i.children.map(function($){var E=new Ka.Designer;E.props.span=y;var L=E.toSchema();return L.children.push($),L})}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 p=i==null?void 0:i.children[0],h=i==null?void 0:i.children[1],O={};p&&(r1(i,t),O.result=p.props.data_bind,i.id=p.id,i.props=p.props,i.props.script_src=p.props.script_src,i.props.script_echo=p.props.script_echo,i.props.precision=p.props.precision,i.props.micrometer=p.props.is_show_money,i.props.showUpperCase=p.props.is_show_chn),h&&(O.unit=h.props.data_bind,i.props.default_value={unit:h.props.value}),i.props.dataBind=O,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var b=i==null?void 0:i.children[0],g=i==null?void 0:i.children[1],v={},m={};b&&(r1(i,t),i.id=b.id,v.amount=b.props.data_bind,i.props.range_min=cn(b.props.range_min),i.props.range_max=cn(b.props.range_max),m.amount=cn(b.props.value),i.props.required=b.props.required,i.props.is_hide=b.props.is_hide,i.props.default_state=b.props.default_state,i.props.caption=le(b.props.caption)?b.props.caption.zh:b.props.caption,i.props.is_hide_caption=b.props.is_hide_caption,i.props.showUpperCase=b.props.is_show_chn),g&&(v.currency=g.props.data_bind,m.currency=g.props.value,i.props.datasourceBind=g.props.datasource_bind,i.props.options=g.props.options.map(function($){return{label:$.text,value:$.value}})),i.props.dataBind=v,i.props.defaultValue=m,delete i.children}if(e.type==="date-range"){i.controlType="form";var w=i==null?void 0:i.children[0],P=i==null?void 0:i.children[1];i.props.placeholderStart=le(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=le(e.props.caption)?e.props.caption.zh:e.props.caption;var S={};w&&(S.min=w.props.data_bind),P&&(S.max=P.props.data_bind),i.props.dataBind=S,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=le(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=cn(e.props.range_min),i.props.range_max=cn(e.props.range_max),i.props.defaultValue=cn(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"),tye(i,t==null?void 0:t.control_events),i}function r1(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,c=e.id,f=e.children[0].id;n.forEach(function(a){a.id===c&&(a.id=f);var l=a.show_controls.findIndex(function(y){return y===c}),s=a.hide_controls.findIndex(function(y){return y===c});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===c&&(a.id=f)})}}function Use(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new gO.Designer,n=r.toSchema();return n.children=e,[n]}function Wse(e){e.forEach(function(t){t.children&&Zse(t.children)})}function Kse(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,c=r[n],f=(o=r[n])===null||o===void 0||(i=o.children)===null||i===void 0?void 0:i[0];c.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&r.splice(n,1,f)}})}function Xse(e,t){var r,n,o,i,c;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=Vse(l,3),y=s[0],p=s[1],h=s[2];Qse(y),h.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,Jse(h,p);var O,b=(O=a==null||(n=a.source_config)===null||n===void 0?void 0:n.data_code)!==null&&O!==void 0?O:t==null?void 0:t.dataCode,g,v=((g=a==null||(o=a.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&g!==void 0?g:b)?"".concat(b,"_selectMore"):void 0,m,w=(m=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&m!==void 0?m:[],P=new _O.Designer;P.props.datasourceBind=new J({dataCode:b,svcCode:v,orders:o0(w)}),P.props.isShowSubList=a.is_show_sublist,P.props.triggerType=a.timing_type,P.props.triggerFieldCode=a.ctrl_field_code,a==null||(c=a.sublist_page)===null||c===void 0||c.sublists.forEach(function($){$.title=le($.title)?$.title.zh:$.title}),P.props.sublistPage=a.sublist_page;var S=P.toSchema();return S.children.push(y,h),[S]}function Qse(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=le(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 Jse(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:le(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=le(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 c;n.props.edit=(c=r.edit)!==null&&c!==void 0?c:{},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 J({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 Zse(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 eye(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 tye(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var c;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(c=t[e.id][i]).push.apply(c,t1(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,t1(t[e.id].on_blur))}}}var nye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=fn(ge(n,function(i){return rye(i)}));return r?o:o[0]};function rye(e,t){if(e.type===u.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===u.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new ke({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var oye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=fn(ge(n,function(i){return iye(i)}));return r?o:o[0]};function iye(e,t){return[u.CONTROL_TYPE.BUTTON,u.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,u.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,u.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_LIST_BUTTON,u.CONTROL_TYPE.FORM_SELECT_BUTTON,u.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===u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===u.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var uye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=fn(ge(n,function(i){return cye(i)}));return r?o:o[0]};function cye(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 fye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=fn(ge(n,function(i){return lye(i)}));return r?o:o[0]},aye=[u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.CARD_GROUP];function lye(e,t){return e.type===u.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(aye.includes(r.type))return r;var n=new Ab.Designer,o=new Ka.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var sye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=fn(ge(n,function(i){return yye(i)}));return r?o:o[0]};function yye(e,t){return e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var vye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ge(n,function(i){return pye(i)});return r?o:o[0]};function pye(e,t){return e.type===u.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ge(n,function(i){return _ye(i)});return r?o:o[0]};function nn(e,t){e.field_code&&(e.field_type=t)}function _ye(e,t){var r,n=(r={},Y(r,u.CONTROL_TYPE.TITLE,u.FieldTypes.AUTO_NUMBER),Y(r,u.CONTROL_TYPE.ADDRESS,u.FieldTypes.ADDRESS),Y(r,u.CONTROL_TYPE.ATTACHMENT,u.FieldTypes.FILE),Y(r,u.CONTROL_TYPE.AUTO_NUMBER,u.FieldTypes.AUTO_NUMBER),Y(r,u.CONTROL_TYPE.CHECKBOX,u.FieldTypes.ARRAY),Y(r,u.CONTROL_TYPE.DATE_PICKER,u.FieldTypes.TIMESTAMP),Y(r,u.CONTROL_TYPE.DEPARTMENT,u.FieldTypes.DEPARTMENTS),Y(r,u.CONTROL_TYPE.EMPLOYEE,u.FieldTypes.EMPLOYEES),Y(r,u.CONTROL_TYPE.EMPLOYEE2,u.FieldTypes.EMPLOYEES),Y(r,u.CONTROL_TYPE.IMAGE,u.FieldTypes.IMAGE),Y(r,u.CONTROL_TYPE.INPUT,u.FieldTypes.VARCHAR),Y(r,u.CONTROL_TYPE.NUMBER,u.FieldTypes.DECIMAL),Y(r,u.CONTROL_TYPE.RADIO,u.FieldTypes.VARCHAR),Y(r,u.CONTROL_TYPE.RICH_TEXT,u.FieldTypes.TEXT),Y(r,u.CONTROL_TYPE.SCORE,u.FieldTypes.DECIMAL),Y(r,u.CONTROL_TYPE.SELECT,u.FieldTypes.VARCHAR),Y(r,u.CONTROL_TYPE.SELECT_MULTIPLE,u.FieldTypes.ARRAY),Y(r,u.CONTROL_TYPE.SELECT_RELATION,u.FieldTypes.VARCHAR),Y(r,u.CONTROL_TYPE.TEXTAREA,u.FieldTypes.TEXT),Y(r,u.CONTROL_TYPE.TREE,u.FieldTypes.ARRAY),Y(r,u.CONTROL_TYPE.SEARCH_DATE_RANGE,u.FieldTypes.ARRAY),Y(r,u.CONTROL_TYPE.SEARCH_INPUT,u.FieldTypes.VARCHAR),Y(r,u.CONTROL_TYPE.SEARCH_NUMBER_RANGE,u.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&nn(e.props.data_bind,n[e.type]),e.type===u.CONTROL_TYPE.AMOUNT&&(nn(e.props.data_bind.amount,u.FieldTypes.DECIMAL),nn(e.props.data_bind.currency,u.FieldTypes.VARCHAR)),e.type===u.CONTROL_TYPE.CALC&&(nn(e.props.data_bind.result,u.FieldTypes.DECIMAL),nn(e.props.data_bind.unit,u.FieldTypes.VARCHAR)),e.type===u.CONTROL_TYPE.DATE_RANGE&&(nn(e.props.data_bind.min,u.FieldTypes.TIMESTAMP),nn(e.props.data_bind.max,u.FieldTypes.TIMESTAMP)),e.type===u.CONTROL_TYPE.VUE_FORM_ITEM){var o;nn(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:u.FieldTypes.ANY)}return e}var hye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ge(n,function(i){return bye(i)});return r?o:o[0]};function bye(e,t){return e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var Oye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ge(n,function(i){return gye(i)});return r?o:o[0]};function gye(e,t){return e.type===u.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;[u.FieldTypes.VARCHAR,u.FieldTypes.TEXT,u.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 mye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ge(n,function(i){return Pye(i)});return r?o:o[0]};function Pye(e,t){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var wye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ge(n,function(i){return Rye(i)});return r?o:o[0]};function Rye(e,t){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var $ye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ge(n,function(i){return Tye(i)});return r?o:o[0]};function Tye(e,t){return e.type===u.CONTROL_TYPE.TITLE&&e.props.config.push(u.TitleConfigEnum.ShowTitle),e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===u.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var c;if(r.children=(c=r==null?void 0:r.children)!==null&&c!==void 0?c:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var f,a,l,s,y,p,h=new bo.Designer;Object.defineProperty(h,"id",{value:"listPageCheckBtnId"}),h.props.code="view",h.props.icon="iconliulan1",h.props.command="view",h.props.content=(f=r.props)===null||f===void 0?void 0:f.check.content,h.props.priorityProcess=(a=r.props)===null||a===void 0?void 0:a.check.priority_process,h.props.openType=(l=r.props)===null||l===void 0?void 0:l.check.open_type,h.props.formKey=(s=r.props)===null||s===void 0?void 0:s.check.form_key,!((y=r.props)===null||y===void 0)&&y.check.is_show&&r.children.push(h.toSchema()),(p=r.props)===null||p===void 0||delete p.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var O,b,g,v,m,w,P=new bo.Designer;Object.defineProperty(P,"id",{value:"listPageEditBtnId"}),P.props.code="edit",P.props.icon="iconbianji1",P.props.command="edit",P.props.content=(O=r.props)===null||O===void 0?void 0:O.edit.content,P.props.priorityProcess=(b=r.props)===null||b===void 0?void 0:b.edit.priority_process,P.props.openType=(g=r.props)===null||g===void 0?void 0:g.edit.open_type,P.props.formKey=(v=r.props)===null||v===void 0?void 0:v.edit.form_key,!((m=r.props)===null||m===void 0)&&m.edit.is_show&&r.children.push(P.toSchema()),(w=r.props)===null||w===void 0||delete w.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var S,$,E,L,Me,fe,ae=new bo.Designer;Object.defineProperty(ae,"id",{value:"listPageDeleteBtnId"}),ae.props.code="delete",ae.props.icon="iconlajitong",ae.props.command="delete",ae.props.content=(S=r.props)===null||S===void 0?void 0:S.delete.content,ae.props.priorityProcess=($=r.props)===null||$===void 0?void 0:$.delete.priority_process,ae.props.openType=(E=r.props)===null||E===void 0?void 0:E.delete.open_type,ae.props.formKey=(L=r.props)===null||L===void 0?void 0:L.delete.form_key,ae.props.needConfirm=!0,ae.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((Me=r.props)===null||Me===void 0)&&Me.delete.is_show&&r.children.push(ae.toSchema()),(fe=r.props)===null||fe===void 0||delete fe.delete}}}),[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var o1={"v1.0":zse,"v2.0":nye,"v2.1":oye,"v2.2":uye,"v2.3":fye,"v2.4":sye,"v2.5":vye,"v2.6":dye,"v2.7":hye,"v2.8":Oye,"v2.9":mye,"v2.10":wye,"v3.0":$ye,"v3.1":function(){}};const i1=(e,t)=>{const r=u1(e),n=u1(t),o=r.pop(),i=n.pop(),c=a1(r,n);return c!==0?c:o&&i?a1(o.split("."),i.split(".")):o||i?o?-1:1:0},vy=(e,t,r)=>{Cye(r);const n=i1(e,t);return l1[r].includes(n)},Sye=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,u1=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Sye);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},c1=e=>e==="*"||e==="x"||e==="X",f1=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Eye=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Iye=(e,t)=>{if(c1(e)||c1(t))return 0;const[r,n]=Eye(f1(e),f1(t));return r>n?1:r<n?-1:0},a1=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Iye(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},l1={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},s1=Object.keys(l1),Cye=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(s1.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${s1.join("|")}`)};function Nye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bye(e,t,r){return t&&y1(e.prototype,t),r&&y1(e,r),e}function v1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vm(e){return e.replace(/^v/,"")}var Vr=Object.keys(o1).map(function(e){return Vm(e)}).sort(i1),ci=Vr[Vr.length-1],Aye=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ci;Nye(this,e),v1(this,"toVersion",void 0),v1(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,vy(r,ci,">")?Nt("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(ci)):(!Vr.includes(Vm(r))||!Vr.includes(Vm(t)))&&Nt("Version Builder: Please give me a valid version number, The valid version is: ".concat(Vr.join(","),", But give me a ").concat(t))}return Bye(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(vy(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(c,f,a,l){var s,y=(s=l[a+1])!==null&&s!==void 0?s:o.toVersion;Wr("Version Builder: current version: ".concat(f,", nextVersion: ").concat(y));var p=o1[f],h=c;if(typeof p=="function"){var O=p(c,n);O&&(h=O)}return h},r);return Wr("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return Vr.filter(function(n){return vy(n,r.schemaVersion,">=")&&vy(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return ci}}],[{key:"version",get:function(){return ci}}]),e}();const py=[],zm={exports:{}};let Ym=!1;const Mye=window.module,Dye=window.exports,kye=window.require;function jye(e){return Ym||(window.module=zm,window.exports=zm.exports,window.require=function(t){return e[t]},Ym=!0),function(){window.module=Mye,window.exports=Dye,window.require=kye,Ym=!1}}function Lye(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),c=jye(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const a=py.findIndex(l=>l===r);py.splice(a,1),py.length===0&&c()};i.onerror=function(a){f(),o(a)},i.onload=function(){n(zm.exports),f()},document.head.appendChild(i)});return py.push(r),r}function Gm(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 p1(e,t,r={fetch:Gm}){return new Promise((n,o)=>{const i=e.replace(/^(https?:)?\/\/.*?\/component/,"/component");r.fetch(i).then(c=>{const f={exports:{}};new Function("module","exports","require",c)(f,f.exports,function(a){return t[a]}),n(f.exports)}).catch(c=>{o(c)})})}function dy(e,t){return p1(e,t)}function Fye(e,t){return fi(this,null,function*(){return yield Promise.all(e.map(r=>dy(r,t)))})}function _y(e,t,r){let n;t==="runtime"?n=class extends W{constructor(a){super(a),this.props={}}static get controlType(){return e}}:n=class extends k{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends U{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="iconfont iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:f=>f}}function xye(e,t,r,n){return fi(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>fi(this,null,function*(){let c=!0,f;try{c=!0;let a="";n.type==="runtime"?a=i.runtime:a=i.designer,a+="?v="+i.version,f=yield dy(a,r)}catch(a){c=!1,on("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,a),f=_y(i.id,n.type,n.tipMessage)}if(c){let a="";if(n.type==="runtime"&&i.runtimecss!==void 0){const l=new RegExp(i.id+"-runtime-.*?$");a=i.runtime.replace(l,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const l=new RegExp(i.id+"-designer-.*?$");a=i.designer.replace(l,i.designercss)}if(a!==""){const l=document.createElement("link");l.href=a,l.rel="stylesheet",document.head.appendChild(l)}}d1(n.type,f,o,c,i)}))),e==null||e.map(i=>{const[c,f]=i.split(":");if(o.has(c)===!1){const l=_y(c,n.type,n.tipMessage);d1(n.type,l,o,!1,{fieldType:"",id:c,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function d1(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&on(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&on(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function Vye(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(c=>{const[f,a]=c.split(":");o.props.id===f&&(i=a!=null?a:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function zye(e,t){return fi(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield Gm(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const c=yield dy(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(f=>{let a=c.find(l=>t.type==="runtime"?l.Runtime.controlType===f.id:l.Designer.controlType===f.id);a===void 0&&(a=_y(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})}u.Address=YS,u.AddressValue=B0,u.AdvancedContainer=bN,u.Amount=TS,u.AmountDataBind=E0,u.AmountValue=I0,u.ArrayColumn=OB,u.Attachment=dS,u.AutoNumber=cE,u.AutoNumberColumn=SB,u.AutoWidth=By,u.BaseControlProperty=C,u.BaseControlPropertyRules=se,u.BaseControlPropertyRuntimeRules=z,u.BaseStyle=k0,u.BatchDeleteButton=E$,u.BatchPrintListButton=s$,u.BatchPrintRecordListButton=_$,u.BatchSubmissionListButton=$w,u.Button=zP,u.Calc=pE,u.CalcDataBind=A0,u.CalcScriptEchoItem=QM,u.CalcValue=M0,u.CardGroup=_C,u.Checkbox=z$,u.Col=Ka,u.ColumnControlProperty=K,u.ColumnControlPropertyRules=Fi,u.ColumnOptionAndDataSourcePropertyRules=gv,u.CreateFormListButton=hw,u.CustomAttributeItem=R0,u.CustomColumn=YB,u.CustomPermissionItem=J2,u.DEFAULT_LOCALE=Hm,u.Dashboard=NR,u.DataBind=ke,u.DataSourceBind=J,u.DataSourceDataSetValue=w0,u.DataSourceOrderItem=Dy,u.DataSourceParamItem=K2,u.DataStorageDoc=d0,u.DataView=gO,u.DatePicker=yT,u.DateRange=PT,u.DecimalColumn=rB,u.Department=ZS,u.Department2=GI,u.DepartmentColumn=RB,u.DepartmentEntity=hy,u.DesignerColumnControl=ne,u.DesignerControl=k,u.DesignerFormControl=A,u.DesignerLayoutControl=H,u.DesignerListControl=ki,u.DesignerSearchControl=mP,u.DesignerWrapControl=yL,u.DisplayBoListItem=di,u.Divider=tw,u.ElectronicSignature=CI,u.ElectronicSignatureConfig=YP,u.Employee=aS,u.Employee2=gI,u.EmployeeColumn=WB,u.EventLogic=l0,u.Explain=uu,u.ExportListButton=kw,u.ExportRecordListButton=Vw,u.ExportTemplate=Jv,u.FieldBindItem=b0,u.FieldFilterCondition=My,u.FieldFilterConditions=P0,u.FieldTypeToColumnType=ZM,u.FileColumn=CB,u.FillBackBind=jy,u.FillPayloadBind=_i,u.FlexStyleConfig=UP,u.FormBind=pi,u.FormSelectBind=_0,u.FormSelectButton=oR,u.Grid=WI,u.GridRow=Ab,u.GridTable=zN,u.GridTableColumn=BC,u.Image=OS,u.ImageColumn=AB,u.ImageOptionSetting=S0,u.ImportRecordListButton=Kw,u.Input=D$,u.InvoiceCheckButton=r$,u.JSONCopy=vt,u.Language=X2,u.LayoutControlProperty=G,u.LeftVariable=m0,u.LimitDate=iu,u.Link=jP,u.ListBind=Ay,u.ListControlProperty=to,u.ListSelectButton=vR,u.ListView=_O,u.ListViewSelect=VR,u.LocationColumn=FB,u.MetaAutoWidth=p0,u.MetaWidth=vi,u.MultistageFillingItem=Ee,u.Number=iT,u.ObjectDataBind=hi,u.OperationButton=bo,u.OperationColumn=jN,u.OperationItem=pt,u.OptionAndDataSourcePropertyRules=sn,u.OptionSetting=Fy,u.OrderColumn=AN,u.Page=pN,u.Pagination=mR,u.PeopleColumn=kB,u.Position=RN,u.PositioningContainer=mN,u.PrintTemplate=qP,u.Property=U,u.PropertyRules=q,u.PropertyRuntimeRules=Bt,u.Radio=J$,u.RangeDataBind=C0,u.RangeDateValue=N0,u.RegisterControls=si,u.RegularRules=Ly,u.RichText=kT,u.RightVariable=Yn,u.Row=uC,u.RulesMessage=d,u.RuntimeColumnControl=re,u.RuntimeControl=W,u.RuntimeFormControl=M,u.RuntimeLayoutControl=Q,u.RuntimeListControl=dv,u.RuntimeSearchControl=wP,u.RuntimeWrapControl=OL,u.SUBTABLE_DEFAULT_MAX_HEIGHT=HP,u.Score=AS,u.SearchControlProperty=Yi,u.SearchDateRange=ME,u.SearchInput=uI,u.SearchNumberRange=RE,u.Select=qT,u.SelectMultiple=ZT,u.SelectRelation=QE,u.SimpleSearch=e1,u.SubListItem=O0,u.SubListPageConfig=g0,u.SubTable=SN,u.SubTableColumn=zb,u.SubTableRow=SC,u.SubmissionRecordListButton=Cw,u.SuperDataSourceBind=Kr,u.Tab=HC,u.TabPane=xC,u.Text=BP,u.TextColumn=ZN,u.TextOcrButton=KR,u.Textarea=IT,u.TimescopeColumn=fB,u.TimestampColumn=vB,u.Title=aw,u.Toolbox=JC,u.Tree=vI,u.TreeDataSourceBind=$0,u.UndersignedPerson=Qv,u.UserEntity=by,u.VarcharColumn=WN,u.VersionBuilder=Aye,u.ViewOperationItem=D0,u.VueFormItem=VE,u.WPS=jI,u.WPSSetting=GP,u.Watcher=f0,u.WpsOperationItem=Zv,u.WrapControlProperty=Nv,u.baseControls=ZV,u.camelizeKeys=o0,u.columnControls=hse,u.controlHooksEmitter=G0,u.createValidator=Y0,u.debounce=I2,u.decamelizeKeys=fn,u.defineArrayParent=oP,u.defineControlArrayToProperty=nt,u.defineParent=ov,u.error=Nt,u.formControls=NQ,u.genNonDuplicateId=qe,u.getHackerControl=_y,u.getNotRepeatItems=r0,u.initExpression=ro,u.initImageOptions=Q2,u.initOptionAndDataSourceRules=mi,u.initOptions=et,u.initSuperDataSourceRules=Pi,u.isArray=un,u.isBuiltInControls=N2,u.isFunction=w2,u.isJSONArray=S2,u.isJSONObject=E2,u.isLanguageObject=le,u.isNumber=Ey,u.isNumberAndEmptyStringArray=T2,u.isNumberArray=$2,u.isObject=P2,u.isPlainObject=Sy,u.isString=n0,u.isStringArray=R2,u.layoutControls=$oe,u.listControls=lue,u.loadRemoteControl=dy,u.loadRemoteControls=Fye,u.loadScriptFromFetch=p1,u.loadScriptFromTag=Lye,u.log=Wr,u.logerror=Qm,u.loop=ge,u.loopFormSchema=Ry,u.nativeFetch=Gm,u.noop=JM,u.referenceError=wy,u.registerByteluckControls=zye,u.registerCustomControls=xye,u.searchControls=Mse,u.setPropertyDontEnum=rP,u.toNumberOrEmpty=cn,u.updateValueFromKeys=e0,u.upgradeCustomControlSchema=Vye,u.wait=C2,u.warn=on,Object.defineProperty(u,"__esModule",{value:!0})});