@byteluck-fe/model-driven-core-all 2.6.0-alpha.1 → 2.6.0-alpha.11

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 Gn=(c,Ce,ot)=>new Promise((Sa,Hn)=>{var Ea=ve=>{try{At(ot.next(ve))}catch(Mt){Hn(Mt)}},Ia=ve=>{try{At(ot.throw(ve))}catch(Mt){Hn(Mt)}},At=ve=>ve.done?Sa(ve.value):Promise.resolve(ve.value).then(Ea,Ia);At((ot=ot.apply(c,Ce)).next())});(function(c,Ce){typeof exports=="object"&&typeof module!="undefined"?Ce(exports):typeof define=="function"&&define.amd?define(["exports"],Ce):(c=typeof globalThis!="undefined"?globalThis:c||self,Ce(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var ot=function e(){Ce(this,e)};function Sa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Hn=function e(){Sa(this,e)},Ea="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ia="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",At="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ve="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Mt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ZT="{caption}\u5FC5\u586B",e$="\u8BF7\u8F93\u5165\u6807\u9898",t$="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",n$="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",r$="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",o$="\u8BF7\u7ED1\u5B9A\u8868\u5355",i$="\u8BF7\u7ED1\u5B9A\u5217\u8868",u$="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",c$="\u8BF7\u8F93\u5165\u663E\u793A\u503C",f$="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",a$="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",l$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",s$="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",y$="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",_$="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",v$="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",p$="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",d$="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",h$="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",b$="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",O$="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",g$="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",m$="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",P$="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",R$="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",w$="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",T$="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",$$="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",S$="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",E$="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",I$="\u8BF7\u7ED1\u5B9A\u670D\u52A1",C$="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",N$="\u8BF7\u9009\u62E9\u7701",B$="\u8BF7\u9009\u62E9\u5E02",k$="\u8BF7\u9009\u62E9\u533A",j$="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",A$="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",M$="\u8BF7\u8F93\u5165\u5217\u5BBD",D$="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",L$="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",F$="\u8BF7\u9009\u62E9\u63A7\u4EF6",x$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",z$="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",V$="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Y$="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",G$="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",H$="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",q$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",U$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",W$="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",K$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",X$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Q$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",J$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Z$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",eS="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",tS="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",nS="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",rS="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",oS="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",iS="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",uS="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",cS={isNotNumber:Ea,isNotString:Ia,isNotObject:At,isNotArray:ve,isNotBoolean:Mt,runtimeRequired:ZT,pleaseEnterCaption:e$,pleaseEnterCaptionTip:t$,pleaseEnterPlaceholder:n$,pleaseEnterFieldCode:r$,pleaseEnterForm:o$,pleaseEnterList:i$,pleaseEnterProcess:u$,pleaseEnterLabel:c$,pleaseEnterValue:f$,bizKeyNotBindFiled:a$,pleaseSelectOneField:l$,pleaseEnterNumberRange:s$,pleaseEnterAValueGreaterThanMin:y$,pleaseEnterAValueLessThanMax:_$,numberRangeSetError:v$,stringRangeError:p$,attachmentMaxSize:d$,pleaseEnterTotalScoreSetting:h$,theTotalScoreMustNotBeLessThan1:b$,scoreDefaultValueRange:O$,attachmentLimitError:g$,PleaseReselectTheOptionalQuantity:m$,TheMaximumLengthIsGreaterThanTheMinimumLength:P$,TheMinimumLengthIsGreaterThanTheMaximumLength:R$,PleaseSelectTheCorrectOptionSettings:w$,optionIdIsRepeat:T$,optionIsRequired:$$,pleaseEnterDataCode:S$,pleaseEnterValueFieldCode:E$,pleaseEnterSvcCode:I$,pleaseBindAtLeastOneDisplayValue:C$,pleaseSelectProvince:N$,pleaseSelectCity:B$,pleaseSelectDistrict:k$,limitRowsCannotBeLessThan0:j$,TheNumberOfRowsCannotBeLessThanMinRows:A$,pleaseEnterColumnWidth:M$,pleaseSetTheLogicalRelationshipOfAllRuleConditions:D$,pleaseCompleteAllRulesAndConditions:L$,pleaseSelectControl:F$,pleaseSelectAtLeastOneColumn:x$,pleaseSelectFillBackMode:z$,pleaseSelectDashboard:V$,rootNodeIsRequired:Y$,theViewNameCannotBeEmpty:G$,pleaseSelectOcrType:H$,pleaseSelectAtLeastOneFieldToFillIn:q$,pleaseChooseAtLeastOne:U$,pleaseEnterButtonContent:W$,pleaseEnterDataCodeInDataSetting:K$,pleaseEnterValueFieldCodeInDataSetting:X$,pleaseEnterSvcCodeInDataSetting:Q$,pleaseBindAtLeastOneDisplayValueInDataSetting:J$,rootNodeIsRequiredInDataSetting:Z$,pleaseEnterMaxHeight:eS,pleaseEnter:tS,pleaseEnterWatermark:nS,pleaseEnterFileName:rS,pleaseUploadAtLeastOnePrintTemplate:oS,pleaseAssignBusiness:iS,pleaseAssignExternal:uS},fS="Please enter a number",aS="Please enter a string",lS="Please enter an object",sS="Please enter an array",yS="Please enter a boolean",_S="{caption} Required",vS="Please enter the title",pS="Please enter the bubble prompt",dS="Please enter the prompt text",hS="Please bind data items",bS="Please bind the form",OS="Please bind the list",gS="Please bind the process",mS="Please enter the displayed value",PS="Please enter the stored value",RS="The document number is not bound to the data item",wS="Please select at least one display field",TS="Please enter a value greater than or equal to {min} and less than or equal to {max}",$S="Please enter a value greater than or equal to {min}",SS="Please enter a value less than or equal to {max}",ES="The value range is set incorrectly",IS="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",CS="The attachment size must be between 0MB and 1000MB",NS="Please fill in the total score setting",BS="The total score cannot be less than 1",kS="The default value must be between {min} and {max}",jS="The number of attachments uploaded must be between {min} and {max}",AS="Please re-select the optional quantity",MS="The maximum length of the control must be greater than the minimum length",DS="The minimum length of the control must be less than the maximum length",LS="Please select the correct option setting",FS="Option ID cannot be repeated",xS="Please enter at least one option",zS="Please bind the data source",VS="Please bind the stored value",YS="Please bind the service",GS="At least one display value must be bound",HS="Please select a province",qS="Please select a city",US="Please select a district",WS="The minimum number of lines to fill in cannot be less than 0",KS="The number of rows cannot be less than {min} rows",XS="Please enter the column width",QS="Please set the logical relationship of all rule conditions",JS="Please complete all rules and conditions",ZS="please select control",eE="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",tE="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nE="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",rE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",oE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",iE="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",uE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",cE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",fE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",aE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",lE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",sE="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",yE="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",_E="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",vE="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pE="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",dE="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",hE="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",bE={isNotNumber:fS,isNotString:aS,isNotObject:lS,isNotArray:sS,isNotBoolean:yS,runtimeRequired:_S,pleaseEnterCaption:vS,pleaseEnterCaptionTip:pS,pleaseEnterPlaceholder:dS,pleaseEnterFieldCode:hS,pleaseEnterForm:bS,pleaseEnterList:OS,pleaseEnterProcess:gS,pleaseEnterLabel:mS,pleaseEnterValue:PS,bizKeyNotBindFiled:RS,pleaseSelectOneField:wS,pleaseEnterNumberRange:TS,pleaseEnterAValueGreaterThanMin:$S,pleaseEnterAValueLessThanMax:SS,numberRangeSetError:ES,stringRangeError:IS,attachmentMaxSize:CS,pleaseEnterTotalScoreSetting:NS,theTotalScoreMustNotBeLessThan1:BS,scoreDefaultValueRange:kS,attachmentLimitError:jS,PleaseReselectTheOptionalQuantity:AS,TheMaximumLengthIsGreaterThanTheMinimumLength:MS,TheMinimumLengthIsGreaterThanTheMaximumLength:DS,PleaseSelectTheCorrectOptionSettings:LS,optionIdIsRepeat:FS,optionIsRequired:xS,pleaseEnterDataCode:zS,pleaseEnterValueFieldCode:VS,pleaseEnterSvcCode:YS,pleaseBindAtLeastOneDisplayValue:GS,pleaseSelectProvince:HS,pleaseSelectCity:qS,pleaseSelectDistrict:US,limitRowsCannotBeLessThan0:WS,TheNumberOfRowsCannotBeLessThanMinRows:KS,pleaseEnterColumnWidth:XS,pleaseSetTheLogicalRelationshipOfAllRuleConditions:QS,pleaseCompleteAllRulesAndConditions:JS,pleaseSelectControl:ZS,pleaseSelectDashboard:eE,theViewNameCannotBeEmpty:tE,pleaseSelectOcrType:nE,pleaseSelectAtLeastOneFieldToFillIn:rE,pleaseChooseAtLeastOne:oE,pleaseEnterButtonContent:iE,pleaseEnterDataCodeInDataSetting:uE,pleaseEnterValueFieldCodeInDataSetting:cE,pleaseEnterSvcCodeInDataSetting:fE,pleaseBindAtLeastOneDisplayValueInDataSetting:aE,rootNodeIsRequiredInDataSetting:lE,pleaseEnterMaxHeight:sE,pleaseEnter:yE,pleaseEnterWatermark:_E,pleaseEnterFileName:vE,pleaseUploadAtLeastOnePrintTemplate:pE,pleaseAssignBusiness:dE,pleaseAssignExternal:hE},OE="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gE="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mE="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",PE="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",RE="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wE="{caption}\u5FC5\u9808",TE="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$E="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",SE="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",EE="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",IE="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CE="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",NE="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",BE="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kE="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jE="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",AE="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ME="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",DE="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",LE="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",FE="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",xE="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zE="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",VE="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",YE="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",GE="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",HE="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",qE="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",UE="\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",WE="\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",KE="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",XE="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",QE="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",JE="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ZE="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eI="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tI="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",nI="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rI="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oI="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",iI="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",uI="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",cI="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fI="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",aI="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",lI="please select control",sI="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",yI="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_I="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",vI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",pI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",dI="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",hI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",bI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",OI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",gI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",mI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",PI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",RI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",wI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",TI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$I="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",SI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",EI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",II={isNotNumber:OE,isNotString:gE,isNotObject:mE,isNotArray:PE,isNotBoolean:RE,runtimeRequired:wE,pleaseEnterCaption:TE,pleaseEnterCaptionTip:$E,pleaseEnterPlaceholder:SE,pleaseEnterFieldCode:EE,pleaseEnterForm:IE,pleaseEnterList:CE,pleaseEnterProcess:NE,pleaseEnterLabel:BE,pleaseEnterValue:kE,bizKeyNotBindFiled:jE,pleaseSelectOneField:AE,pleaseEnterNumberRange:ME,pleaseEnterAValueGreaterThanMin:DE,pleaseEnterAValueLessThanMax:LE,numberRangeSetError:FE,stringRangeError:xE,attachmentMaxSize:zE,pleaseEnterTotalScoreSetting:VE,theTotalScoreMustNotBeLessThan1:YE,scoreDefaultValueRange:GE,attachmentLimitError:HE,PleaseReselectTheOptionalQuantity:qE,TheMaximumLengthIsGreaterThanTheMinimumLength:UE,TheMinimumLengthIsGreaterThanTheMaximumLength:WE,PleaseSelectTheCorrectOptionSettings:KE,optionIdIsRepeat:XE,optionIsRequired:QE,pleaseEnterDataCode:JE,pleaseEnterValueFieldCode:ZE,pleaseEnterSvcCode:eI,pleaseBindAtLeastOneDisplayValue:tI,pleaseSelectProvince:nI,pleaseSelectCity:rI,pleaseSelectDistrict:oI,limitRowsCannotBeLessThan0:iI,TheNumberOfRowsCannotBeLessThanMinRows:uI,pleaseEnterColumnWidth:cI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fI,pleaseCompleteAllRulesAndConditions:aI,pleaseSelectControl:lI,pleaseSelectDashboard:sI,theViewNameCannotBeEmpty:yI,pleaseSelectOcrType:_I,pleaseSelectAtLeastOneFieldToFillIn:vI,pleaseChooseAtLeastOne:pI,pleaseEnterButtonContent:dI,pleaseEnterDataCodeInDataSetting:hI,pleaseEnterValueFieldCodeInDataSetting:bI,pleaseEnterSvcCodeInDataSetting:OI,pleaseBindAtLeastOneDisplayValueInDataSetting:gI,rootNodeIsRequiredInDataSetting:mI,pleaseEnterMaxHeight:PI,pleaseEnter:RI,pleaseEnterWatermark:wI,pleaseEnterFileName:TI,pleaseUploadAtLeastOnePrintTemplate:$I,pleaseAssignBusiness:SI,pleaseAssignExternal:EI},CI={zhCN:cS,enUS:bE,jaJP:II};function NI(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 BI=function e(t){NI(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},Yh="zh-CN",kI=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.ORGANIZATION_SELECTION="organization-selection",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.ACTION_BAR="action-bar",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,jI=(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 Gh="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",AI=Gh+"0123456789";function fe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Gh:AI,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Ca(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function MI(e){if(Array.isArray(e))return Ca(e)}function DI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LI(){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 LI()?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&&Lt(l,u.prototype),l},qn.apply(null,arguments)}function Dt(e){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dt(e)}function qh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lt(e,t)}function FI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function xI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zI(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function VI(e,t){return t&&(YI(t)==="object"||typeof t=="function")?t:DI(e)}function Lt(e,t){return Lt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lt(e,t)}function Uh(e){return MI(e)||xI(e)||GI(e)||zI()}var YI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GI(e,t){if(!!e){if(typeof e=="string")return Ca(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ca(e,t)}}function Na(e){var t=typeof Map=="function"?new Map:void 0;return Na=function(n){if(n===null||!FI(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return qn(n,arguments,Dt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Lt(o,n)},Na(e)}function HI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wh(e){var t=HI();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 VI(this,o)}}var Ba=console;function Ne(){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=Ba).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Uh(o)))}function Ft(){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=Ba).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Uh(o)))}function qI(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ka=function(e){qh(r,e);var t=Wh(r);function r(n){Hh(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?qI(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Na(Error)),UI=function(e){qh(r,e);var t=Wh(r);function r(n){Hh(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(ka);function be(e){throw new ka(e)}function ja(e){throw new UI(e)}function Kh(e){Ba.error(new ka(e))}function Aa(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":Aa(r==null?void 0:r.children,t);break;case"search":Aa(r==null?void 0:r.children,t);break;case"form":t(r)}})}var WI=Object.prototype.toString;function Xh(e,t){return WI.call(e)==="[object "+t+"]"}function KI(e){return Xh(e,"String")}function XI(e){return Xh(e,"Promise")}var QI=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();XI(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&&!KI(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 JI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=function(){function e(){JI(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]:Yh;return new QI({locale:r,messages:CI})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();p.$i18n=p.resetI18n();function Qh(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)){Ne("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 ZI=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ma={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,P=0;if(s(O))for(m=[],P=O.length;T<P;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})(ZI)})(Ma);var Jh={};Object.defineProperty(Jh,"__esModule",{value:!0});function Da(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Da(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Da(n)}return t}}var eC=Jh.default=Da;function pe(e){if(e!==void 0)return typeof e=="object"?eC(e):e}function K(e){return La(e)&&"zh"in e}function La(e){return Object.prototype.toString.call(e)==="[object Object]"}function tC(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Be(e){return Array.isArray(e)}function Zh(e){return typeof e=="string"}function Fa(e){return typeof e=="number"}function nC(e){return typeof e=="function"}function rC(e){return Be(e)&&e.every(function(t){return Zh(t)})}function oC(e){return Be(e)&&e.every(function(t){return Fa(t)})}function iC(e){return Be(e)&&e.every(function(t){return Fa(t)||t===""})}function uC(e){return/^\[.*?]$/.test(e)}function cC(e){return/^{.*?}$/.test(e)}function ke(e){return isNaN(parseFloat(e))?"":Number(e)}function eb(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function fC(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 aC(){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 tb(e){return Ma.exports.camelizeKeys(e)}function je(e){return Ma.exports.decamelizeKeys(e)}function lC(e){return Object.values(c.CONTROL_TYPE).includes(e)}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 sC(e){if(Array.isArray(e))return xa(e)}function nb(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 yC(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){nb(i,n,o,u,f,"next",a)}function f(a){nb(i,n,o,u,f,"throw",a)}u(void 0)})}}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pC(){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 za(e){return sC(e)||vC(e)||dC(e)||pC()}function dC(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 hC=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}}},rb=function(){function e(){_C(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 yC(function(){var a,l,s,y,_,d,b,h,g,v,O,R;return hC(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&&Ft.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(za(i))),[4,g.apply(null,za(i))];case 4:return v=m.sent(),f.debug&&Ft.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(za(i),[v])),l.push(v),v===!1?[3,7]:[3,6];case 5:return O=m.sent(),Kh(String(O)+":"+String(O.stack)),[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 bC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var OC=[{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"}],ob=function(){function e(){bC(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}();ob.events=OC;function gC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var ib=[],Un=function(){function e(r){gC(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__||be("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(i){return i.controlType===n.controlType});return o>-1&&(Ne("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 be("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__)&&be("".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&&(Ne("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}();Un.staticControls=ib,Un.staticRegisteredTypes=new Set(ib.map(function(e){return e.Designer.controlType})),Un.staticRegisteredConfigs=new Map;function ub(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 Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(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&&Va(e,t)}function cb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function mC(e,t){return t&&(PC(t)==="object"||typeof t=="function")?t:ub(e)}function Va(e,t){return Va=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Va(e,t)}var PC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ce(e){var t=RC();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mC(this,o)}}var re=function e(t){w(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:""},Ya=function e(t){w(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},Kn=function(e){ue(r,e);var t=ce(r);function r(n){w(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}(Ya),fb=function e(t){w(this,e),this.pc=new Kn(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Kn(t==null?void 0:t.mobile):new Kn({width:130,minWidth:180})},ab=function e(t){w(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:[]},Xn=function e(t){w(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},lb=function(e){ue(r,e);var t=ce(r);function r(n){w(this,r);var o;o=t.call(this,n);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Xn),sb=function e(t){w(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Qn=function e(t){w(this,e);var r,n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new sb(u)}))!==null&&i!==void 0?i:[]},yb=function e(t){w(this,e);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},_b=function(e){ue(r,e);var t=ce(r);function r(n){w(this,r);var o;o=t.call(this,n);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var f;o.isOpenFilter=(f=n==null?void 0:n.isOpenFilter)!==null&&f!==void 0?f:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(Xn),vb=function e(t){w(this,e);var r,n;this.type="sublist-page",this.formBind=new Xn(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 yb(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 _b(u)}))!==null&&i!==void 0?i:[]},pb=function e(t){w(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},it=function e(t){w(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Ga=function e(t){var r=this;w(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:fe();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 Jn(f);(s=r.children)===null||s===void 0||s.push(y)}}))},Jn=function e(t){w(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:fe();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 pb(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new it(t==null?void 0:t.rightVariableBo)},J=function e(t){w(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Zn=function e(t){w(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Ha=function e(t){w(this,e);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},db=function e(t){w(this,e);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},wC=function e(t){w(this,e);var r,n,o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(l){return new Ha(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 db(l)}))!==null&&a!==void 0?a:[]};function qa(e){var t,r,n;this.filters=(n=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Ga(f):new Jn(f)}))!==null&&n!==void 0?n:[];var o;if(this.viewFilters=(o=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(f){return f.children!==void 0?new Ga(f):new Jn(f)}))!==null&&o!==void 0?o:[],cb(this,z)||cb(this,tr)){var i,u;this.orders=(u=e==null||(i=e.orders)===null||i===void 0?void 0:i.map(function(f){return new Ha(f)}))!==null&&u!==void 0?u:[]}}var z=function e(t){var r=this;w(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(l){var s;(s=r.displayBoList)===null||s===void 0||s.push(new Zn(l))}));var f;this.showOrder=(f=t==null?void 0:t.showOrder)!==null&&f!==void 0?f:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",qa.call(this,t)},er=function e(t){w(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Oe=function e(t){w(this,e);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var f;this.formKey=(f=t==null?void 0:t.formKey)!==null&&f!==void 0?f:void 0;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},Ua=function e(t){w(this,e);var r,n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new Zn(u)}))!==null&&i!==void 0?i:[]},xt=function(e){ue(r,e);var t=ce(r);function r(n){w(this,r);var o,i;o=t.call(this,n);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new Ua(f)}))!==null&&u!==void 0?u:[],o}return r}(z),hb=function(e){ue(r,e);var t=ce(r);function r(n){w(this,r);var o,i;o=t.call(this,n);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(a){return new Ua(a)}))!==null&&u!==void 0?u:[];var f;return o.formCode=(f=n==null?void 0:n.formCode)!==null&&f!==void 0?f:"",o}return r}(z),Wa=function(e){ue(r,e);var t=ce(r);function r(n){w(this,r);var o;o=t.call(this,n),o.rootNode=new it(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(xt),bb=function e(t){w(this,e);var r,n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new J(u)}))!==null&&i!==void 0?i:[]},tr=function(e){ue(r,e);var t=ce(r);function r(n){w(this,r);var o;return o=t.call(this,n),qa.call(ub(o),n),o}return r}(bb),Ka=function(e){ue(r,e);var t=ce(r);function r(n){w(this,r);var o;o=t.call(this,n);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(bb),TC=function e(t){w(this,e);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},Xa=function e(t){w(this,e);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},Qa=function e(t){w(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:fe(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},Ob=function(e){ue(r,e);var t=ce(r);function r(n){w(this,r);var o;o=t.call(this,n);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(Qa);function le(e){var t;return(t=e==null?void 0:e.map(function(r){return new Qa(r)}))!==null&&t!==void 0?t:[]}function $C(e){var t;return(t=e==null?void 0:e.map(function(r){return new Ob(r)}))!==null&&t!==void 0?t:[]}var nr=function e(){w(this,e)},gb=function(e){ue(r,e);var t=ce(r);function r(n){w(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}(nr),mb=function e(t){w(this,e);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:c.AMOUNT_TYPE.CNY},Pb=function(e){ue(r,e);var t=ce(r);function r(n){w(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}(nr),Rb=function e(t){w(this,e);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},wb=function e(t){w(this,e);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},Tb=function(e){ue(r,e);var t=ce(r);function r(n){w(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}(nr),$b=function e(t){w(this,e);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};c.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",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.VIEW_FORM_MODEL_TYPE="viewFormModelType",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 de=function e(t){w(this,e);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var f;this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!==null&&f!==void 0?f:!1},Sb=function e(t){w(this,e);var r,n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:fe(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 sb(u)}))!==null&&i!==void 0?i:[],qa.call(this,t)},SC=function e(t){w(this,e);var r;this.key=(r=t.key)!==null&&r!==void 0?r:fe(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},Eb=function e(t){w(this,e);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},Ib=function e(t){w(this,e);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""};function EC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ja(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IC(){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 rr(e,t,r){return IC()?rr=Reflect.construct:rr=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&Vt(l,u.prototype),l},rr.apply(null,arguments)}function zt(e){return zt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zt(e)}function CC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vt(e,t)}function NC(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function BC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:EC(e)}function Vt(e,t){return Vt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vt(e,t)}var kC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Za(e){var t=typeof Map=="function"?new Map:void 0;return Za=function(n){if(n===null||!NC(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 rr(n,arguments,zt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Vt(o,n)},Za(e)}function jC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AC(e){var t=jC();return function(){var n=zt(e),o;if(t){var i=zt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BC(this,o)}}var D=function e(t){Ja(this,e),this.isHide={type:"boolean"}},ge=function(e){CC(r,e);var t=AC(r);function r(n){return Ja(this,r),t.call(this)}return r}(Za(Array)),L=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ja(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new Eb(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=ge;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 MC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function or(e,t){return or=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},or(e,t)}function DC(){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 ir(e,t,r){return DC()?ir=Reflect.construct:ir=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&or(l,u.prototype),l},ir.apply(null,arguments)}function LC(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function tl(e){var t=typeof Map=="function"?new Map:void 0;return tl=function(n){if(n===null||!LC(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 ir(n,arguments,el(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),or(o,n)},tl(e)}var FC=/%[sdj%]/g,Cb=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Cb=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function nl(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(FC,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 xC(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function V(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||xC(t)&&typeof e=="string"&&!e)}function zC(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 Nb(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 VC(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Bb=function(e){MC(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}(tl(Error));function YC(e,t,r,n){if(t.first){var o=new Promise(function(y,_){var d=function(g){return n(g),g.length?_(new Bb(g,nl(g))):y()},b=VC(e);Nb(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 Bb(l,nl(l))):y()};u.length||(n(l),y()),u.forEach(function(b){var h=e[b];i.indexOf(b)!==-1?Nb(h,r,d):zC(h,r,d)})});return s.catch(function(y){return y}),s}function kb(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 jb(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 Ab(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||V(t,i||e.type))&&n.push(oe(o.messages.required,e.fullField))}function GC(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(oe(o.messages.whitespace,e.fullField))}var rl={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},Yt={integer:function(t){return Yt.number(t)&&parseInt(t,10)===t},float:function(t){return Yt.number(t)&&!Yt.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"&&!Yt.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(rl.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(rl.url)},hex:function(t){return typeof t=="string"&&!!t.match(rl.hex)}};function HC(e,t,r,n,o){if(e.required&&t===void 0){Ab(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?Yt[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 qC(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 ut="enum";function UC(e,t,r,n,o){e[ut]=Array.isArray(e[ut])?e[ut]:[],e[ut].indexOf(t)===-1&&n.push(oe(o.messages[ut],e.fullField,e[ut].join(", ")))}function WC(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:Ab,whitespace:GC,type:HC,range:qC,enum:UC,pattern:WC};function KC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(t,"string")&&!e.required)return r();S.required(e,t,n,i,o,"string"),V(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 XC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(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 QC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),V(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 JC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(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 ZC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(t)&&!e.required)return r();S.required(e,t,n,i,o),V(t)||S.type(e,t,n,i,o)}r(i)}function eN(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(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 tN(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(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 nN(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 rN(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(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 oN="enum";function iN(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(t)&&!e.required)return r();S.required(e,t,n,i,o),t!==void 0&&S[oN](e,t,n,i,o)}r(i)}function uN(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(t,"string")&&!e.required)return r();S.required(e,t,n,i,o),V(t,"string")||S.pattern(e,t,n,i,o)}r(i)}function cN(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(t,"date")&&!e.required)return r();if(S.required(e,t,n,i,o),!V(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 fN(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 ol(e,t,r,n,o){var i=e.type,u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(V(t,i)&&!e.required)return r();S.required(e,t,n,u,o,i),V(t,i)||S.type(e,t,n,u,o)}r(u)}function aN(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(V(t)&&!e.required)return r();S.required(e,t,n,i,o)}r(i)}var Gt={string:KC,method:XC,number:QC,boolean:JC,regexp:ZC,integer:eN,float:tN,array:nN,object:rN,enum:iN,pattern:uN,date:cN,url:ol,hex:ol,email:ol,required:fN,any:aN};function il(){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 ul=il();function me(e){this.rules=null,this._messages=ul,this.define(e)}me.prototype={messages:function(t){return t&&(this._messages=jb(il(),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=nl(v):(v=null,O=null),f(v,O)}if(u.messages){var l=this.messages();l===ul&&(l=il()),jb(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 YC(_,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(P,$){return se(se({},$),{},{fullField:v.fullField+"."+P})}function m(P){P===void 0&&(P=[]);var $=P;if(Array.isArray($)||($=[$]),!u.suppressWarning&&$.length&&me.warning("async-validator:",$),$.length&&v.message!==void 0&&($=[].concat(v.message)),$=$.map(kb(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(kb(v)):u.error&&($=[u.error(v,oe(u.messages.required,v.field))]),g($);var N={};if(v.defaultField)for(var te in h.value)h.value.hasOwnProperty(te)&&(N[te]=v.defaultField);N=se(se({},N),h.rule.fields);for(var U in N)if(N.hasOwnProperty(U)){var W=Array.isArray(N[U])?N[U]:[N[U]];N[U]=W.map(R.bind(null,U))}var kt=new me(N);kt.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),kt.validate(h.value,h.rule.options||u,function(rt){var jt=[];$&&$.length&&jt.push.apply(jt,$),rt&&rt.length&&jt.push.apply(jt,rt),g(jt.length?jt: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(P){return m(P)})},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&&!Gt.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"?Gt.required:Gt[this.getType(t)]||!1}},me.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Gt[t]=r},me.warning=Cb,me.messages=ul,me.validators=Gt;var lN={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 Mb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new me(e);return r.messages(Object.assign(lN,t)),r}var Db=new rb;function cl(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 sN(e){if(Array.isArray(e))return e}function yN(e){if(Array.isArray(e))return cl(e)}function Lb(e,t,r,n,o,i,u){try{var f=e[i](u),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function Fb(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Lb(i,n,o,u,f,"next",a)}function f(a){Lb(i,n,o,u,f,"throw",a)}u(void 0)})}}function _N(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 vN(e,t,r){return t&&xb(e.prototype,t),r&&xb(e,r),e}function pN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Vb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dN(){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 hN(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){pN(e,o,r[o])})}return e}function bN(e){return sN(e)||Vb(e)||Gb(e)||dN()}function fl(e){return yN(e)||Vb(e)||Gb(e)||hN()}function Gb(e,t){if(!!e){if(typeof e=="string")return cl(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 cl(e,t)}}var Hb=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},B=function(){function t(n){var o=this;_N(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ub,this.removeSetting=qb,this._callControlHooks("preInstance",n);var i=zb(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||ja("The ".concat(_," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:fe(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,(zb(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=pe(d);var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:l,this.eventKeys=pe(s),this.customEvents=pe(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=bN(i),l=a[0],s=a.slice(1);return(f=Db).emit.apply(f,[l,this].concat(fl(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),Qh(this.props,o,i),this.postUpdate(o,i)},r.preValidate=function(){var o=this;return Fb(function(){var i,u,f;return Hb(this,function(a){switch(a.label){case 0:return i=Yb({},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 Fb(function(){var f,a,l,s;return Hb(this,function(y){switch(y.label){case 0:return[4,u.preValidate()];case 1:f=y.sent(),a=f!==void 0?f:Yb({},u.rules),Array.isArray(i)&&i.forEach(function(_){a.hasOwnProperty(_)&&delete a[_]}),l=Mb(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:pe(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,fl(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}},vN(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}}]),t}();B.controlName="\u63A7\u4EF6",B.controlIcon="icon",B.controlType="control",B.controlEventKeys=[],B.controlCustomEvents=[],B.setting=[],B.__is_control__=!0,B.removeSettingItem=qb,B.updateSettingItem=Ub;function qb(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o=typeof n!="string",i=t.setting.findIndex(function(a){return a.key===(o?n.key:n)});if(i!==-1){var u,f;o?t.setting[i].showItems=(u=t.setting[i].showItems)===null||u===void 0?void 0:u.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(i,1),o&&!(!((f=t.setting[i].showItems)===null||f===void 0)&&f.length)&&t.setting.splice(i,1)}})}function Ub(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,f=(u=t.type)!==null&&u!==void 0?u:"replace";if(f==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,fl(t.showItems))}}}})}function ON(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gN(e,t,r){return t&&Wb(e.prototype,t),r&&Wb(e,r),e}function mN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Y=function(){function t(r){ON(this,t),this.customEvents=[],this.parent=null;var n=mN(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,f=n.controlCustomEvents;o||ja("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:fe(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 gN(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}();Y.controlType="control",Y.__is_control__=!0,Y.controlCustomEvents=[];function ur(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=eb(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 Ht(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 Kb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cr(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 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&&al(e,t)}function PN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function RN(e,t){return t&&(wN(t)==="object"||typeof t=="function")?t:Kb(e)}function al(e,t){return al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},al(e,t)}var wN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lr(e){var t=TN();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 RN(this,o)}}var G=function(e){ar(r,e);var t=lr(r);function r(n){cr(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(PN(n.dataBind,re))o.dataBind={type:"object",required:!0,fields:pe(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:pe(i),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(D),k=function(e){ar(r,e);var t=lr(r);function r(n){cr(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}(ge),E=function(e){ar(r,e);var t=lr(r);function r(n){cr(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=G,E.RuntimeRules=k;var Ae=function(e){ar(r,e);var t=lr(r);function r(n){cr(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")}],ur.call(Kb(o),n),o}return r}(G);function $N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(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&&ll(e,t)}function IN(e,t){return t&&(CN(t)==="object"||typeof t=="function")?t:$N(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(e,t)}var CN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BN(e){var t=NN();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 IN(this,o)}}var I=function(e){EN(r,e);var t=BN(r);function r(n){SN(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new E(n==null?void 0:n.props),o}return r}(B);I.controlEventKeys=["on_change","on_focus","on_blur"];function kN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yr(e)}function AN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sl(e,t)}function MN(e,t){return t&&(DN(t)==="object"||typeof t=="function")?t:kN(e)}function sl(e,t){return sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sl(e,t)}var DN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FN(e){var t=LN();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 MN(this,o)}}var C=function(e){AN(r,e);var t=FN(r);function r(n){jN(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}(Y);function xN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function VN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YN(e,t){return t&&(GN(t)==="object"||typeof t=="function")?t:xN(e)}function yl(e,t){return yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yl(e,t)}var GN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qN(e){var t=HN();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 YN(this,o)}}var j=function(e){VN(r,e);var t=qN(r);function r(n){return zN(this,r),t.call(this,n)}return r}(L);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 UN(e){if(Array.isArray(e))return _l(e)}function WN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function KN(){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 Xb(e){return UN(e)||WN(e)||XN(e)||KN()}function XN(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 Qb(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function vl(e,t){e.parent=t,Qb(e,"parent")}function Jb(e,t){e.forEach(function(r){vl(r,t)})}var Zb=Symbol("targetKey");function eO(e){var t;return(t=e[Zb])!==null&&t!==void 0?t:e}function tO(e,t){return Jb(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===Zb?n:(a=Reflect).get.apply(a,[n,o].concat(Xb(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(Be(e)&&o==="length"&&i===e.length)return!0;var s=(l=Reflect).set.apply(l,[n,o,i].concat(Xb(f)));return La(i)&&vl(i,t),s}})}function ye(e,t,r,n){var o=n!=null?n:e,i=tO(eO(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=tO(eO(f),o)},enumerable:!0})}function pl(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 QN(e){if(Array.isArray(e))return pl(e)}function nO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rO(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 JN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){rO(i,n,o,u,f,"next",a)}function f(a){rO(i,n,o,u,f,"throw",a)}u(void 0)})}}function ZN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ct(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(o,i,u){var f=aB(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},ct(e,t,r||e)}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pe(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&&dl(e,t)}function nB(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function rB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oB(){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 iB(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){eB(e,o,r[o])})}return e}function uB(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 cB(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uB(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function fB(e,t){return t&&(lB(t)==="object"||typeof t=="function")?t:nO(e)}function dl(e,t){return dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dl(e,t)}function aB(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pe(e),e!==null););return e}function oO(e){return QN(e)||rB(e)||sB(e)||oB()}var lB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sB(e,t){if(!!e){if(typeof e=="string")return pl(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 pl(e,t)}}function yB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=yB();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 fB(this,o)}}var vB=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}}},pB=1e4,M=function(t){tB(n,t);var r=_B(n);function n(i){ZN(this,n);var u;u=r.call(this,i),u.controlType="layout";var f=nB(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new j(i==null?void 0:i.props),ye(nO(u),"children",i==null?void 0:i.children),u.excludes=pe(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 ct(Pe(n.prototype),"validate",a)};return JN(function(){return vB(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=ct(Pe(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 oO(l).concat(oO(_))}return y&&l.push(y),l},a)},o.toSchema=function(){var u=ct(Pe(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return cB(iB({},u),{children:f})},n}(B);M.excludes=!1,M.childrenMaxLength=pB;function iO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vr(e)}function hB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hl(e,t)}function bB(e,t){return t&&(OB(t)==="object"||typeof t=="function")?t:iO(e)}function hl(e,t){return hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hl(e,t)}var OB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mB(e){var t=gB();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 bB(this,o)}}var F=function(e){hB(r,e);var t=mB(r);function r(n){dB(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new j(n==null?void 0:n.props),ye(iO(o),"children",n==null?void 0:n.children),o}return r}(Y);function uO(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 pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(e)}function RB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wB(e,t){return t&&(TB(t)==="object"||typeof t=="function")?t:uO(e)}function bl(e,t){return bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bl(e,t)}var TB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $B(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SB(e){var t=$B();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 wB(this,o)}}var qt=function(e){RB(r,e);var t=SB(r);function r(n,o){PB(this,r);var i;return i=t.call(this,o),ye(uO(i),"headers",o==null?void 0:o.headers,n),i}return r}(L);function Ol(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 EB(e){if(Array.isArray(e))return Ol(e)}function cO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fO(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 IB(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){fO(i,n,o,u,f,"next",a)}function f(a){fO(i,n,o,u,f,"throw",a)}u(void 0)})}}function CB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ft(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ft=Reflect.get:ft=function(o,i,u){var f=DB(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},ft(e,t,r||e)}function Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Re(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&&gl(e,t)}function kB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jB(){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 aO(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){NB(e,o,r[o])})}return e}function AB(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 lO(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):AB(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function MB(e,t){return t&&(LB(t)==="object"||typeof t=="function")?t:cO(e)}function gl(e,t){return gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gl(e,t)}function DB(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Re(e),e!==null););return e}function sO(e){return EB(e)||kB(e)||FB(e)||jB()}var LB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FB(e,t){if(!!e){if(typeof e=="string")return Ol(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 Ol(e,t)}}function xB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zB(e){var t=xB();return function(){var n=Re(e),o;if(t){var i=Re(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MB(this,o)}}var VB=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}}},dr=function(e){BB(r,e);var t=zB(r);function r(o){CB(this,r);var i;return i=t.call(this,o),i.controlType="list",i.props=new qt(cO(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 ft(Re(r.prototype),"validate",f)};return IB(function(){return VB(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=ft(Re(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 sO(a).concat(sO(y))}return s&&a.push(s),a},u)},n.toSchema=function(){var i=ft(Re(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(f){return f.toSchema()});return lO(aO({},i),{props:lO(aO({},this.props),{headers:u})})},r}(B);dr.controlFieldType=c.FieldTypes.LIST;function ml(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GB(e,t,r){return t&&yO(e.prototype,t),r&&yO(e,r),e}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(e)}function HB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pl(e,t)}function qB(e,t){return t&&(UB(t)==="object"||typeof t=="function")?t:ml(e)}function Pl(e,t){return Pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pl(e,t)}var UB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KB(e){var t=WB();return function(){var n=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qB(this,o)}}var Rl=function(e){HB(r,e);var t=KB(r);function r(n){YB(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new qt(ml(o),n==null?void 0:n.props),ye(ml(o),"children",n==null?void 0:n.children),o}return GB(r,[{key:"length",get:function(){return this.children.length}}]),r}(Y);function _O(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 br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(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&&$l(e,t)}function XB(e,t){return t&&(QB(t)==="object"||typeof t=="function")?t:_O(e)}function $l(e,t){return $l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$l(e,t)}var QB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=JB();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 XB(this,o)}}var _e=function(e){Tl(r,e);var t=Sl(r);function r(n){wl(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),x=function(e){Tl(r,e);var t=Sl(r);function r(n){wl(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 Ya(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);x.Rules=_e;var El=function(e){Tl(r,e);var t=Sl(r);function r(n){wl(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")}],ur.call(_O(o),n),o}return r}(_e);function ZB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(e)}function tk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Il(e,t)}function nk(e,t){return t&&(rk(t)==="object"||typeof t=="function")?t:ZB(e)}function Il(e,t){return Il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Il(e,t)}var rk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ok(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ik(e){var t=ok();return function(){var n=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nk(this,o)}}var H=function(e){tk(r,e);var t=ik(r);function r(n){ek(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new x(n==null?void 0:n.props),o}return r}(B);function uk(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 gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(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&&Cl(e,t)}function ak(e,t){return t&&(lk(t)==="object"||typeof t=="function")?t:uk(e)}function Cl(e,t){return Cl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cl(e,t)}var lk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yk(e){var t=sk();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 ak(this,o)}}var q=function(e){fk(r,e);var t=yk(r);function r(n){ck(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new x(n==null?void 0:n.props),o}return r}(Y);function _k(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(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&&Nl(e,t)}function dk(e,t){return t&&(hk(t)==="object"||typeof t=="function")?t:_k(e)}function Nl(e,t){return Nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nl(e,t)}var hk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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=mr(e),o;if(t){var i=mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dk(this,o)}}var Pr=function(e){pk(r,e);var t=Ok(r);function r(n){vk(this,r);var o;return o=t.call(this,n),o.dataBind=new re(n==null?void 0:n.dataBind),o}return r}(j);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 Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(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&&Bl(e,t)}function Rk(e,t){return t&&(wk(t)==="object"||typeof t=="function")?t:gk(e)}function Bl(e,t){return Bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bl(e,t)}var wk=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 $k(e){var t=Tk();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 Rk(this,o)}}var vO=function(e){Pk(r,e);var t=$k(r);function r(n){mk(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new Pr(n==null?void 0:n.props),o}return r}(M);function Sk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function Ik(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kl(e,t)}function Ck(e,t){return t&&(Nk(t)==="object"||typeof t=="function")?t:Sk(e)}function kl(e,t){return kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kl(e,t)}var Nk=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 kk(e){var t=Bk();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 Ck(this,o)}}var pO=function(e){Ik(r,e);var t=kk(r);function r(n){Ek(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new Pr(n==null?void 0:n.props),o}return r}(F);function jk(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 Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(e)}function Mk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jl(e,t)}function Dk(e,t){return t&&(Lk(t)==="object"||typeof t=="function")?t:jk(e)}function jl(e,t){return jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jl(e,t)}var Lk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xk(e){var t=Fk();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 Dk(this,o)}}var Al=function(e){Mk(r,e);var t=xk(r);function r(n){return Ak(this,r),t.call(this,n)}return r}(j);function zk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(e)}function Yk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ml(e,t)}function Gk(e,t){return t&&(Hk(t)==="object"||typeof t=="function")?t:zk(e)}function Ml(e,t){return Ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ml(e,t)}var Hk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 Uk(e){var t=qk();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 Gk(this,o)}}var Wk=function(e){Yk(r,e);var t=Uk(r);function r(n){Vk(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new Al(n==null?void 0:n.props),o}return r}(M);function Kk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(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&&Dl(e,t)}function Jk(e,t){return t&&(Zk(t)==="object"||typeof t=="function")?t:Kk(e)}function Dl(e,t){return Dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dl(e,t)}var Zk=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=Sr(e),o;if(t){var i=Sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jk(this,o)}}var nj=function(e){Qk(r,e);var t=tj(r);function r(n){Xk(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new Al(n==null?void 0:n.props),o}return r}(F);function we(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function rj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(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&&Ll(e,t)}function uj(e,t){return t&&(cj(t)==="object"||typeof t=="function")?t:rj(e)}function Ll(e,t){return Ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ll(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=Er(e),o;if(t){var i=Er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uj(this,o)}}var Fl=function(e){ij(r,e);var t=aj(r);function r(n){oj(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 lj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yj(e,t,r){return t&&dO(e.prototype,t),r&&dO(e,r),e}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function _j(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xl(e,t)}function vj(e,t){return t&&(pj(t)==="object"||typeof t=="function")?t:lj(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(e,t)}var pj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hj(e){var t=dj();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 vj(this,o)}}var hO=function(e){_j(r,e);var t=hj(r);function r(n){sj(this,r);var o;return o=t.call(this,n),o.props=new Fl(n==null?void 0:n.props),o}return yj(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(B);hO.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 bj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gj(e,t,r){return t&&bO(e.prototype,t),r&&bO(e,r),e}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(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&&zl(e,t)}function Pj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:bj(e)}function zl(e,t){return zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zl(e,t)}var Rj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tj(e){var t=wj();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 Pj(this,o)}}var $j=function(e){mj(r,e);var t=Tj(r);function r(n){Oj(this,r);var o;return o=t.call(this,n),o.props=new Fl(n==null?void 0:n.props),o}return gj(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(Y),OO={Designer:hO,Runtime:$j,Property:Fl};function Sj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ej(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(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&&Vl(e,t)}function Cj(e,t){return t&&(Nj(t)==="object"||typeof t=="function")?t:Sj(e)}function Vl(e,t){return Vl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vl(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 kj(e){var t=Bj();return function(){var n=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cj(this,o)}}var Yl=function(e){Ij(r,e);var t=kj(r);function r(n){Ej(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 jj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mj(e,t,r){return t&&gO(e.prototype,t),r&&gO(e,r),e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(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&&Gl(e,t)}function Lj(e,t){return t&&(Fj(t)==="object"||typeof t=="function")?t:jj(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(e,t)}var Fj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zj(e){var t=xj();return function(){var n=Br(e),o;if(t){var i=Br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lj(this,o)}}var Hl=function(e){Dj(r,e);var t=zj(r);function r(n){Aj(this,r);var o;return o=t.call(this,n),o.props=new Yl(n==null?void 0:n.props),o}return Mj(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(B);Hl.controlEventKeys=["on_click"],Hl.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];function Vj(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 mO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gj(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(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&&ql(e,t)}function qj(e,t){return t&&(Uj(t)==="object"||typeof t=="function")?t:Vj(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(e,t)}var Uj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kj(e){var t=Wj();return function(){var n=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qj(this,o)}}var Xj=function(e){Hj(r,e);var t=Kj(r);function r(n){Yj(this,r);var o;return o=t.call(this,n),o.props=new Yl(n==null?void 0:n.props),o}return Gj(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(Y),PO={Designer:Hl,Runtime:Xj,Property:Yl};function Qj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(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&&Ul(e,t)}function e1(e,t){return t&&(t1(t)==="object"||typeof t=="function")?t:Qj(e)}function Ul(e,t){return Ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ul(e,t)}var t1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r1(e){var t=n1();return function(){var n=jr(e),o;if(t){var i=jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e1(this,o)}}var Z=function(e){Zj(r,e);var t=r1(r);function r(n){Jj(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 _;o.isLoading=(_=n==null?void 0:n.isLoading)!==null&&_!==void 0?_:!1;var d;return o.optObj=new Ib((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return r}(L);function o1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u1(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function c1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wl(e,t)}function f1(e,t){return t&&(a1(t)==="object"||typeof t=="function")?t:o1(e)}function Wl(e,t){return Wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wl(e,t)}var a1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s1(e){var t=l1();return function(){var n=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f1(this,o)}}var ee=function(e){c1(r,e);var t=s1(r);function r(n){i1(this,r);var o;return o=t.call(this,n),o.props=new Z(n==null?void 0:n.props),o}return u1(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(B);ee.controlEventKeys=["on_click","on_click_finish"],ee.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 y1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v1(e,t,r){return t&&wO(e.prototype,t),r&&wO(e,r),e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(e)}function p1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kl(e,t)}function d1(e,t){return t&&(h1(t)==="object"||typeof t=="function")?t:y1(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(e,t)}var h1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O1(e){var t=b1();return function(){var n=Mr(e),o;if(t){var i=Mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d1(this,o)}}var ie=function(e){p1(r,e);var t=O1(r);function r(n){_1(this,r);var o;return o=t.call(this,n),o.props=new Z(n==null?void 0:n.props),o}return v1(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(Y),TO={Designer:ee,Runtime:ie,Property:Z};function he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}c.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",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 Dr=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:fe(8),value:["",""]};he(this,e),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var Lr=function e(t){he(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:fe();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 Xl=function e(t){he(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new it((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 it((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 it((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:""},$O=function e(t){he(this,e);var r,n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new Xl(a)}))!==null&&o!==void 0?o:[new Xl];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:""},Ql=function e(t){he(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:fe(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},Jl=function e(t){he(this,e);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},SO=function e(t){he(this,e);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Jl(t==null?void 0:t.watermark),this.autoRename=new Jl(t==null?void 0:t.autoRename)},EO=480;function Ut(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var IO=function e(t){he(this,e);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},CO=function e(t){he(this,e);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function g1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(e)}function P1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zl(e,t)}function R1(e,t){return t&&(w1(t)==="object"||typeof t=="function")?t:g1(e)}function Zl(e,t){return Zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zl(e,t)}var w1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $1(e){var t=T1();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 R1(this,o)}}var es=function(e){P1(r,e);var t=$1(r);function r(n){m1(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 S1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 I1(e,t,r){return t&&NO(e.prototype,t),r&&NO(e,r),e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(e)}function C1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ts(e,t)}function N1(e,t){return t&&(B1(t)==="object"||typeof t=="function")?t:S1(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ts(e,t)}var B1=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 j1(e){var t=k1();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 N1(this,o)}}var BO=function(e){C1(r,e);var t=j1(r);function r(n){E1(this,r);var o;return o=t.call(this,n),o.props=new es(n==null?void 0:n.props),o}return I1(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(B);BO.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];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 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 D1(e,t,r){return t&&kO(e.prototype,t),r&&kO(e,r),e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(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&&ns(e,t)}function F1(e,t){return t&&(x1(t)==="object"||typeof t=="function")?t:A1(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ns(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=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F1(this,o)}}var Y1=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 es(n==null?void 0:n.props),o}return D1(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(Y),jO={Designer:BO,Runtime:Y1,Property:es};function G1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AO(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 MO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 H1(e,t){return t&&(q1(t)==="object"||typeof t=="function")?t:G1(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rs(e,t)}var q1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DO(e){var t=U1();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 H1(this,o)}}var W1=function(e){MO(r,e);var t=DO(r);function r(n){AO(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),Yr=function(e){MO(r,e);var t=DO(r);function r(n){AO(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:at==null?void 0:at.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);Yr.Rules=W1;function K1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Q1(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function J1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Z1(e,t){return t&&(eA(t)==="object"||typeof t=="function")?t:K1(e)}function os(e,t){return os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},os(e,t)}var eA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nA(e){var t=tA();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 Z1(this,o)}}var at=function(e){J1(r,e);var t=nA(r);function r(n){X1(this,r);var o;return o=t.call(this,n),o.props=new Yr(n==null?void 0:n.props),o}return Q1(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(B);at.controlFieldType=c.FieldTypes.AUTO_NUMBER,at.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 rA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oA(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 iA(e,t,r){return t&&FO(e.prototype,t),r&&FO(e,r),e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function uA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function cA(e,t){return t&&(fA(t)==="object"||typeof t=="function")?t:rA(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}var fA=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 lA(e){var t=aA();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 cA(this,o)}}var sA=function(e){uA(r,e);var t=lA(r);function r(n){oA(this,r);var o;return o=t.call(this,n),o.props=new Yr(n==null?void 0:n.props),o}return iA(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(Y),xO={Designer:at,Runtime:sA,Property:Yr};function yA(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 qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(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&&us(e,t)}function _A(e,t){return t&&(vA(t)==="object"||typeof t=="function")?t:yA(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(e,t)}var vA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=pA();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 _A(this,o)}}var dA=function(e){VO(r,e);var t=YO(r);function r(n){zO(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")},o}return r}(D),Ur=function(e){VO(r,e);var t=YO(r);function r(n){zO(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:Wt.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Wt.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}(Z);Ur.Rules=dA;function hA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OA(e,t,r){return t&&GO(e.prototype,t),r&&GO(e,r),e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function gA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function mA(e,t){return t&&(PA(t)==="object"||typeof t=="function")?t:hA(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var PA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wA(e){var t=RA();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 mA(this,o)}}var Wt=function(e){gA(r,e);var t=wA(r);function r(n){bA(this,r);var o;return o=t.call(this,n),o.props=new Ur(n==null?void 0:n.props),o}return OA(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}(ee);Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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 TA(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 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 SA(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(e)}function EA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function IA(e,t){return t&&(CA(t)==="object"||typeof t=="function")?t:TA(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(e,t)}var CA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BA(e){var t=NA();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 IA(this,o)}}var kA=function(e){EA(r,e);var t=BA(r);function r(n){$A(this,r);var o;return o=t.call(this,n),o.props=new Ur(n==null?void 0:n.props),o}return SA(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ie),qO={Designer:Wt,Runtime:kA,Property:Ur};function jA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xr(e)}function WO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}function AA(e,t){return t&&(MA(t)==="object"||typeof t=="function")?t:jA(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var MA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KO(e){var t=DA();return function(){var n=Xr(e),o;if(t){var i=Xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AA(this,o)}}var LA=function(e){WO(r,e);var t=KO(r);function r(n){UO(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),Qr=function(e){WO(r,e);var t=KO(r);function r(n){UO(this,r);var o;o=t.call(this,n);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Kt.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Kt.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}(Z);Qr.Rules=LA;function FA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zA(e,t,r){return t&&XO(e.prototype,t),r&&XO(e,r),e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(e)}function VA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function YA(e,t){return t&&(GA(t)==="object"||typeof t=="function")?t:FA(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var GA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qA(e){var t=HA();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 YA(this,o)}}var Kt=function(e){VA(r,e);var t=qA(r);function r(n){xA(this,r);var o;return o=t.call(this,n),o.props=new Qr(n==null?void 0:n.props),o}return zA(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}(ee);Kt.controlEventKeys=["on_click","on_click_finish"],Kt.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 UA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KA(e,t,r){return t&&QO(e.prototype,t),r&&QO(e,r),e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(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&&ss(e,t)}function QA(e,t){return t&&(JA(t)==="object"||typeof t=="function")?t:UA(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var JA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eM(e){var t=ZA();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 QA(this,o)}}var tM=function(e){XA(r,e);var t=eM(r);function r(n){WA(this,r);var o;return o=t.call(this,n),o.props=new Qr(n==null?void 0:n.props),o}return KA(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ie),JO={Designer:Kt,Runtime:tM,Property:Qr};function nM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eo(e)}function oM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ys(e,t)}function iM(e,t){return t&&(uM(t)==="object"||typeof t=="function")?t:nM(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(e,t)}var uM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fM(e){var t=cM();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 iM(this,o)}}var _s=function(e){oM(r,e);var t=fM(r);function r(n){rM(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Xt.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Xt.controlIcon,o}return r}(Z);function aM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 sM(e,t,r){return t&&ZO(e.prototype,t),r&&ZO(e,r),e}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function yM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function _M(e,t){return t&&(vM(t)==="object"||typeof t=="function")?t:aM(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}var vM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dM(e){var t=pM();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 _M(this,o)}}var Xt=function(e){yM(r,e);var t=dM(r);function r(n){lM(this,r);var o;return o=t.call(this,n),o.props=new _s(n==null?void 0:n.props),o}return sM(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}(ee);Xt.controlEventKeys=["on_click"],Xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];function hM(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 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 OM(e,t,r){return t&&eg(e.prototype,t),r&&eg(e,r),e}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},no(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&&ps(e,t)}function mM(e,t){return t&&(PM(t)==="object"||typeof t=="function")?t:hM(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var PM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wM(e){var t=RM();return function(){var n=no(e),o;if(t){var i=no(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mM(this,o)}}var TM=function(e){gM(r,e);var t=wM(r);function r(n){bM(this,r);var o;return o=t.call(this,n),o.props=new _s(n==null?void 0:n.props),o}return OM(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ie),tg={Designer:Xt,Runtime:TM,Property:_s};function $M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function EM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}function IM(e,t){return t&&(CM(t)==="object"||typeof t=="function")?t:$M(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ds(e,t)}var CM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BM(e){var t=NM();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 IM(this,o)}}var hs=function(e){EM(r,e);var t=BM(r);function r(n){SM(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;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(l){return new Ql(l)}))!==null&&a!==void 0?a:[new Ql({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Z);function kM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ng(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AM(e,t,r){return t&&ng(e.prototype,t),r&&ng(e,r),e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function MM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function DM(e,t){return t&&(LM(t)==="object"||typeof t=="function")?t:kM(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(e,t)}var LM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xM(e){var t=FM();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 DM(this,o)}}var Qt=function(e){MM(r,e);var t=xM(r);function r(n){jM(this,r);var o;return o=t.call(this,n),o.props=new hs(n==null?void 0:n.props),o}return AM(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}(ee);Qt.controlEventKeys=["on_click","on_click_finish"],Qt.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 zM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 YM(e,t,r){return t&&rg(e.prototype,t),r&&rg(e,r),e}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(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&&Os(e,t)}function HM(e,t){return t&&(qM(t)==="object"||typeof t=="function")?t:zM(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var qM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WM(e){var t=UM();return function(){var n=io(e),o;if(t){var i=io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HM(this,o)}}var KM=function(e){GM(r,e);var t=WM(r);function r(n){VM(this,r);var o;return o=t.call(this,n),o.props=new hs(n==null?void 0:n.props),o}return YM(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ie),og={Designer:Qt,Runtime:KM,Property:hs};function XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(e)}function JM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gs(e,t)}function ZM(e,t){return t&&(e3(t)==="object"||typeof t=="function")?t:XM(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(e,t)}var e3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function t3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n3(e){var t=t3();return function(){var n=uo(e),o;if(t){var i=uo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZM(this,o)}}var ms=function(e){JM(r,e);var t=n3(r);function r(n){QM(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}(Z);function r3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 i3(e,t,r){return t&&ig(e.prototype,t),r&&ig(e,r),e}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},co(e)}function u3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function c3(e,t){return t&&(f3(t)==="object"||typeof t=="function")?t:r3(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(e,t)}var f3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l3(e){var t=a3();return function(){var n=co(e),o;if(t){var i=co(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c3(this,o)}}var Jt=function(e){u3(r,e);var t=l3(r);function r(n){o3(this,r);var o;return o=t.call(this,n),o.props=new ms(n==null?void 0:n.props),o}return i3(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ee);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 s3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _3(e,t,r){return t&&ug(e.prototype,t),r&&ug(e,r),e}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(e)}function v3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p3(e,t){return t&&(d3(t)==="object"||typeof t=="function")?t:s3(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(e,t)}var d3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b3(e){var t=h3();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 p3(this,o)}}var O3=function(e){v3(r,e);var t=b3(r);function r(n){y3(this,r);var o;return o=t.call(this,n),o.props=new ms(n==null?void 0:n.props),o}return _3(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ie),cg={Designer:Jt,Runtime:O3,Property:ms};function g3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(e)}function m3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function P3(e,t){return t&&(R3(t)==="object"||typeof t=="function")?t:g3(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ws(e,t)}var R3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T3(e){var t=w3();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 P3(this,o)}}var $3=function e(t){fg(this,e),this.dataCode=t.dataCode},Ts=function(e){m3(r,e);var t=T3(r);function r(n){fg(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:Zt.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Zt.controlIcon;var a;return o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new $3(l)}))!==null&&a!==void 0?a:[],o}return r}(Z);function S3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 I3(e,t,r){return t&&ag(e.prototype,t),r&&ag(e,r),e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function C3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$s(e,t)}function N3(e,t){return t&&(B3(t)==="object"||typeof t=="function")?t:S3(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$s(e,t)}var B3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j3(e){var t=k3();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 N3(this,o)}}var Zt=function(e){C3(r,e);var t=j3(r);function r(n){E3(this,r);var o;return o=t.call(this,n),o.props=new Ts(n==null?void 0:n.props),o}return I3(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}(ee);Zt.controlEventKeys=["on_click","on_click_finish"],Zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];function A3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 D3(e,t,r){return t&&lg(e.prototype,t),r&&lg(e,r),e}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},so(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&&Ss(e,t)}function F3(e,t){return t&&(x3(t)==="object"||typeof t=="function")?t:A3(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(e,t)}var x3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V3(e){var t=z3();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 F3(this,o)}}var Y3=function(e){L3(r,e);var t=V3(r);function r(n){M3(this,r);var o;return o=t.call(this,n),o.props=new Ts(n==null?void 0:n.props),o}return D3(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ie),sg={Designer:Zt,Runtime:Y3,Property:Ts};function yo(){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 G3(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 H3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _o(e){return _o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_o(e)}function _g(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function vg(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){H3(e,o,r[o])})}return e}function q3(e,t){return t&&(U3(t)==="object"||typeof t=="function")?t:G3(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Es(e,t)}var U3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pg(e){var t=W3();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 q3(this,o)}}var K3=function(e){_g(r,e);var t=pg(r);function r(n){yg(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:vg({},yo())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:vg({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},yo())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return r}(D),vo=function(e){_g(r,e);var t=pg(r);function r(n){yg(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;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new tr(n==null?void 0:n.fillPayload),o.formBind=new lb(n==null?void 0:n.formBind),o.fillBack=new Ka(n==null?void 0:n.fillBack),o}return r}(Z);vo.Rules=K3;function X3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q3(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 J3(e,t,r){return t&&dg(e.prototype,t),r&&dg(e,r),e}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(e)}function Z3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:X3(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Is(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=po(e),o;if(t){var i=po(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eD(this,o)}}var en=function(e){Z3(r,e);var t=rD(r);function r(n){Q3(this,r);var o;return o=t.call(this,n),o.props=new vo(n==null?void 0:n.props),o}return J3(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}(ee);en.controlEventKeys=["on_click","on_click_finish"],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:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function oD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uD(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 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&&Cs(e,t)}function fD(e,t){return t&&(aD(t)==="object"||typeof t=="function")?t:oD(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(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=ho(e),o;if(t){var i=ho(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 vo(n==null?void 0:n.props),o}return uD(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ie),bg={Designer:en,Runtime:yD,Property:vo};function _D(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 vD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bo(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&&Ns(e,t)}function mg(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){vD(e,o,r[o])})}return e}function pD(e,t){return t&&(dD(t)==="object"||typeof t=="function")?t:_D(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 hD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pg(e){var t=hD();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 pD(this,o)}}var bD=function(e){gg(r,e);var t=Pg(r);function r(n){Og(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:mg({},yo())},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:mg({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},yo())},o}return r}(D),Oo=function(e){gg(r,e);var t=Pg(r);function r(n){Og(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:tn.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:tn.controlIcon,o.fillPayload=new tr(n==null?void 0:n.fillPayload),o.listPageBind=new Qn(n==null?void 0:n.listPageBind),o.fillBack=new Ka(n==null?void 0:n.fillBack);var f;return o.showSelectedDetail=(f=n==null?void 0:n.showSelectedDetail)!==null&&f!==void 0?f:!1,o.selectedContentConfig=new er(n==null?void 0:n.selectedContentConfig),o}return r}(Z);Oo.Rules=bD;function OD(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 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 mD(e,t,r){return t&&Rg(e.prototype,t),r&&Rg(e,r),e}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},go(e)}function PD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function RD(e,t){return t&&(wD(t)==="object"||typeof t=="function")?t:OD(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}var wD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $D(e){var t=TD();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 RD(this,o)}}var tn=function(e){PD(r,e);var t=$D(r);function r(n){gD(this,r);var o;return o=t.call(this,n),o.props=new Oo(n==null?void 0:n.props),o}return mD(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}(ee);tn.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],tn.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 SD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ED(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 ID(e,t,r){return t&&wg(e.prototype,t),r&&wg(e,r),e}function mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mo(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&&ks(e,t)}function ND(e,t){return t&&(BD(t)==="object"||typeof t=="function")?t:SD(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}var BD=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 jD(e){var t=kD();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 ND(this,o)}}var AD=function(e){CD(r,e);var t=jD(r);function r(n){ED(this,r);var o;return o=t.call(this,n),o.props=new Oo(n==null?void 0:n.props),o}return ID(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ie),Tg={Designer:tn,Runtime:AD,Property:Oo};function MD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function js(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 As(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DD(e,t){return t&&(LD(t)==="object"||typeof t=="function")?t:MD(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}var LD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ds(e){var t=FD();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 DD(this,o)}}var xD=function(e){As(r,e);var t=Ds(r);function r(n){return js(this,r),t.call(this,n)}return r}(D),zD=function(e){As(r,e);var t=Ds(r);function r(n){return js(this,r),t.call(this,n)}return r}(ge),nn=function(e){As(r,e);var t=Ds(r);function r(n){return js(this,r),t.call(this,n)}return r}(L);nn.Rules=xD,nn.RuntimeRules=zD;function VD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GD(e,t,r){return t&&$g(e.prototype,t),r&&$g(e,r),e}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(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&&Ls(e,t)}function qD(e,t){return t&&(UD(t)==="object"||typeof t=="function")?t:VD(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}var UD=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 KD(e){var t=WD();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 qD(this,o)}}var Sg=function(e){HD(r,e);var t=KD(r);function r(n){YD(this,r);var o;return o=t.call(this,n),o.props=new nn(n==null?void 0:n.props),o}return GD(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(B);Sg.setting=[];function XD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 JD(e,t,r){return t&&Eg(e.prototype,t),r&&Eg(e,r),e}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(e)}function ZD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fs(e,t)}function e2(e,t){return t&&(t2(t)==="object"||typeof t=="function")?t:XD(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}var t2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r2(e){var t=n2();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 e2(this,o)}}var o2=function(e){ZD(r,e);var t=r2(r);function r(n){QD(this,r);var o;return o=t.call(this,n),o.props=new nn(n==null?void 0:n.props),o}return JD(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(Y),Ig={Designer:Sg,Runtime:o2,Property:nn};function i2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function Ng(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xs(e,t)}function u2(e,t){return t&&(c2(t)==="object"||typeof t=="function")?t:i2(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(e,t)}var c2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bg(e){var t=f2();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 u2(this,o)}}var a2=function(e){Ng(r,e);var t=Bg(r);function r(n){Cg(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),$o=function(e){Ng(r,e);var t=Bg(r);function r(n){Cg(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);$o.Rules=a2;function l2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 y2(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),e}function So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},So(e)}function _2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 v2(e,t){return t&&(p2(t)==="object"||typeof t=="function")?t:l2(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zs(e,t)}var p2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h2(e){var t=d2();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 v2(this,o)}}var jg=function(e){_2(r,e);var t=h2(r);function r(n){s2(this,r);var o;return o=t.call(this,n),o.props=new $o(n==null?void 0:n.props),o}return y2(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(B);jg.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 b2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O2(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 g2(e,t,r){return t&&Ag(e.prototype,t),r&&Ag(e,r),e}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(e)}function m2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vs(e,t)}function P2(e,t){return t&&(R2(t)==="object"||typeof t=="function")?t:b2(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}var R2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T2(e){var t=w2();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 P2(this,o)}}var $2=function(e){m2(r,e);var t=T2(r);function r(n){O2(this,r);var o;return o=t.call(this,n),o.props=new $o(n==null?void 0:n.props),o}return g2(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(Y),Mg={Designer:jg,Runtime:$2,Property:$o};function S2(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 Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Io(e)}function Lg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ys(e,t)}function E2(e,t){return t&&(I2(t)==="object"||typeof t=="function")?t:S2(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}var I2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=C2();return function(){var n=Io(e),o;if(t){var i=Io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E2(this,o)}}var N2=function(e){Lg(r,e);var t=Fg(r);function r(n){Dg(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),Co=function(e){Lg(r,e);var t=Fg(r);function r(n){Dg(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 Sb(a)}))!==null&&f!==void 0?f:[],o}return r}(L);Co.Rules=N2;function B2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j2(e,t,r){return t&&xg(e.prototype,t),r&&xg(e,r),e}function No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(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 M2(e,t){return t&&(D2(t)==="object"||typeof t=="function")?t:B2(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}var D2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F2(e){var t=L2();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 M2(this,o)}}var zg=function(e){A2(r,e);var t=F2(r);function r(n){k2(this,r);var o;return o=t.call(this,n),o.props=new Co(n==null?void 0:n.props),o}return j2(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(B);zg.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function x2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V2(e,t,r){return t&&Vg(e.prototype,t),r&&Vg(e,r),e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(e)}function Y2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G2(e,t){return t&&(H2(t)==="object"||typeof t=="function")?t:x2(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}var H2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U2(e){var t=q2();return function(){var n=Bo(e),o;if(t){var i=Bo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G2(this,o)}}var W2=function(e){Y2(r,e);var t=U2(r);function r(n){z2(this,r);var o;return o=t.call(this,n),o.props=new Co(n==null?void 0:n.props),o}return V2(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(Y),Yg={Designer:zg,Runtime:W2,Property:Co};function K2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(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&&qs(e,t)}function X2(e,t){return t&&(Q2(t)==="object"||typeof t=="function")?t:K2(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}var Q2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qg(e){var t=J2();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 X2(this,o)}}var Z2=function(e){Hg(r,e);var t=qg(r);function r(n){Gg(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),jo=function(e){Hg(r,e);var t=qg(r);function r(n){Gg(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:lt.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:lt.controlName;var _;o.icon=(_=n==null?void 0:n.icon)!==null&&_!==void 0?_:lt.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 J(h)}))!==null&&b!==void 0?b:[],o}return r}(Z);jo.Rules=Z2;function eL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nL(e,t,r){return t&&Ug(e.prototype,t),r&&Ug(e,r),e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(e)}function rL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function oL(e,t){return t&&(iL(t)==="object"||typeof t=="function")?t:eL(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}var iL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cL(e){var t=uL();return function(){var n=Ao(e),o;if(t){var i=Ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oL(this,o)}}var lt=function(e){rL(r,e);var t=cL(r);function r(n){tL(this,r);var o;return o=t.call(this,n),o.props=new jo(n==null?void 0:n.props),o}return nL(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}(ee);lt.controlEventKeys=["on_click","on_click_finish"],lt.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 fL(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 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 lL(e,t,r){return t&&Wg(e.prototype,t),r&&Wg(e,r),e}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(e)}function sL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yL(e,t){return t&&(_L(t)==="object"||typeof t=="function")?t:fL(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}var _L=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pL(e){var t=vL();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 yL(this,o)}}var dL=function(e){sL(r,e);var t=pL(r);function r(n){aL(this,r);var o;return o=t.call(this,n),o.props=new jo(n==null?void 0:n.props),o}return lL(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ie),Kg={Designer:lt,Runtime:dL,Property:jo};function hL(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 Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(e)}function Qg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function bL(e,t){return t&&(OL(t)==="object"||typeof t=="function")?t:hL(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ks(e,t)}var OL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jg(e){var t=gL();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 bL(this,o)}}var mL=function(e){Qg(r,e);var t=Jg(r);function r(n){Xg(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),Lo=function(e){Qg(r,e);var t=Jg(r);function r(n){Xg(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:st.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:st.controlName;var _;o.icon=(_=n==null?void 0:n.icon)!==null&&_!==void 0?_:st.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 J(h)}))!==null&&b!==void 0?b:[],o}return r}(Z);Lo.Rules=mL;function PL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wL(e,t,r){return t&&Zg(e.prototype,t),r&&Zg(e,r),e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(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&&Xs(e,t)}function $L(e,t){return t&&(SL(t)==="object"||typeof t=="function")?t:PL(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}var SL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IL(e){var t=EL();return function(){var n=Fo(e),o;if(t){var i=Fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $L(this,o)}}var st=function(e){TL(r,e);var t=IL(r);function r(n){RL(this,r);var o;return o=t.call(this,n),o.props=new Lo(n==null?void 0:n.props),o}return wL(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}(ee);st.controlEventKeys=["on_click","on_click_finish"],st.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 CL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 BL(e,t,r){return t&&em(e.prototype,t),r&&em(e,r),e}function xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(e)}function kL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function jL(e,t){return t&&(AL(t)==="object"||typeof t=="function")?t:CL(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}var AL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ML(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DL(e){var t=ML();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 jL(this,o)}}var LL=function(e){kL(r,e);var t=DL(r);function r(n){NL(this,r);var o;return o=t.call(this,n),o.props=new Lo(n==null?void 0:n.props),o}return BL(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ie),tm={Designer:st,Runtime:LL,Property:Lo};function FL(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&&Js(e,t)}function xL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:FL(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var zL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function om(e){var t=VL();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 xL(this,o)}}var YL=function(e){rm(r,e);var t=om(r);function r(){nm(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),Vo=function(e){rm(r,e);var t=om(r);function r(n){nm(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:rn.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:rn.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new IO(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}(Z);Vo.Rules=YL;function GL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qL(e,t,r){return t&&im(e.prototype,t),r&&im(e,r),e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function UL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function WL(e,t){return t&&(KL(t)==="object"||typeof t=="function")?t:GL(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}var KL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QL(e){var t=XL();return function(){var n=Yo(e),o;if(t){var i=Yo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WL(this,o)}}var rn=function(e){UL(r,e);var t=QL(r);function r(n){HL(this,r);var o;return o=t.call(this,n),o.props=new Vo(n==null?void 0:n.props),o}return qL(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}(ee);rn.controlEventKeys=["on_click","on_click_finish"],rn.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 JL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 eF(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(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&&ey(e,t)}function nF(e,t){return t&&(rF(t)==="object"||typeof t=="function")?t:JL(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}var rF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iF(e){var t=oF();return function(){var n=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nF(this,o)}}var uF=function(e){tF(r,e);var t=iF(r);function r(n){ZL(this,r);var o;return o=t.call(this,n),o.props=new Vo(n==null?void 0:n.props),o}return eF(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ie),cm={Designer:rn,Runtime:uF,Property:Vo};function cF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(e)}function aF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function lF(e,t){return t&&(sF(t)==="object"||typeof t=="function")?t:cF(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var sF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=yF();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 lF(this,o)}}var ny=function(e){aF(r,e);var t=_F(r);function r(n){fF(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:on.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:on.controlIcon,o}return r}(Z);function vF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 dF(e,t,r){return t&&fm(e.prototype,t),r&&fm(e,r),e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function hF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function bF(e,t){return t&&(OF(t)==="object"||typeof t=="function")?t:vF(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var OF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mF(e){var t=gF();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 bF(this,o)}}var on=function(e){hF(r,e);var t=mF(r);function r(n){pF(this,r);var o;return o=t.call(this,n),o.props=new ny(n==null?void 0:n.props),o}return dF(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}(ee);on.controlEventKeys=["on_click"],on.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 PF(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 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 wF(e,t,r){return t&&am(e.prototype,t),r&&am(e,r),e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(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&&oy(e,t)}function $F(e,t){return t&&(SF(t)==="object"||typeof t=="function")?t:PF(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}var SF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IF(e){var t=EF();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 $F(this,o)}}var CF=function(e){TF(r,e);var t=IF(r);function r(n){RF(this,r);var o;return o=t.call(this,n),o.props=new ny(n==null?void 0:n.props),o}return wF(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ie),lm={Designer:on,Runtime:CF,Property:ny};function NF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sm(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 ym(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function BF(e,t){return t&&(kF(t)==="object"||typeof t=="function")?t:NF(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}var kF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _m(e){var t=jF();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 BF(this,o)}}var AF=function(e){ym(r,e);var t=_m(r);function r(n){sm(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),Ko=function(e){ym(r,e);var t=_m(r);function r(n){sm(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);Ko.Rules=AF;function MF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DF(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 LF(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(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&&uy(e,t)}function xF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:MF(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}var zF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YF(e){var t=VF();return function(){var n=Xo(e),o;if(t){var i=Xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xF(this,o)}}var Qo=function(e){FF(r,e);var t=YF(r);function r(n){DF(this,r);var o;return o=t.call(this,n),o.props=new Ko(n==null?void 0:n.props),o}return LF(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(B);Qo.controlEventKeys=["on_click"],Qo.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 GF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qF(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(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&&cy(e,t)}function WF(e,t){return t&&(KF(t)==="object"||typeof t=="function")?t:GF(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(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=Jo(e),o;if(t){var i=Jo(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){HF(this,r);var o;return o=t.call(this,n),o.props=new Ko(n==null?void 0:n.props),o}return qF(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Y),un={Designer:Qo,Runtime:JF,Property:Ko};function ZF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function t4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function n4(e,t){return t&&(r4(t)==="object"||typeof t=="function")?t:ZF(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}var r4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i4(e){var t=o4();return function(){var n=Zo(e),o;if(t){var i=Zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n4(this,o)}}var ay=function(e){t4(r,e);var t=i4(r);function r(n){e4(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:cn.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:cn.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 u4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f4(e,t,r){return t&&dm(e.prototype,t),r&&dm(e,r),e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(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&&ly(e,t)}function l4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:u4(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var s4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _4(e){var t=y4();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 l4(this,o)}}var cn=function(e){a4(r,e);var t=_4(r);function r(n){c4(this,r);var o;return o=t.call(this,n),o.props=new ay(n==null?void 0:n.props),o}return f4(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}(B);cn.controlEventKeys=["on_click"],cn.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 v4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d4(e,t,r){return t&&hm(e.prototype,t),r&&hm(e,r),e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(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&&sy(e,t)}function b4(e,t){return t&&(O4(t)==="object"||typeof t=="function")?t:v4(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}var O4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b4(this,o)}}var P4=function(e){h4(r,e);var t=m4(r);function r(n){p4(this,r);var o;return o=t.call(this,n),o.props=new ay(n==null?void 0:n.props),o}return d4(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(Y),bm={Designer:cn,Runtime:P4,Property:ay},R4=Object.freeze({__proto__:null,Text:OO,Link:PO,Button:TO,Divider:jO,Title:xO,CreateFormListButton:qO,BatchSubmissionListButton:JO,SubmissionRecordListButton:tg,ExportListButton:og,ExportRecordListButton:cg,ImportRecordListButton:sg,FormSelectButton:bg,ListSelectButton:Tg,Pagination:Ig,Dashboard:Mg,ListViewSelect:Yg,TextOcrButton:Kg,InvoiceCheckButton:tm,BatchPrintListButton:cm,BatchPrintRecordListButton:lm,OperationButton:un,BatchDeleteButton:bm});function w4(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 ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(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&&vy(e,t)}function T4(e,t){return t&&($4(t)==="object"||typeof t=="function")?t:w4(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}var $4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function py(e){var t=S4();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 T4(this,o)}}var E4=function(e){_y(r,e);var t=py(r);function r(n){yy(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=Ut(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(G),I4=function(e){_y(r,e);var t=py(r);function r(n){yy(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:Ut(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(k),yt=function(e){_y(r,e);var t=py(r);function r(n){yy(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 Xa(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:_t.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);yt.Rules=E4,yt.RuntimeRules=I4;function C4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B4(e,t,r){return t&&Om(e.prototype,t),r&&Om(e,r),e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(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&&dy(e,t)}function j4(e,t){return t&&(A4(t)==="object"||typeof t=="function")?t:C4(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}var A4=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 D4(e){var t=M4();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 j4(this,o)}}var _t=function(e){k4(r,e);var t=D4(r);function r(n){N4(this,r);var o;return o=t.call(this,n),o.props=new yt(n==null?void 0:n.props),o}return B4(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);_t.controlEventKeys=["on_change","on_input","on_focus","on_blur"],_t.controlFieldType=c.FieldTypes.VARCHAR,_t.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 L4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 x4(e,t,r){return t&&gm(e.prototype,t),r&&gm(e,r),e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(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&&hy(e,t)}function V4(e,t){return t&&(Y4(t)==="object"||typeof t=="function")?t:L4(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}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=oi(e),o;if(t){var i=oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V4(this,o)}}var mm=function(e){z4(r,e);var t=H4(r);function r(n){F4(this,r);var o;return o=t.call(this,n),o.props=new yt(n==null?void 0:n.props),o}return x4(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(C);mm.controlFieldType=c.FieldTypes.VARCHAR;var Pm={Designer:_t,Runtime:mm,Property:yt};function q4(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 ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(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&&gy(e,t)}function U4(e,t){return t&&(W4(t)==="object"||typeof t=="function")?t:q4(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gy(e,t)}var W4=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 my(e){var t=K4();return function(){var n=ii(e),o;if(t){var i=ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U4(this,o)}}var X4=function(e){Oy(r,e);var t=my(r);function r(n){by(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}(Ae),Q4=function(e){Oy(r,e);var t=my(r);function r(n){by(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(k),fn=function(e){Oy(r,e);var t=my(r);function r(n){by(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 z(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:an.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 J(O))})),o}return r}(E);fn.Rules=X4,fn.RuntimeRules=Q4;function J4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e5(e,t,r){return t&&Rm(e.prototype,t),r&&Rm(e,r),e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function t5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function n5(e,t){return t&&(r5(t)==="object"||typeof t=="function")?t:J4(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}var r5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i5(e){var t=o5();return function(){var n=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n5(this,o)}}var an=function(e){t5(r,e);var t=i5(r);function r(n){Z4(this,r);var o;return o=t.call(this,n),o.props=new fn(n==null?void 0:n.props),o}return e5(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(I);an.controlEventKeys=["on_change","on_click"],an.controlFieldType=c.FieldTypes.ARRAY,an.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 u5(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 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 f5(e,t,r){return t&&wm(e.prototype,t),r&&wm(e,r),e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(e)}function a5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 l5(e,t){return t&&(s5(t)==="object"||typeof t=="function")?t:u5(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}var s5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _5(e){var t=y5();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 l5(this,o)}}var Tm=function(e){a5(r,e);var t=_5(r);function r(n){c5(this,r);var o;return o=t.call(this,n),o.props=new fn(n==null?void 0:n.props),o}return f5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(C);Tm.controlFieldType=c.FieldTypes.ARRAY;var $m={Designer:an,Runtime:Tm,Property:fn};function v5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function Em(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function p5(e,t){return t&&(d5(t)==="object"||typeof t=="function")?t:v5(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}var d5=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 Im(e){var t=h5();return function(){var n=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p5(this,o)}}var b5=function(e){Em(r,e);var t=Im(r);function r(n){return Sm(this,r),t.call(this,n)}return r}(Ae),ai=function(e){Em(r,e);var t=Im(r);function r(n){Sm(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 z(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:ln.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 J(g))})),o}return r}(E);ai.Rules=b5;function O5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m5(e,t,r){return t&&Cm(e.prototype,t),r&&Cm(e,r),e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(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&&Ty(e,t)}function R5(e,t){return t&&(w5(t)==="object"||typeof t=="function")?t:O5(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}var w5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $5(e){var t=T5();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 R5(this,o)}}var ln=function(e){P5(r,e);var t=$5(r);function r(n){g5(this,r);var o;return o=t.call(this,n),o.props=new ai(n==null?void 0:n.props),o}return m5(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(I);ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=c.FieldTypes.VARCHAR,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:"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 S5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I5(e,t,r){return t&&Nm(e.prototype,t),r&&Nm(e,r),e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(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&&$y(e,t)}function N5(e,t){return t&&(B5(t)==="object"||typeof t=="function")?t:S5(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}var B5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 j5(e){var t=k5();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 N5(this,o)}}var Bm=function(e){C5(r,e);var t=j5(r);function r(n){E5(this,r);var o;return o=t.call(this,n),o.props=new ai(n==null?void 0:n.props),o}return I5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(C);Bm.controlFieldType=c.FieldTypes.VARCHAR;var km={Designer:ln,Runtime:Bm,Property:ai};function A5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function Ey(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function M5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:A5(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}var D5=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 Cy(e){var t=L5();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 M5(this,o)}}var F5=function(e){Ey(r,e);var t=Cy(r);function r(n){Sy(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=Ut(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(G),x5=function(e){Ey(r,e);var t=Cy(r);function r(n){Sy(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:Ut(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(k),sn=function(e){Ey(r,e);var t=Cy(r);function r(n){Sy(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:yn.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 Xa(n==null?void 0:n.regularRules),o}return r}(E);sn.Rules=F5,sn.RuntimeRules=x5;function z5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y5(e,t,r){return t&&jm(e.prototype,t),r&&jm(e,r),e}function _i(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_i=Reflect.get:_i=function(o,i,u){var f=q5(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},_i(e,t,r||e)}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function G5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function H5(e,t){return t&&(U5(t)==="object"||typeof t=="function")?t:z5(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function q5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vt(e),e!==null););return e}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=vt(e),o;if(t){var i=vt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H5(this,o)}}var yn=function(e){G5(r,e);var t=K5(r);function r(o){V5(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=_i(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},Y5(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(I);yn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],yn.controlFieldType=c.FieldTypes.DECIMAL,yn.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 X5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q5(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 J5(e,t,r){return t&&Am(e.prototype,t),r&&Am(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 e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:X5(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}var 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=vi(e),o;if(t){var i=vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e6(this,o)}}var Mm=function(e){Z5(r,e);var t=r6(r);function r(n){Q5(this,r);var o;return o=t.call(this,n),o.props=new sn(n==null?void 0:n.props),o}return J5(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(C);Mm.controlFieldType=c.FieldTypes.DECIMAL;var Dm={Designer:yn,Runtime:Mm,Property:sn};function o6(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 pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(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&&ky(e,t)}function c6(e,t){return t&&(f6(t)==="object"||typeof t=="function")?t:o6(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(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=pi(e),o;if(t){var i=pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c6(this,o)}}var jy=function(e){u6(r,e);var t=l6(r);function r(n){i6(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:hi.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 Dr(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 s6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y6(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 _6(e,t,r){return t&&Lm(e.prototype,t),r&&Lm(e,r),e}function di(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?di=Reflect.get:di=function(o,i,u){var f=d6(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},di(e,t,r||e)}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(e)}function v6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}function p6(e,t){return t&&(h6(t)==="object"||typeof t=="function")?t:s6(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}function d6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pt(e),e!==null););return e}var h6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O6(e){var t=b6();return function(){var n=pt(e),o;if(t){var i=pt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p6(this,o)}}var hi=function(e){v6(r,e);var t=O6(r);function r(o){y6(this,r);var i;return i=t.call(this,o),i.props=new jy(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=di(pt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},_6(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(I);hi.controlFieldType=c.FieldTypes.TIMESTAMP,hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 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 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 P6(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(e,r),e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(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&&My(e,t)}function w6(e,t){return t&&(T6(t)==="object"||typeof t=="function")?t:g6(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(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=bi(e),o;if(t){var i=bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w6(this,o)}}var xm=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 jy(n==null?void 0:n.props),o}return P6(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(C);xm.controlFieldType=c.FieldTypes.TIMESTAMP;var zm={Designer:hi,Runtime:xm,Property:jy};function E6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function Ym(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function I6(e,t){return t&&(C6(t)==="object"||typeof t=="function")?t:E6(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(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 Gm(e){var t=N6();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 I6(this,o)}}var B6=function(e){Ym(r,e);var t=Gm(r);function r(n){Vm(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(k),gi=function(e){Ym(r,e);var t=Gm(r);function r(n){Vm(this,r);var o,i;o=t.call(this,n),o.dataBind=new Pb(n==null?void 0:n.dataBind),o.defaultValue=new Rb(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?_:Pi.controlName;var d;return o.limitDateList=(d=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new Dr(b)}))!==null&&d!==void 0?d:[],o}return r}(E);gi.RuntimeRules=B6;function k6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A6(e,t,r){return t&&Hm(e.prototype,t),r&&Hm(e,r),e}function mi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mi=Reflect.get:mi=function(o,i,u){var f=L6(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},mi(e,t,r||e)}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function M6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D6(e,t){return t&&(F6(t)==="object"||typeof t=="function")?t:k6(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}function L6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dt(e),e!==null););return e}var F6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z6(e){var t=x6();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 D6(this,o)}}var Pi=function(e){M6(r,e);var t=z6(r);function r(o){j6(this,r);var i;return i=t.call(this,o),i.props=new gi(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=mi(dt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u},A6(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);Pi.controlFieldType=c.FieldTypes.TIMESCOPE,Pi.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 V6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y6(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 G6(e,t,r){return t&&qm(e.prototype,t),r&&qm(e,r),e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function H6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q6(e,t){return t&&(U6(t)==="object"||typeof t=="function")?t:V6(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}var U6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K6(e){var t=W6();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 q6(this,o)}}var Um=function(e){H6(r,e);var t=K6(r);function r(n){Y6(this,r);var o;return o=t.call(this,n),o.props=new gi(n==null?void 0:n.props),o}return G6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(C);Um.controlFieldType=c.FieldTypes.TIMESCOPE;var Wm={Designer:Pi,Runtime:Um,Property:gi};function X6(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 wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(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&&Vy(e,t)}function Q6(e,t){return t&&(J6(t)==="object"||typeof t=="function")?t:X6(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}var J6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Z6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yy(e){var t=Z6();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 Q6(this,o)}}var e7=function(e){zy(r,e);var t=Yy(r);function r(n){xy(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}(G),t7=function(e){zy(r,e);var t=Yy(r);function r(n){xy(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}(k),_n=function(e){zy(r,e);var t=Yy(r);function r(n){xy(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:vn.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);_n.Rules=e7,_n.RuntimeRules=t7;function n7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Km(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o7(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function i7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function u7(e,t){return t&&(c7(t)==="object"||typeof t=="function")?t:n7(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}var c7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a7(e){var t=f7();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 u7(this,o)}}var vn=function(e){i7(r,e);var t=a7(r);function r(n){r7(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return o7(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);vn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],vn.controlFieldType=c.FieldTypes.TEXT,vn.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 l7(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 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 y7(e,t,r){return t&&Xm(e.prototype,t),r&&Xm(e,r),e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function _7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function v7(e,t){return t&&(p7(t)==="object"||typeof t=="function")?t:l7(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}var p7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h7(e){var t=d7();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 v7(this,o)}}var Qm=function(e){_7(r,e);var t=h7(r);function r(n){s7(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return y7(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(C);Qm.controlFieldType=c.FieldTypes.TEXT;var Jm={Designer:vn,Runtime:Qm,Property:_n};function b7(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 Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function Uy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function O7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:b7(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}var g7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ky(e){var t=m7();return function(){var n=Si(e),o;if(t){var i=Si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O7(this,o)}}var P7=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(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}(G),R7=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(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}(k),pn=function(e){Uy(r,e);var t=Ky(r);function r(n){qy(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:dn.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);pn.Rules=P7,pn.RuntimeRules=R7;function w7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $7(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function S7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function E7(e,t){return t&&(I7(t)==="object"||typeof t=="function")?t:w7(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}var I7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N7(e){var t=C7();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 E7(this,o)}}var dn=function(e){S7(r,e);var t=N7(r);function r(n){T7(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return $7(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);dn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],dn.controlFieldType=c.FieldTypes.TEXT,dn.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 B7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 j7(e,t,r){return t&&e0(e.prototype,t),r&&e0(e,r),e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function A7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function M7(e,t){return t&&(D7(t)==="object"||typeof t=="function")?t:B7(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}var D7=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 F7(e){var t=L7();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 t0=function(e){A7(r,e);var t=F7(r);function r(n){k7(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return j7(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(C);t0.controlFieldType=c.FieldTypes.TEXT;var n0={Designer:dn,Runtime:t0,Property:pn};function x7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r0(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 o0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z7(e,t){return t&&(V7(t)==="object"||typeof t=="function")?t:x7(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}var V7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i0(e){var t=Y7();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 z7(this,o)}}var G7=function(e){o0(r,e);var t=i0(r);function r(n){return r0(this,r),t.call(this,n)}return r}(Ae),Ni=function(e){o0(r,e);var t=i0(r);function r(n){r0(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 z(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ki.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 J(d))})),o}return r}(E);Ni.Rules=G7;function H7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 U7(e,t,r){return t&&u0(e.prototype,t),r&&u0(e,r),e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function W7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(X7(t)==="object"||typeof t=="function")?t:H7(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var X7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J7(e){var t=Q7();return function(){var n=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 ki=function(e){W7(r,e);var t=J7(r);function r(n){q7(this,r);var o;return o=t.call(this,n),o.props=new Ni(n==null?void 0:n.props),o}return U7(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);ki.controlFieldType=c.FieldTypes.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Z7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 t8(e,t,r){return t&&c0(e.prototype,t),r&&c0(e,r),e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function n8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function r8(e,t){return t&&(o8(t)==="object"||typeof t=="function")?t:Z7(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var o8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u8(e){var t=i8();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r8(this,o)}}var f0=function(e){n8(r,e);var t=u8(r);function r(n){e8(this,r);var o;return o=t.call(this,n),o.props=new Ni(n==null?void 0:n.props),o}return t8(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(C);f0.controlFieldType=c.FieldTypes.VARCHAR;var a0={Designer:ki,Runtime:f0,Property:Ni};function c8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t_(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 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&&r_(e,t)}function f8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:c8(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var a8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o_(e){var t=l8();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f8(this,o)}}var s8=function(e){n_(r,e);var t=o_(r);function r(n){return t_(this,r),t.call(this,n)}return r}(Ae),y8=function(e){n_(r,e);var t=o_(r);function r(n){t_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),hn=function(e){n_(r,e);var t=o_(r);function r(n){t_(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 z(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Di.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 J(_))})),o}return r}(E);hn.Rules=s8,hn.RuntimeRules=y8;function _8(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 l0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p8(e,t,r){return t&&l0(e.prototype,t),r&&l0(e,r),e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function d8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i_(e,t)}function h8(e,t){return t&&(b8(t)==="object"||typeof t=="function")?t:_8(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(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=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h8(this,o)}}var Di=function(e){d8(r,e);var t=g8(r);function r(n){v8(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return p8(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);Di.controlFieldType=c.FieldTypes.ARRAY,Di.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 m8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 R8(e,t,r){return t&&s0(e.prototype,t),r&&s0(e,r),e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function w8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function T8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:m8(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}var $8=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 E8(e){var t=S8();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 T8(this,o)}}var y0=function(e){w8(r,e);var t=E8(r);function r(n){P8(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return R8(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(C);y0.controlFieldType=c.FieldTypes.ARRAY;var _0={Designer:Di,Runtime:y0,Property:hn};function I8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function p0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function C8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:I8(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var N8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d0(e){var t=B8();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 C8(this,o)}}var k8=function(e){p0(r,e);var t=d0(r);function r(n){v0(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),xi=function(e){p0(r,e);var t=d0(r);function r(n){v0(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:Vi.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 J(b))})),o}return r}(E);xi.RuntimeRules=k8;function j8(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 h0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M8(e,t,r){return t&&h0(e.prototype,t),r&&h0(e,r),e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function D8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function L8(e,t){return t&&(F8(t)==="object"||typeof t=="function")?t:j8(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}var F8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z8(e){var t=x8();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L8(this,o)}}var Vi=function(e){D8(r,e);var t=z8(r);function r(n){A8(this,r);var o;return o=t.call(this,n),o.props=new xi(n==null?void 0:n.props),o}return M8(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(I);Vi.controlFieldType=c.FieldTypes.EMPLOYEES,Vi.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 V8(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 b0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G8(e,t,r){return t&&b0(e.prototype,t),r&&b0(e,r),e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function H8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q8(e,t){return t&&(U8(t)==="object"||typeof t=="function")?t:V8(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}var U8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K8(e){var t=W8();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q8(this,o)}}var O0=function(e){H8(r,e);var t=K8(r);function r(n){Y8(this,r);var o;return o=t.call(this,n),o.props=new xi(n==null?void 0:n.props),o}return G8(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(C);O0.controlFieldType=c.FieldTypes.EMPLOYEES;var g0={Designer:Vi,Runtime:O0,Property:xi};function X8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function s_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q8(e,t){return t&&(J8(t)==="object"||typeof t=="function")?t:X8(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var J8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Z8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function __(e){var t=Z8();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 Q8(this,o)}}var ex=10485760,tx=104857600,nx=1048576e3,rx=function(e){s_(r,e);var t=__(r);function r(n){l_(this,r);var o;return o=t.call(this,n),o.maxSize={type:"number",min:0,max:nx,message:p.getMessage("attachmentMaxSize")},o}return r}(G),ox=function(e){s_(r,e);var t=__(r);function r(n){l_(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}(k),ht=function(e){s_(r,e);var t=__(r);function r(n){l_(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:tx;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:bt.controlName;var _;return o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(E);ht.Rules=rx,ht.RuntimeRules=ox;function ix(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ux(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cx(e,t,r){return t&&m0(e.prototype,t),r&&m0(e,r),e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function fx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function ax(e,t){return t&&(lx(t)==="object"||typeof t=="function")?t:ix(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var lx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yx(e){var t=sx();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ax(this,o)}}var bt=function(e){fx(r,e);var t=yx(r);function r(n){ux(this,r);var o;return o=t.call(this,n),o.props=new ht(n==null?void 0:n.props),o}return cx(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(I);bt.controlEventKeys=["on_change"],bt.controlFieldType=c.FieldTypes.FILE,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:!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 _x(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 P0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function px(e,t,r){return t&&P0(e.prototype,t),r&&P0(e,r),e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(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&&p_(e,t)}function hx(e,t){return t&&(bx(t)==="object"||typeof t=="function")?t:_x(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(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=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hx(this,o)}}var d_=function(e){dx(r,e);var t=gx(r);function r(n){vx(this,r);var o;return o=t.call(this,n),o.props=new ht(n==null?void 0:n.props),o}return px(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(C);d_.controlFieldType=c.FieldTypes.FILE;var R0={Designer:bt,Runtime:d_,Property:ht};function mx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Rx(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(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&&h_(e,t)}function Tx(e,t){return t&&($x(t)==="object"||typeof t=="function")?t:mx(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var $x=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ex(e){var t=Sx();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tx(this,o)}}var b_=function(e){wx(r,e);var t=Ex(r);function r(n){Px(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 Rx(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(bt);b_.controlFieldType=c.FieldTypes.IMAGE,b_.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 Ix(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Nx(e,t,r){return t&&T0(e.prototype,t),r&&T0(e,r),e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function Bx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O_(e,t)}function kx(e,t){return t&&(jx(t)==="object"||typeof t=="function")?t:Ix(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}var jx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ax(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mx(e){var t=Ax();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kx(this,o)}}var Dx=function(e){Bx(r,e);var t=Mx(r);function r(n){Cx(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 Nx(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(d_);function Lx(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 Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function xx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function zx(e,t){return t&&(Vx(t)==="object"||typeof t=="function")?t:Lx(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var Vx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gx(e){var t=Yx();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 zx(this,o)}}var Hx=function(e){xx(r,e);var t=Gx(r);function r(n){return Fx(this,r),t.call(this,n)}return r}(ht),$0={Designer:b_,Runtime:Dx,Property:Hx};function qx(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 Ux(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 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&&R_(e,t)}function Wx(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){Ux(e,o,r[o])})}return e}function Kx(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 Xx(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Kx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Qx(e,t){return t&&(Jx(t)==="object"||typeof t=="function")?t:qx(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}var Jx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 w_(e){var t=Zx();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 Qx(this,o)}}var e9=function(e){P_(r,e);var t=w_(r);function r(n){m_(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}(Ae),t9=function(e){P_(r,e);var t=w_(r);function r(n){m_(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:[Xx(Wx({},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}(k),bn=function(e){P_(r,e);var t=w_(r);function r(n){m_(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 gb(n==null?void 0:n.dataBind);var s;o.datasourceBind=new z((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new Zn({value:"name"})]});var y;o.defaultValue=new mb((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?_:On.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);bn.Rules=e9,bn.RuntimeRules=t9;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 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 o9(e,t,r){return t&&S0(e.prototype,t),r&&S0(e,r),e}function Qi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qi=Reflect.get:Qi=function(o,i,u){var f=c9(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Qi(e,t,r||e)}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(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&&T_(e,t)}function u9(e,t){return t&&(f9(t)==="object"||typeof t=="function")?t:n9(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}function c9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var f9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l9(e){var t=a9();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 u9(this,o)}}var On=function(e){i9(r,e);var t=l9(r);function r(o){r9(this,r);var i;return i=t.call(this,o),i.props=new bn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Qi(Ot(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},o9(r,null,[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(I);On.controlEventKeys=["on_change","on_input","on_focus","on_blur"],On.controlFieldType=c.FieldTypes.MONEY,On.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 s9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _9(e,t,r){return t&&E0(e.prototype,t),r&&E0(e,r),e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(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&&$_(e,t)}function p9(e,t){return t&&(d9(t)==="object"||typeof t=="function")?t:s9(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}var d9=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=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p9(this,o)}}var I0=function(e){v9(r,e);var t=b9(r);function r(n){y9(this,r);var o;return o=t.call(this,n),o.props=new bn(n==null?void 0:n.props),o}return _9(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(C);I0.controlFieldType=c.FieldTypes.MONEY;var C0={Designer:On,Runtime:I0,Property:bn};function O9(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 Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(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&&I_(e,t)}function g9(e,t){return t&&(m9(t)==="object"||typeof t=="function")?t:O9(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}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 C_(e){var t=P9();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g9(this,o)}}var R9=function(e){E_(r,e);var t=C_(r);function r(n){S_(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}(G),w9=function(e){E_(r,e);var t=C_(r);function r(n){S_(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}(k),gn=function(e){E_(r,e);var t=C_(r);function r(n){S_(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 Lr(_)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new Lr});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:mn.controlName,o}return r}(E);gn.Rules=R9,gn.RuntimeRules=w9;function N_(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 T9(e){if(Array.isArray(e))return N_(e)}function $9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S9(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 E9(e,t,r){return t&&N0(e.prototype,t),r&&N0(e,r),e}function eu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?eu=Reflect.get:eu=function(o,i,u){var f=k9(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 gt(e){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gt(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&&B_(e,t)}function C9(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function N9(){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 B9(e,t){return t&&(A9(t)==="object"||typeof t=="function")?t:$9(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function k9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gt(e),e!==null););return e}function j9(e){return T9(e)||C9(e)||M9(e)||N9()}var A9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M9(e,t){if(!!e){if(typeof e=="string")return N_(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 N_(e,t)}}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=gt(e),o;if(t){var i=gt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B9(this,o)}}var mn=function(e){I9(r,e);var t=L9(r);function r(o){S9(this,r);var i;return i=t.call(this,o),i.props=new gn(o==null?void 0:o.props),i}var n=r.prototype;return n.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 Lr});(f=this.props.explain).push.apply(f,j9(l))}}eu(gt(r.prototype),"postUpdate",this).call(this,i,u)},E9(r,null,[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(I);mn.controlEventKeys=["on_change","on_click"],mn.controlFieldType=c.FieldTypes.DECIMAL,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_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 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 B0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z9(e,t,r){return t&&B0(e.prototype,t),r&&B0(e,r),e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(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&&k_(e,t)}function Y9(e,t){return t&&(G9(t)==="object"||typeof t=="function")?t:F9(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(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=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y9(this,o)}}var k0=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 gn(n==null?void 0:n.props),o}return z9(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(C);k0.controlFieldType=c.FieldTypes.DECIMAL;var j0={Designer:mn,Runtime:k0,Property:gn};function U9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function M0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function W9(e,t){return t&&(K9(t)==="object"||typeof t=="function")?t:U9(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var K9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D0(e){var t=X9();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 W9(this,o)}}var Q9=function(e){M0(r,e);var t=D0(r);function r(n){A0(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}(k),ru=function(e){M0(r,e);var t=D0(r);function r(n){A0(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:iu.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 wb((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);ru.RuntimeRules=Q9;function J9(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 L0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ez(e,t,r){return t&&L0(e.prototype,t),r&&L0(e,r),e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(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&&A_(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:J9(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(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=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nz(this,o)}}var iu=function(e){tz(r,e);var t=iz(r);function r(n){Z9(this,r);var o;return o=t.call(this,n),o.props=new ru(n==null?void 0:n.props),o}return ez(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(I);iu.controlFieldType=c.FieldTypes.ADDRESS,iu.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 uz(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 F0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fz(e,t,r){return t&&F0(e.prototype,t),r&&F0(e,r),e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function az(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M_(e,t)}function lz(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:uz(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(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=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lz(this,o)}}var x0=function(e){az(r,e);var t=_z(r);function r(n){cz(this,r);var o;return o=t.call(this,n),o.props=new ru(n==null?void 0:n.props),o}return fz(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);x0.controlFieldType=c.FieldTypes.ADDRESS;var z0={Designer:iu,Runtime:x0,Property:ru};function vz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function Y0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pz(e,t){return t&&(dz(t)==="object"||typeof t=="function")?t:vz(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(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 G0(e){var t=hz();return function(){var n=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pz(this,o)}}var bz=function(e){Y0(r,e);var t=G0(r);function r(n){V0(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),fu=function(e){Y0(r,e);var t=G0(r);function r(n){V0(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:Pn.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 J(g))})),o}return r}(E);fu.RuntimeRules=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 H0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mz(e,t,r){return t&&H0(e.prototype,t),r&&H0(e,r),e}function au(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?au=Reflect.get:au=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}},au(e,t,r||e)}function mt(e){return mt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mt(e)}function Pz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function Rz(e,t){return t&&(Tz(t)==="object"||typeof t=="function")?t:Oz(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}function wz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mt(e),e!==null););return e}var Tz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sz(e){var t=$z();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 Rz(this,o)}}var Pn=function(e){Pz(r,e);var t=Sz(r);function r(o){gz(this,r);var i;return i=t.call(this,o),i.props=new fu(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=au(mt(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},mz(r,null,[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(I);Pn.controlName="\u90E8\u95E8",Pn.controlFieldType=c.FieldTypes.DEPARTMENTS,Pn.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.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 Ez(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Cz(e,t,r){return t&&q0(e.prototype,t),r&&q0(e,r),e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function Nz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function Bz(e,t){return t&&(kz(t)==="object"||typeof t=="function")?t:Ez(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var kz=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 Az(e){var t=jz();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 Bz(this,o)}}var U0=function(e){Nz(r,e);var t=Az(r);function r(n){Iz(this,r);var o;return o=t.call(this,n),o.props=new fu(n==null?void 0:n.props),o}return Cz(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(C);U0.controlFieldType=c.FieldTypes.DEPARTMENTS;var W0={Designer:Pn,Runtime:U0,Property:fu};function Mz(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 su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(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&&x_(e,t)}function Fz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:Mz(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}var xz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vz(e){var t=zz();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 Fz(this,o)}}var z_=function(e){Lz(r,e);var t=Vz(r);function r(n){Dz(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:Rn.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 Yz(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 K0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Hz(e,t,r){return t&&K0(e.prototype,t),r&&K0(e,r),e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function qz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function Uz(e,t){return t&&(Wz(t)==="object"||typeof t=="function")?t:Yz(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var Wz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xz(e){var t=Kz();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uz(this,o)}}var Rn=function(e){qz(r,e);var t=Xz(r);function r(n){Gz(this,r);var o;return o=t.call(this,n),o.props=new z_(n==null?void 0:n.props),o}return Hz(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);Rn.controlEventKeys=["on_change"],Rn.controlFieldType=c.FieldTypes.AUTO_NUMBER,Rn.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 Qz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zz(e,t,r){return t&&X0(e.prototype,t),r&&X0(e,r),e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function eV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tV(e,t){return t&&(nV(t)==="object"||typeof t=="function")?t:Qz(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}var nV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=rV();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 tV(this,o)}}var Q0=function(e){eV(r,e);var t=oV(r);function r(n){Jz(this,r);var o;return o=t.call(this,n),o.props=new z_(n==null?void 0:n.props),o}return Zz(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(C);Q0.controlFieldType=c.FieldTypes.AUTO_NUMBER;var J0={Designer:Rn,Runtime:Q0,Property:z_};function iV(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 vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function H_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function uV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:iV(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(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 U_(e){var t=fV();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 uV(this,o)}}var aV=function(e){H_(r,e);var t=U_(r);function r(n){G_(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}(G),lV=function(e){H_(r,e);var t=U_(r);function r(n){G_(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}(k),wn=function(e){H_(r,e);var t=U_(r);function r(n){G_(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 $b(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Tn.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;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);wn.Rules=aV,wn.RuntimeRules=lV;function sV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _V(e,t,r){return t&&Z0(e.prototype,t),r&&Z0(e,r),e}function pu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pu=Reflect.get:pu=function(o,i,u){var f=dV(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},pu(e,t,r||e)}function Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pt(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&&W_(e,t)}function pV(e,t){return t&&(hV(t)==="object"||typeof t=="function")?t:sV(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}function dV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pt(e),e!==null););return e}var hV=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 OV(e){var t=bV();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 pV(this,o)}}var Tn=function(e){vV(r,e);var t=OV(r);function r(o){yV(this,r);var i;return i=t.call(this,o),i.props=new wn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=pu(Pt(r.prototype),"toDataBindModel",this).call(this,i);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},_V(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);Tn.controlEventKeys=["on_change"],Tn.controlFieldType=c.FieldTypes.CALC,Tn.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 gV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PV(e,t,r){return t&&eP(e.prototype,t),r&&eP(e,r),e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function RV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function wV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:gV(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}var TV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $V(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$V();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 wV(this,o)}}var tP=function(e){RV(r,e);var t=SV(r);function r(n){mV(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return PV(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(C);tP.controlFieldType=c.FieldTypes.CALC;var nP={Designer:Tn,Runtime:tP,Property:wn};function EV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function 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&&X_(e,t)}function IV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:EV(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}var CV=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 iP(e){var t=NV();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 IV(this,o)}}var BV=function(e){oP(r,e);var t=iP(r);function r(n){rP(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}(k),bu=function(e){oP(r,e);var t=iP(r);function r(n){rP(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:gu.controlName,o}return r}(E);bu.RuntimeRules=BV;function kV(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 uP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AV(e,t,r){return t&&uP(e.prototype,t),r&&uP(e,r),e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(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&&Q_(e,t)}function DV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:kV(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var LV=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 xV(e){var t=FV();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 DV(this,o)}}var gu=function(e){MV(r,e);var t=xV(r);function r(n){jV(this,r);var o;return o=t.call(this,n),o.props=new bu(n==null?void 0:n.props),o}return AV(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);gu.controlFieldType=c.FieldTypes.DECIMAL_RANGE,gu.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 zV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 YV(e,t,r){return t&&cP(e.prototype,t),r&&cP(e,r),e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function GV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function HV(e,t){return t&&(qV(t)==="object"||typeof t=="function")?t:zV(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}var qV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WV(e){var t=UV();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 HV(this,o)}}var fP=function(e){GV(r,e);var t=WV(r);function r(n){VV(this,r);var o;return o=t.call(this,n),o.props=new bu(n==null?void 0:n.props),o}return YV(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(C);fP.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var aP={Designer:gu,Runtime:fP,Property:bu};function KV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lP(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 sP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XV(e,t){return t&&(QV(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 QV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yP(e){var t=JV();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 XV(this,o)}}var ZV=function(e){sP(r,e);var t=yP(r);function r(n){lP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(k),Ru=function(e){sP(r,e);var t=yP(r);function r(n){lP(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:Tu.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(h){return new Dr(h)}))!==null&&b!==void 0?b:[],o}return r}(E);Ru.RuntimeRules=ZV;function eY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 nY(e,t,r){return t&&_P(e.prototype,t),r&&_P(e,r),e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(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&&ev(e,t)}function oY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:eY(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(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=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oY(this,o)}}var Tu=function(e){rY(r,e);var t=cY(r);function r(n){tY(this,r);var o;return o=t.call(this,n),o.props=new Ru(n==null?void 0:n.props),o}return nY(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);Tu.controlFieldType=c.FieldTypes.ARRAY,Tu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 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 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 lY(e,t,r){return t&&vP(e.prototype,t),r&&vP(e,r),e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(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&&tv(e,t)}function yY(e,t){return t&&(_Y(t)==="object"||typeof t=="function")?t:fY(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(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=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yY(this,o)}}var pP=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 Ru(n==null?void 0:n.props),o}return lY(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(C);pP.controlFieldType=c.FieldTypes.ARRAY;var dP={Designer:Tu,Runtime:pP,Property:Ru};function dY(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 Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function rv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function hY(e,t){return t&&(bY(t)==="object"||typeof t=="function")?t:dY(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}var bY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iv(e){var t=OY();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 hY(this,o)}}var gY=function(e){rv(r,e);var t=iv(r);function r(n){nv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(G),mY=function(e){rv(r,e);var t=iv(r);function r(n){nv(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(k),$n=function(e){rv(r,e);var t=iv(r);function r(n){nv(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:Sn.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var f;o.controlExportName=(f=n==null?void 0:n.controlExportName)!==null&&f!==void 0?f:"";var a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return r}(E);$n.Rules=gY,$n.RuntimeRules=mY;function PY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wY(e,t,r){return t&&hP(e.prototype,t),r&&hP(e,r),e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function TY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function $Y(e,t){return t&&(SY(t)==="object"||typeof t=="function")?t:PY(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}var SY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IY(e){var t=EY();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 $Y(this,o)}}var Sn=function(e){TY(r,e);var t=IY(r);function r(n){RY(this,r);var o;return o=t.call(this,n),o.props=new $n(n==null?void 0:n.props),o}return wY(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);Sn.controlFieldType=c.FieldTypes.ANY,Sn.controlEventKeys=[],Sn.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 CY(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 bP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BY(e,t,r){return t&&bP(e.prototype,t),r&&bP(e,r),e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function kY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jY(e,t){return t&&(AY(t)==="object"||typeof t=="function")?t:CY(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}var AY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DY(e){var t=MY();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 jY(this,o)}}var OP=function(e){kY(r,e);var t=DY(r);function r(n){NY(this,r);var o;return o=t.call(this,n),o.props=new $n(n==null?void 0:n.props),o}return BY(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(C);OP.controlFieldType=c.FieldTypes.ANY;var gP={Designer:Sn,Runtime:OP,Property:$n};function LY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mP(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 PP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FY(e,t){return t&&(xY(t)==="object"||typeof t=="function")?t:LY(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var xY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RP(e){var t=zY();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 FY(this,o)}}var VY=function(e){PP(r,e);var t=RP(r);function r(n){mP(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}(Ae),Nu=function(e){PP(r,e);var t=RP(r);function r(n){mP(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 Qn(n==null?void 0:n.listPageBind),o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:En.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;var y;o.showSelectedDetail=(y=n==null?void 0:n.showSelectedDetail)!==null&&y!==void 0?y:!1,o.selectedContentConfig=new er(n==null?void 0:n.selectedContentConfig),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 J(b))}));var _;o.canViewForm=(_=n==null?void 0:n.canViewForm)!==null&&_!==void 0?_:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o}return r}(E);Nu.Rules=VY;function YY(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 wP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HY(e,t,r){return t&&wP(e.prototype,t),r&&wP(e,r),e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function qY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UY(e,t){return t&&(WY(t)==="object"||typeof t=="function")?t:YY(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}var WY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XY(e){var t=KY();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 UY(this,o)}}var En=function(e){qY(r,e);var t=XY(r);function r(n){GY(this,r);var o;return o=t.call(this,n),o.props=new Nu(n==null?void 0:n.props),o}return HY(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);En.controlFieldType=c.FieldTypes.VARCHAR,En.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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.VIEW_FORM_MODEL_TYPE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],En.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];function QY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZY(e,t,r){return t&&TP(e.prototype,t),r&&TP(e,r),e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function 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&&lv(e,t)}function tG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:QY(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}var nG=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 oG(e){var t=rG();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 tG(this,o)}}var $P=function(e){eG(r,e);var t=oG(r);function r(n){JY(this,r);var o;return o=t.call(this,n),o.props=new Nu(n==null?void 0:n.props),o}return ZY(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(C);$P.controlFieldType=c.FieldTypes.VARCHAR;var SP={Designer:En,Runtime:$P,Property:Nu};function iG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(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&&sv(e,t)}function fG(e,t){return t&&(aG(t)==="object"||typeof t=="function")?t:iG(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 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=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fG(this,o)}}var yv=function(e){cG(r,e);var t=sG(r);function r(n){return uG(this,r),t.call(this,n)}return r}(yt);function yG(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 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 vG(e,t,r){return t&&EP(e.prototype,t),r&&EP(e,r),e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function pG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function dG(e,t){return t&&(hG(t)==="object"||typeof t=="function")?t:yG(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}var hG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OG(e){var t=bG();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 dG(this,o)}}var IP=function(e){pG(r,e);var t=OG(r);function r(n){_G(this,r);var o;return o=t.call(this,n),o.props=new yv(n==null?void 0:n.props),o}return vG(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(_t);IP.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 gG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PG(e,t,r){return t&&CP(e.prototype,t),r&&CP(e,r),e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(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&&vv(e,t)}function wG(e,t){return t&&(TG(t)==="object"||typeof t=="function")?t:gG(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}var TG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $G(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SG(e){var t=$G();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 wG(this,o)}}var NP=function(e){RG(r,e);var t=SG(r);function r(n){mG(this,r);var o;return o=t.call(this,n),o.props=new yv(n==null?void 0:n.props),o}return PG(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(C);NP.controlFieldType=c.FieldTypes.VARCHAR;var BP={Designer:IP,Runtime:NP,Property:yv};function kP(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 Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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 EG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:kP(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}var IG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bv(e){var t=CG();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 EG(this,o)}}var NG=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")}],Ht.call(kP(o),n,Te.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}(G),BG=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}(k),In=function(e){dv(r,e);var t=bv(r);function r(n){pv(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:Te.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.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var h;o.defaultCollapse=(h=n==null?void 0:n.defaultCollapse)!==null&&h!==void 0?h:"all";var g;o.defaultCollapseLevel=(g=n==null?void 0:n.defaultCollapseLevel)!==null&&g!==void 0?g:1;var v;o.datasourceBind=new Wa((v=n==null?void 0:n.datasourceBind)!==null&&v!==void 0?v:{attributes:Te.controlCustomAttributes});var O;o.filterItemDatasourceBind=new Wa((O=n==null?void 0:n.filterItemDatasourceBind)!==null&&O!==void 0?O:{attributes:Te.controlCustomAttributes});var R;o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1;var m;o.defaultDisplay=(m=n==null?void 0:n.defaultDisplay)!==null&&m!==void 0?m:!1;var T;o.multistageFilling=(T=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function($){return new J($)}))!==null&&T!==void 0?T:[];var P;return o.defaultValue=(P=n==null?void 0:n.defaultValue)!==null&&P!==void 0?P:[],o}return r}(E);In.Rules=NG,In.RuntimeRules=BG;function kG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AG(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function MG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:kG(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}var LG=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 xG(e){var t=FG();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 DG(this,o)}}var Te=function(e){MG(r,e);var t=xG(r);function r(n){jG(this,r);var o;return o=t.call(this,n),o.props=new In(n==null?void 0:n.props),o}return AG(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);Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=c.FieldTypes.ARRAY,Te.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.DEFAULT_DISPLAY,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 zG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VG(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 YG(e,t,r){return t&&AP(e.prototype,t),r&&AP(e,r),e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(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&&gv(e,t)}function HG(e,t){return t&&(qG(t)==="object"||typeof t=="function")?t:zG(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var qG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=UG();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 HG(this,o)}}var MP=function(e){GG(r,e);var t=WG(r);function r(n){VG(this,r);var o;return o=t.call(this,n),o.props=new In(n==null?void 0:n.props),o}return YG(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(C);MP.controlFieldType=c.FieldTypes.ARRAY;var DP={Designer:Te,Runtime:MP,Property:In};function LP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function Pv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function KG(e,t){return t&&(XG(t)==="object"||typeof t=="function")?t:LP(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var XG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wv(e){var t=QG();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 KG(this,o)}}var JG=function(e){Pv(r,e);var t=wv(r);function r(n){mv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],o.externalScope={type:"any"},Ht.call(LP(o),n,Rt.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return r}(G),ZG=function(e){Pv(r,e);var t=wv(r);function r(n){mv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),Cn=function(e){Pv(r,e);var t=wv(r);function r(n){mv(this,r);var o;o=t.call(this,n);var i;o.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:Rt.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 xt((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:Rt.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 J(R))})),o}return r}(E);Cn.Rules=JG,Cn.RuntimeRules=ZG;function eH(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 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 nH(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(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&&Tv(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:eH(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(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=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oH(this,o)}}var Rt=function(e){rH(r,e);var t=cH(r);function r(n){tH(this,r);var o;return o=t.call(this,n),o.props=new Cn(n==null?void 0:n.props),o}return nH(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);Rt.controlFieldType=c.FieldTypes.EMPLOYEES,Rt.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 fH(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 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 lH(e,t,r){return t&&xP(e.prototype,t),r&&xP(e,r),e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(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&&$v(e,t)}function yH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:fH(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}var _H=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=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yH(this,o)}}var zP=function(e){sH(r,e);var t=pH(r);function r(n){aH(this,r);var o;return o=t.call(this,n),o.props=new Cn(n==null?void 0:n.props),o}return lH(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(C);zP.controlFieldType=c.FieldTypes.EMPLOYEES;var VP={Designer:Rt,Runtime:zP,Property:Cn};function dH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function GP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sv(e,t)}function hH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:dH(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}var bH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HP(e){var t=OH();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 hH(this,o)}}var gH=function(e){GP(r,e);var t=HP(r);function r(n){YP(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"&&Be(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")&&Be(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(G),Gu=function(e){GP(r,e);var t=HP(r);function r(n){YP(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:Nn.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 $O(n==null?void 0:n.signatureConfig),o}return r}(E);Gu.Rules=gH;function mH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RH(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(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&&Ev(e,t)}function TH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:mH(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}var $H=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EH(e){var t=SH();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TH(this,o)}}var Nn=function(e){wH(r,e);var t=EH(r);function r(n){PH(this,r);var o;return o=t.call(this,n),o.props=new Gu(n==null?void 0:n.props),o}return RH(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);Nn.controlEventKeys=["on_click","on_click_finish"],Nn.controlFieldType=c.FieldTypes.VARCHAR,Nn.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 IH(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 UP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NH(e,t,r){return t&&UP(e.prototype,t),r&&UP(e,r),e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(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&&Iv(e,t)}function kH(e,t){return t&&(jH(t)==="object"||typeof t=="function")?t:IH(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}var jH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MH(e){var t=AH();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 kH(this,o)}}var WP=function(e){BH(r,e);var t=MH(r);function r(n){CH(this,r);var o;return o=t.call(this,n),o.props=new Gu(n==null?void 0:n.props),o}return NH(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(C);WP.controlFieldType=c.FieldTypes.VARCHAR;var KP={Designer:Nn,Runtime:WP,Property:Gu};function DH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function Nv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function LH(e,t){return t&&(FH(t)==="object"||typeof t=="function")?t:DH(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}var FH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kv(e){var t=xH();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 LH(this,o)}}var zH=function(e){Nv(r,e);var t=kv(r);function r(n){Cv(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}(G),VH=function(e){Nv(r,e);var t=kv(r);function r(n){Cv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),Bn=function(e){Nv(r,e);var t=kv(r);function r(n){Cv(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:kn.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:ex;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new SO(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);Bn.Rules=zH,Bn.RuntimeRules=VH;function YH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HH(e,t,r){return t&&XP(e.prototype,t),r&&XP(e,r),e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function qH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function UH(e,t){return t&&(WH(t)==="object"||typeof t=="function")?t:YH(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var WH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XH(e){var t=KH();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 UH(this,o)}}var kn=function(e){qH(r,e);var t=XH(r);function r(n){GH(this,r);var o;return o=t.call(this,n),o.props=new Bn(n==null?void 0:n.props),o}return HH(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);kn.controlEventKeys=["on_change","on_wps_open"],kn.controlFieldType=c.FieldTypes.FILE,kn.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 QH(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 QP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZH(e,t,r){return t&&QP(e.prototype,t),r&&QP(e,r),e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function eq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function tq(e,t){return t&&(nq(t)==="object"||typeof t=="function")?t:QH(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}var nq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oq(e){var t=rq();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 tq(this,o)}}var JP=function(e){eq(r,e);var t=oq(r);function r(n){JH(this,r);var o;return o=t.call(this,n),o.props=new Bn(n==null?void 0:n.props),o}return ZH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(C);JP.controlFieldType=c.FieldTypes.FILE;var ZP={Designer:kn,Runtime:JP,Property:Bn};function eR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(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&&Lv(e,t)}function iq(e,t){return t&&(uq(t)==="object"||typeof t=="function")?t:eR(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(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 Fv(e){var t=cq();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iq(this,o)}}var fq=function(e){Dv(r,e);var t=Fv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],o.businessScope={type:"any"},Ht.call(eR(o),n,Me.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(G),aq=function(e){Dv(r,e);var t=Fv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),jn=function(e){Dv(r,e);var t=Fv(r);function r(n){Mv(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:Me.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 xt((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Me.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 J(m))})),o}return r}(E);jn.Rules=fq,jn.RuntimeRules=aq;function lq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yq(e,t,r){return t&&tR(e.prototype,t),r&&tR(e,r),e}function Qu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qu=Reflect.get:Qu=function(o,i,u){var f=pq(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Qu(e,t,r||e)}function wt(e){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wt(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&&xv(e,t)}function vq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:lq(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function pq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wt(e),e!==null););return e}var dq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bq(e){var t=hq();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 vq(this,o)}}var Me=function(e){_q(r,e);var t=bq(r);function r(o){sq(this,r);var i;return i=t.call(this,o),i.props=new jn(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Qu(wt(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},yq(r,null,[{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);Me.controlName="\u90E8\u95E8",Me.controlFieldType=c.FieldTypes.DEPARTMENTS,Me.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.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 Oq(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 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 mq(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function Pq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function Rq(e,t){return t&&(wq(t)==="object"||typeof t=="function")?t:Oq(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}var wq=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 $q(e){var t=Tq();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 Rq(this,o)}}var rR=function(e){Pq(r,e);var t=$q(r);function r(n){gq(this,r);var o;return o=t.call(this,n),o.props=new jn(n==null?void 0:n.props),o}return mq(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(C);rR.controlFieldType=c.FieldTypes.DEPARTMENTS;var oR={Designer:Me,Runtime:rR,Property:jn};function iR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function Yv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function Sq(e,t){return t&&(Eq(t)==="object"||typeof t=="function")?t:iR(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(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 Hv(e){var t=Iq();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 Sq(this,o)}}var Cq=function(e){Yv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],o.businessScope={type:"any"},Ht.call(iR(o),n,De.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(G),Nq=function(e){Yv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(k),An=function(e){Yv(r,e);var t=Hv(r);function r(n){Vv(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",o.listPageBind=new Qn(n==null?void 0:n.listPageBind);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:De.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var h;o.datasourceBind=new hb((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:De.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;o.organizingFunction=(R=n==null?void 0:n.organizingFunction)!==null&&R!==void 0?R:void 0;var m;o.organizationView=(m=n==null?void 0:n.organizationView)!==null&&m!==void 0?m:void 0;var T;o.showSelectedDetail=(T=n==null?void 0:n.showSelectedDetail)!==null&&T!==void 0?T:!1,o.selectedContentConfig=new er(n==null?void 0:n.selectedContentConfig);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($){var N;(N=o.multistageFilling)===null||N===void 0||N.push(new J($))})),o}return r}(E);An.Rules=Cq,An.RuntimeRules=Nq;function Bq(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 uR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jq(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function ec(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ec=Reflect.get:ec=function(o,i,u){var f=Dq(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},ec(e,t,r||e)}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tt(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&&qv(e,t)}function Mq(e,t){return t&&(Lq(t)==="object"||typeof t=="function")?t:Bq(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function Dq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tt(e),e!==null););return e}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=Tt(e),o;if(t){var i=Tt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mq(this,o)}}var De=function(e){Aq(r,e);var t=xq(r);function r(o){kq(this,r);var i;return i=t.call(this,o),i.props=new An(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=ec(Tt(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},jq(r,null,[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(I);De.controlName="\u4E1A\u52A1\u7EC4\u7EC7",De.controlFieldType=c.FieldTypes.DEPARTMENTS,De.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.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];function zq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vq(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 Yq(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(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&&Uv(e,t)}function Hq(e,t){return t&&(qq(t)==="object"||typeof t=="function")?t:zq(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(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=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hq(this,o)}}var fR=function(e){Gq(r,e);var t=Wq(r);function r(n){Vq(this,r);var o;return o=t.call(this,n),o.props=new An(n==null?void 0:n.props),o}return Yq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(C);fR.controlFieldType=c.FieldTypes.DEPARTMENTS;var aR={Designer:De,Runtime:fR,Property:An},Kq=Object.freeze({__proto__:null,Input:Pm,Checkbox:$m,Radio:km,Number:Dm,DatePicker:zm,DateRange:Wm,Textarea:Jm,RichText:n0,Select:a0,SelectMultiple:_0,Employee:g0,Image:$0,Attachment:R0,Amount:C0,Score:j0,Address:z0,Department:W0,AutoNumber:J0,Calc:nP,SearchNumberRange:aP,SearchDateRange:dP,VueFormItem:gP,SelectRelation:SP,SearchInput:BP,Tree:DP,Employee2:VP,ElectronicSignature:KP,WPS:ZP,Department2:oR,OrganizationSelection:aR});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 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 Jq(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(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&&Wv(e,t)}function eU(e,t){return t&&(tU(t)==="object"||typeof t=="function")?t:Xq(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}var tU=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 rU(e){var t=nU();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 eU(this,o)}}var sR=function(e){Zq(r,e);var t=rU(r);function r(n){return Qq(this,r),t.call(this,n)}return Jq(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(M);sR.excludes=[c.CONTROL_TYPE.GRID];function oU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uU(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function cU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function fU(e,t){return t&&(aU(t)==="object"||typeof t=="function")?t:oU(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}var aU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sU(e){var t=lU();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fU(this,o)}}var yU=function(e){cU(r,e);var t=sU(r);function r(n){return iU(this,r),t.call(this,n)}return uU(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(F),_R={Designer:sR,Runtime:yU,Property:j};function _U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(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&&Xv(e,t)}function dU(e,t){return t&&(hU(t)==="object"||typeof t=="function")?t:_U(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}var hU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=bU();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 dU(this,o)}}var gU=24,Le=function(e){pU(r,e);var t=OU(r);function r(n){vU(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:gU;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(j);function mU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RU(e,t,r){return t&&vR(e.prototype,t),r&&vR(e,r),e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function wU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function TU(e,t){return t&&($U(t)==="object"||typeof t=="function")?t:mU(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}var $U=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EU(e){var t=SU();return function(){var n=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 Mn=function(e){wU(r,e);var t=EU(r);function r(n){PU(this,r);var o;return o=t.call(this,n),o.props=new Le(n==null?void 0:n.props),o}return RU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(M);Mn.excludes=[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.DIVIDER],Mn.childrenMaxLength=1;function IU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NU(e,t,r){return t&&pR(e.prototype,t),r&&pR(e,r),e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function BU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kU(e,t){return t&&(jU(t)==="object"||typeof t=="function")?t:IU(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}var jU=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 MU(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 kU(this,o)}}var Zv=function(e){BU(r,e);var t=MU(r);function r(n){CU(this,r);var o;return o=t.call(this,n),o.props=new Le(n==null?void 0:n.props),o}return NU(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(F),cc={Designer:Mn,Runtime:Zv,Property:Le};function DU(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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function FU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function xU(e,t){return t&&(zU(t)==="object"||typeof t=="function")?t:DU(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var zU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YU(e){var t=VU();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 xU(this,o)}}var ac=function(e){FU(r,e);var t=YU(r);function r(n){LU(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}(j);function GU(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 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 qU(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function UU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WU(e,t){return t&&(KU(t)==="object"||typeof t=="function")?t:GU(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}var KU=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 QU(e){var t=XU();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WU(this,o)}}var sc=function(e){UU(r,e);var t=QU(r);function r(n){HU(this,r);var o;return o=t.call(this,n),o.props=new ac(n==null?void 0:n.props),o}return qU(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);sc.excludes=[c.CONTROL_TYPE.ROW],sc.setting=[{key:"col-setting",visible:!0}];function JU(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 hR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eW(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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&&np(e,t)}function nW(e,t){return t&&(rW(t)==="object"||typeof t=="function")?t:JU(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}var rW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iW(e){var t=oW();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 nW(this,o)}}var bR=function(e){tW(r,e);var t=iW(r);function r(n){ZU(this,r);var o;return o=t.call(this,n),o.props=new ac(n==null?void 0:n.props),o}return eW(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(F),OR={Designer:sc,Runtime:bR,Property:ac};function uW(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 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 fW(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function aW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function lW(e,t){return t&&(sW(t)==="object"||typeof t=="function")?t:uW(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}var sW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _W(e){var t=yW();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 lW(this,o)}}var vW=4,vc=function(e){aW(r,e);var t=_W(r);function r(n){return cW(this,r),t.call(this,n)}return fW(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}(sc);vc.excludes=[c.CONTROL_TYPE.GRID_ROW],vc.setting=[],vc.childrenMaxLength=vW;function pW(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 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 hW(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(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&&op(e,t)}function OW(e,t){return t&&(gW(t)==="object"||typeof t=="function")?t:pW(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(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=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OW(this,o)}}var RW=function(e){bW(r,e);var t=PW(r);function r(n){return dW(this,r),t.call(this,n)}return hW(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(bR);function wW(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 dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(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&&ip(e,t)}function SW(e,t){return t&&(EW(t)==="object"||typeof t=="function")?t:wW(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var EW=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 CW(e){var t=IW();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 NW=function(e){$W(r,e);var t=CW(r);function r(n){return TW(this,r),t.call(this,n)}return r}(ac),up={Designer:vc,Runtime:RW,Property:NW};function BW(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 hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function RR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kW(e,t){return t&&(jW(t)==="object"||typeof t=="function")?t:BW(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(e,t)}var jW=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 wR(e){var t=AW();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 kW(this,o)}}var MW=function(e){RR(r,e);var t=wR(r);function r(){PR(this,r);var n;return n=t.apply(this,arguments),n.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},n}return r}(j.Rules),bc=function(e){RR(r,e);var t=wR(r);function r(n){PR(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}(j);bc.Rules=MW;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 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 FW(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function xW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:DW(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}var VW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=YW();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 zW(this,o)}}var ap=function(e){xW(r,e);var t=GW(r);function r(n){LW(this,r);var o;return o=t.call(this,n),o.props=new bc(n==null?void 0:n.props),o}return FW(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(M);ap.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}],ap.excludes=[c.CONTROL_TYPE.CARD_GROUP];function HW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qW(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 UW(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function WW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:HW(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}var XW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JW(e){var t=QW();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KW(this,o)}}var ZW=function(e){WW(r,e);var t=JW(r);function r(n){qW(this,r);var o;return o=t.call(this,n),o.props=new bc(n==null?void 0:n.props),o}return UW(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(F),SR={Designer:ap,Runtime:ZW,Property:bc};function eK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ER(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function IR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function tK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:eK(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(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 CR(e){var t=rK();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 tK(this,o)}}var oK=function(e){IR(r,e);var t=CR(r);function r(n){ER(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),Pc=function(e){IR(r,e);var t=CR(r);function r(n){ER(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 fb(n==null?void 0:n.metaAutoWidth),o}return r}(j);Pc.Rules=oK;function iK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function cK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function fK(e,t){return t&&(aK(t)==="object"||typeof t=="function")?t:iK(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}var aK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sK(e){var t=lK();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fK(this,o)}}var ae=function(e){cK(r,e);var t=sK(r);function r(n){uK(this,r);var o;return o=t.call(this,n),o.props=new Pc(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 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 wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function vK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function pK(e,t){return t&&(dK(t)==="object"||typeof t=="function")?t:yK(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}var dK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bK(e){var t=hK();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 pK(this,o)}}var NR=function(e){vK(r,e);var t=bK(r);function r(n){_K(this,r);var o;return o=t.call(this,n),o.props=new Pc(n==null?void 0:n.props),o}return r}(F);NR.controlType="subtable-column";var vp={Designer:ae,Runtime:NR,Property:Pc};function OK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function mK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function PK(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:OK(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}var RK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TK(e){var t=wK();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 PK(this,o)}}var dp=function(e){mK(r,e);var t=TK(r);function r(n){return gK(this,r),t.call(this,n)}return r}(j);function $K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&hp(e,t)}function IK(e,t){return t&&(CK(t)==="object"||typeof t=="function")?t:$K(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}var CK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BK(e){var t=NK();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 IK(this,o)}}var Fe=function(e){EK(r,e);var t=BK(r);function r(n){SK(this,r);var o;return o=t.call(this,n),o.props=new dp(n==null?void 0:n.props),o}return r}(M);Fe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Fe.controlType="subtable-row",Fe.controlIcon="subtable-row",Fe.childrenMaxLength=1,Fe.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],Fe.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}];function kK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jK(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 AK(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function MK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function DK(e,t){return t&&(LK(t)==="object"||typeof t=="function")?t:kK(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}var LK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xK(e){var t=FK();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DK(this,o)}}var zK=function(e){MK(r,e);var t=xK(r);function r(n){jK(this,r);var o;return o=t.call(this,n),o.props=new dp(n==null?void 0:n.props),o}return AK(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(F),kR={Designer:Fe,Runtime:zK,Property:dp};function VK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function GK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function HK(e,t){return t&&(qK(t)==="object"||typeof t=="function")?t:VK(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}var qK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WK(e){var t=UK();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HK(this,o)}}var gp=function(e){GK(r,e);var t=WK(r);function r(n){YK(this,r);var o;o=t.call(this,n);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!1;var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;o.fieldType=(l=n==null?void 0:n.fieldType)!==null&&l!==void 0?l:c.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var _;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}(j);function KK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(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&&mp(e,t)}function JK(e,t){return t&&(ZK(t)==="object"||typeof t=="function")?t:KK(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(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=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JK(this,o)}}var xe=function(e){QK(r,e);var t=tX(r);function r(n){XK(this,r);var o;return o=t.call(this,n),o.props=new gp(n==null?void 0:n.props),o}return r}(M);xe.controlName="\u5217\u8868\u5355\u5143\u683C",xe.controlType="gridtable-column",xe.controlIcon="gridtable-column",xe.childrenMaxLength=1,xe.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],xe.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];function nX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(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&&Pp(e,t)}function iX(e,t){return t&&(uX(t)==="object"||typeof t=="function")?t:nX(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(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=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iX(this,o)}}var jR=function(e){oX(r,e);var t=fX(r);function r(n){rX(this,r);var o;return o=t.call(this,n),o.props=new gp(n==null?void 0:n.props),o}return r}(F);jR.controlType="gridtable-column";var AR={Designer:xe,Runtime:jR,Property:gp};function aX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function sX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function yX(e,t){return t&&(_X(t)==="object"||typeof t=="function")?t:aX(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var _X=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pX(e){var t=vX();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 yX(this,o)}}var wp=function(e){sX(r,e);var t=pX(r);function r(n){return lX(this,r),t.call(this,n)}return r}(j);function dX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MR(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 DR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:dX(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(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 LR(e){var t=OX();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 hX(this,o)}}var gX=function(e){DR(r,e);var t=LR(r);function r(n){MR(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o}return r}(D),kc=function(e){DR(r,e);var t=LR(r);function r(n){MR(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}(j);kc.Rules=gX;function mX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RX(e,t,r){return t&&FR(e.prototype,t),r&&FR(e,r),e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(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&&$p(e,t)}function TX(e,t){return t&&($X(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 $X=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EX(e){var t=SX();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TX(this,o)}}var Dn=function(e){wX(r,e);var t=EX(r);function r(n){PX(this,r);var o;return o=t.call(this,n),o.props=new kc(n==null?void 0:n.props),o}return RX(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);Dn.excludes=[c.CONTROL_TYPE.TAB],Dn.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 IX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NX(e,t,r){return t&&xR(e.prototype,t),r&&xR(e,r),e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function BX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function kX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:IX(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}var jX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MX(e){var t=AX();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kX(this,o)}}var DX=function(e){BX(r,e);var t=MX(r);function r(n){CX(this,r);var o;return o=t.call(this,n),o.props=new kc(n==null?void 0:n.props),o}return NX(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(F),zR={Designer:Dn,Runtime:DX,Property:kc};function LX(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 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 xX(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function 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&&Ep(e,t)}function VX(e,t){return t&&(YX(t)==="object"||typeof t=="function")?t:LX(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(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=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VX(this,o)}}var Ln=function(e){zX(r,e);var t=HX(r);function r(n){FX(this,r);var o;o=t.call(this,n),o.props=new wp(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Dn,new Dn],o}return xX(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(M);Ln.excludes=[c.CONTROL_TYPE.TAB],Ln.controlEventKeys=["on_change_tab"],Ln.setting=[{key:"super-setting",visible:!0}];function qX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 WX(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&Ip(e,t)}function XX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:qX(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}var QX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZX(e){var t=JX();return function(){var n=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XX(this,o)}}var eQ=function(e){KX(r,e);var t=ZX(r);function r(n){UX(this,r);var o;return o=t.call(this,n),o.props=new wp(n==null?void 0:n.props),o}return WX(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(F),GR={Designer:Ln,Runtime:eQ,Property:wp};function tQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function rQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function oQ(e,t){return t&&(iQ(t)==="object"||typeof t=="function")?t:tQ(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}var iQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cQ(e){var t=uQ();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oQ(this,o)}}var HR=function(e){rQ(r,e);var t=cQ(r);function r(n){return nQ(this,r),t.call(this,n)}return r}(j);function fQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lQ(e,t,r){return t&&qR(e.prototype,t),r&&qR(e,r),e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(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&&Np(e,t)}function yQ(e,t){return t&&(_Q(t)==="object"||typeof t=="function")?t:fQ(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}var _Q=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 pQ(e){var t=vQ();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 yQ(this,o)}}var UR=function(e){sQ(r,e);var t=pQ(r);function r(n){aQ(this,r);var o;return o=t.call(this,n),o.props=new HR({}),o.children=(n==null?void 0:n.children)||[new Mn({props:new Le({span:12})}),new Mn({props:new Le({span:12})})],o}return lQ(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(M);UR.excludes=[c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.GRID,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.TOOLBOX];function dQ(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 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 bQ(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(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&&Bp(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:dQ(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}var mQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RQ(e){var t=PQ();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gQ(this,o)}}var wQ=function(e){OQ(r,e);var t=RQ(r);function r(n){hQ(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new Zv({props:new Le({span:12})}),new Zv({props:new Le({span:12})})],o}return bQ(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(F),KR={Designer:UR,Runtime:wQ,Property:HR};function XR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function jp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TQ(e,t){return t&&($Q(t)==="object"||typeof t=="function")?t:XR(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}var $Q=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 Mp(e){var t=SQ();return function(){var n=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TQ(this,o)}}var Vc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Vc||(Vc={}));var EQ=function(e){jp(r,e);var t=Mp(r);function r(n){kp(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(ge),IQ=function(e){jp(r,e);var t=Mp(r);function r(n){kp(this,r);var o;if(o=t.call(this,n),o.triggerFieldCode={type:"any"},o.datasourceBind={type:"any"},n.triggerType===Vc.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}),ur.call(XR(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),Fn=function(e){jp(r,e);var t=Mp(r);function r(n){kp(this,r);var o;o=t.call(this,n),o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:Vc.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new vb(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}(j);Fn.Rules=IQ,Fn.RuntimeRules=EQ;function CQ(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 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 BQ(e,t,r){return t&&QR(e.prototype,t),r&&QR(e,r),e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(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&&Dp(e,t)}function jQ(e,t){return t&&(AQ(t)==="object"||typeof t=="function")?t:CQ(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}var AQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DQ(e){var t=MQ();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jQ(this,o)}}var Gc=function(e){kQ(r,e);var t=DQ(r);function r(n){NQ(this,r);var o;return o=t.call(this,n),o.props=new Fn(n==null?void 0:n.props),o}return BQ(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);Gc.excludes=[c.CONTROL_TYPE.ROW],Gc.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"],Gc.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 LQ(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 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 xQ(e,t,r){return t&&JR(e.prototype,t),r&&JR(e,r),e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(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&&Lp(e,t)}function VQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:LQ(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}var YQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HQ(e){var t=GQ();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 VQ(this,o)}}var qQ=function(e){zQ(r,e);var t=HQ(r);function r(n){FQ(this,r);var o;return o=t.call(this,n),o.props=new Fn(n==null?void 0:n.props),o}return xQ(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(F),Fp={Designer:Gc,Runtime:qQ,Property:Fn};function UQ(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 qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(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&&xp(e,t)}function WQ(e,t){return t&&(KQ(t)==="object"||typeof t=="function")?t:UQ(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(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 tw(e){var t=XQ();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 WQ(this,o)}}var QQ=function(e){ew(r,e);var t=tw(r);function r(n){ZR(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(ge),Uc=function(e){ew(r,e);var t=tw(r);function r(n){ZR(this,r);var o;o=t.call(this,n);var i;o.save=new de((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new de((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new de((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 de((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 de(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new z(n==null?void 0:n.datasourceBind),o}return r}(j);Uc.RuntimeRules=QQ;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 nw(e,t){for(var r=0;r<t.length;r++){var 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&&nw(e.prototype,t),r&&nw(e,r),e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&zp(e,t)}function nJ(e,t){return t&&(rJ(t)==="object"||typeof t=="function")?t:JQ(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(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=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nJ(this,o)}}var rw=function(e){tJ(r,e);var t=iJ(r);function r(n){ZQ(this,r);var o;return o=t.call(this,n),o.props=new Uc(n==null?void 0:n.props),o}return eJ(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(M);rw.excludes=[];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 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 fJ(e,t,r){return t&&ow(e.prototype,t),r&&ow(e,r),e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(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&&Vp(e,t)}function lJ(e,t){return t&&(sJ(t)==="object"||typeof t=="function")?t:uJ(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(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=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lJ(this,o)}}var vJ=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 Uc(n==null?void 0:n.props),o}return fJ(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(F),Yp={Designer:rw,Runtime:vJ,Property:Uc};function pJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hJ(e,t,r){return t&&iw(e.prototype,t),r&&iw(e,r),e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function bJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function OJ(e,t){return t&&(gJ(t)==="object"||typeof t=="function")?t:pJ(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(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 PJ(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 OJ(this,o)}}var RJ=function(e){bJ(r,e);var t=PJ(r);function r(n){return dJ(this,r),t.call(this,n)}return hJ(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 wJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $J(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function SJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function EJ(e,t){return t&&(IJ(t)==="object"||typeof t=="function")?t:wJ(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}var IJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NJ(e){var t=CJ();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 BJ=function(e){SJ(r,e);var t=NJ(r);function r(n){return TJ(this,r),t.call(this,n)}return $J(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(F);function kJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function 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&&qp(e,t)}function MJ(e,t){return t&&(DJ(t)==="object"||typeof t=="function")?t:kJ(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}var DJ=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 FJ(e){var t=LJ();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 MJ(this,o)}}var xJ=function(e){AJ(r,e);var t=FJ(r);function r(n){jJ(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}(j),cw={Designer:RJ,Runtime:BJ,Property:xJ};function zJ(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 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 YJ(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function GJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function HJ(e,t){return t&&(qJ(t)==="object"||typeof t=="function")?t:zJ(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}var qJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WJ(e){var t=UJ();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HJ(this,o)}}var KJ=function(e){GJ(r,e);var t=WJ(r);function r(n){return VJ(this,r),t.call(this,n)}return YJ(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 XJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 JJ(e,t,r){return t&&aw(e.prototype,t),r&&aw(e,r),e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&Wp(e,t)}function eZ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:XJ(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}var tZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rZ(e){var t=nZ();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eZ(this,o)}}var oZ=function(e){ZJ(r,e);var t=rZ(r);function r(n){return QJ(this,r),t.call(this,n)}return JJ(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(F);function iZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&Kp(e,t)}function fZ(e,t){return t&&(aZ(t)==="object"||typeof t=="function")?t:iZ(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}var aZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sZ(e){var t=lZ();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fZ(this,o)}}var yZ=function(e){cZ(r,e);var t=sZ(r);function r(n){uZ(this,r);var o;return o=t.call(this,n),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new CO(n==null?void 0:n.flexConfig),o}return r}(j),lw={Designer:KJ,Runtime:oZ,Property:yZ};function _Z(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 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 pZ(e,t,r){return t&&sw(e.prototype,t),r&&sw(e,r),e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function hZ(e,t){return t&&(bZ(t)==="object"||typeof t=="function")?t:_Z(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}var bZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gZ(e){var t=OZ();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 hZ(this,o)}}var mZ=function(e){dZ(r,e);var t=gZ(r);function r(n){return vZ(this,r),t.call(this,n)}return pZ(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 PZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yw(e,t){for(var r=0;r<t.length;r++){var 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&&yw(e.prototype,t),r&&yw(e,r),e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(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&&Qp(e,t)}function $Z(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:PZ(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(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=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Z(this,o)}}var CZ=function(e){TZ(r,e);var t=IZ(r);function r(n){return RZ(this,r),t.call(this,n)}return wZ(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(F);function NZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(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&&Jp(e,t)}function jZ(e,t){return t&&(AZ(t)==="object"||typeof t=="function")?t:NZ(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}var AZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DZ(e){var t=MZ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jZ(this,o)}}var LZ=function(e){kZ(r,e);var t=DZ(r);function r(n){return BZ(this,r),t.call(this,n)}return r}(j),_w={Designer:mZ,Runtime:CZ,Property:LZ};function FZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zZ(e,t,r){return t&&vw(e.prototype,t),r&&vw(e,r),e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function VZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function YZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:FZ(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(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=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YZ(this,o)}}var UZ=function(e){VZ(r,e);var t=qZ(r);function r(n){return xZ(this,r),t.call(this,n)}return zZ(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 WZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XZ(e,t,r){return t&&pw(e.prototype,t),r&&pw(e,r),e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function QZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function JZ(e,t){return t&&(ZZ(t)==="object"||typeof t=="function")?t:WZ(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var ZZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tee(e){var t=eee();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JZ(this,o)}}var nee=function(e){QZ(r,e);var t=tee(r);function r(n){return KZ(this,r),t.call(this,n)}return XZ(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(F);function ree(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 ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&td(e,t)}function uee(e,t){return t&&(cee(t)==="object"||typeof t=="function")?t:ree(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}var cee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aee(e){var t=fee();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uee(this,o)}}var lee=function(e){iee(r,e);var t=aee(r);function r(n){oee(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}(j),dw={Designer:UZ,Runtime:nee,Property:lee};function see(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(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&&nd(e,t)}function vee(e,t){return t&&(pee(t)==="object"||typeof t=="function")?t:see(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}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=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vee(this,o)}}var rd=function(e){_ee(r,e);var t=hee(r);function r(n){yee(this,r);var o;o=t.call(this,n);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!1;var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"right",o}return r}(j);function bee(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 hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gee(e,t,r){return t&&hw(e.prototype,t),r&&hw(e,r),e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(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&&od(e,t)}function Pee(e,t){return t&&(Ree(t)==="object"||typeof t=="function")?t:bee(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(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=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pee(this,o)}}var id=function(e){mee(r,e);var t=Tee(r);function r(n){Oee(this,r);var o;o=t.call(this,n);var i;return o.props=new rd((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return gee(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(M);id.excludes=[],id.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];function $ee(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 bw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Eee(e,t,r){return t&&bw(e.prototype,t),r&&bw(e,r),e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function Iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function Cee(e,t){return t&&(Nee(t)==="object"||typeof t=="function")?t:$ee(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}var Nee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kee(e){var t=Bee();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cee(this,o)}}var jee=function(e){Iee(r,e);var t=kee(r);function r(n){See(this,r);var o;o=t.call(this,n);var i;return o.props=new rd((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return Eee(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(F),Ow={Designer:id,Runtime:jee,Property:rd},Aee=Object.freeze({__proto__:null,Grid:_R,Col:cc,Row:OR,GridRow:up,CardGroup:SR,SubTableColumn:vp,SubTableRow:kR,GridTableColumn:AR,Tab:GR,TabPane:zR,Toolbox:KR,ListView:Fp,DataView:Yp,Page:cw,AdvancedContainer:lw,PositioningContainer:_w,Position:dw,ActionBar:Ow});function Mee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function fd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dee(e,t){return t&&(Lee(t)==="object"||typeof t=="function")?t:Mee(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var Lee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ld(e){var t=Fee();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 Dee(this,o)}}var xee=function(e){fd(r,e);var t=ld(r);function r(n){cd(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),zee=function(e){fd(r,e);var t=ld(r);function r(n){cd(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}(ge),xn=function(e){fd(r,e);var t=ld(r);function r(n,o){cd(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:vf.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:EO;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 z(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 P;i.canExport=(P=o==null?void 0:o.canExport)!==null&&P!==void 0?P:!1;var $;i.canClear=($=o==null?void 0:o.canClear)!==null&&$!==void 0?$:!0;var N;i.serverPagination=(N=o==null?void 0:o.serverPagination)!==null&&N!==void 0?N:!1;var te;i.isShowCaptionTip=(te=o==null?void 0:o.isShowCaptionTip)!==null&&te!==void 0?te:!1;var U;i.captionTip=(U=o==null?void 0:o.captionTip)!==null&&U!==void 0?U:"";var W;i.mobileShowType=(W=o==null?void 0:o.mobileShowType)!==null&&W!==void 0?W:"list";var kt;i.dataStorageDoc=(kt=o==null?void 0:o.dataStorageDoc)!==null&&kt!==void 0?kt:new ab;var rt;return i.fixedColumn=(rt=o==null?void 0:o.fixedColumn)!==null&&rt!==void 0?rt:[],i}return r}(qt);xn.Rules=xee,xn.RuntimeRules=zee;function gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yee(e,t,r){return t&&mw(e.prototype,t),r&&mw(e,r),e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function Gee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hee(e,t){return t&&(qee(t)==="object"||typeof t=="function")?t:gw(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var qee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wee(e){var t=Uee();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hee(this,o)}}var vf=function(e){Gee(r,e);var t=Wee(r);function r(o){Vee(this,r);var i,u;return i=t.call(this,o),i.props=new xn(gw(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},Yee(r,null,[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(dr);vf.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],vf.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 Pw(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 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 Xee(e,t,r){return t&&Rw(e.prototype,t),r&&Rw(e,r),e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(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&&yd(e,t)}function Jee(e,t){return t&&(Zee(t)==="object"||typeof t=="function")?t:Pw(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var Zee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tte(e){var t=ete();return function(){var n=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jee(this,o)}}var nte=function(e){Qee(r,e);var t=tte(r);function r(o){Kee(this,r);var i;return i=t.call(this,o),i.props=new xn(Pw(i),o==null?void 0:o.props),i}var n=r.prototype;return n.getChildrenDataSourceBindLayout=function(){be("Method not implemented.")},n.getChildrenFormControl=function(){var i=[];return i},Xee(r,null,[{key:"controlType",get:function(){return"subtable"}}]),r}(Rl),ww={Designer:vf,Runtime:nte,Property:xn};function rte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ote(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function ute(e,t){return t&&(cte(t)==="object"||typeof t=="function")?t:rte(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var cte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ate(e){var t=fte();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ute(this,o)}}var vd=function(e){ite(r,e);var t=ate(r);function r(n,o){ote(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}(qt);function lte(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 hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(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&&pd(e,t)}function ste(e,t){return t&&(yte(t)==="object"||typeof t=="function")?t:lte(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(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 Sw(e){var t=_te();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 ste(this,o)}}var vte=function(e){$w(r,e);var t=Sw(r);function r(n){Tw(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(_e),bf=function(e){$w(r,e);var t=Sw(r);function r(n){Tw(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:ze.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}(x);bf.Rules=vte;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 Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(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&&dd(e,t)}function bte(e,t){return t&&(Ote(t)==="object"||typeof t=="function")?t:pte(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(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=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bte(this,o)}}var ze=function(e){hte(r,e);var t=mte(r);function r(n){dte(this,r);var o;return o=t.call(this,n),o.props=new bf(n==null?void 0:n.props),o}return r}(H);ze.controlType="order-column",ze.controlName="\u5E8F\u53F7",ze.controlIcon="order-column",ze.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];function Pte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rte(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 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&&hd(e,t)}function Tte(e,t){return t&&($te(t)==="object"||typeof t=="function")?t:Pte(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}var $te=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=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tte(this,o)}}var bd=function(e){wte(r,e);var t=Ete(r);function r(n){Rte(this,r);var o;return o=t.call(this,n),o.props=new bf(n==null?void 0:n.props),o}return r}(q);bd.controlType="order-column",bd.controlFieldType=c.FieldTypes.DECIMAL;var Ew={Designer:ze,Runtime:bd,Property:bf};function Ite(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(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&&Od(e,t)}function Bte(e,t){return t&&(kte(t)==="object"||typeof t=="function")?t:Ite(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}var kte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ate(e){var t=jte();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 Bte(this,o)}}var gd=function(e){Nte(r,e);var t=Ate(r);function r(n){Cte(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:Ve.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}(x);function Iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cw(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 Mte(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Cw(i,n,o,u,f,"next",a)}function f(a){Cw(i,n,o,u,f,"throw",a)}u(void 0)})}}function Dte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $t(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$t=Reflect.get:$t=function(o,i,u){var f=Gte(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},$t(e,t,r||e)}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(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&&md(e,t)}function xte(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){Lte(e,o,r[o])})}return e}function zte(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 Vte(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zte(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Yte(e,t){return t&&(Hte(t)==="object"||typeof t=="function")?t:Iw(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function Gte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$e(e),e!==null););return e}var Hte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ute(e){var t=qte();return function(){var n=$e(e),o;if(t){var i=$e(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yte(this,o)}}var Wte=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}}},Ve=function(e){Fte(r,e);var t=Ute(r);function r(o){Dte(this,r);var i;return i=t.call(this,o),i.props=new gd(o==null?void 0:o.props),ye(Iw(i),"children",o==null?void 0:o.children),i}var n=r.prototype;return n.toDataBindModel=function(){var i=$t($e(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(u){if(u.type===Qo.controlType){var f=u;i.props[f.props.command]=f.props}}),i},n.toSchema=function(){var i=$t($e(r.prototype),"toSchema",this).call(this);return Vte(xte({},i),{children:this.children.map(function(u){return u.toSchema()})})},n.validate=function(i,u){var f=this,a=this,l=function(){return $t($e(r.prototype),"validate",f)};return Mte(function(){return Wte(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}(H);Ve.controlType="operation-column",Ve.controlName="\u64CD\u4F5C",Ve.controlIcon="operation-column",Ve.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 Nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function Xte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qte(e,t){return t&&(Jte(t)==="object"||typeof t=="function")?t:Nw(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var Jte=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 ene(e){var t=Zte();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 Qte(this,o)}}var Rd=function(e){Xte(r,e);var t=ene(r);function r(n){Kte(this,r);var o;return o=t.call(this,n),o.props=new gd(n==null?void 0:n.props),ye(Nw(o),"children",n==null?void 0:n.children),o}return r}(q);Rd.controlType="operation-column",Rd.controlFieldType=c.FieldTypes.FILE;var Bw={Designer:Ve,Runtime:Rd,Property:gd};function wd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kw(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 tne(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){kw(i,n,o,u,f,"next",a)}function f(a){kw(i,n,o,u,f,"throw",a)}u(void 0)})}}function nne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jw(e,t){for(var r=0;r<t.length;r++){var 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&&jw(e.prototype,t),r&&jw(e,r),e}function one(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zn=Reflect.get:zn=function(o,i,u){var f=lne(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},zn(e,t,r||e)}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(e)}function ine(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function une(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){one(e,o,r[o])})}return e}function cne(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 fne(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cne(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ane(e,t){return t&&(sne(t)==="object"||typeof t=="function")?t:wd(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function lne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ye(e),e!==null););return e}var sne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ne(e){var t=yne();return function(){var n=Ye(e),o;if(t){var i=Ye(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ane(this,o)}}var vne=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}}},Aw=function(e){ine(r,e);var t=_ne(r);function r(o){nne(this,r);var i;return i=t.call(this,o),i.props=new vd(wd(i),o==null?void 0:o.props),ye(wd(i),"children",o==null?void 0:o.children),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new ze,new Ve]),i}var n=r.prototype;return n.toSchema=function(){var i=zn(Ye(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return fne(une({},i),{children:u})},n.validate=function(i,u){var f=this,a=this,l=function(){return zn(Ye(r.prototype),"validate",f)};return tne(function(){return vne(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]}})})()},rne(r,null,[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(dr);Aw.setting=[{key:"list-fixed-header",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 pne(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 dne(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function hne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function bne(e,t){return t&&(One(t)==="object"||typeof t=="function")?t:Mw(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var One=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 mne(e){var t=gne();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 bne(this,o)}}var Pne=function(e){hne(r,e);var t=mne(r);function r(o){pne(this,r);var i;return i=t.call(this,o),i.props=new vd(Mw(i),o==null?void 0:o.props),i}var n=r.prototype;return n.getChildrenDataSourceBindLayout=function(){be("Method not implemented.")},n.getChildrenFormControl=function(){var i=[];return i},n.getCheckboxProps=function(i){return{}},dne(r,null,[{key:"controlType",get:function(){return"grid-table"}}]),r}(Rl),Lw={Designer:Aw,Runtime:Pne,Property:vd},Rne=Object.freeze({__proto__:null,SubTable:ww,GridTable:Lw});function Fw(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 wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function zw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wne(e,t){return t&&(Tne(t)==="object"||typeof t=="function")?t:Fw(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}var Tne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vw(e){var t=$ne();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wne(this,o)}}var Sne=function(e){zw(r,e);var t=Vw(r);function r(n){xw(this,r);var o;return o=t.call(this,n),we.call(Fw(o),n),o}return r}(El),Tf=function(e){zw(r,e);var t=Vw(r);function r(n){xw(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ge.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var f;o.options=le((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var a;o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Oe(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(x);Tf.Rules=Sne;function Ene(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ine(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(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&&Ed(e,t)}function Nne(e,t){return t&&(Bne(t)==="object"||typeof t=="function")?t:Ene(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var Bne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kne();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 Nne(this,o)}}var Ge=function(e){Cne(r,e);var t=jne(r);function r(n){Ine(this,r);var o;return o=t.call(this,n),o.props=new Tf(n==null?void 0:n.props),o}return r}(H);Ge.controlType="varchar-column",Ge.controlName="\u77ED\u6587\u672C",Ge.controlIcon="varchar-column",Ge.controlFieldType=c.FieldTypes.VARCHAR,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-autoHeight",visible:!0},{key:"column-link-operation",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 Ane(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(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&&Id(e,t)}function Lne(e,t){return t&&(Fne(t)==="object"||typeof t=="function")?t:Ane(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}var Fne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zne(e){var t=xne();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lne(this,o)}}var Cd=function(e){Dne(r,e);var t=zne(r);function r(n){Mne(this,r);var o;return o=t.call(this,n),o.props=new Tf(n==null?void 0:n.props),o}return r}(q);Cd.controlType="varchar-column",Cd.controlFieldType=c.FieldTypes.VARCHAR;var Yw={Designer:Ge,Runtime:Cd,Property:Tf};function Gw(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 Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(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&&Nd(e,t)}function Vne(e,t){return t&&(Yne(t)==="object"||typeof t=="function")?t:Gw(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(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 Uw(e){var t=Gne();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 Vne(this,o)}}var Hne=function(e){qw(r,e);var t=Uw(r);function r(n){Hw(this,r);var o;return o=t.call(this,n),we.call(Gw(o),n),o}return r}(_e),If=function(e){qw(r,e);var t=Uw(r);function r(n){Hw(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:He.controlName;var f;o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1;var a;return o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Oe(n==null?void 0:n.linkOperationOption),o}return r}(x);If.Rules=Hne;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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cf=Reflect.get:Cf=function(o,i,u){var f=Xne(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Cf(e,t,r||e)}function St(e){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},St(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&&Bd(e,t)}function Kne(e,t){return t&&(Qne(t)==="object"||typeof t=="function")?t:qne(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function Xne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=St(e),e!==null););return e}var Qne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zne(e){var t=Jne();return function(){var n=St(e),o;if(t){var i=St(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kne(this,o)}}var He=function(e){Wne(r,e);var t=Zne(r);function r(o){Une(this,r);var i;return i=t.call(this,o),i.props=new If(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Cf(St(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.escapeHTML;u.props.escapeHTML=f}return u},r}(H);He.controlType="text-column",He.controlName="\u957F\u6587\u672C",He.controlIcon="text-column",He.controlFieldType=c.FieldTypes.TEXT,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-autoHeight",visible:!0},{key:"column-link-operation",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 ere(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&kd(e,t)}function rre(e,t){return t&&(ore(t)==="object"||typeof t=="function")?t:ere(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}var ore=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ire(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ure(e){var t=ire();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rre(this,o)}}var jd=function(e){nre(r,e);var t=ure(r);function r(n){tre(this,r);var o;return o=t.call(this,n),o.props=new If(n==null?void 0:n.props),o}return r}(q);jd.controlType="text-column",jd.controlFieldType=c.FieldTypes.TEXT;var Ww={Designer:He,Runtime:jd,Property:If};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 Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(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&&Ad(e,t)}function cre(e,t){return t&&(fre(t)==="object"||typeof t=="function")?t:Kw(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(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 Jw(e){var t=are();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 cre(this,o)}}var lre=function(e){Qw(r,e);var t=Jw(r);function r(n){Xw(this,r);var o;return o=t.call(this,n),we.call(Kw(o),n),o}return r}(_e),kf=function(e){Qw(r,e);var t=Jw(r);function r(n){Xw(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:qe.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var s;o.options=le((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]);var y;return o.showLinkOperation=(y=n==null?void 0:n.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new Oe(n==null?void 0:n.linkOperationOption),o}return r}(x);kf.Rules=lre;function sre(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 jf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jf=Reflect.get:jf=function(o,i,u){var f=pre(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},jf(e,t,r||e)}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Et(e)}function _re(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function vre(e,t){return t&&(dre(t)==="object"||typeof t=="function")?t:sre(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function pre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Et(e),e!==null););return e}var dre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bre(e){var t=hre();return function(){var n=Et(e),o;if(t){var i=Et(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vre(this,o)}}var qe=function(e){_re(r,e);var t=bre(r);function r(o){yre(this,r);var i;return i=t.call(this,o),i.props=new kf(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=jf(Et(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u},r}(H);qe.controlType="decimal-column",qe.controlName="\u6570\u503C",qe.controlIcon="decimal-column",qe.controlFieldType=c.FieldTypes.DECIMAL,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-link-operation",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 Ore(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function mre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function Pre(e,t){return t&&(Rre(t)==="object"||typeof t=="function")?t:Ore(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}var Rre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tre(e){var t=wre();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 Pre(this,o)}}var Ld=function(e){mre(r,e);var t=Tre(r);function r(n){gre(this,r);var o;return o=t.call(this,n),o.props=new kf(n==null?void 0:n.props),o}return r}(q);Ld.controlType="decimal-column",Ld.controlFieldType=c.FieldTypes.DECIMAL;var Zw={Designer:qe,Runtime:Ld,Property:kf};function eT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tT(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 nT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $re(e,t){return t&&(Sre(t)==="object"||typeof t=="function")?t:eT(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}var Sre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rT(e){var t=Ere();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 $re(this,o)}}var Ire=function(e){nT(r,e);var t=rT(r);function r(n){tT(this,r);var o;return o=t.call(this,n),we.call(eT(o),n),o}return r}(_e),Df=function(e){nT(r,e);var t=rT(r);function r(n){tT(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;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Oe(n==null?void 0:n.linkOperationOption);var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Ue.controlName,o}return r}(x);Df.Rules=Ire;function Cre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lf=Reflect.get:Lf=function(o,i,u){var f=jre(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Lf(e,t,r||e)}function It(e){return It=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},It(e)}function Bre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function kre(e,t){return t&&(Are(t)==="object"||typeof t=="function")?t:Cre(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function jre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=It(e),e!==null););return e}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=It(e),o;if(t){var i=It(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kre(this,o)}}var Ue=function(e){Bre(r,e);var t=Dre(r);function r(o){Nre(this,r);var i;return i=t.call(this,o),i.props=new Df(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Lf(It(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.dateType;u.props.dateType=f}return u},r}(H);Ue.controlType="timescope-column",Ue.controlName="\u65E5\u671F\u533A\u95F4",Ue.controlIcon="timescope-column",Ue.controlFieldType=c.FieldTypes.TIMESCOPE,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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function Lre(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 Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(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&&zd(e,t)}function zre(e,t){return t&&(Vre(t)==="object"||typeof t=="function")?t:Lre(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}var Vre=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=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zre(this,o)}}var Vd=function(e){xre(r,e);var t=Gre(r);function r(n){Fre(this,r);var o;return o=t.call(this,n),o.props=new Df(n==null?void 0:n.props),o}return r}(q);Vd.controlType="timescope-column",Vd.controlFieldType=c.FieldTypes.TIMESCOPE;var oT={Designer:Ue,Runtime:Vd,Property:Df};function iT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uT(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 cT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:iT(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(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 fT(e){var t=Ure();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 Hre(this,o)}}var Wre=function(e){cT(r,e);var t=fT(r);function r(n){uT(this,r);var o;return o=t.call(this,n),we.call(iT(o),n),o}return r}(_e),zf=function(e){cT(r,e);var t=fT(r);function r(n){uT(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;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Oe(n==null?void 0:n.linkOperationOption);var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:We.controlName,o}return r}(x);zf.Rules=Wre;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 Vf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vf=Reflect.get:Vf=function(o,i,u){var f=Zre(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Vf(e,t,r||e)}function Ct(e){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ct(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&&Gd(e,t)}function Jre(e,t){return t&&(eoe(t)==="object"||typeof t=="function")?t:Kre(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}function Zre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ct(e),e!==null););return e}var eoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function toe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function noe(e){var t=toe();return function(){var n=Ct(e),o;if(t){var i=Ct(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jre(this,o)}}var We=function(e){Qre(r,e);var t=noe(r);function r(o){Xre(this,r);var i;return i=t.call(this,o),i.props=new zf(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Vf(Ct(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.dateType;u.props.dateType=f}return u},r}(H);We.controlType="timestamp-column",We.controlName="\u65E5\u671F",We.controlIcon="timestamp-column",We.controlFieldType=c.FieldTypes.TIMESTAMP,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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function roe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ooe(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 ioe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function uoe(e,t){return t&&(coe(t)==="object"||typeof t=="function")?t:roe(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}var coe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function foe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aoe(e){var t=foe();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uoe(this,o)}}var qd=function(e){ioe(r,e);var t=aoe(r);function r(n){ooe(this,r);var o;return o=t.call(this,n),o.props=new zf(n==null?void 0:n.props),o}return r}(q);qd.controlType="timestamp-column",qd.controlFieldType=c.FieldTypes.TIMESTAMP;var aT={Designer:We,Runtime:qd,Property:zf};function loe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lT(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 sT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 soe(e,t){return t&&(yoe(t)==="object"||typeof t=="function")?t:loe(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}var yoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _oe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yT(e){var t=_oe();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 soe(this,o)}}var voe=function(e){sT(r,e);var t=yT(r);function r(n){return lT(this,r),t.call(this,n)}return r}(El),Hf=function(e){sT(r,e);var t=yT(r);function r(n){lT(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:Ke.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new z(n==null?void 0:n.datasourceBind);var f;return o.options=le((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(x);Hf.Rules=voe;function poe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function doe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function hoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function boe(e,t){return t&&(Ooe(t)==="object"||typeof t=="function")?t:poe(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}var Ooe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function moe(e){var t=goe();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return boe(this,o)}}var Ke=function(e){hoe(r,e);var t=moe(r);function r(n){doe(this,r);var o;return o=t.call(this,n),o.props=new Hf(n==null?void 0:n.props),o}return r}(H);Ke.controlType="array-column",Ke.controlName="\u6570\u7EC4",Ke.controlIcon="array-column",Ke.controlFieldType=c.FieldTypes.ARRAY,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-options-setting",visible:!0},{key:"column-sort",visible:!0}];function Poe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Roe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(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&&Kd(e,t)}function Toe(e,t){return t&&($oe(t)==="object"||typeof t=="function")?t:Poe(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}var $oe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Soe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eoe(e){var t=Soe();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Toe(this,o)}}var Xd=function(e){woe(r,e);var t=Eoe(r);function r(n){Roe(this,r);var o;return o=t.call(this,n),o.props=new Hf(n==null?void 0:n.props),o}return r}(q);Xd.controlType="array-column",Xd.controlFieldType=c.FieldTypes.ARRAY;var _T={Designer:Ke,Runtime:Xd,Property:Hf};function Ioe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Coe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function Noe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qd(e,t)}function Boe(e,t){return t&&(koe(t)==="object"||typeof t=="function")?t:Ioe(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}var koe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function joe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aoe(e){var t=joe();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 Boe(this,o)}}var Jd=function(e){Noe(r,e);var t=Aoe(r);function r(n){Coe(this,r);var o;o=t.call(this,n);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Xe.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(x);function Moe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Doe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Kf=Reflect.get:Kf=function(o,i,u){var f=xoe(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Kf(e,t,r||e)}function Nt(e){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nt(e)}function Loe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function Foe(e,t){return t&&(zoe(t)==="object"||typeof t=="function")?t:Moe(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function xoe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nt(e),e!==null););return e}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=Nt(e),o;if(t){var i=Nt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Foe(this,o)}}var Xe=function(e){Loe(r,e);var t=Yoe(r);function r(o){Doe(this,r);var i;return i=t.call(this,o),i.props=new Jd(o==null?void 0:o.props),i}var n=r.prototype;return n.toDataBindModel=function(i){var u=Kf(Nt(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.displayLevel;u.props.displayLevel=f}return u},r}(H);Xe.controlType="department-column",Xe.controlName="\u90E8\u95E8",Xe.controlIcon="department-column",Xe.controlFieldType=c.FieldTypes.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0}];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 Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(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&&eh(e,t)}function Uoe(e,t){return t&&(Woe(t)==="object"||typeof t=="function")?t:Goe(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(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=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uoe(this,o)}}var th=function(e){qoe(r,e);var t=Xoe(r);function r(n){Hoe(this,r);var o;return o=t.call(this,n),o.props=new Jd(n==null?void 0:n.props),o}return r}(q);th.controlType="department-column",th.controlFieldType=c.FieldTypes.DEPARTMENTS;var vT={Designer:Xe,Runtime:th,Property:Jd};function pT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dT(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 hT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qoe(e,t){return t&&(Joe(t)==="object"||typeof t=="function")?t:pT(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var Joe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bT(e){var t=Zoe();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 Qoe(this,o)}}var eie=function(e){hT(r,e);var t=bT(r);function r(n){dT(this,r);var o;return o=t.call(this,n),we.call(pT(o),n),o}return r}(_e),Jf=function(e){hT(r,e);var t=bT(r);function r(n){dT(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:Qe.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Oe(n==null?void 0:n.linkOperationOption),o}return r}(x);Jf.Rules=eie;function tie(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 Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function rie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oie(e,t){return t&&(iie(t)==="object"||typeof t=="function")?t:tie(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var iie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cie(e){var t=uie();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 oie(this,o)}}var Qe=function(e){rie(r,e);var t=cie(r);function r(n){nie(this,r);var o;return o=t.call(this,n),o.props=new Jf(n==null?void 0:n.props),o}return r}(H);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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function fie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function lie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function sie(e,t){return t&&(yie(t)==="object"||typeof t=="function")?t:fie(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}var yie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _ie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vie(e){var t=_ie();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 sie(this,o)}}var ih=function(e){lie(r,e);var t=vie(r);function r(n){aie(this,r);var o;return o=t.call(this,n),o.props=new Jf(n==null?void 0:n.props),o}return r}(q);ih.controlType="auto-number-column",ih.controlFieldType=c.FieldTypes.AUTO_NUMBER;var OT={Designer:Qe,Runtime:ih,Property:Jf};function pie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function die(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 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&&uh(e,t)}function bie(e,t){return t&&(Oie(t)==="object"||typeof t=="function")?t:pie(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var Oie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mie(e){var t=gie();return function(){var n=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bie(this,o)}}var ch=function(e){hie(r,e);var t=mie(r);function r(n){die(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:Je.controlName,o}return r}(x);function Pie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rie(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 wie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tie(e,t){return t&&($ie(t)==="object"||typeof t=="function")?t:Pie(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var $ie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eie(e){var t=Sie();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 Tie(this,o)}}var Je=function(e){wie(r,e);var t=Eie(r);function r(n){Rie(this,r);var o;return o=t.call(this,n),o.props=new ch(n==null?void 0:n.props),o}return r}(H);Je.controlType="file-column",Je.controlName="\u9644\u4EF6",Je.controlIcon="file-column",Je.controlFieldType=c.FieldTypes.FILE,Je.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 Iie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function Nie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bie(e,t){return t&&(kie(t)==="object"||typeof t=="function")?t:Iie(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var kie=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 Aie(e){var t=jie();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 Bie(this,o)}}var lh=function(e){Nie(r,e);var t=Aie(r);function r(n){Cie(this,r);var o;return o=t.call(this,n),o.props=new ch(n==null?void 0:n.props),o}return r}(q);lh.controlType="file-column",lh.controlFieldType=c.FieldTypes.FILE;var gT={Designer:Je,Runtime:lh,Property:ch};function Mie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Die(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function Lie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function Fie(e,t){return t&&(xie(t)==="object"||typeof t=="function")?t:Mie(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var xie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=zie();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fie(this,o)}}var yh=function(e){Lie(r,e);var t=Vie(r);function r(n){Die(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:Ze.controlName,o}return r}(x);function Yie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(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&&_h(e,t)}function qie(e,t){return t&&(Uie(t)==="object"||typeof t=="function")?t:Yie(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var Uie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kie(e){var t=Wie();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 qie(this,o)}}var Ze=function(e){Hie(r,e);var t=Kie(r);function r(n){Gie(this,r);var o;return o=t.call(this,n),o.props=new yh(n==null?void 0:n.props),o}return r}(H);Ze.controlType="image-column",Ze.controlName="\u56FE\u7247",Ze.controlIcon="image-column",Ze.controlFieldType=c.FieldTypes.IMAGE,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-sort",visible:!0}];function Xie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(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&&vh(e,t)}function Zie(e,t){return t&&(eue(t)==="object"||typeof t=="function")?t:Xie(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var eue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nue(e){var t=tue();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 Zie(this,o)}}var ph=function(e){Jie(r,e);var t=nue(r);function r(n){Qie(this,r);var o;return o=t.call(this,n),o.props=new yh(n==null?void 0:n.props),o}return r}(q);ph.controlType="image-column",ph.controlFieldType=c.FieldTypes.IMAGE;var mT={Designer:Ze,Runtime:ph,Property:yh};function rue(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 ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function iue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uue(e,t){return t&&(cue(t)==="object"||typeof t=="function")?t:rue(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}var cue=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 aue(e){var t=fue();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 uue(this,o)}}var hh=function(e){iue(r,e);var t=aue(r);function r(n){oue(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:et.controlName,o}return r}(x);function lue(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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function yue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ue(e,t){return t&&(vue(t)==="object"||typeof t=="function")?t:lue(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}var vue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function due(e){var t=pue();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 _ue(this,o)}}var et=function(e){yue(r,e);var t=due(r);function r(n){sue(this,r);var o;return o=t.call(this,n),o.props=new hh(n==null?void 0:n.props),o}return r}(H);et.controlType="people-column",et.controlName="\u4EBA\u5458",et.controlIcon="people-column",et.controlFieldType=c.FieldTypes.EMPLOYEES,et.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 hue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(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&&Oh(e,t)}function gue(e,t){return t&&(mue(t)==="object"||typeof t=="function")?t:hue(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var mue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rue(e){var t=Pue();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gue(this,o)}}var gh=function(e){Oue(r,e);var t=Rue(r);function r(n){bue(this,r);var o;return o=t.call(this,n),o.props=new hh(n==null?void 0:n.props),o}return r}(q);gh.controlType="people-column",gh.controlFieldType=c.FieldTypes.EMPLOYEES;var PT={Designer:et,Runtime:gh,Property:hh};function RT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function TT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wue(e,t){return t&&(Tue(t)==="object"||typeof t=="function")?t:RT(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}var Tue=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 $T(e){var t=$ue();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 wue(this,o)}}var Sue=function(e){TT(r,e);var t=$T(r);function r(n){wT(this,r);var o;return o=t.call(this,n),we.call(RT(o),n),o}return r}(_e),sa=function(e){TT(r,e);var t=$T(r);function r(n){wT(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:tt.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Oe(n==null?void 0:n.linkOperationOption),o}return r}(x);sa.Rules=Sue;function Eue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function Cue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nue(e,t){return t&&(Bue(t)==="object"||typeof t=="function")?t:Eue(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var Bue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kue();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 Nue(this,o)}}var tt=function(e){Cue(r,e);var t=jue(r);function r(n){Iue(this,r);var o;return o=t.call(this,n),o.props=new sa(n==null?void 0:n.props),o}return r}(H);tt.controlType="location-column",tt.controlName="\u5730\u5740",tt.controlIcon="location-column",tt.controlFieldType=c.FieldTypes.ADDRESS,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Aue(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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(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&&Rh(e,t)}function Lue(e,t){return t&&(Fue(t)==="object"||typeof t=="function")?t:Aue(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var Fue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zue(e){var t=xue();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 Lue(this,o)}}var wh=function(e){Due(r,e);var t=zue(r);function r(n){Mue(this,r);var o;return o=t.call(this,n),o.props=new sa(n==null?void 0:n.props),o}return r}(q);wh.controlType="location-column",wh.controlFieldType=c.FieldTypes.ADDRESS;var ST={Designer:tt,Runtime:wh,Property:sa};function Vue(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 va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(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&&Th(e,t)}function Hue(e,t){return t&&(que(t)==="object"||typeof t=="function")?t:Vue(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}var que=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Uue();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 Hue(this,o)}}var $h=function(e){Gue(r,e);var t=Wue(r);function r(n){Yue(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:Se.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(x);function ET(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vn=Reflect.get:Vn=function(o,i,u){var f=rce(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u):a.value}},Vn(e,t,r||e)}function nt(e){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nt(e)}function Que(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jue(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Zue(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){Xue(e,o,r[o])})}return e}function ece(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 tce(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ece(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function nce(e,t){return t&&(oce(t)==="object"||typeof t=="function")?t:ET(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function rce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nt(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=nt(e),o;if(t){var i=nt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nce(this,o)}}var cce=1,Se=function(t){Que(n,t);var r=uce(n);function n(i){Kue(this,n);var u;u=r.call(this,i);var f=Jue(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new $h(i==null?void 0:i.props),ye(ET(u),"children",i==null?void 0:i.children),u.excludes=pe(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=Vn(nt(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=Vn(nt(n.prototype),"toSchema",this).call(this);return tce(Zue({},u),{children:this.children.map(function(f){return f.toSchema()})})},n}(H);Se.controlType="custom-column",Se.controlName="\u81EA\u5B9A\u4E49",Se.controlIcon="custom-column",Se.excludes=[],Se.childrenMaxLength=cce,Se.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 IT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fce(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 ace(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lce(e,t){return t&&(sce(t)==="object"||typeof t=="function")?t:IT(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}var sce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ce(e){var t=yce();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 lce(this,o)}}var CT=function(e){ace(r,e);var t=_ce(r);function r(n){fce(this,r);var o;return o=t.call(this,n),o.props=new $h(n==null?void 0:n.props),ye(IT(o),"children",n==null?void 0:n.children),o}return r}(q);CT.controlType="custom-column";var NT={Designer:Se,Runtime:CT,Property:$h};function vce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(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&&Ih(e,t)}function hce(e,t){return t&&(bce(t)==="object"||typeof t=="function")?t:vce(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var bce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gce(e){var t=Oce();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 hce(this,o)}}var Ch=function(e){dce(r,e);var t=gce(r);function r(n){pce(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:Ee.controlName;var u;return o.datasourceBind=new xt((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:Ee.controlCustomAttributes}),o}return r}(x);function mce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BT(e,t){for(var r=0;r<t.length;r++){var 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&&BT(e.prototype,t),r&&BT(e,r),e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function wce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tce(e,t){return t&&($ce(t)==="object"||typeof t=="function")?t:mce(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}var $ce=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 Ece(e){var t=Sce();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 Tce(this,o)}}var Ee=function(e){wce(r,e);var t=Ece(r);function r(n){Pce(this,r);var o;return o=t.call(this,n),o.props=new Ch(n==null?void 0:n.props),o}return Rce(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Ee.controlType="employee-column",Ee.controlName="\u4EBA\u5458",Ee.controlIcon="employee-column",Ee.controlFieldType=c.FieldTypes.EMPLOYEES,Ee.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 Ice(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 ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function Nce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bce(e,t){return t&&(kce(t)==="object"||typeof t=="function")?t:Ice(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var kce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jce();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 Bce(this,o)}}var kh=function(e){Nce(r,e);var t=Ace(r);function r(n){Cce(this,r);var o;return o=t.call(this,n),o.props=new Ch(n==null?void 0:n.props),o}return r}(q);kh.controlType="employee-column",kh.controlFieldType=c.FieldTypes.EMPLOYEES;var kT={Designer:Ee,Runtime:kh,Property:Ch},Mce=Object.freeze({__proto__:null,VarcharColumn:Yw,TextColumn:Ww,DecimalColumn:Zw,TimescopeColumn:oT,TimestampColumn:aT,ArrayColumn:_T,DepartmentColumn:vT,AutoNumberColumn:OT,FileColumn:gT,ImageColumn:mT,PeopleColumn:PT,LocationColumn:ST,CustomColumn:NT,OrderColumn:Ew,OperationColumn:Bw,EmployeeColumn:kT});function Dce(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 Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function AT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lce(e,t){return t&&(Fce(t)==="object"||typeof t=="function")?t:Dce(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var Fce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MT(e){var t=xce();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lce(this,o)}}var zce=function(e){AT(r,e);var t=MT(r);function r(n){jT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(ge),ga=function(e){AT(r,e);var t=MT(r);function r(n){jT(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 de((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new de((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 de(_)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return r}(Pr);ga.RuntimeRules=zce;function Vce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function Gce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hce(e,t){return t&&(qce(t)==="object"||typeof t=="function")?t:Vce(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}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=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hce(this,o)}}var Mh=function(e){Gce(r,e);var t=Wce(r);function r(n){Yce(this,r);var o;return o=t.call(this,n),o.props=new ga(n==null?void 0:n.props),o}return r}(vO);Mh.controlType="simple-search",Mh.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 Kce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xce(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 Qce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jce(e,t){return t&&(Zce(t)==="object"||typeof t=="function")?t:Kce(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}var Zce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function efe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tfe(e){var t=efe();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 Jce(this,o)}}var DT=function(e){Qce(r,e);var t=tfe(r);function r(n){Xce(this,r);var o;o=t.call(this,n),o.props=new ga(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}(pO);DT.controlType="simple-search";var LT={Designer:Mh,Runtime:DT,Property:ga},nfe=Object.freeze({__proto__:null,SimpleSearch:LT});function Lh(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 rfe(e){if(Array.isArray(e))return e}function ofe(e){if(Array.isArray(e))return Lh(e)}function ife(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ufe(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 cfe(){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 ffe(){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 afe(e,t){return rfe(e)||ufe(e,t)||xT(e,t)||cfe()}function FT(e){return ofe(e)||ife(e)||xT(e)||ffe()}function xT(e,t){if(!!e){if(typeof e=="string")return Lh(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 Lh(e,t)}}var lfe=function(e,t){var r=Array.isArray(e),n=r?e:[e];Pfe(t==null?void 0:t.events),dfe(n),hfe(n);var o=pfe(n),i=bfe(o,t),u=je(Q(i,function(f){return vfe(f,t)}));return r?u:u[0]},sfe=[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"],yfe=["subtable","grid-table"],_fe=["simple-search"];function vfe(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":sfe.includes(i.type)?i.controlType="base":i.controlType="form",yfe.includes(i.type)&&(i.controlType="list"),_fe.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),K(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),K(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),K(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"&&(K(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(K(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var a,l=i.props.entry_type||i.props.entryType;i.props.openType=l==="subpage"?"modal":"default",((a=i.children[0])===null||a===void 0?void 0:a.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(P,$){var N=new vp.Designer;N.props.caption=K(P.field_name)?P.field_name.zh:P.field_name;var te=N.toSchema();te.id=P.header_id;var U=i.children[0].children[$].children[0];return U&&(te.children=[U]),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(P){P.label=K(P.text)?P.text.zh:P.text,P.id=P.id||P.opt_id||P.optId||P.data_id}),i=e),e.type==="grid-row"){var y=24/i.children.length;i.children=i.children.map(function(P){var $=new cc.Designer;$.props.span=y;var N=$.toSchema();return N.children.push(P),N})}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={};_&&(zT(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&&(zT(i,t),i.id=h.id,v.amount=h.props.data_bind,i.props.range_min=ke(h.props.range_min),i.props.range_max=ke(h.props.range_max),O.amount=ke(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=K(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(P){return{label:P.text,value:P.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=K(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=K(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=K(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=ke(e.props.range_min),i.props.range_max=ke(e.props.range_max),i.props.defaultValue=ke(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"),Rfe(i,t==null?void 0:t.control_events),i}function zT(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 pfe(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Yp.Designer,n=r.toSchema();return n.children=e,[n]}function dfe(e){e.forEach(function(t){t.children&&mfe(t.children)})}function hfe(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 bfe(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=afe(l,3),y=s[0],_=s[1],d=s[2];Ofe(y),d.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,gfe(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 Fp.Designer;m.props.datasourceBind=new z({dataCode:h,svcCode:v,orders:tb(R)}),m.props.isShowSubList=a.is_show_sublist,m.props.triggerType=a.timing_type,m.props.triggerFieldCode=a.ctrl_field_code,a==null||(u=a.sublist_page)===null||u===void 0||u.sublists.forEach(function(P){P.title=K(P.title)?P.title.zh:P.title}),m.props.sublistPage=a.sublist_page;var T=m.toSchema();return T.children.push(y,d),[T]}function Ofe(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=K(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 gfe(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:K(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=K(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new z({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function mfe(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 Pfe(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 Rfe(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,FT(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,FT(t[e.id].on_blur))}}}var wfe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=je(Q(n,function(i){return Tfe(i)}));return r?o:o[0]};function Tfe(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 $fe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=je(Q(n,function(i){return Sfe(i)}));return r?o:o[0]};function Sfe(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 Efe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=je(Q(n,function(i){return Ife(i)}));return r?o:o[0]};function Ife(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 Cfe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=je(Q(n,function(i){return Bfe(i)}));return r?o:o[0]},Nfe=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Bfe(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(Nfe.includes(r.type))return r;var n=new up.Designer,o=new cc.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var kfe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=je(Q(n,function(i){return jfe(i)}));return r?o:o[0]};function jfe(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 Afe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return Mfe(i)});return r?o:o[0]};function Mfe(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Dfe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return Lfe(i)});return r?o:o[0]};function Ie(e,t){e.field_code&&(e.field_type=t)}function Lfe(e,t){var r,n=(r={},A(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),A(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),A(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),A(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),A(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),A(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),A(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),A(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),A(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),A(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),A(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),A(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),A(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),A(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Ie(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(Ie(e.props.data_bind.amount,c.FieldTypes.DECIMAL),Ie(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(Ie(e.props.data_bind.result,c.FieldTypes.DECIMAL),Ie(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(Ie(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),Ie(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;Ie(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var Ffe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return xfe(i)});return r?o:o[0]};function xfe(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 zfe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return Vfe(i)});return r?o:o[0]};function Vfe(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 Yfe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return Gfe(i)});return r?o:o[0]};function Gfe(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 Hfe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return qfe(i)});return r?o:o[0]};function qfe(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 Ufe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Q(n,function(i){return Wfe(i)});return r?o:o[0]};function Wfe(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 un.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 un.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,P,$,N,te,U,W=new un.Designer;Object.defineProperty(W,"id",{value:"listPageDeleteBtnId"}),W.props.code="delete",W.props.icon="iconlajitong",W.props.command="delete",W.props.content=(T=r.props)===null||T===void 0?void 0:T.delete.content,W.props.priorityProcess=(P=r.props)===null||P===void 0?void 0:P.delete.priority_process,W.props.openType=($=r.props)===null||$===void 0?void 0:$.delete.open_type,W.props.formKey=(N=r.props)===null||N===void 0?void 0:N.delete.form_key,W.props.needConfirm=!0,W.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(W.toSchema()),(U=r.props)===null||U===void 0||delete U.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 VT={"v1.0":lfe,"v2.0":wfe,"v2.1":$fe,"v2.2":Efe,"v2.3":Cfe,"v2.4":kfe,"v2.5":Afe,"v2.6":Dfe,"v2.7":Ffe,"v2.8":zfe,"v2.9":Yfe,"v2.10":Hfe,"v3.0":Ufe,"v3.1":function(){}};const YT=(e,t)=>{const r=GT(e),n=GT(t),o=r.pop(),i=n.pop(),u=UT(r,n);return u!==0?u:o&&i?UT(o.split("."),i.split(".")):o||i?o?-1:1:0},Ra=(e,t,r)=>{Jfe(r);const n=YT(e,t);return WT[r].includes(n)},Kfe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,GT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Kfe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},HT=e=>e==="*"||e==="x"||e==="X",qT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Xfe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Qfe=(e,t)=>{if(HT(e)||HT(t))return 0;const[r,n]=Xfe(qT(e),qT(t));return r>n?1:r<n?-1:0},UT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Qfe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},WT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},KT=Object.keys(WT),Jfe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(KT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${KT.join("|")}`)};function Zfe(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 eae(e,t,r){return t&&XT(e.prototype,t),r&&XT(e,r),e}function Fh(e){return e.replace(/^v/,"")}var Bt=Object.keys(VT).map(function(e){return Fh(e)}).sort(YT),Yn=Bt[Bt.length-1],tae=function(){function e(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Yn;Zfe(this,e),this.schemaVersion=r,this.toVersion=n,Ra(n,Yn,">")?be("Version Builder: The specified ".concat(n," is an undefined version, and the current latest version is ").concat(Yn)):(!Bt.includes(Fh(n))||!Bt.includes(Fh(r)))&&be("Version Builder: Please give me a valid version number, The valid version is: ".concat(Bt.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;Ft("Version Builder: current version: ".concat(a,", nextVersion: ").concat(_));var d=VT[a],b=f;if(typeof d=="function"){var h=d(f,o);h&&(b=h)}return b},n);return Ft("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u},eae(e,[{key:"runDataCleanerKeys",get:function(){var n=this;return Bt.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 Yn}}],[{key:"version",get:function(){return Yn}}]),e}();const wa=[],xh={exports:{}};let zh=!1;const nae=window.module,rae=window.exports,oae=window.require;function iae(e){return zh||(window.module=xh,window.exports=xh.exports,window.require=function(t){return e[t]},zh=!0),function(){window.module=nae,window.exports=rae,window.require=oae,zh=!1}}function uae(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=iae(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const a=wa.findIndex(l=>l===r);wa.splice(a,1),wa.length===0&&u()};i.onerror=function(a){f(),o(a)},i.onload=function(){n(xh.exports),f()},document.head.appendChild(i)});return wa.push(r),r}function Vh(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 QT(e,t,r={fetch:Vh}){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 Ta(e,t){return QT(e,t)}function cae(e,t){return Gn(this,null,function*(){return yield Promise.all(e.map(r=>Ta(r,t)))})}function $a(e,t,r){let n;t==="runtime"?n=class extends Y{constructor(a){super(a),this.props={}}static get controlType(){return e}}:n=class extends B{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends 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 fae(e,t,r,n){return Gn(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Gn(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 Ta(a,r)}catch(a){u=!1,Ne("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,a),f=$a(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)}}JT(n.type,f,o,u,i)}))),e==null||e.map(i=>{const[u,f]=i.split(":");if(o.has(u)===!1){const l=$a(u,n.type,n.tipMessage);JT(n.type,l,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function JT(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&Ne(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&Ne(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function aae(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 lae(e,t){return Gn(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield Vh(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield Ta(`${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=$a(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.ActionBar=Ow,c.Address=z0,c.AddressValue=wb,c.AdvancedContainer=lw,c.Amount=C0,c.AmountDataBind=gb,c.AmountValue=mb,c.ArrayColumn=_T,c.Attachment=R0,c.AutoNumber=J0,c.AutoNumberColumn=OT,c.AutoWidth=Ya,c.BaseControlProperty=E,c.BaseControlPropertyRules=G,c.BaseControlPropertyRuntimeRules=k,c.BaseStyle=Eb,c.BatchDeleteButton=bm,c.BatchPrintListButton=cm,c.BatchPrintRecordListButton=lm,c.BatchSubmissionListButton=JO,c.Button=TO,c.Calc=nP,c.CalcDataBind=Tb,c.CalcScriptEchoItem=BI,c.CalcValue=$b,c.CardGroup=SR,c.Checkbox=$m,c.Col=cc,c.ColumnControlProperty=x,c.ColumnControlPropertyRules=_e,c.ColumnOptionAndDataSourcePropertyRules=El,c.CreateFormListButton=qO,c.CustomAttributeItem=Ua,c.CustomColumn=NT,c.CustomPermissionItem=SC,c.DEFAULT_LOCALE=Yh,c.Dashboard=Mg,c.DataBind=re,c.DataSourceBind=z,c.DataSourceDataSetValue=db,c.DataSourceOrderItem=Ha,c.DataSourceParamItem=wC,c.DataStorageDoc=ab,c.DataView=Yp,c.DatePicker=zm,c.DateRange=Wm,c.DecimalColumn=Zw,c.Department=W0,c.Department2=oR,c.DepartmentColumn=vT,c.DepartmentEntity=ot,c.DesignerColumnControl=H,c.DesignerControl=B,c.DesignerFormControl=I,c.DesignerLayoutControl=M,c.DesignerListControl=dr,c.DesignerSearchControl=vO,c.DesignerWrapControl=Wk,c.DisplayBoListItem=Zn,c.Divider=jO,c.ElectronicSignature=KP,c.ElectronicSignatureConfig=$O,c.Employee=g0,c.Employee2=VP,c.EmployeeColumn=kT,c.EventLogic=ob,c.Explain=Lr,c.ExportListButton=og,c.ExportRecordListButton=cg,c.ExportTemplate=Ql,c.FieldBindItem=yb,c.FieldFilterCondition=Jn,c.FieldFilterConditions=Ga,c.FieldTypeToColumnType=jI,c.FileColumn=gT,c.FillBackBind=Ka,c.FillPayloadBind=tr,c.FlexStyleConfig=CO,c.FormBind=Xn,c.FormSelectBind=lb,c.FormSelectButton=bg,c.Grid=_R,c.GridRow=up,c.GridTable=Lw,c.GridTableColumn=AR,c.Image=$0,c.ImageColumn=mT,c.ImageOptionSetting=Ob,c.ImportRecordListButton=sg,c.Input=Pm,c.InvoiceCheckButton=tm,c.JSONCopy=pe,c.Language=TC,c.LayoutControlProperty=j,c.LeftVariable=pb,c.LimitDate=Dr,c.Link=PO,c.LinkOperationOption=Oe,c.ListBind=Qn,c.ListControlProperty=qt,c.ListSelectButton=Tg,c.ListView=Fp,c.ListViewSelect=Yg,c.LocationColumn=ST,c.MetaAutoWidth=fb,c.MetaWidth=Kn,c.MultistageFillingItem=J,c.Number=Dm,c.ObjectDataBind=nr,c.OperationButton=un,c.OperationColumn=Bw,c.OperationItem=de,c.OptObject=Ib,c.OptionAndDataSourcePropertyRules=Ae,c.OptionSetting=Qa,c.OrderColumn=Ew,c.OrganizationDataSourceBind=hb,c.OrganizationSelection=aR,c.Page=cw,c.Pagination=Ig,c.PeopleColumn=PT,c.Position=dw,c.PositioningContainer=_w,c.PrintTemplate=IO,c.Property=L,c.PropertyRules=D,c.PropertyRuntimeRules=ge,c.Radio=km,c.RangeDataBind=Pb,c.RangeDateValue=Rb,c.RegisterControls=Un,c.RegularRules=Xa,c.RichText=n0,c.RightVariable=it,c.Row=OR,c.RulesMessage=p,c.RuntimeColumnControl=q,c.RuntimeControl=Y,c.RuntimeFormControl=C,c.RuntimeLayoutControl=F,c.RuntimeListControl=Rl,c.RuntimeSearchControl=pO,c.RuntimeWrapControl=nj,c.SUBTABLE_DEFAULT_MAX_HEIGHT=EO,c.Score=j0,c.SearchControlProperty=Pr,c.SearchDateRange=dP,c.SearchInput=BP,c.SearchNumberRange=aP,c.Select=a0,c.SelectMultiple=_0,c.SelectRelation=SP,c.SelectedContentConfig=er,c.SimpleSearch=LT,c.SubListItem=_b,c.SubListPageConfig=vb,c.SubTable=ww,c.SubTableColumn=vp,c.SubTableRow=kR,c.SubmissionRecordListButton=tg,c.SuperDataSourceBind=xt,c.Tab=GR,c.TabPane=zR,c.Text=OO,c.TextColumn=Ww,c.TextOcrButton=Kg,c.Textarea=Jm,c.TimescopeColumn=oT,c.TimestampColumn=aT,c.Title=xO,c.Toolbox=KR,c.Tree=DP,c.TreeDataSourceBind=Wa,c.UndersignedPerson=Xl,c.UserEntity=Hn,c.VarcharColumn=Yw,c.VersionBuilder=tae,c.ViewOperationItem=Sb,c.VueFormItem=gP,c.WPS=ZP,c.WPSSetting=SO,c.Watcher=rb,c.WpsOperationItem=Jl,c.WrapControlProperty=Al,c.baseControls=R4,c.camelizeKeys=tb,c.columnControls=Mce,c.controlHooksEmitter=Db,c.createValidator=Mb,c.debounce=fC,c.decamelizeKeys=je,c.defineArrayParent=Jb,c.defineControlArrayToProperty=ye,c.defineParent=vl,c.error=be,c.formControls=Kq,c.genNonDuplicateId=fe,c.getHackerControl=$a,c.getNotRepeatItems=eb,c.initExpression=Ut,c.initImageOptions=$C,c.initLinkOperationRules=we,c.initOptionAndDataSourceRules=ur,c.initOptions=le,c.initSuperDataSourceRules=Ht,c.isArray=Be,c.isBuiltInControls=lC,c.isFunction=nC,c.isJSONArray=uC,c.isJSONObject=cC,c.isLanguageObject=K,c.isNumber=Fa,c.isNumberAndEmptyStringArray=iC,c.isNumberArray=oC,c.isObject=tC,c.isPlainObject=La,c.isString=Zh,c.isStringArray=rC,c.layoutControls=Aee,c.listControls=Rne,c.loadRemoteControl=Ta,c.loadRemoteControls=cae,c.loadScriptFromFetch=QT,c.loadScriptFromTag=uae,c.log=Ft,c.logerror=Kh,c.loop=Q,c.loopFormSchema=Aa,c.nativeFetch=Vh,c.noop=kI,c.referenceError=ja,c.registerByteluckControls=lae,c.registerCustomControls=fae,c.searchControls=nfe,c.setPropertyDontEnum=Qb,c.toNumberOrEmpty=ke,c.updateValueFromKeys=Qh,c.upgradeCustomControlSchema=aae,c.wait=aC,c.warn=Ne,Object.defineProperty(c,"__esModule",{value:!0})});
1
+ var Wn=(c,ke,ft)=>new Promise((X,Kn)=>{var Ba=_e=>{try{Ft(ft.next(_e))}catch(zt){Kn(zt)}},ja=_e=>{try{Ft(ft.throw(_e))}catch(zt){Kn(zt)}},Ft=_e=>_e.done?X(_e.value):Promise.resolve(_e.value).then(Ba,ja);Ft((ft=ft.apply(c,ke)).next())});(function(c,ke){typeof exports=="object"&&typeof module!="undefined"?ke(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],ke):(c=typeof globalThis!="undefined"?globalThis:c||self,ke(c.modelDrivenCoreAll={},c.regeneratorRuntime))})(this,function(c,ke){"use strict";function ft(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var X=ft(ke);function Kn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Ba=function e(){Kn(this,e)};function ja(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Ft=function e(){ja(this,e)},_e="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",zt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",P$="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",R$="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",w$="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",T$="{caption}\u5FC5\u586B",$$="\u8BF7\u8F93\u5165\u6807\u9898",S$="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",E$="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",I$="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",C$="\u8BF7\u7ED1\u5B9A\u8868\u5355",N$="\u8BF7\u7ED1\u5B9A\u5217\u8868",k$="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",B$="\u8BF7\u8F93\u5165\u663E\u793A\u503C",j$="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",A$="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",M$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",D$="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",L$="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",F$="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",z$="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",x$="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Y$="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",G$="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",V$="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",H$="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",q$="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",U$="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",W$="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",K$="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",X$="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Q$="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",J$="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Z$="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",eS="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",tS="\u8BF7\u7ED1\u5B9A\u670D\u52A1",nS="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rS="\u8BF7\u9009\u62E9\u7701",oS="\u8BF7\u9009\u62E9\u5E02",iS="\u8BF7\u9009\u62E9\u533A",uS="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",cS="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",fS="\u8BF7\u8F93\u5165\u5217\u5BBD",aS="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",lS="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",sS="\u8BF7\u9009\u62E9\u63A7\u4EF6",yS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vS="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",dS="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",hS="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",_S="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pS="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",bS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",OS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",gS="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",mS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",PS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",RS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",wS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",TS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",$S="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",SS="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ES="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",IS="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",CS="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",NS="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",kS="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",BS={isNotNumber:_e,isNotString:zt,isNotObject:P$,isNotArray:R$,isNotBoolean:w$,runtimeRequired:T$,pleaseEnterCaption:$$,pleaseEnterCaptionTip:S$,pleaseEnterPlaceholder:E$,pleaseEnterFieldCode:I$,pleaseEnterForm:C$,pleaseEnterList:N$,pleaseEnterProcess:k$,pleaseEnterLabel:B$,pleaseEnterValue:j$,bizKeyNotBindFiled:A$,pleaseSelectOneField:M$,pleaseEnterNumberRange:D$,pleaseEnterAValueGreaterThanMin:L$,pleaseEnterAValueLessThanMax:F$,numberRangeSetError:z$,stringRangeError:x$,attachmentMaxSize:Y$,pleaseEnterTotalScoreSetting:G$,theTotalScoreMustNotBeLessThan1:V$,scoreDefaultValueRange:H$,attachmentLimitError:q$,PleaseReselectTheOptionalQuantity:U$,TheMaximumLengthIsGreaterThanTheMinimumLength:W$,TheMinimumLengthIsGreaterThanTheMaximumLength:K$,PleaseSelectTheCorrectOptionSettings:X$,optionIdIsRepeat:Q$,optionIsRequired:J$,pleaseEnterDataCode:Z$,pleaseEnterValueFieldCode:eS,pleaseEnterSvcCode:tS,pleaseBindAtLeastOneDisplayValue:nS,pleaseSelectProvince:rS,pleaseSelectCity:oS,pleaseSelectDistrict:iS,limitRowsCannotBeLessThan0:uS,TheNumberOfRowsCannotBeLessThanMinRows:cS,pleaseEnterColumnWidth:fS,pleaseSetTheLogicalRelationshipOfAllRuleConditions:aS,pleaseCompleteAllRulesAndConditions:lS,pleaseSelectControl:sS,pleaseSelectAtLeastOneColumn:yS,pleaseSelectFillBackMode:vS,pleaseSelectDashboard:dS,rootNodeIsRequired:hS,theViewNameCannotBeEmpty:_S,pleaseSelectOcrType:pS,pleaseSelectAtLeastOneFieldToFillIn:bS,pleaseChooseAtLeastOne:OS,pleaseEnterButtonContent:gS,pleaseEnterDataCodeInDataSetting:mS,pleaseEnterValueFieldCodeInDataSetting:PS,pleaseEnterSvcCodeInDataSetting:RS,pleaseBindAtLeastOneDisplayValueInDataSetting:wS,rootNodeIsRequiredInDataSetting:TS,pleaseEnterMaxHeight:$S,pleaseEnter:SS,pleaseEnterWatermark:ES,pleaseEnterFileName:IS,pleaseUploadAtLeastOnePrintTemplate:CS,pleaseAssignBusiness:NS,pleaseAssignExternal:kS},jS="Please enter a number",AS="Please enter a string",MS="Please enter an object",DS="Please enter an array",LS="Please enter a boolean",FS="{caption} Required",zS="Please enter the title",xS="Please enter the bubble prompt",YS="Please enter the prompt text",GS="Please bind data items",VS="Please bind the form",HS="Please bind the list",qS="Please bind the process",US="Please enter the displayed value",WS="Please enter the stored value",KS="The document number is not bound to the data item",XS="Please select at least one display field",QS="Please enter a value greater than or equal to {min} and less than or equal to {max}",JS="Please enter a value greater than or equal to {min}",ZS="Please enter a value less than or equal to {max}",eE="The value range is set incorrectly",tE="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",nE="The attachment size must be between 0MB and 1000MB",rE="Please fill in the total score setting",oE="The total score cannot be less than 1",iE="The default value must be between {min} and {max}",uE="The number of attachments uploaded must be between {min} and {max}",cE="Please re-select the optional quantity",fE="The maximum length of the control must be greater than the minimum length",aE="The minimum length of the control must be less than the maximum length",lE="Please select the correct option setting",sE="Option ID cannot be repeated",yE="Please enter at least one option",vE="Please bind the data source",dE="Please bind the stored value",hE="Please bind the service",_E="At least one display value must be bound",pE="Please select a province",bE="Please select a city",OE="Please select a district",gE="The minimum number of lines to fill in cannot be less than 0",mE="The number of rows cannot be less than {min} rows",PE="Please enter the column width",RE="Please set the logical relationship of all rule conditions",wE="Please complete all rules and conditions",TE="please select control",$E="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",SE="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",EE="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",IE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",CE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",NE="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",kE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",BE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",jE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",AE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ME="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",DE="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",LE="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",FE="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",zE="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xE="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",YE="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",GE="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",VE={isNotNumber:jS,isNotString:AS,isNotObject:MS,isNotArray:DS,isNotBoolean:LS,runtimeRequired:FS,pleaseEnterCaption:zS,pleaseEnterCaptionTip:xS,pleaseEnterPlaceholder:YS,pleaseEnterFieldCode:GS,pleaseEnterForm:VS,pleaseEnterList:HS,pleaseEnterProcess:qS,pleaseEnterLabel:US,pleaseEnterValue:WS,bizKeyNotBindFiled:KS,pleaseSelectOneField:XS,pleaseEnterNumberRange:QS,pleaseEnterAValueGreaterThanMin:JS,pleaseEnterAValueLessThanMax:ZS,numberRangeSetError:eE,stringRangeError:tE,attachmentMaxSize:nE,pleaseEnterTotalScoreSetting:rE,theTotalScoreMustNotBeLessThan1:oE,scoreDefaultValueRange:iE,attachmentLimitError:uE,PleaseReselectTheOptionalQuantity:cE,TheMaximumLengthIsGreaterThanTheMinimumLength:fE,TheMinimumLengthIsGreaterThanTheMaximumLength:aE,PleaseSelectTheCorrectOptionSettings:lE,optionIdIsRepeat:sE,optionIsRequired:yE,pleaseEnterDataCode:vE,pleaseEnterValueFieldCode:dE,pleaseEnterSvcCode:hE,pleaseBindAtLeastOneDisplayValue:_E,pleaseSelectProvince:pE,pleaseSelectCity:bE,pleaseSelectDistrict:OE,limitRowsCannotBeLessThan0:gE,TheNumberOfRowsCannotBeLessThanMinRows:mE,pleaseEnterColumnWidth:PE,pleaseSetTheLogicalRelationshipOfAllRuleConditions:RE,pleaseCompleteAllRulesAndConditions:wE,pleaseSelectControl:TE,pleaseSelectDashboard:$E,theViewNameCannotBeEmpty:SE,pleaseSelectOcrType:EE,pleaseSelectAtLeastOneFieldToFillIn:IE,pleaseChooseAtLeastOne:CE,pleaseEnterButtonContent:NE,pleaseEnterDataCodeInDataSetting:kE,pleaseEnterValueFieldCodeInDataSetting:BE,pleaseEnterSvcCodeInDataSetting:jE,pleaseBindAtLeastOneDisplayValueInDataSetting:AE,rootNodeIsRequiredInDataSetting:ME,pleaseEnterMaxHeight:DE,pleaseEnter:LE,pleaseEnterWatermark:FE,pleaseEnterFileName:zE,pleaseUploadAtLeastOnePrintTemplate:xE,pleaseAssignBusiness:YE,pleaseAssignExternal:GE},HE="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qE="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UE="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WE="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",KE="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",XE="{caption}\u5FC5\u9808",QE="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JE="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ZE="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",cI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",yI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",dI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_I="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pI="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",bI="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",OI="\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",gI="\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",mI="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",PI="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",RI="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",wI="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",TI="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$I="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",SI="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",EI="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",II="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",CI="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NI="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kI="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",BI="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jI="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",AI="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",MI="please select control",DI="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",LI="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",FI="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",zI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",xI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",YI="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",GI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",VI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",HI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",qI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",UI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",WI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",KI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",XI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",QI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",JI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ZI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",eC="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",tC={isNotNumber:HE,isNotString:qE,isNotObject:UE,isNotArray:WE,isNotBoolean:KE,runtimeRequired:XE,pleaseEnterCaption:QE,pleaseEnterCaptionTip:JE,pleaseEnterPlaceholder:ZE,pleaseEnterFieldCode:eI,pleaseEnterForm:tI,pleaseEnterList:nI,pleaseEnterProcess:rI,pleaseEnterLabel:oI,pleaseEnterValue:iI,bizKeyNotBindFiled:uI,pleaseSelectOneField:cI,pleaseEnterNumberRange:fI,pleaseEnterAValueGreaterThanMin:aI,pleaseEnterAValueLessThanMax:lI,numberRangeSetError:sI,stringRangeError:yI,attachmentMaxSize:vI,pleaseEnterTotalScoreSetting:dI,theTotalScoreMustNotBeLessThan1:hI,scoreDefaultValueRange:_I,attachmentLimitError:pI,PleaseReselectTheOptionalQuantity:bI,TheMaximumLengthIsGreaterThanTheMinimumLength:OI,TheMinimumLengthIsGreaterThanTheMaximumLength:gI,PleaseSelectTheCorrectOptionSettings:mI,optionIdIsRepeat:PI,optionIsRequired:RI,pleaseEnterDataCode:wI,pleaseEnterValueFieldCode:TI,pleaseEnterSvcCode:$I,pleaseBindAtLeastOneDisplayValue:SI,pleaseSelectProvince:EI,pleaseSelectCity:II,pleaseSelectDistrict:CI,limitRowsCannotBeLessThan0:NI,TheNumberOfRowsCannotBeLessThanMinRows:kI,pleaseEnterColumnWidth:BI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jI,pleaseCompleteAllRulesAndConditions:AI,pleaseSelectControl:MI,pleaseSelectDashboard:DI,theViewNameCannotBeEmpty:LI,pleaseSelectOcrType:FI,pleaseSelectAtLeastOneFieldToFillIn:zI,pleaseChooseAtLeastOne:xI,pleaseEnterButtonContent:YI,pleaseEnterDataCodeInDataSetting:GI,pleaseEnterValueFieldCodeInDataSetting:VI,pleaseEnterSvcCodeInDataSetting:HI,pleaseBindAtLeastOneDisplayValueInDataSetting:qI,rootNodeIsRequiredInDataSetting:UI,pleaseEnterMaxHeight:WI,pleaseEnter:KI,pleaseEnterWatermark:XI,pleaseEnterFileName:QI,pleaseUploadAtLeastOnePrintTemplate:JI,pleaseAssignBusiness:ZI,pleaseAssignExternal:eC},nC={zhCN:BS,enUS:VE,jaJP:tC};function rC(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 oC=function e(t){rC(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 u;this.subTableId=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var f;this.subTableName=(f=t==null?void 0:t.subTableId)!==null&&f!==void 0?f:void 0;var a;this.aggregateType=(a=t==null?void 0:t.aggregateType)!==null&&a!==void 0?a:void 0},Jp="zh-CN",iC=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}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.ORGANIZATION_SELECTION="organization-selection",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.Approval_Status_Column="approval-status-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.ACTION_BAR="action-bar",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 J,uC=(J={},oe(J,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),oe(J,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),oe(J,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),oe(J,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),oe(J,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),oe(J,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),oe(J,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),oe(J,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),oe(J,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),oe(J,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),oe(J,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),oe(J,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),oe(J,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),J);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var Zp="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",cC=Zp+"0123456789";function le(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Zp:cC,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Aa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function fC(e){if(Array.isArray(e))return Aa(e)}function aC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Xn(e,t,r){return lC()?Xn=Reflect.construct:Xn=function(o,u,f){var a=[null];a.push.apply(a,u);var l=Function.bind.apply(o,a),s=new l;return f&&Yt(s,f.prototype),s},Xn.apply(null,arguments)}function xt(e){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xt(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&&Yt(e,t)}function sC(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function yC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vC(){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 dC(e,t){return t&&(hC(t)==="object"||typeof t=="function")?t:aC(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yt(e,t)}function nb(e){return fC(e)||yC(e)||_C(e)||vC()}var hC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _C(e,t){if(!!e){if(typeof e=="string")return Aa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Aa(e,t)}}function Ma(e){var t=typeof Map=="function"?new Map:void 0;return Ma=function(n){if(n===null||!sC(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Xn(n,arguments,xt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Yt(o,n)},Ma(e)}function pC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rb(e){var t=pC();return function(){var n=xt(e),o;if(t){var u=xt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return dC(this,o)}}var Da=console;function Be(){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=Da).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(nb(o)))}function Gt(){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=Da).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(nb(o)))}function bC(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var La=function(e){tb(r,e);var t=rb(r);function r(n){eb(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?bC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Ma(Error)),OC=function(e){tb(r,e);var t=rb(r);function r(n){eb(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(La);function me(e){throw new La(e)}function Fa(e){throw new OC(e)}function ob(e){Da.error(new La(e))}function za(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":za(r==null?void 0:r.children,t);break;case"search":za(r==null?void 0:r.children,t);break;case"form":t(r)}})}var gC=Object.prototype.toString;function ib(e,t){return gC.call(e)==="[object "+t+"]"}function mC(e){return ib(e,"String")}function PC(e){return ib(e,"Promise")}var RC=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();PC(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,u,f,a){if(o!==void 0){var l=o[u];if(!(f===a.length-1&&!mC(l)))return l}},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 u=r[o];return u!==void 0?String(u):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 wC(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 TC(e,t,r){return t&&ub(e.prototype,t),r&&ub(e,r),e}var _=function(){function e(){wC(this,e)}return TC(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]:Jp;return new RC({locale:r,messages:nC})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();_.$i18n=_.resetI18n();function cb(e,t,r){var n=t.replace(/\[(\d)]/g,function(u,f){return"."+f}).split("."),o=!1;return n.reduce(function(u,f,a,l){var s=u;if(!!u){if(!Object.prototype.hasOwnProperty.call(u,f)){Be("Can not set ".concat(t,"'s ").concat(f," property in current %o, Because there is no ").concat(f," property on the %o"),u,u);return}return a===l.length-1&&!Object.is(s[f],r)&&(s[f]=r,o=!0),s[f]}},e),o}var $C=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},xa={exports:{}};(function(e){(function(t){var r=function(h,P,m){if(!s(P)||v(P)||d(P)||b(P)||l(P))return P;var R,$=0,w=0;if(y(P))for(R=[],w=P.length;$<w;$++)R.push(r(h,P[$],m));else{R={};for(var S in P)Object.prototype.hasOwnProperty.call(P,S)&&(R[h(S,m)]=r(h,P[S],m))}return R},n=function(h,P){P=P||{};var m=P.separator||"_",R=P.split||/(?=[A-Z])/;return h.split(R).join(m)},o=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(P,m){return m?m.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},u=function(h){var P=o(h);return P.substr(0,1).toUpperCase()+P.substr(1)},f=function(h,P){return n(h,P).toLowerCase()},a=Object.prototype.toString,l=function(h){return typeof h=="function"},s=function(h){return h===Object(h)},y=function(h){return a.call(h)=="[object Array]"},v=function(h){return a.call(h)=="[object Date]"},d=function(h){return a.call(h)=="[object RegExp]"},b=function(h){return a.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},p=function(h,P){var m=P&&"process"in P?P.process:P;return typeof m!="function"?h:function(R,$){return m(R,h,$)}},g={camelize:o,decamelize:f,pascalize:u,depascalize:f,camelizeKeys:function(h,P){return r(p(o,P),h)},decamelizeKeys:function(h,P){return r(p(f,P),h,P)},pascalizeKeys:function(h,P){return r(p(u,P),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g})($C)})(xa);var fb={};Object.defineProperty(fb,"__esModule",{value:!0});function Ya(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ya(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Ya(n)}return t}}var SC=fb.default=Ya;function pe(e){if(e!==void 0)return typeof e=="object"?SC(e):e}function Q(e){return Ga(e)&&"zh"in e}function Ga(e){return Object.prototype.toString.call(e)==="[object Object]"}function EC(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function je(e){return Array.isArray(e)}function ab(e){return typeof e=="string"}function Va(e){return typeof e=="number"}function IC(e){return typeof e=="function"}function CC(e){return je(e)&&e.every(function(t){return ab(t)})}function NC(e){return je(e)&&e.every(function(t){return Va(t)})}function kC(e){return je(e)&&e.every(function(t){return Va(t)||t===""})}function BC(e){return/^\[.*?]$/.test(e)}function jC(e){return/^{.*?}$/.test(e)}function Ae(e){return isNaN(parseFloat(e))?"":Number(e)}function lb(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function AC(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),u=0;u<n;u++)o[u]=arguments[u];var f=this;r||(r=setTimeout(function(){e.apply(f,o),clearTimeout(r),r=null},t))}}function MC(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function Z(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=Z(n.children,t)),t(o)})),r}function sb(e){return xa.exports.camelizeKeys(e)}function Me(e){return xa.exports.decamelizeKeys(e)}function DC(e){return Object.values(c.CONTROL_TYPE).includes(e)}function Ha(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 LC(e){if(Array.isArray(e))return Ha(e)}function yb(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function FC(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){yb(u,n,o,f,a,"next",l)}function a(l){yb(u,n,o,f,a,"throw",l)}f(void 0)})}}function zC(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 xC(e,t,r){return t&&vb(e.prototype,t),r&&vb(e,r),e}function YC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function GC(){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 qa(e){return LC(e)||YC(e)||VC(e)||GC()}function VC(e,t){if(!!e){if(typeof e=="string")return Ha(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 Ha(e,t)}}var db=function(){function e(){zC(this,e),this._events=new Map,this.debug=!1}return xC(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),u=1;u<n;u++)o[u-1]=arguments[u];var f=this;return FC(X.default.mark(function a(){var l,s,y,v,d,b,O,p,g,h;return X.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(l=f._events.get(r),s=[],!l){m.next=42;break}y=l.slice(),v=!0,d=!1,b=void 0,m.prev=5,O=y[Symbol.iterator]();case 7:if(v=(p=O.next()).done){m.next=28;break}if(g=p.value,l.includes(g)){m.next=11;break}return m.abrupt("continue",25);case 11:return m.prev=11,f.debug&&Gt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \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(o.map(function(){return"%o"}).join(","),"\u3002")].concat(qa(o))),m.next=15,g.apply(null,qa(o));case 15:if(h=m.sent,f.debug&&Gt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \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(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(qa(o),[h])),s.push(h),h!==!1){m.next=20;break}return m.abrupt("break",28);case 20:m.next=25;break;case 22:m.prev=22,m.t0=m.catch(11),ob(String(m.t0)+":"+String(m.t0.stack));case 25:v=!0,m.next=7;break;case 28:m.next=34;break;case 30:m.prev=30,m.t1=m.catch(5),d=!0,b=m.t1;case 34:m.prev=34,m.prev=35,!v&&O.return!=null&&O.return();case 37:if(m.prev=37,!d){m.next=40;break}throw b;case 40:return m.finish(37);case 41:return m.finish(34);case 42:return m.abrupt("return",s);case 43:case"end":return m.stop()}},a,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{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),u=o==null?void 0:o.indexOf(n);o==null||o.splice(u,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function HC(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 qC(e,t,r){return t&&hb(e.prototype,t),r&&hb(e,r),e}var UC=[{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"}],_b=function(){function e(){HC(this,e)}return qC(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}();_b.events=UC;function WC(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 KC(e,t,r){return t&&pb(e.prototype,t),r&&pb(e,r),e}var bb=[],Qn=function(){function e(t){WC(this,e),this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=t,this._initControls(t)}return KC(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__||me("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Be("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===c.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){if(Array.isArray(r)){var o=this;return r.map(function(v){return o.createControl(v,n)})}if(r.children){var u=this;r.children=r.children.map(function(v){return u.createControl(v,n)})}if(this.isListControl(r)&&r.props.headers){var f=this;r.props.headers=r.props.headers.map(function(v){return f.createControl(v,n)})}var a=this.getControlFormType(r.type);if(a){var l=r;if(typeof n=="function"){var s=n(l);s&&(l=s)}var y=new a(l);return y}else me("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__)&&me("".concat(r," is can't register as a Control"));var u=this.staticControls.findIndex(function(f){return f.Designer.controlType===n.controlType});return u>-1&&(Be("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(u,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();Qn.staticControls=bb,Qn.staticRegisteredTypes=new Set(bb.map(function(e){return e.Designer.controlType})),Qn.staticRegisteredConfigs=new Map;function Ob(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(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 fe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ua(e,t)}function gb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function XC(e,t){return t&&(QC(t)==="object"||typeof t=="function")?t:Ob(e)}function Ua(e,t){return Ua=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ua(e,t)}var QC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ae(e){var t=JC();return function(){var n=Jn(e),o;if(t){var u=Jn(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return XC(this,o)}}var ie=function e(t){T(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:"",this.aliasCode=t==null?void 0:t.aliasCode},Wa=function e(t){T(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){fe(r,e);var t=ae(r);function r(n){T(this,r);var o;o=t.call(this,n);var u;o.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var f;return o.widthType=(f=n==null?void 0:n.widthType)!==null&&f!==void 0?f:"auto",o}return r}(Wa),mb=function e(t){T(this,e),this.pc=new Zn(t==null?void 0:t.pc),this.mobile=(t==null?void 0:t.mobile)?new Zn(t==null?void 0:t.mobile):new Zn({width:130,minWidth:180})},Pb=function e(t){T(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:[]},De=function e(t){T(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:""},Rb=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o;o=t.call(this,n);var u;return o.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",o}return r}(De),wb=function e(t){T(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},er=function e(t){T(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 u;this.headers=(u=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(f){return new wb(f)}))!==null&&u!==void 0?u:[]},Tb=function e(t){T(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},$b=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o;o=t.call(this,n);var u;o.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var f;o.svcCode=(f=n==null?void 0:n.svcCode)!==null&&f!==void 0?f:"";var a;o.isOpenFilter=(a=n==null?void 0:n.isOpenFilter)!==null&&a!==void 0?a:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return r}(De),Sb=function e(t){T(this,e);var r,n;this.type="sublist-page",this.formBind=new De(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(f){return new Tb(f)}))!==null&&o!==void 0?o:[];var u;this.sublists=(u=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(f){return new $b(f)}))!==null&&u!==void 0?u:[]},Eb=function e(t){T(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},at=function e(t){T(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:[]},Ka=function e(t){T(this,e),this.type="conditions";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:le();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.level=(o=t==null?void 0:t.level)!==null&&o!==void 0?o:0;var u;if(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)){var f=this;t==null||t.children.map(function(a){if(a.children!==void 0){var l,s=new e(a);(l=f.children)===null||l===void 0||l.push(s)}else{var y,v=new tr(a);(y=f.children)===null||y===void 0||y.push(v)}})}},tr=function e(t){T(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:le();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 u;this.checked=(u=t==null?void 0:t.checked)!==null&&u!==void 0?u:!1;var f;this.describe=(f=t==null?void 0:t.describe)!==null&&f!==void 0?f:"",this.leftVariableBo=new Eb(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new at(t==null?void 0:t.rightVariableBo)},Ib=function e(t){T(this,e);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new F(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},ee=function e(t){T(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 u;this.propName=(u=t==null?void 0:t.propName)!==null&&u!==void 0?u:""},nr=function e(t){T(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},Xa=function e(t){T(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},Cb=function e(t){T(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},ZC=function e(t){T(this,e);var r,n,o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var u;this.limit=(u=t.limit)!==null&&u!==void 0?u:20;var f;this.formKey=(f=t.formKey)!==null&&f!==void 0?f:"";var a;this.orders=(a=(r=t.orders)===null||r===void 0?void 0:r.map(function(s){return new Xa(s)}))!==null&&a!==void 0?a:[];var l;this.dataSet=(l=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(s){return new Cb(s)}))!==null&&l!==void 0?l:[]};function Qa(e){var t,r,n;this.filters=(n=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(l){return l.children!==void 0?new Ka(l):new tr(l)}))!==null&&n!==void 0?n:[];var o;if(this.viewFilters=(o=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new Ka(l):new tr(l)}))!==null&&o!==void 0?o:[],gb(this,F)||gb(this,or)){var u,f,a;this.orders=(a=(u=e)===null||u===void 0||(f=u.orders)===null||f===void 0?void 0:f.map(function(l){return new Xa(l)}))!==null&&a!==void 0?a:[]}}var F=function e(t){T(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.valueFieldCode=(o=t==null?void 0:t.valueFieldCode)!==null&&o!==void 0?o:"",this.displayBoList=[];var u;if(this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)){var f=this;t==null||t.displayBoList.map(function(s){var y;(y=f.displayBoList)===null||y===void 0||y.push(new nr(s))})}var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=t==null?void 0:t.svcCode)!==null&&l!==void 0?l:"",Qa.call(this,t)},rr=function e(t){T(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},be=function e(t){T(this,e);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var u;this.confirmMessage=(u=t==null?void 0:t.confirmMessage)!==null&&u!==void 0?u:void 0;var f;this.defaultState=(f=t==null?void 0:t.defaultState)!==null&&f!==void 0?f:"default";var a;this.formKey=(a=t==null?void 0:t.formKey)!==null&&a!==void 0?a:void 0;var l;this.icon=(l=t==null?void 0:t.icon)!==null&&l!==void 0?l:"iconliulan1";var s;this.needConfirm=(s=t==null?void 0:t.needConfirm)!==null&&s!==void 0?s:!1;var y;this.openType=(y=t==null?void 0:t.openType)!==null&&y!==void 0?y:"modal";var v;this.priorityProcess=(v=t==null?void 0:t.priorityProcess)!==null&&v!==void 0?v:!0},Ja=function e(t){T(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 u;this.value=(u=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(f){return new nr(f)}))!==null&&u!==void 0?u:[]},Vt=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o,u;o=t.call(this,n);var f;return o.attributes=(f=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(a){return new Ja(a)}))!==null&&f!==void 0?f:[],o}return r}(F),Nb=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o,u;o=t.call(this,n);var f;o.attributes=(f=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new Ja(l)}))!==null&&f!==void 0?f:[];var a;return o.formCode=(a=n==null?void 0:n.formCode)!==null&&a!==void 0?a:"",o}return r}(F),Za=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o;o=t.call(this,n),o.rootNode=new at(n==null?void 0:n.rootNode);var u;return o.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",o}return r}(Vt),kb=function e(t){T(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 u;this.fillList=(u=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(f){return new ee(f)}))!==null&&u!==void 0?u:[]},or=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o;return o=t.call(this,n),Qa.call(Ob(o),n),o}return r}(kb),el=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o;o=t.call(this,n);var u;o.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var f;return o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1,o}return r}(kb),eN=function e(t){T(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:""},tl=function e(t){T(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:""},nl=function e(t){T(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:le(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},Bb=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o;o=t.call(this,n);var u;o.image=(u=n==null?void 0:n.image)!==null&&u!==void 0?u:"";var f;return o.type=(f=n==null?void 0:n.type)!==null&&f!==void 0?f:"src",o}return r}(nl);function ye(e){var t;return(t=e==null?void 0:e.map(function(r){return new nl(r)}))!==null&&t!==void 0?t:[]}function tN(e){var t;return(t=e==null?void 0:e.map(function(r){return new Bb(r)}))!==null&&t!==void 0?t:[]}var ir=function e(){T(this,e)},jb=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o;return o=t.call(this),o.amount=new ie(n==null?void 0:n.amount),o.currency=new ie(n==null?void 0:n.currency),o}return r}(ir),Ab=function e(t){T(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},Mb=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o;return o=t.call(this),o.min=new ie(n==null?void 0:n.min),o.max=new ie(n==null?void 0:n.max),o}return r}(ir),Db=function e(t){T(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:""},Lb=function e(t){T(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 u;this.districtDisplay=(u=t==null?void 0:t.districtDisplay)!==null&&u!==void 0?u:"";var f;this.province=(f=t==null?void 0:t.province)!==null&&f!==void 0?f:"";var a;this.provinceDisplay=(a=t==null?void 0:t.provinceDisplay)!==null&&a!==void 0?a:""},Fb=function(e){fe(r,e);var t=ae(r);function r(n){T(this,r);var o;return o=t.call(this),o.result=new ie(n==null?void 0:n.result),o.unit=new ie(n==null?void 0:n.unit),o}return r}(ir),zb=function e(t){T(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.DEFAULT_DISPLAY="defaultDisplay",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.VIEW_FORM_MODEL_TYPE="viewFormModelType",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 Oe=function e(t){T(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 u;this.openType=(u=t==null?void 0:t.openType)!==null&&u!==void 0?u:"modal";var f;this.type=(f=t==null?void 0:t.type)!==null&&f!==void 0?f:"";var a;this.priorityProcess=(a=t==null?void 0:t.priorityProcess)!==null&&a!==void 0?a:!1},xb=function e(t){T(this,e);var r,n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:le(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var u;this.headers=(u=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(f){return new wb(f)}))!==null&&u!==void 0?u:[],Qa.call(this,t)},nN=function e(t){T(this,e);var r;this.key=(r=t.key)!==null&&r!==void 0?r:le(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},Yb=function e(t){T(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 u;this.heightConfig=(u=t==null?void 0:t.heightConfig)!==null&&u!==void 0?u:"fill"},Gb=function e(t){T(this,e);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""};function rN(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 oN(){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 ur(e,t,r){return oN()?ur=Reflect.construct:ur=function(o,u,f){var a=[null];a.push.apply(a,u);var l=Function.bind.apply(o,a),s=new l;return f&&qt(s,f.prototype),s},ur.apply(null,arguments)}function Ht(e){return Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ht(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&&qt(e,t)}function uN(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function cN(e,t){return t&&(fN(t)==="object"||typeof t=="function")?t:rN(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qt(e,t)}var fN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ol(e){var t=typeof Map=="function"?new Map:void 0;return ol=function(n){if(n===null||!uN(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 ur(n,arguments,Ht(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),qt(o,n)},ol(e)}function aN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lN(e){var t=aN();return function(){var n=Ht(e),o;if(t){var u=Ht(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cN(this,o)}}var z=function e(t){rl(this,e),this.isHide={type:"boolean"}},Pe=function(e){iN(r,e);var t=lN(r);function r(n){return rl(this,r),t.call(this)}return r}(ol(Array)),x=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";rl(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new Yb(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};x.Rules=z,x.RuntimeRules=Pe;function ve(){return ve=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},ve.apply(this,arguments)}function sN(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function cr(e,t){return cr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cr(e,t)}function yN(){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 fr(e,t,r){return yN()?fr=Reflect.construct:fr=function(o,u,f){var a=[null];a.push.apply(a,u);var l=Function.bind.apply(o,a),s=new l;return f&&cr(s,f.prototype),s},fr.apply(null,arguments)}function vN(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ul(e){var t=typeof Map=="function"?new Map:void 0;return ul=function(n){if(n===null||!vN(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 fr(n,arguments,il(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),cr(o,n)},ul(e)}var dN=/%[sdj%]/g,Vb=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Vb=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function cl(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 ue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],u=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var f=String(o).replace(dN,function(a){if(a==="%%")return"%";if(n>=u)return a;switch(a){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return a}});return f}return o}function hN(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function G(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||hN(t)&&typeof e=="string"&&!e)}function _N(e,t,r){var n=[],o=0,u=e.length;function f(a){n.push.apply(n,a),o++,o===u&&r(n)}e.forEach(function(a){t(a,f)})}function Hb(e,t,r){var n=0,o=e.length;function u(f){if(f&&f.length){r(f);return}var a=n;n=n+1,a<o?t(e[a],u):r([])}u([])}function pN(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var qb=function(e){sN(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}(ul(Error));function bN(e,t,r,n){if(t.first){var o=new Promise(function(v,d){var b=function(g){return n(g),g.length?d(new qb(g,cl(g))):v()},O=pN(e);Hb(O,r,b)});return o.catch(function(v){return v}),o}var u=t.firstFields||[];u===!0&&(u=Object.keys(e));var f=Object.keys(e),a=f.length,l=0,s=[],y=new Promise(function(v,d){var b=function(p){if(s.push.apply(s,p),l++,l===a)return n(s),s.length?d(new qb(s,cl(s))):v()};f.length||(n(s),v()),f.forEach(function(O){var p=e[O];u.indexOf(O)!==-1?Hb(p,r,b):_N(p,r,b)})});return y.catch(function(v){return v}),y}function Ub(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 Wb(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]=ve(ve({},e[r]),n):e[r]=n}}return e}function Kb(e,t,r,n,o,u){e.required&&(!r.hasOwnProperty(e.field)||G(t,u||e.type))&&n.push(ue(o.messages.required,e.fullField))}function ON(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ue(o.messages.whitespace,e.fullField))}var fl={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},Ut={integer:function(t){return Ut.number(t)&&parseInt(t,10)===t},float:function(t){return Ut.number(t)&&!Ut.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"&&!Ut.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(fl.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(fl.url)},hex:function(t){return typeof t=="string"&&!!t.match(fl.hex)}};function gN(e,t,r,n,o){if(e.required&&t===void 0){Kb(e,t,r,n,o);return}var u=["integer","float","array","regexp","object","method","email","number","date","url","hex"],f=e.type;u.indexOf(f)>-1?Ut[f](t)||n.push(ue(o.messages.types[f],e.fullField,e.type)):f&&typeof t!==e.type&&n.push(ue(o.messages.types[f],e.fullField,e.type))}function mN(e,t,r,n,o){var u=typeof e.len=="number",f=typeof e.min=="number",a=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=t,y=null,v=typeof t=="number",d=typeof t=="string",b=Array.isArray(t);if(v?y="number":d?y="string":b&&(y="array"),!y)return!1;b&&(s=t.length),d&&(s=t.replace(l,"_").length),u?s!==e.len&&n.push(ue(o.messages[y].len,e.fullField,e.len)):f&&!a&&s<e.min?n.push(ue(o.messages[y].min,e.fullField,e.min)):a&&!f&&s>e.max?n.push(ue(o.messages[y].max,e.fullField,e.max)):f&&a&&(s<e.min||s>e.max)&&n.push(ue(o.messages[y].range,e.fullField,e.min,e.max))}var lt="enum";function PN(e,t,r,n,o){e[lt]=Array.isArray(e[lt])?e[lt]:[],e[lt].indexOf(t)===-1&&n.push(ue(o.messages[lt],e.fullField,e[lt].join(", ")))}function RN(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(ue(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var u=new RegExp(e.pattern);u.test(t)||n.push(ue(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var E={required:Kb,whitespace:ON,type:gN,range:mN,enum:PN,pattern:RN};function wN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t,"string")&&!e.required)return r();E.required(e,t,n,u,o,"string"),G(t,"string")||(E.type(e,t,n,u,o),E.range(e,t,n,u,o),E.pattern(e,t,n,u,o),e.whitespace===!0&&E.whitespace(e,t,n,u,o))}r(u)}function TN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t)&&!e.required)return r();E.required(e,t,n,u,o),t!==void 0&&E.type(e,t,n,u,o)}r(u)}function $N(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(t===""&&(t=void 0),G(t)&&!e.required)return r();E.required(e,t,n,u,o),t!==void 0&&(E.type(e,t,n,u,o),E.range(e,t,n,u,o))}r(u)}function SN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t)&&!e.required)return r();E.required(e,t,n,u,o),t!==void 0&&E.type(e,t,n,u,o)}r(u)}function EN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t)&&!e.required)return r();E.required(e,t,n,u,o),G(t)||E.type(e,t,n,u,o)}r(u)}function IN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t)&&!e.required)return r();E.required(e,t,n,u,o),t!==void 0&&(E.type(e,t,n,u,o),E.range(e,t,n,u,o))}r(u)}function CN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t)&&!e.required)return r();E.required(e,t,n,u,o),t!==void 0&&(E.type(e,t,n,u,o),E.range(e,t,n,u,o))}r(u)}function NN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(t==null&&!e.required)return r();E.required(e,t,n,u,o,"array"),t!=null&&(E.type(e,t,n,u,o),E.range(e,t,n,u,o))}r(u)}function kN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t)&&!e.required)return r();E.required(e,t,n,u,o),t!==void 0&&E.type(e,t,n,u,o)}r(u)}var BN="enum";function jN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t)&&!e.required)return r();E.required(e,t,n,u,o),t!==void 0&&E[BN](e,t,n,u,o)}r(u)}function AN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t,"string")&&!e.required)return r();E.required(e,t,n,u,o),G(t,"string")||E.pattern(e,t,n,u,o)}r(u)}function MN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t,"date")&&!e.required)return r();if(E.required(e,t,n,u,o),!G(t,"date")){var a;t instanceof Date?a=t:a=new Date(t),E.type(e,a,n,u,o),a&&E.range(e,a.getTime(),n,u,o)}}r(u)}function DN(e,t,r,n,o){var u=[],f=Array.isArray(t)?"array":typeof t;E.required(e,t,n,u,o,f),r(u)}function al(e,t,r,n,o){var u=e.type,f=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(G(t,u)&&!e.required)return r();E.required(e,t,n,f,o,u),G(t,u)||E.type(e,t,n,f,o)}r(f)}function LN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(G(t)&&!e.required)return r();E.required(e,t,n,u,o)}r(u)}var Wt={string:wN,method:TN,number:$N,boolean:SN,regexp:EN,integer:IN,float:CN,array:NN,object:kN,enum:jN,pattern:AN,date:MN,url:al,hex:al,email:al,required:DN,any:LN};function ll(){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 sl=ll();function Re(e){this.rules=null,this._messages=sl,this.define(e)}Re.prototype={messages:function(t){return t&&(this._messages=Wb(ll(),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 u=t,f=r,a=n;if(typeof f=="function"&&(a=f,f={}),!this.rules||Object.keys(this.rules).length===0)return a&&a(),Promise.resolve();function l(p){var g,h=[],P={};function m(R){if(Array.isArray(R)){var $;h=($=h).concat.apply($,R)}else h.push(R)}for(g=0;g<p.length;g++)m(p[g]);h.length?P=cl(h):(h=null,P=null),a(h,P)}if(f.messages){var s=this.messages();s===sl&&(s=ll()),Wb(s,f.messages),f.messages=s}else f.messages=this.messages();var y,v,d={},b=f.keys||Object.keys(this.rules);b.forEach(function(p){y=o.rules[p],v=u[p],y.forEach(function(g){var h=g;typeof h.transform=="function"&&(u===t&&(u=ve({},u)),v=u[p]=h.transform(v)),typeof h=="function"?h={validator:h}:h=ve({},h),h.validator=o.getValidationMethod(h),h.field=p,h.fullField=h.fullField||p,h.type=o.getType(h),!!h.validator&&(d[p]=d[p]||[],d[p].push({rule:h,value:v,source:u,field:p}))})});var O={};return bN(d,f,function(p,g){var h=p.rule,P=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");P=P&&(h.required||!h.required&&p.value),h.field=p.field;function m(w,S){return ve(ve({},S),{},{fullField:h.fullField+"."+w})}function R(w){w===void 0&&(w=[]);var S=w;if(Array.isArray(S)||(S=[S]),!f.suppressWarning&&S.length&&Re.warning("async-validator:",S),S.length&&h.message!==void 0&&(S=[].concat(h.message)),S=S.map(Ub(h)),f.first&&S.length)return O[h.field]=1,g(S);if(!P)g(S);else{if(h.required&&!p.value)return h.message!==void 0?S=[].concat(h.message).map(Ub(h)):f.error&&(S=[f.error(h,ue(f.messages.required,h.field))]),g(S);var k={};if(h.defaultField)for(var re in p.value)p.value.hasOwnProperty(re)&&(k[re]=h.defaultField);k=ve(ve({},k),p.rule.fields);for(var W in k)if(k.hasOwnProperty(W)){var K=Array.isArray(k[W])?k[W]:[k[W]];k[W]=K.map(m.bind(null,W))}var Dt=new Re(k);Dt.messages(f.messages),p.rule.options&&(p.rule.options.messages=f.messages,p.rule.options.error=f.error),Dt.validate(p.value,p.rule.options||f,function(ct){var Lt=[];S&&S.length&&Lt.push.apply(Lt,S),ct&&ct.length&&Lt.push.apply(Lt,ct),g(Lt.length?Lt:null)})}}var $;h.asyncValidator?$=h.asyncValidator(h,p.value,R,p.source,f):h.validator&&($=h.validator(h,p.value,R,p.source,f),$===!0?R():$===!1?R(h.message||h.field+" fails"):$ instanceof Array?R($):$ instanceof Error&&R($.message)),$&&$.then&&$.then(function(){return R()},function(w){return R(w)})},function(p){l(p)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Wt.hasOwnProperty(t.type))throw new Error(ue("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"?Wt.required:Wt[this.getType(t)]||!1}},Re.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Wt[t]=r},Re.warning=Vb,Re.messages=sl,Re.validators=Wt;var FN={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 Xb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Re(e);return r.messages(Object.assign(FN,t)),r}var Qb=new db;function yl(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 zN(e){if(Array.isArray(e))return e}function xN(e){if(Array.isArray(e))return yl(e)}function Jb(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function Zb(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){Jb(u,n,o,f,a,"next",l)}function a(l){Jb(u,n,o,f,a,"throw",l)}f(void 0)})}}function YN(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 GN(e,t,r){return t&&eO(e.prototype,t),r&&eO(e,r),e}function VN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tO(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function nO(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HN(){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 qN(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rO(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){VN(e,o,r[o])})}return e}function UN(e){return zN(e)||nO(e)||oO(e,i)||HN()}function vl(e){return xN(e)||nO(e)||oO(e)||qN()}function oO(e,t){if(!!e){if(typeof e=="string")return yl(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 yl(e,t)}}var B=function(){function t(r){var n=this;YN(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=uO,this.removeSetting=iO,this._callControlHooks("preInstance",r);var o=tO(this,t)?this.constructor:void 0,u=o.controlName,f=o.controlIcon,a=o.controlType,l=o.controlFieldType,s=o.controlEventKeys,y=o.controlCustomEvents,v=o.name,d=o.setting;u&&f&&a||Fa("The ".concat(v," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:le(10),this.name=u,this.icon=f;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:a,this.props=new x(r==null?void 0:r.props,(tO(this,t)?this.constructor:void 0).controlName);var p;this.controlType=(p=r==null?void 0:r.controlType)!==null&&p!==void 0?p:"base",this.setting=pe(d);var g;this.fieldType=(g=r==null?void 0:r.fieldType)!==null&&g!==void 0?g:l,this.eventKeys=pe(s),this.customEvents=pe(y),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return GN(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),u=0;u<n;u++)o[u]=arguments[u];var f,a=UN(o),l=a[0],s=a.slice(1);return(f=Qb).emit.apply(f,[l,this].concat(vl(s)))}},{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),cb(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return Zb(X.default.mark(function o(){var u,f,a;return X.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return u=rO({},n.rules),s.next=3,n._callControlHooks("preValidate",u);case 3:return f=s.sent,a=f[f.length-1],s.abrupt("return",a===!1?void 0:a);case 6:case"end":return s.stop()}},o)}))()}},{key:"validate",value:function(n,o){var u=this;return Zb(X.default.mark(function f(){var a,l,s;return X.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,u.preValidate();case 2:return a=v.sent,l=a!==void 0?a:rO({},u.rules),Array.isArray(o)&&o.forEach(function(d){l.hasOwnProperty(d)&&delete l[d]}),s=Xb(l,n),v.prev=6,v.next=9,s.validate(u.props);case 9:return v.abrupt("return",!0);case 12:throw v.prev=12,v.t0=v.catch(6),v.t0.control||(v.t0.control=u),v.t0;case 16:case"end":return v.stop()}},f,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,u=this.id,f=this.type,a=this.props,l=a.dataBind,s=a.datasourceBind,y=a.optionConfig,v=a.caption,d=a.required,b=a.maxLength,O=a.options,p=a.encrypted,g=a.encryptedMode;if(!(!o&&!l&&!s)){var h={parentId:n,fieldType:o,controlId:u,caption:v,type:f,props:{}};switch(l&&(h.dataBind=l),y){case"datasource":case void 0:s&&(h.datasourceBind=s);break;case"custom":h.props.options=O;break}return d!==void 0&&(h.required=d),b!==void 0&&(h.maxLength=b),p!==void 0&&(h.encrypted=p),g!==void 0&&(h.encryptedMode=g),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:pe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var u;(u=this.setting).push.apply(u,vl(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();B.controlName="\u63A7\u4EF6",B.controlIcon="icon",B.controlType="control",B.controlEventKeys=[],B.controlCustomEvents=[],B.setting=[],B.__is_control__=!0,B.removeSettingItem=iO,B.updateSettingItem=uO;function iO(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o=typeof n!="string",u=t.setting.findIndex(function(l){return l.key===(o?n.key:n)});if(u!==-1){var f,a;o?t.setting[u].showItems=(f=t.setting[u].showItems)===null||f===void 0?void 0:f.filter(function(l){return!n.hideItems.includes(l)}):t.setting.splice(u,1),o&&!((a=t.setting[u].showItems)===null||a===void 0?void 0:a.length)&&t.setting.splice(u,1)}})}function uO(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var u=r.setting.find(function(s){return s.key===o});if(u){if(typeof t=="boolean")u.visible=t;else if(typeof t=="object"){var f,a=(f=t.type)!==null&&f!==void 0?f:"replace";if(a==="replace")u.showItems=t.showItems;else{var l;(l=u.showItems).push.apply(l,vl(t.showItems))}}}})}function WN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KN(e,t,r){return t&&cO(e.prototype,t),r&&cO(e,r),e}function XN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var V=function(){function t(r){WN(this,t),this.customEvents=[],this.parent=null;var n=XN(this,t)?this.constructor:void 0,o=n.controlType,u=n.controlFieldType,f=n.name,a=n.controlCustomEvents;o||Fa("The ".concat(f," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:le(10);var s;this.type=(s=r==null?void 0:r.type)!==null&&s!==void 0?s:o,this.props=new x(r==null?void 0:r.props),this.customEvents=a;var y;this.controlType=(y=r==null?void 0:r.controlType)!==null&&y!==void 0?y:"base";var v;this.fieldType=(v=r==null?void 0:r.fieldType)!==null&&v!==void 0?v:u;var d;this.pageStatus=(d=r==null?void 0:r.pageStatus)!==null&&d!==void 0?d:c.PAGE_STATUS.UNKNOWN}return KN(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();V.controlType="control",V.__is_control__=!0,V.controlCustomEvents=[];function ar(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:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:_.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:_.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(_.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var u=n.map(function(a){return a.value}),f=lb(u);u.length!==f.length?o(_.getMessage("optionIdIsRepeat")):o()},message:_.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(_.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:_.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:_.getMessage("isNotBoolean")}}}}]}}])}function Kt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:_.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:_.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:_.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:_.getMessage("isNotString")},key:{type:"string",required:!0,message:_.getMessage("isNotString")},value:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",validator:function(o,u,f){u.length===0&&f(_.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),f()},message:_.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:_.getMessage("isNotBoolean")}}}}]}}]}function fO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lr(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 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&&dl(e,t)}function QN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function JN(e,t){return t&&(ZN(t)==="object"||typeof t=="function")?t:fO(e)}function dl(e,t){return dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dl(e,t)}var ZN=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 vr(e){var t=ek();return function(){var n=sr(e),o;if(t){var u=sr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JN(this,o)}}var U=function(e){yr(r,e);var t=vr(r);function r(n){lr(this,r);var o;o=t.call(this,n),o.dataBind={},o.caption={type:"string",required:!0,message:_.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:_.getMessage("pleaseEnterCaptionTip")};var u={fieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}};if(QN(n.dataBind,ie))o.dataBind={type:"object",required:!0,fields:pe(u),message:_.getMessage("pleaseEnterFieldCode")};else{var f={type:"object",required:!0,fields:{},message:_.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(a){f.fields[a]={type:"object",required:!0,fields:pe(u),message:_.getMessage("pleaseEnterFieldCode")}}),o.dataBind=f}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(z),j=function(e){yr(r,e);var t=vr(r);function r(n){lr(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:_.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Pe),I=function(e){yr(r,e);var t=vr(r);function r(n){lr(this,r);var o;o=t.call(this,n);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;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var y;o.labelPosition=(y=n==null?void 0:n.labelPosition)!==null&&y!==void 0?y:"top";var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"";var d;o.required=(d=n==null?void 0:n.required)!==null&&d!==void 0?d:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new ie(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}(x);I.Rules=U,I.RuntimeRules=j;var Le=function(e){yr(r,e);var t=vr(r);function r(n){lr(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource"],message:_.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:_.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")}],ar.call(fO(o),n),o}return r}(U);function tk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(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&&hl(e,t)}function ok(e,t){return t&&(ik(t)==="object"||typeof t=="function")?t:tk(e)}function hl(e,t){return hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hl(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=dr(e),o;if(t){var u=dr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ok(this,o)}}var C=function(e){rk(r,e);var t=ck(r);function r(n){nk(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new I(n==null?void 0:n.props),o}return r}(B);C.controlEventKeys=["on_change","on_focus","on_blur"];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 hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(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&&_l(e,t)}function sk(e,t){return t&&(yk(t)==="object"||typeof t=="function")?t:fk(e)}function _l(e,t){return _l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_l(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 dk(e){var t=vk();return function(){var n=hr(e),o;if(t){var u=hr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sk(this,o)}}var N=function(e){lk(r,e);var t=dk(r);function r(n){ak(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new I(n==null?void 0:n.props),o}return r}(V);function hk(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 _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(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&&pl(e,t)}function bk(e,t){return t&&(Ok(t)==="object"||typeof t=="function")?t:hk(e)}function pl(e,t){return pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pl(e,t)}var Ok=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mk(e){var t=gk();return function(){var n=_r(e),o;if(t){var u=_r(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bk(this,o)}}var A=function(e){pk(r,e);var t=mk(r);function r(n){return _k(this,r),t.call(this,n)}return r}(x);function bl(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 Pk(e){if(Array.isArray(e))return bl(e)}function Rk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wk(){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 aO(e){return Pk(e)||Rk(e)||Tk(e)||wk()}function Tk(e,t){if(!!e){if(typeof e=="string")return bl(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 bl(e,t)}}function lO(e,t){var r;((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0?void 0:r.enumerable)&&Object.defineProperty(e,t,{enumerable:!1})}function Ol(e,t){e.parent=t,lO(e,"parent")}function sO(e,t){e.forEach(function(r){Ol(r,t)})}var yO=Symbol("targetKey");function vO(e){var t;return(t=e[yO])!==null&&t!==void 0?t:e}function dO(e,t){return sO(e,t),new Proxy(e,{get:function(n,o){for(var u=arguments.length,f=new Array(u>2?u-2:0),a=2;a<u;a++)f[a-2]=arguments[a];var l;return o===yO?n:(l=Reflect).get.apply(l,[n,o].concat(aO(f)))},set:function(n,o,u){for(var f=arguments.length,a=new Array(f>3?f-3:0),l=3;l<f;l++)a[l-3]=arguments[l];var s;if(je(e)&&o==="length"&&u===e.length)return!0;var y=(s=Reflect).set.apply(s,[n,o,u].concat(aO(a)));return Ga(u)&&Ol(u,t),y}})}function de(e,t,r,n){var o=n!=null?n:e,u=dO(vO(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=dO(vO(a),o)},enumerable:!0})}function gl(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 $k(e){if(Array.isArray(e))return gl(e)}function hO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _O(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function Sk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){_O(u,n,o,f,a,"next",l)}function a(l){_O(u,n,o,f,a,"throw",l)}f(void 0)})}}function Ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ik(e,t,r){return t&&pO(e.prototype,t),r&&pO(e,r),e}function Ck(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function st(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(o,u,f){var a=Dk(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},st(e,t,r||e)}function we(e){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},we(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&&ml(e,t)}function kk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Bk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jk(){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 Ak(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){Ck(e,o,r[o])})}return e}function Mk(e,t){return t&&(Lk(t)==="object"||typeof t=="function")?t:hO(e)}function ml(e,t){return ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ml(e,t)}function Dk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=we(e),e!==null););return e}function bO(e){return $k(e)||Bk(e)||Fk(e)||jk()}var Lk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fk(e,t){if(!!e){if(typeof e=="string")return gl(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 gl(e,t)}}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 xk(e){var t=zk();return function(){var n=we(e),o;if(t){var u=we(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Mk(this,o)}}var Yk=1e4,D=function(t){Nk(n,t);var r=xk(n);function n(o){Ek(this,n);var u;u=r.call(this,o),u.controlType="layout";var f=kk(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new A(o==null?void 0:o.props),de(hO(u),"children",o==null?void 0:o.children),u.excludes=pe(a),u.childrenMaxLength=l,u}return Ik(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var f=this.judgeExcludesChildren(u);return f&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,f){var a=this,l=this,s=function(){return st(we(n.prototype),"validate",a)};return Sk(X.default.mark(function y(){return X.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,s().call(l,u,f);case 2:return d.next=4,Promise.all(l.children.map(function(b){return b.validate(u,f)}));case 4:return d.abrupt("return",!0);case 5:case"end":return d.stop()}},y)}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,f=st(we(n.prototype),"toDataBindModel",this).call(this),a=f?[f]:[];return this.children.reduce(function(l,s){var y=s.toDataBindModel(u);if(Array.isArray(y)){var v=y.filter(function(d){return!!d});return bO(l).concat(bO(v))}return y&&l.push(y),l},a)}},{key:"toSchema",value:function(){var u=st(we(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return Ak({},u,{children:f})}}]),n}(B);D.excludes=!1,D.childrenMaxLength=Yk;function OO(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 pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(e)}function Vk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pl(e,t)}function Hk(e,t){return t&&(qk(t)==="object"||typeof t=="function")?t:OO(e)}function Pl(e,t){return Pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pl(e,t)}var qk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wk(e){var t=Uk();return function(){var n=pr(e),o;if(t){var u=pr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Hk(this,o)}}var Y=function(e){Vk(r,e);var t=Wk(r);function r(n){Gk(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new A(n==null?void 0:n.props),de(OO(o),"children",n==null?void 0:n.children),o}return r}(V);function gO(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 br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(e)}function Xk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rl(e,t)}function Qk(e,t){return t&&(Jk(t)==="object"||typeof t=="function")?t:gO(e)}function Rl(e,t){return Rl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rl(e,t)}var Jk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eB(e){var t=Zk();return function(){var n=br(e),o;if(t){var u=br(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Qk(this,o)}}var Xt=function(e){Xk(r,e);var t=eB(r);function r(n,o){Kk(this,r);var u;return u=t.call(this,o),de(gO(u),"headers",o==null?void 0:o.headers,n),u}return r}(x);function wl(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 tB(e){if(Array.isArray(e))return wl(e)}function mO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PO(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function nB(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){PO(u,n,o,f,a,"next",l)}function a(l){PO(u,n,o,f,a,"throw",l)}f(void 0)})}}function rB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oB(e,t,r){return t&&RO(e.prototype,t),r&&RO(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 yt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(o,u,f){var a=lB(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},yt(e,t,r||e)}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Te(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&&Tl(e,t)}function cB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fB(){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 wO(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){iB(e,o,r[o])})}return e}function aB(e,t){return t&&(sB(t)==="object"||typeof t=="function")?t:mO(e)}function Tl(e,t){return Tl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tl(e,t)}function lB(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Te(e),e!==null););return e}function TO(e){return tB(e)||cB(e)||yB(e)||fB()}var sB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yB(e,t){if(!!e){if(typeof e=="string")return wl(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 wl(e,t)}}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 dB(e){var t=vB();return function(){var n=Te(e),o;if(t){var u=Te(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aB(this,o)}}var Or=function(e){uB(r,e);var t=dB(r);function r(n){rB(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new Xt(mO(o),n==null?void 0:n.props),o}return oB(r,[{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return yt(Te(r.prototype),"validate",f)};return nB(X.default.mark(function s(){return X.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,l().call(a,o);case 2:return v.next=4,Promise.all(a.props.headers.map(function(d){return d.validate(o,u)}));case 4:return v.abrupt("return",!0);case 5:case"end":return v.stop()}},s)}))()}},{key:"toDataBindModel",value:function(){var o=yt(Te(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],f=this.id;return this.props.headers.reduce(function(a,l){var s=l.toDataBindModel(f);if(Array.isArray(s)){var y=s.filter(function(v){return!!v});return TO(a).concat(TO(y))}return s&&a.push(s),a},u)}},{key:"toSchema",value:function(){var o=yt(Te(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(f){return f.toSchema()});return wO({},o,{props:wO({},this.props,{headers:u})})}}]),r}(B);Or.controlFieldType=c.FieldTypes.LIST;function $l(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 $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 _B(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 pB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bB(e,t){return t&&(OB(t)==="object"||typeof t=="function")?t:$l(e)}function Sl(e,t){return Sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sl(e,t)}var OB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mB(e){var t=gB();return function(){var n=gr(e),o;if(t){var u=gr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bB(this,o)}}var El=function(e){pB(r,e);var t=mB(r);function r(n){hB(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new Xt($l(o),n==null?void 0:n.props),de($l(o),"children",n==null?void 0:n.children),o}return _B(r,[{key:"length",get:function(){return this.children.length}}]),r}(V);function SO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Il(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(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&&Nl(e,t)}function PB(e,t){return t&&(RB(t)==="object"||typeof t=="function")?t:SO(e)}function Nl(e,t){return Nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nl(e,t)}var RB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kl(e){var t=wB();return function(){var n=mr(e),o;if(t){var u=mr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return PB(this,o)}}var he=function(e){Cl(r,e);var t=kl(r);function r(n){Il(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:_.getMessage("pleaseEnterColumnWidth")},o.width.required=n.widthType==="px",o}return r}(z),L=function(e){Cl(r,e);var t=kl(r);function r(n){Il(this,r);var o;o=t.call(this,n);var u;o.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:"";var a;o.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:"none",o.autoWidth=new Wa(n==null?void 0:n.autoWidth),o.dataBind=new ie(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var s;return o.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,o}return r}(x);L.Rules=he;var Bl=function(e){Cl(r,e);var t=kl(r);function r(n){Il(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource","none"],message:_.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:_.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")}],ar.call(SO(o),n),o}return r}(he);function TB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(e)}function 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&&jl(e,t)}function EB(e,t){return t&&(IB(t)==="object"||typeof t=="function")?t:TB(e)}function jl(e,t){return jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jl(e,t)}var IB=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 NB(e){var t=CB();return function(){var n=Pr(e),o;if(t){var u=Pr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return EB(this,o)}}var H=function(e){SB(r,e);var t=NB(r);function r(n){$B(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new L(n==null?void 0:n.props),o}return r}(B);function kB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BB(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 jB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Al(e,t)}function AB(e,t){return t&&(MB(t)==="object"||typeof t=="function")?t:kB(e)}function Al(e,t){return Al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Al(e,t)}var MB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LB(e){var t=DB();return function(){var n=Rr(e),o;if(t){var u=Rr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return AB(this,o)}}var q=function(e){jB(r,e);var t=LB(r);function r(n){BB(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new L(n==null?void 0:n.props),o}return r}(V);function FB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function xB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ml(e,t)}function YB(e,t){return t&&(GB(t)==="object"||typeof t=="function")?t:FB(e)}function Ml(e,t){return Ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ml(e,t)}var GB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HB(e){var t=VB();return function(){var n=wr(e),o;if(t){var u=wr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return YB(this,o)}}var Tr=function(e){xB(r,e);var t=HB(r);function r(n){zB(this,r);var o;return o=t.call(this,n),o.dataBind=new ie(n==null?void 0:n.dataBind),o}return r}(A);function qB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(e)}function WB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dl(e,t)}function KB(e,t){return t&&(XB(t)==="object"||typeof t=="function")?t:qB(e)}function Dl(e,t){return Dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dl(e,t)}var XB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JB(e){var t=QB();return function(){var n=$r(e),o;if(t){var u=$r(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return KB(this,o)}}var EO=function(e){WB(r,e);var t=JB(r);function r(n){UB(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new Tr(n==null?void 0:n.props),o}return r}(D);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 Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(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&&Ll(e,t)}function nj(e,t){return t&&(rj(t)==="object"||typeof t=="function")?t:ZB(e)}function Ll(e,t){return Ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ll(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=Sr(e),o;if(t){var u=Sr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nj(this,o)}}var IO=function(e){tj(r,e);var t=ij(r);function r(n){ej(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new Tr(n==null?void 0:n.props),o}return r}(Y);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 Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(e)}function fj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fl(e,t)}function aj(e,t){return t&&(lj(t)==="object"||typeof t=="function")?t:uj(e)}function Fl(e,t){return Fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fl(e,t)}var lj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yj(e){var t=sj();return function(){var n=Er(e),o;if(t){var u=Er(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aj(this,o)}}var zl=function(e){fj(r,e);var t=yj(r);function r(n){return cj(this,r),t.call(this,n)}return r}(A);function vj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(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&&xl(e,t)}function _j(e,t){return t&&(pj(t)==="object"||typeof t=="function")?t:vj(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(e,t)}var pj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oj(e){var t=bj();return function(){var n=Ir(e),o;if(t){var u=Ir(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _j(this,o)}}var gj=function(e){hj(r,e);var t=Oj(r);function r(n){dj(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new zl(n==null?void 0:n.props),o}return r}(D);function mj(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 Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(e)}function Rj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yl(e,t)}function wj(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:mj(e)}function Yl(e,t){return Yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yl(e,t)}var Tj=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 Sj(e){var t=$j();return function(){var n=Cr(e),o;if(t){var u=Cr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wj(this,o)}}var Ej=function(e){Rj(r,e);var t=Sj(r);function r(n){Pj(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new zl(n==null?void 0:n.props),o}return r}(Y);function $e(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}}}])}function Ij(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 Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function Nj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gl(e,t)}function kj(e,t){return t&&(Bj(t)==="object"||typeof t=="function")?t:Ij(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(e,t)}var Bj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aj(e){var t=jj();return function(){var n=Nr(e),o;if(t){var u=Nr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kj(this,o)}}var Vl=function(e){Nj(r,e);var t=Aj(r);function r(n){Cj(this,r);var o;o=t.call(this,n);var u;o.fontSize=(u=n==null?void 0:n.fontSize)!==null&&u!==void 0?u:"14px";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"#646A73";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var s;return o.content=(s=n==null?void 0:n.content)!==null&&s!==void 0?s:"\u8BF4\u660E\u6587\u5B57",o}return r}(x);function Mj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lj(e,t,r){return t&&CO(e.prototype,t),r&&CO(e,r),e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function Fj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hl(e,t)}function zj(e,t){return t&&(xj(t)==="object"||typeof t=="function")?t:Mj(e)}function Hl(e,t){return Hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hl(e,t)}var xj=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 Gj(e){var t=Yj();return function(){var n=kr(e),o;if(t){var u=kr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zj(this,o)}}var NO=function(e){Fj(r,e);var t=Gj(r);function r(n){Dj(this,r);var o;return o=t.call(this,n),o.props=new Vl(n==null?void 0:n.props),o}return Lj(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(B);NO.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 Hj(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 qj(e,t,r){return t&&kO(e.prototype,t),r&&kO(e,r),e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(e)}function Uj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ql(e,t)}function Wj(e,t){return t&&(Kj(t)==="object"||typeof t=="function")?t:Vj(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(e,t)}var Kj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qj(e){var t=Xj();return function(){var n=Br(e),o;if(t){var u=Br(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Wj(this,o)}}var Jj=function(e){Uj(r,e);var t=Qj(r);function r(n){Hj(this,r);var o;return o=t.call(this,n),o.props=new Vl(n==null?void 0:n.props),o}return qj(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(V),BO={Designer:NO,Runtime:Jj,Property:Vl};function Zj(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 jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function t1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ul(e,t)}function n1(e,t){return t&&(r1(t)==="object"||typeof t=="function")?t:Zj(e)}function Ul(e,t){return Ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ul(e,t)}var r1=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 i1(e){var t=o1();return function(){var n=jr(e),o;if(t){var u=jr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return n1(this,o)}}var Wl=function(e){t1(r,e);var t=i1(r);function r(n){e1(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var f;o.url=(f=n==null?void 0:n.url)!==null&&f!==void 0?f:"";var a;return o.openMode=(a=n==null?void 0:n.openMode)!==null&&a!==void 0?a:"new",o}return r}(x);function u1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 f1(e,t,r){return t&&jO(e.prototype,t),r&&jO(e,r),e}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function a1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kl(e,t)}function l1(e,t){return t&&(s1(t)==="object"||typeof t=="function")?t:u1(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(e,t)}var s1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=y1();return function(){var n=Ar(e),o;if(t){var u=Ar(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return l1(this,o)}}var Xl=function(e){a1(r,e);var t=v1(r);function r(n){c1(this,r);var o;return o=t.call(this,n),o.props=new Wl(n==null?void 0:n.props),o}return f1(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(B);Xl.controlEventKeys=["on_click"],Xl.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 d1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _1(e,t,r){return t&&AO(e.prototype,t),r&&AO(e,r),e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(e)}function p1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ql(e,t)}function b1(e,t){return t&&(O1(t)==="object"||typeof t=="function")?t:d1(e)}function Ql(e,t){return Ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ql(e,t)}var O1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m1(e){var t=g1();return function(){var n=Mr(e),o;if(t){var u=Mr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return b1(this,o)}}var P1=function(e){p1(r,e);var t=m1(r);function r(n){h1(this,r);var o;return o=t.call(this,n),o.props=new Wl(n==null?void 0:n.props),o}return _1(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(V),MO={Designer:Xl,Runtime:P1,Property:Wl};function R1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function T1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jl(e,t)}function $1(e,t){return t&&(S1(t)==="object"||typeof t=="function")?t:R1(e)}function Jl(e,t){return Jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jl(e,t)}var S1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I1(e){var t=E1();return function(){var n=Dr(e),o;if(t){var u=Dr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $1(this,o)}}var te=function(e){T1(r,e);var t=I1(r);function r(n){w1(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u6309\u94AE";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;o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2";var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var v;o.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var d;o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1;var b;return o.optObj=new Gb((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(x);function C1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k1(e,t,r){return t&&DO(e.prototype,t),r&&DO(e,r),e}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(e)}function B1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zl(e,t)}function j1(e,t){return t&&(A1(t)==="object"||typeof t=="function")?t:C1(e)}function Zl(e,t){return Zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zl(e,t)}var A1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D1(e){var t=M1();return function(){var n=Lr(e),o;if(t){var u=Lr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return j1(this,o)}}var ne=function(e){B1(r,e);var t=D1(r);function r(n){N1(this,r);var o;return o=t.call(this,n),o.props=new te(n==null?void 0:n.props),o}return k1(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(B);ne.controlEventKeys=["on_click","on_click_finish"],ne.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 L1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 z1(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(e)}function x1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}function Y1(e,t){return t&&(G1(t)==="object"||typeof t=="function")?t:L1(e)}function es(e,t){return es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},es(e,t)}var G1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H1(e){var t=V1();return function(){var n=Fr(e),o;if(t){var u=Fr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Y1(this,o)}}var ce=function(e){x1(r,e);var t=H1(r);function r(n){F1(this,r);var o;return o=t.call(this,n),o.props=new te(n==null?void 0:n.props),o}return z1(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(V),FO={Designer:ne,Runtime:ce,Property:te};function ge(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 zr=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:le(8),value:["",""]};ge(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 xr=function e(t){ge(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:le();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 ts=function e(t){ge(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new at((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 u,f;this.telephone=(f=t==null?void 0:t.telephone)!==null&&f!==void 0?f:new at((u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:{type:"form"});var a,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new at((a=t==null?void 0:t.company)!==null&&a!==void 0?a:{type:"form"});var s;this.remark=(s=t==null?void 0:t.remark)!==null&&s!==void 0?s:""},zO=function e(t){ge(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(l){return new ts(l)}))!==null&&o!==void 0?o:[new ts];var u;this.statusControl=(u=t==null?void 0:t.statusControl)!==null&&u!==void 0?u:"";var f;this.completeControl=(f=t==null?void 0:t.completeControl)!==null&&f!==void 0?f:"";var a;this.completeTimeControl=(a=t==null?void 0:t.completeTimeControl)!==null&&a!==void 0?a:""},ns=function e(t){ge(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:le(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 u;this.svcCode=(u=t==null?void 0:t.svcCode)!==null&&u!==void 0?u:"";var f;this.name=(f=t==null?void 0:t.name)!==null&&f!==void 0?f:"";var a;this.fieldList=(a=t==null?void 0:t.fieldList)!==null&&a!==void 0?a:[];var l;this.active=(l=t==null?void 0:t.active)!==null&&l!==void 0?l:!1},rs=function e(t){ge(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:""},xO=function e(t){ge(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 u;this.logicToDelete=(u=t==null?void 0:t.logicToDelete)!==null&&u!==void 0?u:!0,this.watermark=new rs(t==null?void 0:t.watermark),this.autoRename=new rs(t==null?void 0:t.autoRename)},YO=480;function Qt(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var GO=function e(t){ge(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 u;this.isDefault=(u=t.isDefault)!==null&&u!==void 0?u:!1;var f;this.rules=(f=t.rules)!==null&&f!==void 0?f:[]},VO=function e(t){ge(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 q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function W1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&os(e,t)}function K1(e,t){return t&&(X1(t)==="object"||typeof t=="function")?t:q1(e)}function os(e,t){return os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},os(e,t)}var X1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J1(e){var t=Q1();return function(){var n=Yr(e),o;if(t){var u=Yr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return K1(this,o)}}var is=function(e){W1(r,e);var t=J1(r);function r(n){U1(this,r);var o;o=t.call(this,n);var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#000";var f;return o.lineStyle=(f=n==null?void 0:n.lineStyle)!==null&&f!==void 0?f:c.LINE_STYLE.SOLID,o}return r}(x);function Z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tA(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function nA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&us(e,t)}function rA(e,t){return t&&(oA(t)==="object"||typeof t=="function")?t:Z1(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(e,t)}var oA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uA(e){var t=iA();return function(){var n=Gr(e),o;if(t){var u=Gr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rA(this,o)}}var qO=function(e){nA(r,e);var t=uA(r);function r(n){eA(this,r);var o;return o=t.call(this,n),o.props=new is(n==null?void 0:n.props),o}return tA(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(B);qO.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];function cA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aA(e,t,r){return t&&UO(e.prototype,t),r&&UO(e,r),e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vr(e)}function lA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function sA(e,t){return t&&(yA(t)==="object"||typeof t=="function")?t:cA(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var yA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dA(e){var t=vA();return function(){var n=Vr(e),o;if(t){var u=Vr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sA(this,o)}}var hA=function(e){lA(r,e);var t=dA(r);function r(n){fA(this,r);var o;return o=t.call(this,n),o.props=new is(n==null?void 0:n.props),o}return aA(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(V),WO={Designer:qO,Runtime:hA,Property:is};function _A(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function XO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function pA(e,t){return t&&(bA(t)==="object"||typeof t=="function")?t:_A(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(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 QO(e){var t=OA();return function(){var n=Hr(e),o;if(t){var u=Hr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pA(this,o)}}var gA=function(e){XO(r,e);var t=QO(r);function r(n){KO(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:_.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:_.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:_.getMessage("bizKeyNotBindFiled")}},message:_.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:_.getMessage("pleaseSelectOneField")}),o}return r}(z),qr=function(e){XO(r,e);var t=QO(r);function r(n){KO(this,r);var o;o=t.call(this,n),o.dataBind=new ie(n==null?void 0:n.dataBind);var u;o.config=(u=n==null?void 0:n.config)!==null&&u!==void 0?u:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar,c.TitleConfigEnum.ShowTitle];var f,a;o.caption=(a=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:vt==null?void 0:vt.controlName)!==null&&a!==void 0?a:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return r}(x);qr.Rules=gA;function mA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RA(e,t,r){return t&&JO(e.prototype,t),r&&JO(e,r),e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(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&&as(e,t)}function TA(e,t){return t&&($A(t)==="object"||typeof t=="function")?t:mA(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(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=Ur(e),o;if(t){var u=Ur(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return TA(this,o)}}var vt=function(e){wA(r,e);var t=EA(r);function r(n){PA(this,r);var o;return o=t.call(this,n),o.props=new qr(n==null?void 0:n.props),o}return RA(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(B);vt.controlFieldType=c.FieldTypes.AUTO_NUMBER,vt.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 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 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 NA(e,t,r){return t&&ZO(e.prototype,t),r&&ZO(e,r),e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function kA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function BA(e,t){return t&&(jA(t)==="object"||typeof t=="function")?t:IA(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var jA=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=Wr(e),o;if(t){var u=Wr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return BA(this,o)}}var DA=function(e){kA(r,e);var t=MA(r);function r(n){CA(this,r);var o;return o=t.call(this,n),o.props=new qr(n==null?void 0:n.props),o}return NA(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(V),eg={Designer:vt,Runtime:DA,Property:qr};function LA(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 Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(e)}function ng(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ss(e,t)}function FA(e,t){return t&&(zA(t)==="object"||typeof t=="function")?t:LA(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var zA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rg(e){var t=xA();return function(){var n=Kr(e),o;if(t){var u=Kr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FA(this,o)}}var YA=function(e){ng(r,e);var t=rg(r);function r(n){tg(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:_.getMessage("pleaseEnterForm")},o}return r}(z),Xr=function(e){ng(r,e);var t=rg(r);function r(n){tg(this,r);var o;o=t.call(this,n);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Jt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Jt.controlName;var a;o.formKey=(a=n==null?void 0:n.formKey)!==null&&a!==void 0?a:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return r}(te);Xr.Rules=YA;function GA(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 og(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HA(e,t,r){return t&&og(e.prototype,t),r&&og(e,r),e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function qA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ys(e,t)}function UA(e,t){return t&&(WA(t)==="object"||typeof t=="function")?t:GA(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(e,t)}var WA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XA(e){var t=KA();return function(){var n=Qr(e),o;if(t){var u=Qr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return UA(this,o)}}var Jt=function(e){qA(r,e);var t=XA(r);function r(n){VA(this,r);var o;return o=t.call(this,n),o.props=new Xr(n==null?void 0:n.props),o}return HA(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}(ne);Jt.controlEventKeys=["on_click","on_click_finish"],Jt.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 QA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZA(e,t,r){return t&&ig(e.prototype,t),r&&ig(e,r),e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(e)}function e3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function t3(e,t){return t&&(n3(t)==="object"||typeof t=="function")?t:QA(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}var n3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o3(e){var t=r3();return function(){var n=Jr(e),o;if(t){var u=Jr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return t3(this,o)}}var i3=function(e){e3(r,e);var t=o3(r);function r(n){JA(this,r);var o;return o=t.call(this,n),o.props=new Xr(n==null?void 0:n.props),o}return ZA(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ce),ug={Designer:Jt,Runtime:i3,Property:Xr};function u3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(e)}function fg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ds(e,t)}function c3(e,t){return t&&(f3(t)==="object"||typeof t=="function")?t:u3(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ds(e,t)}var f3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ag(e){var t=a3();return function(){var n=Zr(e),o;if(t){var u=Zr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return c3(this,o)}}var l3=function(e){fg(r,e);var t=ag(r);function r(n){cg(this,r);var o;return o=t.call(this,n),o.processKey=[{type:"string",message:_.getMessage("isNotString")},{type:"string",required:!0,message:_.getMessage("pleaseEnterProcess")}],o}return r}(z),eo=function(e){fg(r,e);var t=ag(r);function r(n){cg(this,r);var o;o=t.call(this,n);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Zt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Zt.controlName;var a;o.initiatorMode=(a=n==null?void 0:n.initiatorMode)!==null&&a!==void 0?a:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var s;o.fieldCode=(s=n==null?void 0:n.fieldCode)!==null&&s!==void 0?s:"";var y;return o.employeeId=(y=n==null?void 0:n.employeeId)!==null&&y!==void 0?y:"",o}return r}(te);eo.Rules=l3;function s3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 v3(e,t,r){return t&&lg(e.prototype,t),r&&lg(e,r),e}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function d3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function h3(e,t){return t&&(_3(t)==="object"||typeof t=="function")?t:s3(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hs(e,t)}var _3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b3(e){var t=p3();return function(){var n=to(e),o;if(t){var u=to(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return h3(this,o)}}var Zt=function(e){d3(r,e);var t=b3(r);function r(n){y3(this,r);var o;return o=t.call(this,n),o.props=new eo(n==null?void 0:n.props),o}return v3(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}(ne);Zt.controlEventKeys=["on_click","on_click_finish"],Zt.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 O3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m3(e,t,r){return t&&sg(e.prototype,t),r&&sg(e,r),e}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},no(e)}function P3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function R3(e,t){return t&&(w3(t)==="object"||typeof t=="function")?t:O3(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}var w3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $3(e){var t=T3();return function(){var n=no(e),o;if(t){var u=no(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return R3(this,o)}}var S3=function(e){P3(r,e);var t=$3(r);function r(n){g3(this,r);var o;return o=t.call(this,n),o.props=new eo(n==null?void 0:n.props),o}return m3(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ce),yg={Designer:Zt,Runtime:S3,Property:eo};function E3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function C3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ps(e,t)}function N3(e,t){return t&&(k3(t)==="object"||typeof t=="function")?t:E3(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var k3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j3(e){var t=B3();return function(){var n=ro(e),o;if(t){var u=ro(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return N3(this,o)}}var bs=function(e){C3(r,e);var t=j3(r);function r(n){I3(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:en.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:en.controlIcon,o}return r}(te);function A3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D3(e,t,r){return t&&vg(e.prototype,t),r&&vg(e,r),e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(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&&Os(e,t)}function F3(e,t){return t&&(z3(t)==="object"||typeof t=="function")?t:A3(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var z3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y3(e){var t=x3();return function(){var n=oo(e),o;if(t){var u=oo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return F3(this,o)}}var en=function(e){L3(r,e);var t=Y3(r);function r(n){M3(this,r);var o;return o=t.call(this,n),o.props=new bs(n==null?void 0:n.props),o}return D3(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}(ne);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:"super-setting",visible:!0}];function G3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 H3(e,t,r){return t&&dg(e.prototype,t),r&&dg(e,r),e}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function q3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gs(e,t)}function U3(e,t){return t&&(W3(t)==="object"||typeof t=="function")?t:G3(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(e,t)}var W3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X3(e){var t=K3();return function(){var n=io(e),o;if(t){var u=io(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return U3(this,o)}}var Q3=function(e){q3(r,e);var t=X3(r);function r(n){V3(this,r);var o;return o=t.call(this,n),o.props=new bs(n==null?void 0:n.props),o}return H3(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ce),hg={Designer:en,Runtime:Q3,Property:bs};function J3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(e)}function eM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function tM(e,t){return t&&(nM(t)==="object"||typeof t=="function")?t:J3(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}var nM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oM(e){var t=rM();return function(){var n=uo(e),o;if(t){var u=uo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return tM(this,o)}}var Ps=function(e){eM(r,e);var t=oM(r);function r(n){Z3(this,r);var o,u;o=t.call(this,n);var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:tn.controlIcon;var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:tn.controlName;var l;return o.templateList=(l=n==null||(u=n.templateList)===null||u===void 0?void 0:u.map(function(s){return new ns(s)}))!==null&&l!==void 0?l:[new ns({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(te);function iM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cM(e,t,r){return t&&_g(e.prototype,t),r&&_g(e,r),e}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},co(e)}function fM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rs(e,t)}function aM(e,t){return t&&(lM(t)==="object"||typeof t=="function")?t:iM(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(e,t)}var lM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yM(e){var t=sM();return function(){var n=co(e),o;if(t){var u=co(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aM(this,o)}}var tn=function(e){fM(r,e);var t=yM(r);function r(n){uM(this,r);var o;return o=t.call(this,n),o.props=new Ps(n==null?void 0:n.props),o}return cM(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}(ne);tn.controlEventKeys=["on_click","on_click_finish"],tn.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 vM(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 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 hM(e,t,r){return t&&pg(e.prototype,t),r&&pg(e,r),e}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(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&&ws(e,t)}function pM(e,t){return t&&(bM(t)==="object"||typeof t=="function")?t:vM(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ws(e,t)}var bM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gM(e){var t=OM();return function(){var n=fo(e),o;if(t){var u=fo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pM(this,o)}}var mM=function(e){_M(r,e);var t=gM(r);function r(n){dM(this,r);var o;return o=t.call(this,n),o.props=new Ps(n==null?void 0:n.props),o}return hM(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ce),bg={Designer:tn,Runtime:mM,Property:Ps};function PM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(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&&Ts(e,t)}function TM(e,t){return t&&($M(t)==="object"||typeof t=="function")?t:PM(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(e,t)}var $M=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EM(e){var t=SM();return function(){var n=ao(e),o;if(t){var u=ao(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return TM(this,o)}}var $s=function(e){wM(r,e);var t=EM(r);function r(n){RM(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:nn.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:nn.controlIcon,o}return r}(te);function IM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NM(e,t,r){return t&&Og(e.prototype,t),r&&Og(e,r),e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(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&&Ss(e,t)}function BM(e,t){return t&&(jM(t)==="object"||typeof t=="function")?t:IM(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(e,t)}var jM=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 MM(e){var t=AM();return function(){var n=lo(e),o;if(t){var u=lo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return BM(this,o)}}var nn=function(e){kM(r,e);var t=MM(r);function r(n){CM(this,r);var o;return o=t.call(this,n),o.props=new $s(n==null?void 0:n.props),o}return NM(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}(ne);nn.controlEventKeys=["on_click"],nn.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 DM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 FM(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),e}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},so(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&&Es(e,t)}function xM(e,t){return t&&(YM(t)==="object"||typeof t=="function")?t:DM(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Es(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 VM(e){var t=GM();return function(){var n=so(e),o;if(t){var u=so(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return xM(this,o)}}var HM=function(e){zM(r,e);var t=VM(r);function r(n){LM(this,r);var o;return o=t.call(this,n),o.props=new $s(n==null?void 0:n.props),o}return FM(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ce),mg={Designer:nn,Runtime:HM,Property:$s};function qM(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 yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yo(e)}function UM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}function WM(e,t){return t&&(KM(t)==="object"||typeof t=="function")?t:qM(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Is(e,t)}var KM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QM(e){var t=XM();return function(){var n=yo(e),o;if(t){var u=yo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return WM(this,o)}}var JM=function e(t){Pg(this,e),this.dataCode=t.dataCode},Cs=function(e){UM(r,e);var t=QM(r);function r(n){Pg(this,r);var o,u;o=t.call(this,n);var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:rn.controlName;var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:rn.controlIcon;var l;return o.canImportList=(l=n==null||(u=n.canImportList)===null||u===void 0?void 0:u.map(function(s){return new JM(s)}))!==null&&l!==void 0?l:[],o}return r}(te);function ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 t2(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 n2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}function r2(e,t){return t&&(o2(t)==="object"||typeof t=="function")?t:ZM(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}var o2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u2(e){var t=i2();return function(){var n=vo(e),o;if(t){var u=vo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return r2(this,o)}}var rn=function(e){n2(r,e);var t=u2(r);function r(n){e2(this,r);var o;return o=t.call(this,n),o.props=new Cs(n==null?void 0:n.props),o}return t2(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}(ne);rn.controlEventKeys=["on_click","on_click_finish"],rn.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 c2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 a2(e,t,r){return t&&wg(e.prototype,t),r&&wg(e,r),e}function ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(e)}function l2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ks(e,t)}function s2(e,t){return t&&(y2(t)==="object"||typeof t=="function")?t:c2(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}var y2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d2(e){var t=v2();return function(){var n=ho(e),o;if(t){var u=ho(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return s2(this,o)}}var h2=function(e){l2(r,e);var t=d2(r);function r(n){f2(this,r);var o;return o=t.call(this,n),o.props=new Cs(n==null?void 0:n.props),o}return a2(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ce),Tg={Designer:rn,Runtime:h2,Property:Cs};function _o(){return{dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:_.getMessage("pleaseSelectControl")}}}}}}function _2(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 p2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(e)}function Sg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Eg(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){p2(e,o,r[o])})}return e}function b2(e,t){return t&&(O2(t)==="object"||typeof t=="function")?t:_2(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(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 Ig(e){var t=g2();return function(){var n=po(e),o;if(t){var u=po(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return b2(this,o)}}var m2=function(e){Sg(r,e);var t=Ig(r);function r(n){$g(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:Eg({},_o())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:Eg({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},_o())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:_.getMessage("pleaseSelectControl")}),o}return r}(z),bo=function(e){Sg(r,e);var t=Ig(r);function r(n){$g(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:on.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:on.controlIcon;var a;return o.command=(a=n==null?void 0:n.command)!==null&&a!==void 0?a:"create",o.fillPayload=new or(n==null?void 0:n.fillPayload),o.formBind=new Rb(n==null?void 0:n.formBind),o.fillBack=new el(n==null?void 0:n.fillBack),o}return r}(te);bo.Rules=m2;function P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w2(e,t,r){return t&&Cg(e.prototype,t),r&&Cg(e,r),e}function Oo(e){return Oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oo(e)}function T2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $2(e,t){return t&&(S2(t)==="object"||typeof t=="function")?t:P2(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(e,t)}var S2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I2(e){var t=E2();return function(){var n=Oo(e),o;if(t){var u=Oo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $2(this,o)}}var on=function(e){T2(r,e);var t=I2(r);function r(n){R2(this,r);var o;return o=t.call(this,n),o.props=new bo(n==null?void 0:n.props),o}return w2(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}(ne);on.controlEventKeys=["on_click","on_click_finish"],on.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 C2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ng(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k2(e,t,r){return t&&Ng(e.prototype,t),r&&Ng(e,r),e}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},go(e)}function B2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function j2(e,t){return t&&(A2(t)==="object"||typeof t=="function")?t:C2(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}var A2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D2(e){var t=M2();return function(){var n=go(e),o;if(t){var u=go(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return j2(this,o)}}var L2=function(e){B2(r,e);var t=D2(r);function r(n){N2(this,r);var o;return o=t.call(this,n),o.props=new bo(n==null?void 0:n.props),o}return k2(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ce),kg={Designer:on,Runtime:L2,Property:bo};function F2(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 z2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mo(e)}function jg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function Ag(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){z2(e,o,r[o])})}return e}function x2(e,t){return t&&(Y2(t)==="object"||typeof t=="function")?t:F2(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}var Y2=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 Mg(e){var t=G2();return function(){var n=mo(e),o;if(t){var u=mo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return x2(this,o)}}var V2=function(e){jg(r,e);var t=Mg(r);function r(n){Bg(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:Ag({},_o())},o.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:_.getMessage("pleaseSelectAtLeastOneColumn")}}},o.fillBack={type:"object",fields:Ag({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},_o())},o}return r}(z),Po=function(e){jg(r,e);var t=Mg(r);function r(n){Bg(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:un.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:un.controlIcon,o.fillPayload=new or(n==null?void 0:n.fillPayload),o.listPageBind=new er(n==null?void 0:n.listPageBind),o.fillBack=new el(n==null?void 0:n.fillBack);var a;return o.showSelectedDetail=(a=n==null?void 0:n.showSelectedDetail)!==null&&a!==void 0?a:!1,o.selectedContentConfig=new rr(n==null?void 0:n.selectedContentConfig),o}return r}(te);Po.Rules=V2;function H2(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 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 U2(e,t,r){return t&&Dg(e.prototype,t),r&&Dg(e,r),e}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function W2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ds(e,t)}function K2(e,t){return t&&(X2(t)==="object"||typeof t=="function")?t:H2(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var X2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J2(e){var t=Q2();return function(){var n=Ro(e),o;if(t){var u=Ro(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return K2(this,o)}}var un=function(e){W2(r,e);var t=J2(r);function r(n){q2(this,r);var o;return o=t.call(this,n),o.props=new Po(n==null?void 0:n.props),o}return U2(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}(ne);un.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],un.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 Z2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eD(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 tD(e,t,r){return t&&Lg(e.prototype,t),r&&Lg(e,r),e}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(e)}function nD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rD(e,t){return t&&(oD(t)==="object"||typeof t=="function")?t:Z2(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}var oD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uD(e){var t=iD();return function(){var n=wo(e),o;if(t){var u=wo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rD(this,o)}}var cD=function(e){nD(r,e);var t=uD(r);function r(n){eD(this,r);var o;return o=t.call(this,n),o.props=new Po(n==null?void 0:n.props),o}return tD(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ce),Fg={Designer:un,Runtime:cD,Property:Po};function fD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function zs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xs(e,t)}function aD(e,t){return t&&(lD(t)==="object"||typeof t=="function")?t:fD(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(e,t)}var lD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ys(e){var t=sD();return function(){var n=To(e),o;if(t){var u=To(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aD(this,o)}}var yD=function(e){zs(r,e);var t=Ys(r);function r(n){return Fs(this,r),t.call(this,n)}return r}(z),vD=function(e){zs(r,e);var t=Ys(r);function r(n){return Fs(this,r),t.call(this,n)}return r}(Pe),cn=function(e){zs(r,e);var t=Ys(r);function r(n){return Fs(this,r),t.call(this,n)}return r}(x);cn.Rules=yD,cn.RuntimeRules=vD;function dD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _D(e,t,r){return t&&zg(e.prototype,t),r&&zg(e,r),e}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(e)}function pD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function bD(e,t){return t&&(OD(t)==="object"||typeof t=="function")?t:dD(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}var OD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mD(e){var t=gD();return function(){var n=$o(e),o;if(t){var u=$o(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bD(this,o)}}var xg=function(e){pD(r,e);var t=mD(r);function r(n){hD(this,r);var o;return o=t.call(this,n),o.props=new cn(n==null?void 0:n.props),o}return _D(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(B);xg.setting=[];function PD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wD(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},So(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&&Vs(e,t)}function $D(e,t){return t&&(SD(t)==="object"||typeof t=="function")?t:PD(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}var SD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ED(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ID(e){var t=ED();return function(){var n=So(e),o;if(t){var u=So(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $D(this,o)}}var CD=function(e){TD(r,e);var t=ID(r);function r(n){RD(this,r);var o;return o=t.call(this,n),o.props=new cn(n==null?void 0:n.props),o}return wD(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(V),Gg={Designer:xg,Runtime:CD,Property:cn};function ND(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vg(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 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&&Hs(e,t)}function kD(e,t){return t&&(BD(t)==="object"||typeof t=="function")?t:ND(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}var BD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qg(e){var t=jD();return function(){var n=Eo(e),o;if(t){var u=Eo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kD(this,o)}}var AD=function(e){Hg(r,e);var t=qg(r);function r(n){Vg(this,r);var o;return o=t.call(this,n),o.dashboardKey={type:"string",required:!0,message:_.getMessage("pleaseSelectDashboard")},o.caption={type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.captionTip={type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(z),Io=function(e){Hg(r,e);var t=qg(r);function r(n){Vg(this,r);var o;o=t.call(this,n);var u;o.dashboardKey=(u=n==null?void 0:n.dashboardKey)!==null&&u!==void 0?u:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:"";var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;o.captionTip=(s=n==null?void 0:n.captionTip)!==null&&s!==void 0?s:"";var y;return o.labelPosition=(y=n==null?void 0:n.labelPosition)!==null&&y!==void 0?y:"top",o}return r}(x);Io.Rules=AD;function MD(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 Ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LD(e,t,r){return t&&Ug(e.prototype,t),r&&Ug(e,r),e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Co(e)}function FD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qs(e,t)}function zD(e,t){return t&&(xD(t)==="object"||typeof t=="function")?t:MD(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}var xD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GD(e){var t=YD();return function(){var n=Co(e),o;if(t){var u=Co(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zD(this,o)}}var Wg=function(e){FD(r,e);var t=GD(r);function r(n){DD(this,r);var o;return o=t.call(this,n),o.props=new Io(n==null?void 0:n.props),o}return LD(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(B);Wg.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 VD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qD(e,t,r){return t&&Kg(e.prototype,t),r&&Kg(e,r),e}function No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(e)}function UD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function WD(e,t){return t&&(KD(t)==="object"||typeof t=="function")?t:VD(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}var KD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QD(e){var t=XD();return function(){var n=No(e),o;if(t){var u=No(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return WD(this,o)}}var JD=function(e){UD(r,e);var t=QD(r);function r(n){HD(this,r);var o;return o=t.call(this,n),o.props=new Io(n==null?void 0:n.props),o}return qD(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(V),Xg={Designer:Wg,Runtime:JD,Property:Io};function ZD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(e)}function Jg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function eL(e,t){return t&&(tL(t)==="object"||typeof t=="function")?t:ZD(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}var tL=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 Zg(e){var t=nL();return function(){var n=ko(e),o;if(t){var u=ko(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return eL(this,o)}}var rL=function(e){Jg(r,e);var t=Zg(r);function r(n){Qg(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:_.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:_.getMessage("pleaseSelectAtLeastOneColumn")}}}},o}return r}(z),Bo=function(e){Jg(r,e);var t=Zg(r);function r(n){Qg(this,r);var o,u;o=t.call(this,n);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"select";var a;return o.viewList=(a=n==null||(u=n.viewList)===null||u===void 0?void 0:u.map(function(l){return new xb(l)}))!==null&&a!==void 0?a:[],o}return r}(x);Bo.Rules=rL;function oL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uL(e,t,r){return t&&em(e.prototype,t),r&&em(e,r),e}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jo(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&&Ks(e,t)}function fL(e,t){return t&&(aL(t)==="object"||typeof t=="function")?t:oL(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ks(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=jo(e),o;if(t){var u=jo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return fL(this,o)}}var tm=function(e){cL(r,e);var t=sL(r);function r(n){iL(this,r);var o;return o=t.call(this,n),o.props=new Bo(n==null?void 0:n.props),o}return uL(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(B);tm.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function yL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dL(e,t,r){return t&&nm(e.prototype,t),r&&nm(e,r),e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(e)}function hL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _L(e,t){return t&&(pL(t)==="object"||typeof t=="function")?t:yL(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}var pL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OL(e){var t=bL();return function(){var n=Ao(e),o;if(t){var u=Ao(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _L(this,o)}}var gL=function(e){hL(r,e);var t=OL(r);function r(n){vL(this,r);var o;return o=t.call(this,n),o.props=new Bo(n==null?void 0:n.props),o}return dL(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(V),rm={Designer:tm,Runtime:gL,Property:Bo};function mL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function om(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(e)}function im(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function PL(e,t){return t&&(RL(t)==="object"||typeof t=="function")?t:mL(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}var 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 um(e){var t=wL();return function(){var n=Mo(e),o;if(t){var u=Mo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return PL(this,o)}}var TL=function(e){im(r,e);var t=um(r);function r(n){om(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.ocrType={type:"string",required:!0,message:_.getMessage("pleaseSelectOcrType")},o.fillList={type:"array",validator:function(f,a,l){var s=a.every(function(y){return!y.controlId});if(s){l(_.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}},o.captionTip={type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(z),Do=function(e){im(r,e);var t=um(r);function r(n){om(this,r);var o,u;o=t.call(this,n);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:dt.controlName;var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;o.captionTip=(s=n==null?void 0:n.captionTip)!==null&&s!==void 0?s:"";var y;o.labelPosition=(y=n==null?void 0:n.labelPosition)!==null&&y!==void 0?y:"top";var v;o.content=(v=n==null?void 0:n.content)!==null&&v!==void 0?v:dt.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:dt.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var O;return o.fillList=(O=n==null||(u=n.fillList)===null||u===void 0?void 0:u.map(function(p){return new ee(p)}))!==null&&O!==void 0?O:[],o}return r}(te);Do.Rules=TL;function $L(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 cm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EL(e,t,r){return t&&cm(e.prototype,t),r&&cm(e,r),e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(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&&Js(e,t)}function CL(e,t){return t&&(NL(t)==="object"||typeof t=="function")?t:$L(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var NL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BL(e){var t=kL();return function(){var n=Lo(e),o;if(t){var u=Lo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return CL(this,o)}}var dt=function(e){IL(r,e);var t=BL(r);function r(n){SL(this,r);var o;return o=t.call(this,n),o.props=new Do(n==null?void 0:n.props),o}return EL(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}(ne);dt.controlEventKeys=["on_click","on_click_finish"],dt.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 jL(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 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 ML(e,t,r){return t&&fm(e.prototype,t),r&&fm(e,r),e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(e)}function DL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function LL(e,t){return t&&(FL(t)==="object"||typeof t=="function")?t:jL(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}var FL=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 xL(e){var t=zL();return function(){var n=Fo(e),o;if(t){var u=Fo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return LL(this,o)}}var YL=function(e){DL(r,e);var t=xL(r);function r(n){AL(this,r);var o;return o=t.call(this,n),o.props=new Do(n==null?void 0:n.props),o}return ML(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ce),am={Designer:dt,Runtime:YL,Property:Do};function GL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zo(e)}function sm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ey(e,t)}function VL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:GL(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(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 ym(e){var t=qL();return function(){var n=zo(e),o;if(t){var u=zo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return VL(this,o)}}var UL=function(e){sm(r,e);var t=ym(r);function r(n){lm(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.invoiceCheck={type:"boolean"},o.fillList={type:"array",validator:function(f,a,l){var s=a.every(function(y){return!y.controlId});if(s){l(_.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}},o.captionTip={type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(z),xo=function(e){sm(r,e);var t=ym(r);function r(n){lm(this,r);var o,u;o=t.call(this,n);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:ht.controlName;var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;o.captionTip=(s=n==null?void 0:n.captionTip)!==null&&s!==void 0?s:"";var y;o.labelPosition=(y=n==null?void 0:n.labelPosition)!==null&&y!==void 0?y:"top";var v;o.content=(v=n==null?void 0:n.content)!==null&&v!==void 0?v:ht.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:ht.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var O;return o.fillList=(O=n==null||(u=n.fillList)===null||u===void 0?void 0:u.map(function(p){return new ee(p)}))!==null&&O!==void 0?O:[],o}return r}(te);xo.Rules=UL;function WL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KL(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 XL(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(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&&ty(e,t)}function JL(e,t){return t&&(ZL(t)==="object"||typeof t=="function")?t:WL(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(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=Yo(e),o;if(t){var u=Yo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JL(this,o)}}var ht=function(e){QL(r,e);var t=tF(r);function r(n){KL(this,r);var o;return o=t.call(this,n),o.props=new xo(n==null?void 0:n.props),o}return XL(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}(ne);ht.controlEventKeys=["on_click","on_click_finish"],ht.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 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 dm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oF(e,t,r){return t&&dm(e.prototype,t),r&&dm(e,r),e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(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&&ny(e,t)}function uF(e,t){return t&&(cF(t)==="object"||typeof t=="function")?t:nF(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(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=Go(e),o;if(t){var u=Go(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return uF(this,o)}}var lF=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 xo(n==null?void 0:n.props),o}return oF(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ce),hm={Designer:ht,Runtime:lF,Property:xo};function sF(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 Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function pm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function yF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:sF(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var vF=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 bm(e){var t=dF();return function(){var n=Vo(e),o;if(t){var u=Vo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return yF(this,o)}}var hF=function(e){pm(r,e);var t=bm(r);function r(){_m(this,r);var n;return n=t.apply(this,arguments),n.printTemplates={type:"array",min:1,required:!0,message:_.getMessage("pleaseUploadAtLeastOnePrintTemplate")},n}return r}(z),Ho=function(e){pm(r,e);var t=bm(r);function r(n){_m(this,r);var o,u;o=t.call(this,n);var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:fn.controlIcon;var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:fn.controlName;var l;o.printTemplates=(l=n==null||(u=n.printTemplates)===null||u===void 0?void 0:u.map(function(y){return new GO(y)}))!==null&&l!==void 0?l:[];var s;return o.autoSelectTemplate=(s=n==null?void 0:n.autoSelectTemplate)!==null&&s!==void 0?s:!1,o}return r}(te);Ho.Rules=hF;function _F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bF(e,t,r){return t&&Om(e.prototype,t),r&&Om(e,r),e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(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&&oy(e,t)}function gF(e,t){return t&&(mF(t)==="object"||typeof t=="function")?t:_F(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}var mF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RF(e){var t=PF();return function(){var n=qo(e),o;if(t){var u=qo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return gF(this,o)}}var fn=function(e){OF(r,e);var t=RF(r);function r(n){pF(this,r);var o;return o=t.call(this,n),o.props=new Ho(n==null?void 0:n.props),o}return bF(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}(ne);fn.controlEventKeys=["on_click","on_click_finish"],fn.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 wF(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 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 $F(e,t,r){return t&&gm(e.prototype,t),r&&gm(e,r),e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(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&&iy(e,t)}function EF(e,t){return t&&(IF(t)==="object"||typeof t=="function")?t:wF(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}var IF=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 NF(e){var t=CF();return function(){var n=Uo(e),o;if(t){var u=Uo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return EF(this,o)}}var kF=function(e){SF(r,e);var t=NF(r);function r(n){TF(this,r);var o;return o=t.call(this,n),o.props=new Ho(n==null?void 0:n.props),o}return $F(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ce),mm={Designer:fn,Runtime:kF,Property:Ho};function BF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(e)}function AF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function MF(e,t){return t&&(DF(t)==="object"||typeof t=="function")?t:BF(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}var DF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FF(e){var t=LF();return function(){var n=Wo(e),o;if(t){var u=Wo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return MF(this,o)}}var cy=function(e){AF(r,e);var t=FF(r);function r(n){jF(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:an.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:an.controlIcon,o}return r}(te);function zF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YF(e,t,r){return t&&Pm(e.prototype,t),r&&Pm(e,r),e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function GF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function VF(e,t){return t&&(HF(t)==="object"||typeof t=="function")?t:zF(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}var HF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UF(e){var t=qF();return function(){var n=Ko(e),o;if(t){var u=Ko(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return VF(this,o)}}var an=function(e){GF(r,e);var t=UF(r);function r(n){xF(this,r);var o;return o=t.call(this,n),o.props=new cy(n==null?void 0:n.props),o}return YF(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}(ne);an.controlEventKeys=["on_click"],an.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 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 Rm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XF(e,t,r){return t&&Rm(e.prototype,t),r&&Rm(e,r),e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(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&&ay(e,t)}function JF(e,t){return t&&(ZF(t)==="object"||typeof t=="function")?t:WF(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(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=Xo(e),o;if(t){var u=Xo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JF(this,o)}}var n4=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 cy(n==null?void 0:n.props),o}return XF(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ce),wm={Designer:an,Runtime:n4,Property:cy};function r4(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){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(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&&ly(e,t)}function o4(e,t){return t&&(i4(t)==="object"||typeof t=="function")?t:r4(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var i4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sm(e){var t=u4();return function(){var n=Qo(e),o;if(t){var u=Qo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return o4(this,o)}}var c4=function(e){$m(r,e);var t=Sm(r);function r(n){Tm(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:_.getMessage("pleaseEnterForm")}),o}return r}(z),Jo=function(e){$m(r,e);var t=Sm(r);function r(n){Tm(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u6309\u94AE",o.code=n==null?void 0:n.code;var f;o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"custom";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"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 l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o}return r}(x);Jo.Rules=c4;function f4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a4(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 l4(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function s4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function y4(e,t){return t&&(v4(t)==="object"||typeof t=="function")?t:f4(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}var v4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h4(e){var t=d4();return function(){var n=Zo(e),o;if(t){var u=Zo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return y4(this,o)}}var ei=function(e){s4(r,e);var t=h4(r);function r(n){a4(this,r);var o;return o=t.call(this,n),o.props=new Jo(n==null?void 0:n.props),o}return l4(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(B);ei.controlEventKeys=["on_click"],ei.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 _4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p4(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 b4(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 O4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g4(e,t){return t&&(m4(t)==="object"||typeof t=="function")?t:_4(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}var m4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R4(e){var t=P4();return function(){var n=ti(e),o;if(t){var u=ti(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return g4(this,o)}}var w4=function(e){O4(r,e);var t=R4(r);function r(n){p4(this,r);var o;return o=t.call(this,n),o.props=new Jo(n==null?void 0:n.props),o}return b4(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(V),ln={Designer:ei,Runtime:w4,Property:Jo};function T4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function S4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function E4(e,t){return t&&(I4(t)==="object"||typeof t=="function")?t:T4(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}var I4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N4(e){var t=C4();return function(){var n=ni(e),o;if(t){var u=ni(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return E4(this,o)}}var dy=function(e){S4(r,e);var t=N4(r);function r(n){$4(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:sn.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:sn.controlIcon;var a;o.buttonType=(a=n==null?void 0:n.buttonType)!==null&&a!==void 0?a:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var s;o.color=(s=n==null?void 0:n.color)!==null&&s!==void 0?s:"danger";var y;o.isHide=(y=n==null?void 0:n.isHide)!==null&&y!==void 0?y:!1;var v;o.defaultState=(v=n==null?void 0:n.defaultState)!==null&&v!==void 0?v:"default";var d;o.command=(d=n==null?void 0:n.command)!==null&&d!==void 0?d:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(x);function k4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j4(e,t,r){return t&&Cm(e.prototype,t),r&&Cm(e,r),e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(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&&hy(e,t)}function M4(e,t){return t&&(D4(t)==="object"||typeof t=="function")?t:k4(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}var D4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F4(e){var t=L4();return function(){var n=ri(e),o;if(t){var u=ri(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return M4(this,o)}}var sn=function(e){A4(r,e);var t=F4(r);function r(n){B4(this,r);var o;return o=t.call(this,n),o.props=new dy(n==null?void 0:n.props),o}return j4(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}(B);sn.controlEventKeys=["on_click"],sn.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 z4(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 Nm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y4(e,t,r){return t&&Nm(e.prototype,t),r&&Nm(e,r),e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(e)}function G4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V4(e,t){return t&&(H4(t)==="object"||typeof t=="function")?t:z4(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}var H4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U4(e){var t=q4();return function(){var n=oi(e),o;if(t){var u=oi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return V4(this,o)}}var W4=function(e){G4(r,e);var t=U4(r);function r(n){x4(this,r);var o;return o=t.call(this,n),o.props=new dy(n==null?void 0:n.props),o}return Y4(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(V),km={Designer:sn,Runtime:W4,Property:dy},K4=Object.freeze({__proto__:null,Text:BO,Link:MO,Button:FO,Divider:WO,Title:eg,CreateFormListButton:ug,BatchSubmissionListButton:yg,SubmissionRecordListButton:hg,ExportListButton:bg,ExportRecordListButton:mg,ImportRecordListButton:Tg,FormSelectButton:kg,ListSelectButton:Fg,Pagination:Gg,Dashboard:Xg,ListViewSelect:rm,TextOcrButton:am,InvoiceCheckButton:hm,BatchPrintListButton:mm,BatchPrintRecordListButton:wm,OperationButton:ln,BatchDeleteButton:km});function X4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function py(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(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&&Oy(e,t)}function Q4(e,t){return t&&(J4(t)==="object"||typeof t=="function")?t:X4(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var J4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Z4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gy(e){var t=Z4();return function(){var n=ii(e),o;if(t){var u=ii(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Q4(this,o)}}var e5=function(e){by(r,e);var t=gy(r);function r(n){py(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:200,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue=[{type:"string",max:200,min:0,message:_.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=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Qt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(U),t5=function(e){by(r,e);var t=gy(r);function r(n){py(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:_.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Qt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(j),_t=function(e){by(r,e);var t=gy(r);function r(n){py(this,r);var o;o=t.call(this,n);var u;o.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:200;var f;o.minLength=(f=n==null?void 0:n.minLength)!==null&&f!==void 0?f:0,o.regularRules=new tl(n==null?void 0:n.regularRules);var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:pt.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165";var y;o.encrypted=(y=n==null?void 0:n.encrypted)!==null&&y!==void 0?y:!1;var v;return o.encryptedMode=(v=n==null?void 0:n.encryptedMode)!==null&&v!==void 0?v:"",o}return r}(I);_t.Rules=e5,_t.RuntimeRules=t5;function n5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o5(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(e,r),e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function i5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function u5(e,t){return t&&(c5(t)==="object"||typeof t=="function")?t:n5(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}var c5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a5(e){var t=f5();return function(){var n=ui(e),o;if(t){var u=ui(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return u5(this,o)}}var pt=function(e){i5(r,e);var t=a5(r);function r(n){r5(this,r);var o;return o=t.call(this,n),o.props=new _t(n==null?void 0:n.props),o}return o5(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}(C);pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=c.FieldTypes.VARCHAR,pt.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 l5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y5(e,t,r){return t&&jm(e.prototype,t),r&&jm(e,r),e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(e)}function v5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function d5(e,t){return t&&(h5(t)==="object"||typeof t=="function")?t:l5(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}var h5=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 p5(e){var t=_5();return function(){var n=ci(e),o;if(t){var u=ci(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return d5(this,o)}}var Am=function(e){v5(r,e);var t=p5(r);function r(n){s5(this,r);var o;return o=t.call(this,n),o.props=new _t(n==null?void 0:n.props),o}return y5(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(N);Am.controlFieldType=c.FieldTypes.VARCHAR;var Mm={Designer:pt,Runtime:Am,Property:_t};function b5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ry(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function wy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function O5(e,t){return t&&(g5(t)==="object"||typeof t=="function")?t:b5(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}var g5=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 $y(e){var t=m5();return function(){var n=fi(e),o;if(t){var u=fi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return O5(this,o)}}var P5=function(e){wy(r,e);var t=$y(r);function r(n){Ry(this,r);var o;o=t.call(this,n),o.limitMax={type:"number",min:void 0,message:_.getMessage("PleaseReselectTheOptionalQuantity")};var u=n.limitMax==="unlimited";u&&(o.limitMax.type="string");var f=function(a){return a==="unlimited"?void 0:a};return o.limitMax.min=f(n.limitMin),o}return r}(Le),R5=function(e){wy(r,e);var t=$y(r);function r(n){Ry(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),yn=function(e){wy(r,e);var t=$y(r);function r(n){Ry(this,r);var o;o=t.call(this,n);var u;o.options=ye((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{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 f;o.checkboxMode=(f=n==null?void 0:n.checkboxMode)!==null&&f!==void 0?f:"horizontal";var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var s;o.otherOption=(s=n==null?void 0:n.otherOption)!==null&&s!==void 0?s:!1;var y;o.limitMin=(y=n==null?void 0:n.limitMin)!==null&&y!==void 0?y:"unlimited";var v;o.limitMax=(v=n==null?void 0:n.limitMax)!==null&&v!==void 0?v:"unlimited",o.datasourceBind=new F(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:vn.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var p;o.optionsFormat=(p=n==null?void 0:n.optionsFormat)!==null&&p!==void 0?p:"horizontal";var g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!0;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(P){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new ee(P))})),o}return r}(I);yn.Rules=P5,yn.RuntimeRules=R5;function w5(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 Dm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $5(e,t,r){return t&&Dm(e.prototype,t),r&&Dm(e,r),e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function S5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sy(e,t)}function E5(e,t){return t&&(I5(t)==="object"||typeof t=="function")?t:w5(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}var I5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N5(e){var t=C5();return function(){var n=ai(e),o;if(t){var u=ai(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return E5(this,o)}}var vn=function(e){S5(r,e);var t=N5(r);function r(n){T5(this,r);var o;return o=t.call(this,n),o.props=new yn(n==null?void 0:n.props),o}return $5(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(C);vn.controlEventKeys=["on_change","on_click"],vn.controlFieldType=c.FieldTypes.ARRAY,vn.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 k5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B5(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 j5(e,t,r){return t&&Lm(e.prototype,t),r&&Lm(e,r),e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function A5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function M5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:k5(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}var D5=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 F5(e){var t=L5();return function(){var n=li(e),o;if(t){var u=li(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return M5(this,o)}}var Fm=function(e){A5(r,e);var t=F5(r);function r(n){B5(this,r);var o;return o=t.call(this,n),o.props=new yn(n==null?void 0:n.props),o}return j5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(N);Fm.controlFieldType=c.FieldTypes.ARRAY;var zm={Designer:vn,Runtime:Fm,Property:yn};function z5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(e)}function Ym(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function x5(e,t){return t&&(Y5(t)==="object"||typeof t=="function")?t:z5(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(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 Gm(e){var t=G5();return function(){var n=si(e),o;if(t){var u=si(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return x5(this,o)}}var V5=function(e){Ym(r,e);var t=Gm(r);function r(n){return xm(this,r),t.call(this,n)}return r}(Le),yi=function(e){Ym(r,e);var t=Gm(r);function r(n){xm(this,r);var o;o=t.call(this,n);var u;o.options=ye((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{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 f;o.radioMode=(f=n==null?void 0:n.radioMode)!==null&&f!==void 0?f:"horizontal";var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var s;o.optionsOrder=(s=n==null?void 0:n.optionsOrder)!==null&&s!==void 0?s:!1;var y;o.defaultShowOptions=(y=n==null?void 0:n.defaultShowOptions)!==null&&y!==void 0?y:!0;var v;o.optionsFormat=(v=n==null?void 0:n.optionsFormat)!==null&&v!==void 0?v:"horizontal",o.datasourceBind=new F(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:dn.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";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(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new ee(g))})),o}return r}(I);yi.Rules=V5;function H5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q5(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 U5(e,t,r){return t&&Vm(e.prototype,t),r&&Vm(e,r),e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function W5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function K5(e,t){return t&&(X5(t)==="object"||typeof t=="function")?t:H5(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}var X5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J5(e){var t=Q5();return function(){var n=vi(e),o;if(t){var u=vi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return K5(this,o)}}var dn=function(e){W5(r,e);var t=J5(r);function r(n){q5(this,r);var o;return o=t.call(this,n),o.props=new yi(n==null?void 0:n.props),o}return U5(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(C);dn.controlEventKeys=["on_change","on_click"],dn.controlFieldType=c.FieldTypes.VARCHAR,dn.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 Z5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t6(e,t,r){return t&&Hm(e.prototype,t),r&&Hm(e,r),e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function n6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function r6(e,t){return t&&(o6(t)==="object"||typeof t=="function")?t:Z5(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}var o6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u6(e){var t=i6();return function(){var n=di(e),o;if(t){var u=di(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return r6(this,o)}}var qm=function(e){n6(r,e);var t=u6(r);function r(n){e6(this,r);var o;return o=t.call(this,n),o.props=new yi(n==null?void 0:n.props),o}return t6(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(N);qm.controlFieldType=c.FieldTypes.VARCHAR;var Um={Designer:dn,Runtime:qm,Property:yi};function c6(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 hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function By(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jy(e,t)}function f6(e,t){return t&&(a6(t)==="object"||typeof t=="function")?t:c6(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}var a6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ay(e){var t=l6();return function(){var n=hi(e),o;if(t){var u=hi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return f6(this,o)}}var s6=function(e){By(r,e);var t=Ay(r);function r(n){ky(this,r);var o;o=t.call(this,n),o.defaultValue=[{type:"number",min:0,max:200,message:_.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],o.rangeMax={type:"any"};var u=n.rangeMax===""?void 0:n.rangeMax,f=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=u,o.defaultValue[0].min=f,o.defaultValue[0].message=_.getMessage("pleaseEnterNumberRange",{max:u,min:f}),f&&u!==void 0&&(o.rangeMax={type:"number",min:f,message:_.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Qt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(U),y6=function(e){By(r,e);var t=Ay(r);function r(n){ky(this,r);var o;o=t.call(this,n),o[0].type="number";var u=n.rangeMax!==""?n.rangeMax:void 0,f=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:u,min:f,message:_.getMessage(u===void 0?"pleaseEnterAValueGreaterThanMin":f===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:u,min:f})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Qt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(j),hn=function(e){By(r,e);var t=Ay(r);function r(n){ky(this,r);var o;o=t.call(this,n);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.numberType=(a=n==null?void 0:n.numberType)!==null&&a!==void 0?a:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var s;o.micrometer=(s=n==null?void 0:n.micrometer)!==null&&s!==void 0?s:!1;var y;o.precision=(y=n==null?void 0:n.precision)!==null&&y!==void 0?y:0;var v;o.showUpperCase=(v=n==null?void 0:n.showUpperCase)!==null&&v!==void 0?v:!1;var d;o.isShowUnit=(d=n==null?void 0:n.isShowUnit)!==null&&d!==void 0?d:!1;var b;o.unitPosition=(b=n==null?void 0:n.unitPosition)!==null&&b!==void 0?b:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:_n.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var h;return o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:"",o.regularRules=new tl(n==null?void 0:n.regularRules),o}return r}(I);hn.Rules=s6,hn.RuntimeRules=y6;function v6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 h6(e,t,r){return t&&Wm(e.prototype,t),r&&Wm(e,r),e}function _i(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_i=Reflect.get:_i=function(o,u,f){var a=b6(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},_i(e,t,r||e)}function bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bt(e)}function _6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p6(e,t){return t&&(O6(t)==="object"||typeof t=="function")?t:v6(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function b6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=bt(e),e!==null););return e}var O6=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 m6(e){var t=g6();return function(){var n=bt(e),o;if(t){var u=bt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return p6(this,o)}}var _n=function(e){_6(r,e);var t=m6(r);function r(n){d6(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return h6(r,[{key:"toDataBindModel",value:function(o){var u=_i(bt(r.prototype),"toDataBindModel",this).call(this,o);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}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(C);_n.controlEventKeys=["on_change","on_input","on_focus","on_blur"],_n.controlFieldType=c.FieldTypes.DECIMAL,_n.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 P6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Km(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w6(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(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&&Dy(e,t)}function $6(e,t){return t&&(S6(t)==="object"||typeof t=="function")?t:P6(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}var S6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I6(e){var t=E6();return function(){var n=pi(e),o;if(t){var u=pi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $6(this,o)}}var Xm=function(e){T6(r,e);var t=I6(r);function r(n){R6(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return w6(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(N);Xm.controlFieldType=c.FieldTypes.DECIMAL;var Qm={Designer:_n,Runtime:Xm,Property:hn};function C6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(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&&Ly(e,t)}function B6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:C6(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var j6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M6(e){var t=A6();return function(){var n=bi(e),o;if(t){var u=bi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return B6(this,o)}}var Fy=function(e){k6(r,e);var t=M6(r);function r(n){N6(this,r);var o,u;o=t.call(this,n);var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:c.DateType.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:gi.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u65E5\u671F";var d;o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"";var b;o.limitDateList=(b=n==null||(u=n.limitDateList)===null||u===void 0?void 0:u.map(function(g){return new zr(g)}))!==null&&b!==void 0?b:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var p;return o.filterWeekend=(p=n==null?void 0:n.filterWeekend)!==null&&p!==void 0?p:!1,o}return r}(I);function D6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F6(e,t,r){return t&&Jm(e.prototype,t),r&&Jm(e,r),e}function Oi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Oi=Reflect.get:Oi=function(o,u,f){var a=Y6(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Oi(e,t,r||e)}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(e)}function z6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x6(e,t){return t&&(G6(t)==="object"||typeof t=="function")?t:D6(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}function Y6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var G6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H6(e){var t=V6();return function(){var n=Ot(e),o;if(t){var u=Ot(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return x6(this,o)}}var gi=function(e){z6(r,e);var t=H6(r);function r(n){L6(this,r);var o;return o=t.call(this,n),o.props=new Fy(n==null?void 0:n.props),o}return F6(r,[{key:"toDataBindModel",value:function(o){var u=Oi(Ot(r.prototype),"toDataBindModel",this).call(this,o);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(C);gi.controlFieldType=c.FieldTypes.TIMESTAMP,gi.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:"date-common-time-setting",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 q6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U6(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 W6(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(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&&xy(e,t)}function X6(e,t){return t&&(Q6(t)==="object"||typeof t=="function")?t:q6(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}var Q6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z6(e){var t=J6();return function(){var n=mi(e),o;if(t){var u=mi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return X6(this,o)}}var e0=function(e){K6(r,e);var t=Z6(r);function r(n){U6(this,r);var o;return o=t.call(this,n),o.props=new Fy(n==null?void 0:n.props),o}return W6(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(N);e0.controlFieldType=c.FieldTypes.TIMESTAMP;var t0={Designer:gi,Runtime:e0,Property:Fy};function e7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n0(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 r0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:e7(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}var n7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o0(e){var t=r7();return function(){var n=Pi(e),o;if(t){var u=Pi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return t7(this,o)}}var o7=function(e){r0(r,e);var t=o0(r);function r(n){n0(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),Ri=function(e){r0(r,e);var t=o0(r);function r(n){n0(this,r);var o,u;o=t.call(this,n),o.dataBind=new Mb(n==null?void 0:n.dataBind),o.defaultValue=new Db(n==null?void 0:n.defaultValue);var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:c.DateType.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var y;o.rangeMin=(y=n==null?void 0:n.rangeMin)!==null&&y!==void 0?y:"";var v;o.rangeMax=(v=n==null?void 0:n.rangeMax)!==null&&v!==void 0?v:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Ti.controlName;var p;return o.limitDateList=(p=n==null||(u=n.limitDateList)===null||u===void 0?void 0:u.map(function(g){return new zr(g)}))!==null&&p!==void 0?p:[],o}return r}(I);Ri.RuntimeRules=o7;function i7(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 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 c7(e,t,r){return t&&i0(e.prototype,t),r&&i0(e,r),e}function wi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wi=Reflect.get:wi=function(o,u,f){var a=l7(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},wi(e,t,r||e)}function gt(e){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gt(e)}function f7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function a7(e,t){return t&&(s7(t)==="object"||typeof t=="function")?t:i7(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function l7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gt(e),e!==null););return e}var s7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v7(e){var t=y7();return function(){var n=gt(e),o;if(t){var u=gt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return a7(this,o)}}var Ti=function(e){f7(r,e);var t=v7(r);function r(n){u7(this,r);var o;return o=t.call(this,n),o.props=new Ri(n==null?void 0:n.props),o}return c7(r,[{key:"toDataBindModel",value:function(o){var u=wi(gt(r.prototype),"toDataBindModel",this).call(this,o);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(C);Ti.controlFieldType=c.FieldTypes.TIMESCOPE,Ti.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:"date-common-time-setting",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 d7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _7(e,t,r){return t&&u0(e.prototype,t),r&&u0(e,r),e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(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&&Vy(e,t)}function b7(e,t){return t&&(O7(t)==="object"||typeof t=="function")?t:d7(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}var O7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m7(e){var t=g7();return function(){var n=$i(e),o;if(t){var u=$i(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return b7(this,o)}}var c0=function(e){p7(r,e);var t=m7(r);function r(n){h7(this,r);var o;return o=t.call(this,n),o.props=new Ri(n==null?void 0:n.props),o}return _7(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(N);c0.controlFieldType=c.FieldTypes.TIMESCOPE;var f0={Designer:Ti,Runtime:c0,Property:Ri};function P7(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 Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function qy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R7(e,t){return t&&(w7(t)==="object"||typeof t=="function")?t:P7(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}var w7=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 Wy(e){var t=T7();return function(){var n=Si(e),o;if(t){var u=Si(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return R7(this,o)}}var $7=function(e){qy(r,e);var t=Wy(r);function r(n){Hy(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:_.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=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(U),S7=function(e){qy(r,e);var t=Wy(r);function r(n){Hy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(j),pn=function(e){qy(r,e);var t=Wy(r);function r(n){Hy(this,r);var o;o=t.call(this,n);var u;o.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:5e4;var f;o.minLength=(f=n==null?void 0:n.minLength)!==null&&f!==void 0?f:0;var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:bn.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165";var y;return o.lineEllipsis=(y=n==null?void 0:n.lineEllipsis)!==null&&y!==void 0?y:4,o}return r}(I);pn.Rules=$7,pn.RuntimeRules=S7;function E7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I7(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 C7(e,t,r){return t&&a0(e.prototype,t),r&&a0(e,r),e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(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&&Ky(e,t)}function k7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:E7(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}var B7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A7(e){var t=j7();return function(){var n=Ei(e),o;if(t){var u=Ei(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return k7(this,o)}}var bn=function(e){N7(r,e);var t=A7(r);function r(n){I7(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return C7(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}(C);bn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],bn.controlFieldType=c.FieldTypes.TEXT,bn.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 M7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L7(e,t,r){return t&&l0(e.prototype,t),r&&l0(e,r),e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function F7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:M7(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}var x7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G7(e){var t=Y7();return function(){var n=Ii(e),o;if(t){var u=Ii(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return z7(this,o)}}var s0=function(e){F7(r,e);var t=G7(r);function r(n){D7(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return L7(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(N);s0.controlFieldType=c.FieldTypes.TEXT;var y0={Designer:bn,Runtime:s0,Property:pn};function V7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function 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&&Zy(e,t)}function H7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:V7(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var q7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ev(e){var t=U7();return function(){var n=Ci(e),o;if(t){var u=Ci(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return H7(this,o)}}var W7=function(e){Jy(r,e);var t=ev(r);function r(n){Qy(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:_.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=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(U),K7=function(e){Jy(r,e);var t=ev(r);function r(n){Qy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(j),On=function(e){Jy(r,e);var t=ev(r);function r(n){Qy(this,r);var o;o=t.call(this,n);var u;o.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:5e4;var f;o.minLength=(f=n==null?void 0:n.minLength)!==null&&f!==void 0?f:0;var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:gn.controlName;var s;return o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165",o}return r}(I);On.Rules=W7,On.RuntimeRules=K7;function X7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 J7(e,t,r){return t&&v0(e.prototype,t),r&&v0(e,r),e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(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&&tv(e,t)}function e8(e,t){return t&&(t8(t)==="object"||typeof t=="function")?t:X7(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var t8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r8(e){var t=n8();return function(){var n=Ni(e),o;if(t){var u=Ni(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return e8(this,o)}}var gn=function(e){Z7(r,e);var t=r8(r);function r(n){Q7(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return J7(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}(C);gn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gn.controlFieldType=c.FieldTypes.TEXT,gn.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 o8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u8(e,t,r){return t&&d0(e.prototype,t),r&&d0(e,r),e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function c8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function f8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:o8(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}var a8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s8(e){var t=l8();return function(){var n=ki(e),o;if(t){var u=ki(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return f8(this,o)}}var h0=function(e){c8(r,e);var t=s8(r);function r(n){i8(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return u8(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(N);h0.controlFieldType=c.FieldTypes.TEXT;var _0={Designer:gn,Runtime:h0,Property:On};function y8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(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&&rv(e,t)}function v8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:y8(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}var d8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O0(e){var t=h8();return function(){var n=Bi(e),o;if(t){var u=Bi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return v8(this,o)}}var _8=function(e){b0(r,e);var t=O0(r);function r(n){return p0(this,r),t.call(this,n)}return r}(Le),ji=function(e){b0(r,e);var t=O0(r);function r(n){p0(this,r);var o;o=t.call(this,n);var u;o.options=ye((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{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 f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"custom",o.datasourceBind=new F(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Mi.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var v;o.allowCopyOptions=(v=n==null?void 0:n.allowCopyOptions)!==null&&v!==void 0?v:!1;var d;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(p){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new ee(p))}));var b;o.canViewForm=(b=n==null?void 0:n.canViewForm)!==null&&b!==void 0?b:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new De(n==null?void 0:n.formBind),o}return r}(I);ji.Rules=_8;function p8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 O8(e,t,r){return t&&g0(e.prototype,t),r&&g0(e,r),e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(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&&ov(e,t)}function m8(e,t){return t&&(P8(t)==="object"||typeof t=="function")?t:p8(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(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=Ai(e),o;if(t){var u=Ai(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return m8(this,o)}}var Mi=function(e){g8(r,e);var t=w8(r);function r(n){b8(this,r);var o;return o=t.call(this,n),o.props=new ji(n==null?void 0:n.props),o}return O8(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(C);Mi.controlFieldType=c.FieldTypes.VARCHAR,Mi.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.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE,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 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 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 S8(e,t,r){return t&&m0(e.prototype,t),r&&m0(e,r),e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(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&&iv(e,t)}function I8(e,t){return t&&(C8(t)==="object"||typeof t=="function")?t:T8(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(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 k8(e){var t=N8();return function(){var n=Di(e),o;if(t){var u=Di(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return I8(this,o)}}var P0=function(e){E8(r,e);var t=k8(r);function r(n){$8(this,r);var o;return o=t.call(this,n),o.props=new ji(n==null?void 0:n.props),o}return S8(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(N);P0.controlFieldType=c.FieldTypes.VARCHAR;var R0={Designer:Mi,Runtime:P0,Property:ji};function B8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(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&&fv(e,t)}function j8(e,t){return t&&(A8(t)==="object"||typeof t=="function")?t:B8(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var A8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function av(e){var t=M8();return function(){var n=Li(e),o;if(t){var u=Li(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return j8(this,o)}}var D8=function(e){cv(r,e);var t=av(r);function r(n){return uv(this,r),t.call(this,n)}return r}(Le),L8=function(e){cv(r,e);var t=av(r);function r(n){uv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),mn=function(e){cv(r,e);var t=av(r);function r(n){uv(this,r);var o;o=t.call(this,n);var u;o.options=ye((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{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 f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"custom",o.datasourceBind=new F(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:zi.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;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 p;(p=o.multistageFilling)===null||p===void 0||p.push(new ee(O))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new De(n==null?void 0:n.formBind),o}return r}(I);mn.Rules=D8,mn.RuntimeRules=L8;function F8(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 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 x8(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(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&&lv(e,t)}function G8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:F8(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}var V8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q8(e){var t=H8();return function(){var n=Fi(e),o;if(t){var u=Fi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return G8(this,o)}}var zi=function(e){Y8(r,e);var t=q8(r);function r(n){z8(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return x8(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}(C);zi.controlFieldType=c.FieldTypes.ARRAY,zi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];function U8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W8(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 K8(e,t,r){return t&&T0(e.prototype,t),r&&T0(e,r),e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function X8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function Q8(e,t){return t&&(J8(t)==="object"||typeof t=="function")?t:U8(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}var J8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Z8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e9(e){var t=Z8();return function(){var n=xi(e),o;if(t){var u=xi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Q8(this,o)}}var $0=function(e){X8(r,e);var t=e9(r);function r(n){W8(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return K8(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);$0.controlFieldType=c.FieldTypes.ARRAY;var S0={Designer:zi,Runtime:$0,Property:mn};function t9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function I0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function n9(e,t){return t&&(r9(t)==="object"||typeof t=="function")?t:t9(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}var r9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C0(e){var t=o9();return function(){var n=Yi(e),o;if(t){var u=Yi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return n9(this,o)}}var i9=function(e){I0(r,e);var t=C0(r);function r(n){E0(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Gi=function(e){I0(r,e);var t=C0(r);function r(n){E0(this,r);var o;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var s;o.defaultValueType=(s=n==null?void 0:n.defaultValueType)!==null&&s!==void 0?s:"none";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Hi.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";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(O){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new ee(O))})),o}return r}(I);Gi.RuntimeRules=i9;function u9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 f9(e,t,r){return t&&N0(e.prototype,t),r&&N0(e,r),e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function a9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function l9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:u9(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}var s9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v9(e){var t=y9();return function(){var n=Vi(e),o;if(t){var u=Vi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return l9(this,o)}}var Hi=function(e){a9(r,e);var t=v9(r);function r(n){c9(this,r);var o;return o=t.call(this,n),o.props=new Gi(n==null?void 0:n.props),o}return f9(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(C);Hi.controlFieldType=c.FieldTypes.EMPLOYEES,Hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.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 d9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _9(e,t,r){return t&&k0(e.prototype,t),r&&k0(e,r),e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(e)}function p9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function b9(e,t){return t&&(O9(t)==="object"||typeof t=="function")?t:d9(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}var O9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m9(e){var t=g9();return function(){var n=qi(e),o;if(t){var u=qi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return b9(this,o)}}var B0=function(e){p9(r,e);var t=m9(r);function r(n){h9(this,r);var o;return o=t.call(this,n),o.props=new Gi(n==null?void 0:n.props),o}return _9(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(N);B0.controlFieldType=c.FieldTypes.EMPLOYEES;var j0={Designer:Hi,Runtime:B0,Property:Gi};function P9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hv(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 _v(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function R9(e,t){return t&&(w9(t)==="object"||typeof t=="function")?t:P9(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}var w9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bv(e){var t=T9();return function(){var n=Ui(e),o;if(t){var u=Ui(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return R9(this,o)}}var $9=10485760,S9=104857600,E9=1048576e3,I9=function(e){_v(r,e);var t=bv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),o.maxSize={type:"number",min:0,max:E9,message:_.getMessage("attachmentMaxSize")},o}return r}(U),C9=function(e){_v(r,e);var t=bv(r);function r(n){hv(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:_.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(j),mt=function(e){_v(r,e);var t=bv(r);function r(n){hv(this,r);var o;o=t.call(this,n);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:[];var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"default";var a;o.attachmentAccept=(a=n==null?void 0:n.attachmentAccept)!==null&&a!==void 0?a:[];var l;o.maxLimit=(l=n==null?void 0:n.maxLimit)!==null&&l!==void 0?l:10;var s;o.minLimit=(s=n==null?void 0:n.minLimit)!==null&&s!==void 0?s:0;var y;o.maxSize=(y=n==null?void 0:n.maxSize)!==null&&y!==void 0?y:S9;var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Pt.controlName;var d;return o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(I);mt.Rules=I9,mt.RuntimeRules=C9;function N9(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 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 B9(e,t,r){return t&&A0(e.prototype,t),r&&A0(e,r),e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function j9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function A9(e,t){return t&&(M9(t)==="object"||typeof t=="function")?t:N9(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(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=Wi(e),o;if(t){var u=Wi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return A9(this,o)}}var Pt=function(e){j9(r,e);var t=L9(r);function r(n){k9(this,r);var o;return o=t.call(this,n),o.props=new mt(n==null?void 0:n.props),o}return B9(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(C);Pt.controlEventKeys=["on_change"],Pt.controlFieldType=c.FieldTypes.FILE,Pt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!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 F9(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 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 x9(e,t,r){return t&&M0(e.prototype,t),r&&M0(e,r),e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function Y9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G9(e,t){return t&&(V9(t)==="object"||typeof t=="function")?t:F9(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var V9=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=Ki(e),o;if(t){var u=Ki(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return G9(this,o)}}var mv=function(e){Y9(r,e);var t=q9(r);function r(n){z9(this,r);var o;return o=t.call(this,n),o.props=new mt(n==null?void 0:n.props),o}return x9(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(N);mv.controlFieldType=c.FieldTypes.FILE;var D0={Designer:Pt,Runtime:mv,Property:mt};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 L0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K9(e,t,r){return t&&L0(e.prototype,t),r&&L0(e,r),e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(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&&Pv(e,t)}function Q9(e,t){return t&&(J9(t)==="object"||typeof t=="function")?t:U9(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(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=Xi(e),o;if(t){var u=Xi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Q9(this,o)}}var Rv=function(e){X9(r,e);var t=ez(r);function r(n){W9(this,r);var o,u,f;o=t.call(this,n),o.props.showType="image";var a;o.props.caption=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:r.controlName;var l;return o.props.placeholder=(l=n==null||(f=n.props)===null||f===void 0?void 0:f.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return K9(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Pt);Rv.controlFieldType=c.FieldTypes.IMAGE,Rv.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 tz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rz(e,t,r){return t&&F0(e.prototype,t),r&&F0(e,r),e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(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&&wv(e,t)}function iz(e,t){return t&&(uz(t)==="object"||typeof t=="function")?t:tz(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}var uz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fz(e){var t=cz();return function(){var n=Qi(e),o;if(t){var u=Qi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return iz(this,o)}}var az=function(e){oz(r,e);var t=fz(r);function r(n){nz(this,r);var o,u,f,a;o=t.call(this,n),o.props.showType="image";var l;o.props.maxLimit=(l=n==null||(u=n.props)===null||u===void 0?void 0:u.maxLimit)!==null&&l!==void 0?l:9;var s;o.props.caption=(s=n==null||(f=n.props)===null||f===void 0?void 0:f.caption)!==null&&s!==void 0?s:"\u56FE\u7247";var y;return o.props.placeholder=(y=n==null||(a=n.props)===null||a===void 0?void 0:a.placeholder)!==null&&y!==void 0?y:"\u4E0A\u4F20\u56FE\u7247",o}return rz(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(mv);function lz(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 Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(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&&Tv(e,t)}function vz(e,t){return t&&(dz(t)==="object"||typeof t=="function")?t:lz(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(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 _z(e){var t=hz();return function(){var n=Ji(e),o;if(t){var u=Ji(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return vz(this,o)}}var pz=function(e){yz(r,e);var t=_z(r);function r(n){return sz(this,r),t.call(this,n)}return r}(mt),z0={Designer:Rv,Runtime:az,Property:pz};function bz(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 Oz(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 Sv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function gz(e){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){Oz(e,o,r[o])})}return e}function mz(e,t){return t&&(Pz(t)==="object"||typeof t=="function")?t:bz(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}var Pz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iv(e){var t=Rz();return function(){var n=Zi(e),o;if(t){var u=Zi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return mz(this,o)}}var wz=function(e){Sv(r,e);var t=Iv(r);function r(n){$v(this,r);var o;o=t.call(this,n),o.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:_.getMessage("pleaseEnterNumberRange")}]}},o.rangeMax={type:"any"};var u=n.rangeMax===""?void 0:n.rangeMax,f=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=u,o.defaultValue.fields.amount[0].min=f,o.defaultValue.fields.amount[0].message=_.getMessage("pleaseEnterNumberRange",{max:u,min:f}),f&&u!==void 0&&(o.rangeMax={type:"number",min:f,message:_.getMessage("numberRangeSetError")}),o}return r}(Le),Tz=function(e){Sv(r,e);var t=Iv(r);function r(n){$v(this,r);var o;o=t.call(this,n),o[0].type="object";var u=n.rangeMax===""?void 0:n.rangeMax,f=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[gz({},o[0],{type:"number"}),{type:"number",min:f,max:u,message:_.getMessage(u===void 0?"pleaseEnterAValueGreaterThanMin":f===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:u,min:f})}],currency:{type:"string"}}}),o}return r}(j),Pn=function(e){Sv(r,e);var t=Iv(r);function r(n){$v(this,r);var o;o=t.call(this,n);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.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"datasource";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:2,o.dataBind=new jb(n==null?void 0:n.dataBind);var y;o.datasourceBind=new F((y=n==null?void 0:n.datasourceBind)!==null&&y!==void 0?y:{displayBoList:[new nr({value:"name"})]});var v;o.defaultValue=new Ab((v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=ye(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Rn.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var p;return o.showUpperCase=(p=n==null?void 0:n.showUpperCase)!==null&&p!==void 0?p:!1,o}return r}(I);Pn.Rules=wz,Pn.RuntimeRules=Tz;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 x0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ez(e,t,r){return t&&x0(e.prototype,t),r&&x0(e,r),e}function eu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?eu=Reflect.get:eu=function(o,u,f){var a=Nz(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},eu(e,t,r||e)}function Rt(e){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rt(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&&Cv(e,t)}function Cz(e,t){return t&&(kz(t)==="object"||typeof t=="function")?t:$z(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}function Nz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rt(e),e!==null););return e}var kz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jz(e){var t=Bz();return function(){var n=Rt(e),o;if(t){var u=Rt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Cz(this,o)}}var Rn=function(e){Iz(r,e);var t=jz(r);function r(n){Sz(this,r);var o;return o=t.call(this,n),o.props=new Pn(n==null?void 0:n.props),o}return Ez(r,[{key:"toDataBindModel",value:function(o){var u=eu(Rt(r.prototype),"toDataBindModel",this).call(this,o);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}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(C);Rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Rn.controlFieldType=c.FieldTypes.MONEY,Rn.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 Az(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Dz(e,t,r){return t&&Y0(e.prototype,t),r&&Y0(e,r),e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(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&&Nv(e,t)}function Fz(e,t){return t&&(zz(t)==="object"||typeof t=="function")?t:Az(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}var zz=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 Yz(e){var t=xz();return function(){var n=tu(e),o;if(t){var u=tu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Fz(this,o)}}var G0=function(e){Lz(r,e);var t=Yz(r);function r(n){Mz(this,r);var o;return o=t.call(this,n),o.props=new Pn(n==null?void 0:n.props),o}return Dz(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(N);G0.controlFieldType=c.FieldTypes.MONEY;var V0={Designer:Rn,Runtime:G0,Property:Pn};function Gz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function Bv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function Vz(e,t){return t&&(Hz(t)==="object"||typeof t=="function")?t:Gz(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var Hz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Av(e){var t=qz();return function(){var n=nu(e),o;if(t){var u=nu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Vz(this,o)}}var Uz=function(e){Bv(r,e);var t=Av(r);function r(n){kv(this,r);var o;return o=t.call(this,n),o.totalScore=[{type:"number",required:!0,message:_.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:_.getMessage("theTotalScoreMustNotBeLessThan1")}],o.defaultValue={type:"number",min:0,max:5,message:_.getMessage("scoreDefaultValueRange")},o.defaultValue.max=n.totalScore,o.defaultValue.message=_.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(U),Wz=function(e){Bv(r,e);var t=Av(r);function r(n){kv(this,r);var o;o=t.call(this,n),o[0].type="number";var u=n.required?1:0;return o.push({type:"number",min:u,max:n.totalScore,message:_.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:u})}),o}return r}(j),wn=function(e){Bv(r,e);var t=Av(r);function r(n){kv(this,r);var o,u;o=t.call(this,n);var f;o.totalScore=(f=n==null?void 0:n.totalScore)!==null&&f!==void 0?f:5;var a;o.scoreType=(a=n==null?void 0:n.scoreType)!==null&&a!==void 0?a:c.SCORE_TYPE.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var s;o.explain=(s=n==null||(u=n.explain)===null||u===void 0?void 0:u.map(function(d){return new xr(d)}))!==null&&s!==void 0?s:Array(o.totalScore).fill(void 0).map(function(){return new xr});var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:0;var v;return o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Tn.controlName,o}return r}(I);wn.Rules=Uz,wn.RuntimeRules=Wz;function Mv(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 Kz(e){if(Array.isArray(e))return Mv(e)}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 H0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jz(e,t,r){return t&&H0(e.prototype,t),r&&H0(e,r),e}function ru(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ru=Reflect.get:ru=function(o,u,f){var a=rx(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},ru(e,t,r||e)}function wt(e){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wt(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&&Dv(e,t)}function ex(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tx(){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 nx(e,t){return t&&(ix(t)==="object"||typeof t=="function")?t:Xz(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function rx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wt(e),e!==null););return e}function ox(e){return Kz(e)||ex(e)||ux(e)||tx()}var ix=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ux(e,t){if(!!e){if(typeof e=="string")return Mv(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 Mv(e,t)}}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=wt(e),o;if(t){var u=wt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nx(this,o)}}var Tn=function(e){Zz(r,e);var t=fx(r);function r(n){Qz(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return Jz(r,[{key:"postUpdate",value:function(o,u){if(o==="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 xr});(f=this.props.explain).push.apply(f,ox(l))}}ru(wt(r.prototype),"postUpdate",this).call(this,o,u)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(C);Tn.controlEventKeys=["on_change","on_click"],Tn.controlFieldType=c.FieldTypes.DECIMAL,Tn.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 lx(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 sx(e,t,r){return t&&q0(e.prototype,t),r&&q0(e,r),e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function yx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vx(e,t){return t&&(dx(t)==="object"||typeof t=="function")?t:ax(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var dx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _x(e){var t=hx();return function(){var n=ou(e),o;if(t){var u=ou(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return vx(this,o)}}var U0=function(e){yx(r,e);var t=_x(r);function r(n){lx(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return sx(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(N);U0.controlFieldType=c.FieldTypes.DECIMAL;var W0={Designer:Tn,Runtime:U0,Property:wn};function px(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K0(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 X0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function bx(e,t){return t&&(Ox(t)==="object"||typeof t=="function")?t:px(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var Ox=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q0(e){var t=gx();return function(){var n=iu(e),o;if(t){var u=iu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bx(this,o)}}var mx=function(e){X0(r,e);var t=Q0(r);function r(n){K0(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var u={type:"object",fields:{province:{type:"string",required:n.required,message:_.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(u.fields.city={type:"string",required:n.required,message:_.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(u.fields.district={type:"string",required:n.required,message:_.getMessage("pleaseSelectDistrict")}),o.push(u)}return o}return r}(j),uu=function(e){X0(r,e);var t=Q0(r);function r(n){K0(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:fu.controlName;var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"default";var a;o.addressType=(a=n==null?void 0:n.addressType)!==null&&a!==void 0?a:["province","city","district"];var l;o.defaultValue=new Lb((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var s;return o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(I);uu.RuntimeRules=mx;function Px(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wx(e,t,r){return t&&J0(e.prototype,t),r&&J0(e,r),e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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&&zv(e,t)}function $x(e,t){return t&&(Sx(t)==="object"||typeof t=="function")?t:Px(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}var Sx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ex(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ix(e){var t=Ex();return function(){var n=cu(e),o;if(t){var u=cu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $x(this,o)}}var fu=function(e){Tx(r,e);var t=Ix(r);function r(n){Rx(this,r);var o;return o=t.call(this,n),o.props=new uu(n==null?void 0:n.props),o}return wx(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(C);fu.controlFieldType=c.FieldTypes.ADDRESS,fu.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 Cx(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 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 kx(e,t,r){return t&&Z0(e.prototype,t),r&&Z0(e,r),e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function Bx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function jx(e,t){return t&&(Ax(t)==="object"||typeof t=="function")?t:Cx(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}var Ax=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dx(e){var t=Mx();return function(){var n=au(e),o;if(t){var u=au(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return jx(this,o)}}var eP=function(e){Bx(r,e);var t=Dx(r);function r(n){Nx(this,r);var o;return o=t.call(this,n),o.props=new uu(n==null?void 0:n.props),o}return kx(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(N);eP.controlFieldType=c.FieldTypes.ADDRESS;var tP={Designer:fu,Runtime:eP,Property:uu};function Lx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function rP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fx(e,t){return t&&(zx(t)==="object"||typeof t=="function")?t:Lx(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}var zx=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 oP(e){var t=xx();return function(){var n=lu(e),o;if(t){var u=lu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Fx(this,o)}}var Yx=function(e){rP(r,e);var t=oP(r);function r(n){nP(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),su=function(e){rP(r,e);var t=oP(r);function r(n){nP(this,r);var o;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.range=(a=n==null?void 0:n.range)!==null&&a!==void 0?a:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.rangeOptions=(s=n==null?void 0:n.rangeOptions)!==null&&s!==void 0?s:[];var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;o.displayLevel=(v=n==null?void 0:n.displayLevel)!==null&&v!==void 0?v:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:$n.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";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(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new ee(g))})),o}return r}(I);su.RuntimeRules=Yx;function Gx(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 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 Hx(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function yu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yu=Reflect.get:yu=function(o,u,f){var a=Wx(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},yu(e,t,r||e)}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tt(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&&Gv(e,t)}function Ux(e,t){return t&&(Kx(t)==="object"||typeof t=="function")?t:Gx(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function Wx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tt(e),e!==null););return e}var Kx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qx(e){var t=Xx();return function(){var n=Tt(e),o;if(t){var u=Tt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ux(this,o)}}var $n=function(e){qx(r,e);var t=Qx(r);function r(n){Vx(this,r);var o;return o=t.call(this,n),o.props=new su(n==null?void 0:n.props),o}return Hx(r,[{key:"toDataBindModel",value:function(o){var u=yu(Tt(r.prototype),"toDataBindModel",this).call(this,o);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}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(C);$n.controlName="\u90E8\u95E8",$n.controlFieldType=c.FieldTypes.DEPARTMENTS,$n.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.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 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 uP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eY(e,t,r){return t&&uP(e.prototype,t),r&&uP(e,r),e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function tY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function nY(e,t){return t&&(rY(t)==="object"||typeof t=="function")?t:Jx(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}var rY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iY(e){var t=oY();return function(){var n=vu(e),o;if(t){var u=vu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nY(this,o)}}var cP=function(e){tY(r,e);var t=iY(r);function r(n){Zx(this,r);var o;return o=t.call(this,n),o.props=new su(n==null?void 0:n.props),o}return eY(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(N);cP.controlFieldType=c.FieldTypes.DEPARTMENTS;var fP={Designer:$n,Runtime:cP,Property:su};function uY(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 du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function fY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function aY(e,t){return t&&(lY(t)==="object"||typeof t=="function")?t:uY(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var lY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yY(e){var t=sY();return function(){var n=du(e),o;if(t){var u=du(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aY(this,o)}}var qv=function(e){fY(r,e);var t=yY(r);function r(n){cY(this,r);var o;o=t.call(this,n);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Sn.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(I);function vY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hY(e,t,r){return t&&aP(e.prototype,t),r&&aP(e,r),e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(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&&Uv(e,t)}function pY(e,t){return t&&(bY(t)==="object"||typeof t=="function")?t:vY(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var bY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gY(e){var t=OY();return function(){var n=hu(e),o;if(t){var u=hu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pY(this,o)}}var Sn=function(e){_Y(r,e);var t=gY(r);function r(n){dY(this,r);var o;return o=t.call(this,n),o.props=new qv(n==null?void 0:n.props),o}return hY(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}(C);Sn.controlEventKeys=["on_change"],Sn.controlFieldType=c.FieldTypes.AUTO_NUMBER,Sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function mY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RY(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function wY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function TY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:mY(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}var $Y=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EY(e){var t=SY();return function(){var n=_u(e),o;if(t){var u=_u(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return TY(this,o)}}var sP=function(e){wY(r,e);var t=EY(r);function r(n){PY(this,r);var o;return o=t.call(this,n),o.props=new qv(n==null?void 0:n.props),o}return RY(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(N);sP.controlFieldType=c.FieldTypes.AUTO_NUMBER;var yP={Designer:Sn,Runtime:sP,Property:qv};function IY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function Xv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function CY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:IY(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}var NY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jv(e){var t=kY();return function(){var n=pu(e),o;if(t){var u=pu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return CY(this,o)}}var BY=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(U),jY=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:_.getMessage("isNotObject"),fields:{result:[{type:"number",message:_.getMessage("isNotNumber")}],unit:{type:"string",message:_.getMessage("isNotString")}}}),o}return r}(j),En=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;o=t.call(this,n);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.showUpperCase=(a=n==null?void 0:n.showUpperCase)!==null&&a!==void 0?a:!1,o.dataBind=new Fb(n==null?void 0:n.dataBind),o.defaultValue=new zb(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:In.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165";var y;o.scriptEcho=(y=n==null?void 0:n.scriptEcho)!==null&&y!==void 0?y:[];var v;return o.scriptSrc=(v=n==null?void 0:n.scriptSrc)!==null&&v!==void 0?v:"",o}return r}(I);En.Rules=BY,En.RuntimeRules=jY;function AY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 DY(e,t,r){return t&&vP(e.prototype,t),r&&vP(e,r),e}function bu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?bu=Reflect.get:bu=function(o,u,f){var a=zY(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},bu(e,t,r||e)}function $t(e){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$t(e)}function LY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function FY(e,t){return t&&(xY(t)==="object"||typeof t=="function")?t:AY(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function zY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$t(e),e!==null););return e}var xY=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=$t(e),o;if(t){var u=$t(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FY(this,o)}}var In=function(e){LY(r,e);var t=GY(r);function r(n){MY(this,r);var o;return o=t.call(this,n),o.props=new En(n==null?void 0:n.props),o}return DY(r,[{key:"toDataBindModel",value:function(o){var u=bu($t(r.prototype),"toDataBindModel",this).call(this,o);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}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(C);In.controlEventKeys=["on_change"],In.controlFieldType=c.FieldTypes.CALC,In.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 VY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qY(e,t,r){return t&&dP(e.prototype,t),r&&dP(e,r),e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function UY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:VY(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var KY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QY(e){var t=XY();return function(){var n=Ou(e),o;if(t){var u=Ou(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return WY(this,o)}}var hP=function(e){UY(r,e);var t=QY(r);function r(n){HY(this,r);var o;return o=t.call(this,n),o.props=new En(n==null?void 0:n.props),o}return qY(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(N);hP.controlFieldType=c.FieldTypes.CALC;var _P={Designer:In,Runtime:hP,Property:En};function JY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function bP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZY(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:JY(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(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 OP(e){var t=tG();return function(){var n=gu(e),o;if(t){var u=gu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ZY(this,o)}}var nG=function(e){bP(r,e);var t=OP(r);function r(n){pP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(f,a){if(n.required){var l=a.every(function(s){return!s});return l?Promise.reject(_.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(j),mu=function(e){bP(r,e);var t=OP(r);function r(n){pP(this,r);var o;o=t.call(this,n);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var a;o.rangeMax=(a=n==null?void 0:n.rangeMax)!==null&&a!==void 0?a:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:"\u6700\u5C0F\u503C";var s;o.placeholderEnd=(s=n==null?void 0:n.placeholderEnd)!==null&&s!==void 0?s:"\u6700\u5927\u503C";var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Ru.controlName,o}return r}(I);mu.RuntimeRules=nG;function rG(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 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 iG(e,t,r){return t&&gP(e.prototype,t),r&&gP(e,r),e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(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&&nd(e,t)}function cG(e,t){return t&&(fG(t)==="object"||typeof t=="function")?t:rG(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}var fG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lG(e){var t=aG();return function(){var n=Pu(e),o;if(t){var u=Pu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cG(this,o)}}var Ru=function(e){uG(r,e);var t=lG(r);function r(n){oG(this,r);var o;return o=t.call(this,n),o.props=new mu(n==null?void 0:n.props),o}return iG(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}(C);Ru.controlFieldType=c.FieldTypes.DECIMAL_RANGE,Ru.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 sG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vG(e,t,r){return t&&mP(e.prototype,t),r&&mP(e,r),e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(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&&rd(e,t)}function hG(e,t){return t&&(_G(t)==="object"||typeof t=="function")?t:sG(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}var _G=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bG(e){var t=pG();return function(){var n=wu(e),o;if(t){var u=wu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hG(this,o)}}var PP=function(e){dG(r,e);var t=bG(r);function r(n){yG(this,r);var o;return o=t.call(this,n),o.props=new mu(n==null?void 0:n.props),o}return vG(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);PP.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var RP={Designer:Ru,Runtime:PP,Property:mu};function OG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function TP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gG(e,t){return t&&(mG(t)==="object"||typeof t=="function")?t:OG(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var mG=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 $P(e){var t=PG();return function(){var n=Tu(e),o;if(t){var u=Tu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return gG(this,o)}}var RG=function(e){TP(r,e);var t=$P(r);function r(n){wP(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),$u=function(e){TP(r,e);var t=$P(r);function r(n){wP(this,r);var o,u;o=t.call(this,n);var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:["",""];var a;o.dateType=(a=n==null?void 0:n.dateType)!==null&&a!==void 0?a:c.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var s;o.commonTimeSetting=(s=n==null?void 0:n.commonTimeSetting)!==null&&s!==void 0?s:[];var y;o.setValueType=(y=n==null?void 0:n.setValueType)!==null&&y!==void 0?y:"custom";var v;o.rangeMin=(v=n==null?void 0:n.rangeMin)!==null&&v!==void 0?v:"";var d;o.rangeMax=(d=n==null?void 0:n.rangeMax)!==null&&d!==void 0?d:"";var b;o.placeholderStart=(b=n==null?void 0:n.placeholderStart)!==null&&b!==void 0?b:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Eu.controlName;var g;return o.limitDateList=(g=n==null||(u=n.limitDateList)===null||u===void 0?void 0:u.map(function(h){return new zr(h)}))!==null&&g!==void 0?g:[],o}return r}(I);$u.RuntimeRules=RG;function wG(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 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 $G(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function SG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:wG(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var IG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NG(e){var t=CG();return function(){var n=Su(e),o;if(t){var u=Su(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return EG(this,o)}}var Eu=function(e){SG(r,e);var t=NG(r);function r(n){TG(this,r);var o;return o=t.call(this,n),o.props=new $u(n==null?void 0:n.props),o}return $G(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}(C);Eu.controlFieldType=c.FieldTypes.ARRAY,Eu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",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 kG(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 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 jG(e,t,r){return t&&EP(e.prototype,t),r&&EP(e,r),e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function AG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function MG(e,t){return t&&(DG(t)==="object"||typeof t=="function")?t:kG(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}var DG=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=Iu(e),o;if(t){var u=Iu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return MG(this,o)}}var IP=function(e){AG(r,e);var t=FG(r);function r(n){BG(this,r);var o;return o=t.call(this,n),o.props=new $u(n==null?void 0:n.props),o}return jG(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);IP.controlFieldType=c.FieldTypes.ARRAY;var CP={Designer:Eu,Runtime:IP,Property:$u};function zG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(e)}function fd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:zG(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var YG=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 ld(e){var t=GG();return function(){var n=Cu(e),o;if(t){var u=Cu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return xG(this,o)}}var VG=function(e){fd(r,e);var t=ld(r);function r(n){cd(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(U),HG=function(e){fd(r,e);var t=ld(r);function r(n){cd(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(j),Cn=function(e){fd(r,e);var t=ld(r);function r(n){cd(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Nn.controlName;var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:void 0;var a;o.controlExportName=(a=n==null?void 0:n.controlExportName)!==null&&a!==void 0?a:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var s;return o.isInlineEdit=(s=n==null?void 0:n.isInlineEdit)!==null&&s!==void 0?s:!1,o}return r}(I);Cn.Rules=VG,Cn.RuntimeRules=HG;function qG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 WG(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function KG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XG(e,t){return t&&(QG(t)==="object"||typeof t=="function")?t:qG(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var QG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZG(e){var t=JG();return function(){var n=Nu(e),o;if(t){var u=Nu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return XG(this,o)}}var Nn=function(e){KG(r,e);var t=ZG(r);function r(n){UG(this,r);var o;return o=t.call(this,n),o.props=new Cn(n==null?void 0:n.props),o}return WG(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}(C);Nn.controlFieldType=c.FieldTypes.ANY,Nn.controlEventKeys=[],Nn.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 eV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nV(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function rV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function oV(e,t){return t&&(iV(t)==="object"||typeof t=="function")?t:eV(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var iV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cV(e){var t=uV();return function(){var n=ku(e),o;if(t){var u=ku(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return oV(this,o)}}var BP=function(e){rV(r,e);var t=cV(r);function r(n){tV(this,r);var o;return o=t.call(this,n),o.props=new Cn(n==null?void 0:n.props),o}return nV(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);BP.controlFieldType=c.FieldTypes.ANY;var jP={Designer:Nn,Runtime:BP,Property:Cn};function fV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function MP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function aV(e,t){return t&&(lV(t)==="object"||typeof t=="function")?t:fV(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var lV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DP(e){var t=sV();return function(){var n=Bu(e),o;if(t){var u=Bu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aV(this,o)}}var yV=function(e){MP(r,e);var t=DP(r);function r(n){AP(this,r);var o;return o=t.call(this,n),o.listPageBind=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:_.getMessage("isNotString")},{type:"string",required:!0,message:_.getMessage("pleaseEnterList")}]}}],o}return r}(Le),ju=function(e){MP(r,e);var t=DP(r);function r(n){AP(this,r);var o;o=t.call(this,n);var u;o.options=ye((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[]);var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"datasource",o.listPageBind=new er(n==null?void 0:n.listPageBind),o.datasourceBind=new F(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:kn.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.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1;var v;o.showSelectedDetail=(v=n==null?void 0:n.showSelectedDetail)!==null&&v!==void 0?v:!1,o.selectedContentConfig=new rr(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new ee(O))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new De(n==null?void 0:n.formBind),o}return r}(I);ju.Rules=yV;function vV(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 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 hV(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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&&dd(e,t)}function pV(e,t){return t&&(bV(t)==="object"||typeof t=="function")?t:vV(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}var bV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gV(e){var t=OV();return function(){var n=Au(e),o;if(t){var u=Au(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pV(this,o)}}var kn=function(e){_V(r,e);var t=gV(r);function r(n){dV(this,r);var o;return o=t.call(this,n),o.props=new ju(n==null?void 0:n.props),o}return hV(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}(C);kn.controlFieldType=c.FieldTypes.VARCHAR,kn.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.VIEW_FORM_MODEL_TYPE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],kn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];function mV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RV(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function wV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function TV(e,t){return t&&($V(t)==="object"||typeof t=="function")?t:mV(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}var $V=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EV(e){var t=SV();return function(){var n=Mu(e),o;if(t){var u=Mu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return TV(this,o)}}var zP=function(e){wV(r,e);var t=EV(r);function r(n){PV(this,r);var o;return o=t.call(this,n),o.props=new ju(n==null?void 0:n.props),o}return RV(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(N);zP.controlFieldType=c.FieldTypes.VARCHAR;var xP={Designer:kn,Runtime:zP,Property:ju};function IV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function NV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function kV(e,t){return t&&(BV(t)==="object"||typeof t=="function")?t:IV(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var BV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AV(e){var t=jV();return function(){var n=Du(e),o;if(t){var u=Du(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kV(this,o)}}var pd=function(e){NV(r,e);var t=AV(r);function r(n){return CV(this,r),t.call(this,n)}return r}(_t);function MV(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 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 LV(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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&&bd(e,t)}function zV(e,t){return t&&(xV(t)==="object"||typeof t=="function")?t:MV(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var xV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GV(e){var t=YV();return function(){var n=Lu(e),o;if(t){var u=Lu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zV(this,o)}}var GP=function(e){FV(r,e);var t=GV(r);function r(n){DV(this,r);var o;return o=t.call(this,n),o.props=new pd(n==null?void 0:n.props),o}return LV(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(pt);GP.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 VV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HV(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 qV(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(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&&Od(e,t)}function WV(e,t){return t&&(KV(t)==="object"||typeof t=="function")?t:VV(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(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=Fu(e),o;if(t){var u=Fu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return WV(this,o)}}var HP=function(e){UV(r,e);var t=QV(r);function r(n){HV(this,r);var o;return o=t.call(this,n),o.props=new pd(n==null?void 0:n.props),o}return qV(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(N);HP.controlFieldType=c.FieldTypes.VARCHAR;var qP={Designer:GP,Runtime:HP,Property:pd};function UP(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 zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(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&&Pd(e,t)}function JV(e,t){return t&&(ZV(t)==="object"||typeof t=="function")?t:UP(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var ZV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rd(e){var t=eH();return function(){var n=zu(e),o;if(t){var u=zu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JV(this,o)}}var tH=function(e){md(r,e);var t=Rd(r);function r(n){gd(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")}],Kt.call(UP(o),n,Se.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:_.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:_.getMessage("rootNodeIsRequired")}}}]),o}return r}(U),nH=function(e){md(r,e);var t=Rd(r);function r(n){gd(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Bn=function(e){md(r,e);var t=Rd(r);function r(n){gd(this,r);var o,u;o=t.call(this,n),o.optionConfig="datasource";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Se.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var s;o.canSearch=(s=n==null?void 0:n.canSearch)!==null&&s!==void 0?s:!0;var y;o.levelType=(y=n==null?void 0:n.levelType)!==null&&y!==void 0?y:"all";var v;o.optionalLevel=(v=n==null?void 0:n.optionalLevel)!==null&&v!==void 0?v:1;var d;o.containsSubNode=(d=n==null?void 0:n.containsSubNode)!==null&&d!==void 0?d:!1;var b;o.isShowFilterItem=(b=n==null?void 0:n.isShowFilterItem)!==null&&b!==void 0?b:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var p;o.defaultCollapse=(p=n==null?void 0:n.defaultCollapse)!==null&&p!==void 0?p:"all";var g;o.defaultCollapseLevel=(g=n==null?void 0:n.defaultCollapseLevel)!==null&&g!==void 0?g:1;var h;o.datasourceBind=new Za((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Se.controlCustomAttributes});var P;o.filterItemDatasourceBind=new Za((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:Se.controlCustomAttributes});var m;o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1;var R;o.defaultDisplay=(R=n==null?void 0:n.defaultDisplay)!==null&&R!==void 0?R:!1;var $;o.multistageFilling=($=n==null||(u=n.multistageFilling)===null||u===void 0?void 0:u.map(function(S){return new ee(S)}))!==null&&$!==void 0?$:[];var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:[],o}return r}(I);Bn.Rules=tH,Bn.RuntimeRules=nH;function rH(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 WP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iH(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function uH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function cH(e,t){return t&&(fH(t)==="object"||typeof t=="function")?t:rH(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var fH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=aH();return function(){var n=xu(e),o;if(t){var u=xu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cH(this,o)}}var Se=function(e){uH(r,e);var t=lH(r);function r(n){oH(this,r);var o;return o=t.call(this,n),o.props=new Bn(n==null?void 0:n.props),o}return iH(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}(C);Se.controlEventKeys=["on_change","on_click"],Se.controlFieldType=c.FieldTypes.ARRAY,Se.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.DEFAULT_DISPLAY,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 sH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vH(e,t,r){return t&&KP(e.prototype,t),r&&KP(e,r),e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function 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&&Td(e,t)}function hH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:sH(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}var _H=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bH(e){var t=pH();return function(){var n=Yu(e),o;if(t){var u=Yu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hH(this,o)}}var XP=function(e){dH(r,e);var t=bH(r);function r(n){yH(this,r);var o;return o=t.call(this,n),o.props=new Bn(n==null?void 0:n.props),o}return vH(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(N);XP.controlFieldType=c.FieldTypes.ARRAY;var QP={Designer:Se,Runtime:XP,Property:Bn};function JP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function Sd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OH(e,t){return t&&(gH(t)==="object"||typeof t=="function")?t:JP(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(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 Id(e){var t=mH();return function(){var n=Gu(e),o;if(t){var u=Gu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return OH(this,o)}}var PH=function(e){Sd(r,e);var t=Id(r);function r(n){$d(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")}],o.externalScope={type:"any"},Kt.call(JP(o),n,St.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:_.getMessage("pleaseAssignExternal")}),o}return r}(U),RH=function(e){Sd(r,e);var t=Id(r);function r(n){$d(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),jn=function(e){Sd(r,e);var t=Id(r);function r(n){$d(this,r);var o;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var s;o.defaultValueType=(s=n==null?void 0:n.defaultValueType)!==null&&s!==void 0?s:"none";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:St.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;o.datasourceBind=new Vt((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:St.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:c.OrganizeType.INTERNAL;var p;o.insideType=(p=n==null?void 0:n.insideType)!==null&&p!==void 0?p:c.InternalType.ADMIN;var g;o.externalType=(g=n==null?void 0:n.externalType)!==null&&g!==void 0?g:c.AssignType.ALL;var h;o.externalScope=(h=n==null?void 0:n.externalScope)!==null&&h!==void 0?h:[];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(m){var R;(R=o.multistageFilling)===null||R===void 0||R.push(new ee(m))})),o}return r}(I);jn.Rules=PH,jn.RuntimeRules=RH;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 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 $H(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(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&&Cd(e,t)}function EH(e,t){return t&&(IH(t)==="object"||typeof t=="function")?t:wH(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(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=Vu(e),o;if(t){var u=Vu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return EH(this,o)}}var St=function(e){SH(r,e);var t=NH(r);function r(n){TH(this,r);var o;return o=t.call(this,n),o.props=new jn(n==null?void 0:n.props),o}return $H(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}(C);St.controlFieldType=c.FieldTypes.EMPLOYEES,St.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!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 kH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jH(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(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&&Nd(e,t)}function MH(e,t){return t&&(DH(t)==="object"||typeof t=="function")?t:kH(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(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=Hu(e),o;if(t){var u=Hu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return MH(this,o)}}var tR=function(e){AH(r,e);var t=FH(r);function r(n){BH(this,r);var o;return o=t.call(this,n),o.props=new jn(n==null?void 0:n.props),o}return jH(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(N);tR.controlFieldType=c.FieldTypes.EMPLOYEES;var nR={Designer:St,Runtime:tR,Property:jn};function zH(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function oR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xH(e,t){return t&&(YH(t)==="object"||typeof t=="function")?t:zH(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}var YH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iR(e){var t=GH();return function(){var n=qu(e),o;if(t){var u=qu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return xH(this,o)}}var VH=function(e){oR(r,e);var t=iR(r);function r(n){rR(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(u,f,a){return u[a]={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(s,y,v){if(f.type==="public"&&je(y.value)&&y.value.length===0){v("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}v()}},company:{type:"object",required:!0,validator:function(s,y,v){if(f.type==="public"&&f.signatureType.includes("company")&&je(y.value)&&y.value.length===0){v("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}v()}}}},u},{})}}},o}return r}(U),Uu=function(e){oR(r,e);var t=iR(r);function r(n){rR(this,r);var o;o=t.call(this,n),o.command="",o.isLoading=!1;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:An.controlName;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:"\u53D1\u8D77\u7B7E\u7F72";var a;o.buttonType=(a=n==null?void 0:n.buttonType)!==null&&a!==void 0?a:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var s;o.color=(s=n==null?void 0:n.color)!==null&&s!==void 0?s:"primary";var y;return o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:"iconfenlei2",o.signatureConfig=new zO(n==null?void 0:n.signatureConfig),o}return r}(I);Uu.Rules=VH;function HH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UH(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(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&&Bd(e,t)}function KH(e,t){return t&&(XH(t)==="object"||typeof t=="function")?t:HH(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}var XH=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 JH(e){var t=QH();return function(){var n=Wu(e),o;if(t){var u=Wu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return KH(this,o)}}var An=function(e){WH(r,e);var t=JH(r);function r(n){qH(this,r);var o;return o=t.call(this,n),o.props=new Uu(n==null?void 0:n.props),o}return UH(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}(C);An.controlEventKeys=["on_click","on_click_finish"],An.controlFieldType=c.FieldTypes.VARCHAR,An.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.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 ZH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tq(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function nq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function rq(e,t){return t&&(oq(t)==="object"||typeof t=="function")?t:ZH(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var oq=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 uq(e){var t=iq();return function(){var n=Ku(e),o;if(t){var u=Ku(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rq(this,o)}}var fR=function(e){nq(r,e);var t=uq(r);function r(n){eq(this,r);var o;return o=t.call(this,n),o.props=new Uu(n==null?void 0:n.props),o}return tq(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);fR.controlFieldType=c.FieldTypes.VARCHAR;var aR={Designer:An,Runtime:fR,Property:Uu};function cq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ad(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(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&&Dd(e,t)}function fq(e,t){return t&&(aq(t)==="object"||typeof t=="function")?t:cq(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}var aq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ld(e){var t=lq();return function(){var n=Xu(e),o;if(t){var u=Xu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return fq(this,o)}}var sq=function(e){Md(r,e);var t=Ld(r);function r(n){Ad(this,r);var o;return o=t.call(this,n),o.content={type:"string",required:!0,message:_.getMessage("pleaseEnterButtonContent")},o.wpsSetting={type:"object",fields:{watermark:{type:"object",validator:function(f,a,l){if(a.active&&!a.text){l(_.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(f,a,l){if(a.active&&!a.text){l(_.getMessage("pleaseEnterFileName"));return}l()}}}},o.canAdd={type:"boolean",validator:function(f,a,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(_.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(U),yq=function(e){Md(r,e);var t=Ld(r);function r(n){Ad(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Mn=function(e){Md(r,e);var t=Ld(r);function r(n){Ad(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Dn.controlName;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:"\u65B0\u5EFA\u6587\u6863";var a;o.canAdd=(a=n==null?void 0:n.canAdd)!==null&&a!==void 0?a:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var s;o.addOnline=(s=n==null?void 0:n.addOnline)!==null&&s!==void 0?s:!0;var y;o.canEdit=(y=n==null?void 0:n.canEdit)!==null&&y!==void 0?y:!0;var v;o.canDownload=(v=n==null?void 0:n.canDownload)!==null&&v!==void 0?v:!0;var d;o.canExport=(d=n==null?void 0:n.canExport)!==null&&d!==void 0?d:!0;var b;o.canDelete=(b=n==null?void 0:n.canDelete)!==null&&b!==void 0?b:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:$9;var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:[],o.wpsSetting=new xO(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}(I);Mn.Rules=sq,Mn.RuntimeRules=yq;function vq(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 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 hq(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}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&&Fd(e,t)}function pq(e,t){return t&&(bq(t)==="object"||typeof t=="function")?t:vq(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}var bq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gq(e){var t=Oq();return function(){var n=Qu(e),o;if(t){var u=Qu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pq(this,o)}}var Dn=function(e){_q(r,e);var t=gq(r);function r(n){dq(this,r);var o;return o=t.call(this,n),o.props=new Mn(n==null?void 0:n.props),o}return hq(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(C);Dn.controlEventKeys=["on_change","on_wps_open"],Dn.controlFieldType=c.FieldTypes.FILE,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:"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 mq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rq(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function wq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function Tq(e,t){return t&&($q(t)==="object"||typeof t=="function")?t:mq(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}var $q=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eq(e){var t=Sq();return function(){var n=Ju(e),o;if(t){var u=Ju(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Tq(this,o)}}var yR=function(e){wq(r,e);var t=Eq(r);function r(n){Pq(this,r);var o;return o=t.call(this,n),o.props=new Mn(n==null?void 0:n.props),o}return Rq(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(N);yR.controlFieldType=c.FieldTypes.FILE;var vR={Designer:Dn,Runtime:yR,Property:Mn};function dR(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 Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(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&&Gd(e,t)}function Iq(e,t){return t&&(Cq(t)==="object"||typeof t=="function")?t:dR(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var Cq=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 Vd(e){var t=Nq();return function(){var n=Zu(e),o;if(t){var u=Zu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Iq(this,o)}}var kq=function(e){Yd(r,e);var t=Vd(r);function r(n){xd(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")}],o.businessScope={type:"any"},Kt.call(dR(o),n,Fe.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:_.getMessage("pleaseAssignBusiness")}),o}return r}(U),Bq=function(e){Yd(r,e);var t=Vd(r);function r(n){xd(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Ln=function(e){Yd(r,e);var t=Vd(r);function r(n){xd(this,r);var o;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.range=(a=n==null?void 0:n.range)!==null&&a!==void 0?a:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.rangeOptions=(s=n==null?void 0:n.rangeOptions)!==null&&s!==void 0?s:[];var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;o.displayLevel=(v=n==null?void 0:n.displayLevel)!==null&&v!==void 0?v:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Fe.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var p;o.datasourceBind=new Vt((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:Fe.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:c.DepartmentType.INTERNAL;var h;o.businessScope=(h=n==null?void 0:n.businessScope)!==null&&h!==void 0?h:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:c.AssignType.ALL;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(R){var $;($=o.multistageFilling)===null||$===void 0||$.push(new ee(R))})),o}return r}(I);Ln.Rules=kq,Ln.RuntimeRules=Bq;function jq(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 hR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mq(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function ec(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ec=Reflect.get:ec=function(o,u,f){var a=Fq(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},ec(e,t,r||e)}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Et(e)}function Dq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function Lq(e,t){return t&&(zq(t)==="object"||typeof t=="function")?t:jq(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function Fq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Et(e),e!==null););return e}var zq=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 Yq(e){var t=xq();return function(){var n=Et(e),o;if(t){var u=Et(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Lq(this,o)}}var Fe=function(e){Dq(r,e);var t=Yq(r);function r(n){Aq(this,r);var o;return o=t.call(this,n),o.props=new Ln(n==null?void 0:n.props),o}return Mq(r,[{key:"toDataBindModel",value:function(o){var u=ec(Et(r.prototype),"toDataBindModel",this).call(this,o);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}}],[{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}(C);Fe.controlName="\u90E8\u95E8",Fe.controlFieldType=c.FieldTypes.DEPARTMENTS,Fe.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.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 Gq(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 _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 Hq(e,t,r){return t&&_R(e.prototype,t),r&&_R(e,r),e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(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&&qd(e,t)}function Uq(e,t){return t&&(Wq(t)==="object"||typeof t=="function")?t:Gq(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(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=tc(e),o;if(t){var u=tc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Uq(this,o)}}var pR=function(e){qq(r,e);var t=Xq(r);function r(n){Vq(this,r);var o;return o=t.call(this,n),o.props=new Ln(n==null?void 0:n.props),o}return Hq(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(N);pR.controlFieldType=c.FieldTypes.DEPARTMENTS;var bR={Designer:Fe,Runtime:pR,Property:Ln};function OR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ud(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function Wd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qq(e,t){return t&&(Jq(t)==="object"||typeof t=="function")?t:OR(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}var Jq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xd(e){var t=Zq();return function(){var n=nc(e),o;if(t){var u=nc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Qq(this,o)}}var eU=function(e){Wd(r,e);var t=Xd(r);function r(n){Ud(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")}],o.businessScope={type:"any"},Kt.call(OR(o),n,ze.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:_.getMessage("pleaseAssignBusiness")}),o}return r}(U),tU=function(e){Wd(r,e);var t=Xd(r);function r(n){Ud(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Fn=function(e){Wd(r,e);var t=Xd(r);function r(n){Ud(this,r);var o;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.range=(a=n==null?void 0:n.range)!==null&&a!==void 0?a:"all",o.listPageBind=new er(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.rangeOptions=(s=n==null?void 0:n.rangeOptions)!==null&&s!==void 0?s:[];var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;o.displayLevel=(v=n==null?void 0:n.displayLevel)!==null&&v!==void 0?v:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ze.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var p;o.datasourceBind=new Nb((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:ze.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:c.DepartmentType.INTERNAL;var h;o.businessScope=(h=n==null?void 0:n.businessScope)!==null&&h!==void 0?h:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:c.AssignType.ALL;var m;o.organizingFunction=(m=n==null?void 0:n.organizingFunction)!==null&&m!==void 0?m:void 0;var R;o.organizationView=(R=n==null?void 0:n.organizationView)!==null&&R!==void 0?R:void 0;var $;o.showSelectedDetail=($=n==null?void 0:n.showSelectedDetail)!==null&&$!==void 0?$:!1,o.selectedContentConfig=new rr(n==null?void 0:n.selectedContentConfig);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(S){var k;(k=o.multistageFilling)===null||k===void 0||k.push(new ee(S))})),o}return r}(I);Fn.Rules=eU,Fn.RuntimeRules=tU;function nU(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 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 oU(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function rc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?rc=Reflect.get:rc=function(o,u,f){var a=cU(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},rc(e,t,r||e)}function It(e){return It=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},It(e)}function iU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uU(e,t){return t&&(fU(t)==="object"||typeof t=="function")?t:nU(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function cU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=It(e),e!==null););return e}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 lU(e){var t=aU();return function(){var n=It(e),o;if(t){var u=It(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return uU(this,o)}}var ze=function(e){iU(r,e);var t=lU(r);function r(n){rU(this,r);var o;return o=t.call(this,n),o.props=new Fn(n==null?void 0:n.props),o}return oU(r,[{key:"toDataBindModel",value:function(o){var u=rc(It(r.prototype),"toDataBindModel",this).call(this,o);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}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(C);ze.controlName="\u4E1A\u52A1\u7EC4\u7EC7",ze.controlFieldType=c.FieldTypes.DEPARTMENTS,ze.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.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];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 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 vU(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function dU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function hU(e,t){return t&&(_U(t)==="object"||typeof t=="function")?t:sU(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}var _U=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bU(e){var t=pU();return function(){var n=oc(e),o;if(t){var u=oc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hU(this,o)}}var PR=function(e){dU(r,e);var t=bU(r);function r(n){yU(this,r);var o;return o=t.call(this,n),o.props=new Fn(n==null?void 0:n.props),o}return vU(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(N);PR.controlFieldType=c.FieldTypes.DEPARTMENTS;var RR={Designer:ze,Runtime:PR,Property:Fn},OU=Object.freeze({__proto__:null,Input:Mm,Checkbox:zm,Radio:Um,Number:Qm,DatePicker:t0,DateRange:f0,Textarea:y0,RichText:_0,Select:R0,SelectMultiple:S0,Employee:j0,Image:z0,Attachment:D0,Amount:V0,Score:W0,Address:tP,Department:fP,AutoNumber:yP,Calc:_P,SearchNumberRange:RP,SearchDateRange:CP,VueFormItem:jP,SelectRelation:xP,SearchInput:qP,Tree:QP,Employee2:nR,ElectronicSignature:aR,WPS:vR,Department2:bR,OrganizationSelection:RR});function gU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PU(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function RU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function wU(e,t){return t&&(TU(t)==="object"||typeof t=="function")?t:gU(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}var TU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $U(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SU(e){var t=$U();return function(){var n=ic(e),o;if(t){var u=ic(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wU(this,o)}}var TR=function(e){RU(r,e);var t=SU(r);function r(n){return mU(this,r),t.call(this,n)}return PU(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(D);TR.excludes=[c.CONTROL_TYPE.GRID];function EU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 CU(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function NU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function kU(e,t){return t&&(BU(t)==="object"||typeof t=="function")?t:EU(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var BU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AU(e){var t=jU();return function(){var n=uc(e),o;if(t){var u=uc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kU(this,o)}}var MU=function(e){NU(r,e);var t=AU(r);function r(n){return IU(this,r),t.call(this,n)}return CU(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Y),SR={Designer:TR,Runtime:MU,Property:A};function DU(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 cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function FU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function zU(e,t){return t&&(xU(t)==="object"||typeof t=="function")?t:DU(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var xU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GU(e){var t=YU();return function(){var n=cc(e),o;if(t){var u=cc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zU(this,o)}}var VU=24,xe=function(e){FU(r,e);var t=GU(r);function r(n){LU(this,r);var o;o=t.call(this,n);var u;o.span=(u=n==null?void 0:n.span)!==null&&u!==void 0?u:VU;var f;return o.offset=(f=n==null?void 0:n.offset)!==null&&f!==void 0?f:0,o}return r}(A);function HU(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 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 UU(e,t,r){return t&&ER(e.prototype,t),r&&ER(e,r),e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function WU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function KU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:HU(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var XU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JU(e){var t=QU();return function(){var n=fc(e),o;if(t){var u=fc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return KU(this,o)}}var zn=function(e){WU(r,e);var t=JU(r);function r(n){qU(this,r);var o;return o=t.call(this,n),o.props=new xe(n==null?void 0:n.props),o}return UU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(D);zn.excludes=[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.DIVIDER],zn.childrenMaxLength=1;function ZU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tW(e,t,r){return t&&IR(e.prototype,t),r&&IR(e,r),e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(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&&rh(e,t)}function rW(e,t){return t&&(oW(t)==="object"||typeof t=="function")?t:ZU(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(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=ac(e),o;if(t){var u=ac(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rW(this,o)}}var oh=function(e){nW(r,e);var t=uW(r);function r(n){eW(this,r);var o;return o=t.call(this,n),o.props=new xe(n==null?void 0:n.props),o}return tW(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Y),lc={Designer:zn,Runtime:oh,Property:xe};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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function aW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function lW(e,t){return t&&(sW(t)==="object"||typeof t=="function")?t:cW(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var sW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=yW();return function(){var n=sc(e),o;if(t){var u=sc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return lW(this,o)}}var yc=function(e){aW(r,e);var t=vW(r);function r(n){fW(this,r);var o;o=t.call(this,n);var u;o.layoutMode=(u=n==null?void 0:n.layoutMode)!==null&&u!==void 0?u:"select";var f;return o.gutter=(f=n==null?void 0:n.gutter)!==null&&f!==void 0?f:0,o}return r}(A);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 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 _W(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(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&&uh(e,t)}function bW(e,t){return t&&(OW(t)==="object"||typeof t=="function")?t:dW(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(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=vc(e),o;if(t){var u=vc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bW(this,o)}}var dc=function(e){pW(r,e);var t=mW(r);function r(n){hW(this,r);var o;return o=t.call(this,n),o.props=new yc(n==null?void 0:n.props),o}return _W(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(D);dc.excludes=[c.CONTROL_TYPE.ROW],dc.setting=[{key:"col-setting",visible:!0}];function PW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wW(e,t,r){return t&&NR(e.prototype,t),r&&NR(e,r),e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function 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&&ch(e,t)}function $W(e,t){return t&&(SW(t)==="object"||typeof t=="function")?t:PW(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(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=hc(e),o;if(t){var u=hc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $W(this,o)}}var kR=function(e){TW(r,e);var t=IW(r);function r(n){RW(this,r);var o;return o=t.call(this,n),o.props=new yc(n==null?void 0:n.props),o}return wW(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Y),BR={Designer:dc,Runtime:kR,Property:yc};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 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 kW(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(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&&fh(e,t)}function jW(e,t){return t&&(AW(t)==="object"||typeof t=="function")?t:CW(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var AW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DW(e){var t=MW();return function(){var n=_c(e),o;if(t){var u=_c(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return jW(this,o)}}var LW=4,pc=function(e){BW(r,e);var t=DW(r);function r(n){return NW(this,r),t.call(this,n)}return kW(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}(dc);pc.excludes=[c.CONTROL_TYPE.GRID_ROW],pc.setting=[],pc.childrenMaxLength=LW;function FW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xW(e,t,r){return t&&AR(e.prototype,t),r&&AR(e,r),e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function YW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function GW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:FW(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var VW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qW(e){var t=HW();return function(){var n=bc(e),o;if(t){var u=bc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return GW(this,o)}}var UW=function(e){YW(r,e);var t=qW(r);function r(n){return zW(this,r),t.call(this,n)}return xW(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(kR);function WW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function XW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QW(e,t){return t&&(JW(t)==="object"||typeof t=="function")?t:WW(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var JW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eK(e){var t=ZW();return function(){var n=Oc(e),o;if(t){var u=Oc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return QW(this,o)}}var tK=function(e){XW(r,e);var t=eK(r);function r(n){return KW(this,r),t.call(this,n)}return r}(yc),sh={Designer:pc,Runtime:UW,Property:tK};function nK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MR(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 DR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rK(e,t){return t&&(oK(t)==="object"||typeof t=="function")?t:nK(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}var oK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LR(e){var t=iK();return function(){var n=gc(e),o;if(t){var u=gc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rK(this,o)}}var uK=function(e){DR(r,e);var t=LR(r);function r(){MR(this,r);var n;return n=t.apply(this,arguments),n.caption={type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")},n}return r}(A.Rules),mc=function(e){DR(r,e);var t=LR(r);function r(n){MR(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"\u5206\u7EC4";var f;return o.collapse=(f=n==null?void 0:n.collapse)!==null&&f!==void 0?f:"none",o}return r}(A);mc.Rules=uK;function cK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aK(e,t,r){return t&&FR(e.prototype,t),r&&FR(e,r),e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(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&&vh(e,t)}function sK(e,t){return t&&(yK(t)==="object"||typeof t=="function")?t:cK(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(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 dK(e){var t=vK();return function(){var n=Pc(e),o;if(t){var u=Pc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sK(this,o)}}var dh=function(e){lK(r,e);var t=dK(r);function r(n){fK(this,r);var o;return o=t.call(this,n),o.props=new mc(n==null?void 0:n.props),o}return aK(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(D);dh.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}],dh.excludes=[c.CONTROL_TYPE.CARD_GROUP];function hK(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 zR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pK(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(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&&hh(e,t)}function OK(e,t){return t&&(gK(t)==="object"||typeof t=="function")?t:hK(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(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=Rc(e),o;if(t){var u=Rc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return OK(this,o)}}var RK=function(e){bK(r,e);var t=PK(r);function r(n){_K(this,r);var o;return o=t.call(this,n),o.props=new mc(n==null?void 0:n.props),o}return pK(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Y),xR={Designer:dh,Runtime:RK,Property:mc};function wK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function GR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TK(e,t){return t&&($K(t)==="object"||typeof t=="function")?t:wK(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var $K=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VR(e){var t=SK();return function(){var n=wc(e),o;if(t){var u=wc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return TK(this,o)}}var EK=function(e){GR(r,e);var t=VR(r);function r(n){YR(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:_.getMessage("pleaseEnterColumnWidth")},o.captionTip={type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(z),Tc=function(e){GR(r,e);var t=VR(r);function r(n){YR(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;return o.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,o.metaAutoWidth=new mb(n==null?void 0:n.metaAutoWidth),o}return r}(A);Tc.Rules=EK;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 $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&ph(e,t)}function kK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:IK(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}var BK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jK();return function(){var n=$c(e),o;if(t){var u=$c(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kK(this,o)}}var se=function(e){NK(r,e);var t=AK(r);function r(n){CK(this,r);var o;return o=t.call(this,n),o.props=new Tc(n==null?void 0:n.props),o}return r}(D);se.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",se.controlType="subtable-column",se.controlIcon="subtable-column",se.childrenMaxLength=1,se.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],se.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 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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&bh(e,t)}function FK(e,t){return t&&(zK(t)==="object"||typeof t=="function")?t:MK(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}var zK=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 YK(e){var t=xK();return function(){var n=Sc(e),o;if(t){var u=Sc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FK(this,o)}}var HR=function(e){LK(r,e);var t=YK(r);function r(n){DK(this,r);var o;return o=t.call(this,n),o.props=new Tc(n==null?void 0:n.props),o}return r}(Y);HR.controlType="subtable-column";var Oh={Designer:se,Runtime:HR,Property:Tc};function GK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function HK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function qK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:GK(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var UK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KK(e){var t=WK();return function(){var n=Ec(e),o;if(t){var u=Ec(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return qK(this,o)}}var mh=function(e){HK(r,e);var t=KK(r);function r(n){return VK(this,r),t.call(this,n)}return r}(A);function XK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function JK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function ZK(e,t){return t&&(eX(t)==="object"||typeof t=="function")?t:XK(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var eX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nX(e){var t=tX();return function(){var n=Ic(e),o;if(t){var u=Ic(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ZK(this,o)}}var Ye=function(e){JK(r,e);var t=nX(r);function r(n){QK(this,r);var o;return o=t.call(this,n),o.props=new mh(n==null?void 0:n.props),o}return r}(D);Ye.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ye.controlType="subtable-row",Ye.controlIcon="subtable-row",Ye.childrenMaxLength=1,Ye.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],Ye.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}];function rX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oX(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 iX(e,t,r){return t&&qR(e.prototype,t),r&&qR(e,r),e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function uX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function cX(e,t){return t&&(fX(t)==="object"||typeof t=="function")?t:rX(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var fX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lX(e){var t=aX();return function(){var n=Cc(e),o;if(t){var u=Cc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cX(this,o)}}var sX=function(e){uX(r,e);var t=lX(r);function r(n){oX(this,r);var o;return o=t.call(this,n),o.props=new mh(n==null?void 0:n.props),o}return iX(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Y),UR={Designer:Ye,Runtime:sX,Property:mh};function yX(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 Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(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&&wh(e,t)}function hX(e,t){return t&&(_X(t)==="object"||typeof t=="function")?t:yX(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var _X=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bX(e){var t=pX();return function(){var n=Nc(e),o;if(t){var u=Nc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hX(this,o)}}var Th=function(e){dX(r,e);var t=bX(r);function r(n){vX(this,r);var o;o=t.call(this,n);var u;o.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:"";var a;o.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var s;o.fieldType=(s=n==null?void 0:n.fieldType)!==null&&s!==void 0?s:c.FieldTypes.VARCHAR;var y;o.fieldName=(y=n==null?void 0:n.fieldName)!==null&&y!==void 0?y:"",o.datasourceBind=new F(n==null?void 0:n.datasourceBind);var v;o.textCleanFormart=(v=n==null?void 0:n.textCleanFormart)!==null&&v!==void 0?v:!1;var d;o.decimalKeepPrecision=(d=n==null?void 0:n.decimalKeepPrecision)!==null&&d!==void 0?d:0;var b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:c.DateType.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(A);function OX(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 kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(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&&$h(e,t)}function PX(e,t){return t&&(RX(t)==="object"||typeof t=="function")?t:OX(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(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 TX(e){var t=wX();return function(){var n=kc(e),o;if(t){var u=kc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return PX(this,o)}}var Ge=function(e){mX(r,e);var t=TX(r);function r(n){gX(this,r);var o;return o=t.call(this,n),o.props=new Th(n==null?void 0:n.props),o}return r}(D);Ge.controlName="\u5217\u8868\u5355\u5143\u683C",Ge.controlType="gridtable-column",Ge.controlIcon="gridtable-column",Ge.childrenMaxLength=1,Ge.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],Ge.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];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 Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function EX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function IX(e,t){return t&&(CX(t)==="object"||typeof t=="function")?t:$X(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(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 kX(e){var t=NX();return function(){var n=Bc(e),o;if(t){var u=Bc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return IX(this,o)}}var WR=function(e){EX(r,e);var t=kX(r);function r(n){SX(this,r);var o;return o=t.call(this,n),o.props=new Th(n==null?void 0:n.props),o}return r}(Y);WR.controlType="gridtable-column";var KR={Designer:Ge,Runtime:WR,Property:Th};function BX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function AX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function MX(e,t){return t&&(DX(t)==="object"||typeof t=="function")?t:BX(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}var DX=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 FX(e){var t=LX();return function(){var n=jc(e),o;if(t){var u=jc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return MX(this,o)}}var Ih=function(e){AX(r,e);var t=FX(r);function r(n){return jX(this,r),t.call(this,n)}return r}(A);function zX(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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(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&&Ch(e,t)}function xX(e,t){return t&&(YX(t)==="object"||typeof t=="function")?t:zX(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(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 JR(e){var t=GX();return function(){var n=Ac(e),o;if(t){var u=Ac(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return xX(this,o)}}var VX=function(e){QR(r,e);var t=JR(r);function r(n){XR(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")},o}return r}(z),Mc=function(e){QR(r,e);var t=JR(r);function r(n){XR(this,r);var o;o=t.call(this,n);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Yn.controlName,o}return r}(A);Mc.Rules=VX;function HX(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 ZR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UX(e,t,r){return t&&ZR(e.prototype,t),r&&ZR(e,r),e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&Nh(e,t)}function KX(e,t){return t&&(XX(t)==="object"||typeof t=="function")?t:HX(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}var XX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JX(e){var t=QX();return function(){var n=Dc(e),o;if(t){var u=Dc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return KX(this,o)}}var xn=function(e){WX(r,e);var t=JX(r);function r(n){qX(this,r);var o;return o=t.call(this,n),o.props=new Mc(n==null?void 0:n.props),o}return UX(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(D);xn.excludes=[c.CONTROL_TYPE.TAB],xn.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 ZX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tQ(e,t,r){return t&&ew(e.prototype,t),r&&ew(e,r),e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function nQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function rQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:ZX(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var oQ=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 uQ(e){var t=iQ();return function(){var n=Lc(e),o;if(t){var u=Lc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rQ(this,o)}}var cQ=function(e){nQ(r,e);var t=uQ(r);function r(n){eQ(this,r);var o;return o=t.call(this,n),o.props=new Mc(n==null?void 0:n.props),o}return tQ(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Y),tw={Designer:xn,Runtime:cQ,Property:Mc};function fQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lQ(e,t,r){return t&&nw(e.prototype,t),r&&nw(e,r),e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(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&&Bh(e,t)}function yQ(e,t){return t&&(vQ(t)==="object"||typeof t=="function")?t:fQ(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var vQ=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=Fc(e),o;if(t){var u=Fc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return yQ(this,o)}}var Yn=function(e){sQ(r,e);var t=hQ(r);function r(n){aQ(this,r);var o;o=t.call(this,n),o.props=new Ih(n==null?void 0:n.props);var u;return o.children=(u=n==null?void 0:n.children)!==null&&u!==void 0?u:[new xn,new xn],o}return lQ(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(D);Yn.excludes=[c.CONTROL_TYPE.TAB],Yn.controlEventKeys=["on_change_tab"],Yn.setting=[{key:"super-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 pQ(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 bQ(e,t,r){return t&&rw(e.prototype,t),r&&rw(e,r),e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(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&&jh(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:_Q(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var mQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RQ(e){var t=PQ();return function(){var n=zc(e),o;if(t){var u=zc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return gQ(this,o)}}var wQ=function(e){OQ(r,e);var t=RQ(r);function r(n){pQ(this,r);var o;return o=t.call(this,n),o.props=new Ih(n==null?void 0:n.props),o}return bQ(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Y),ow={Designer:Yn,Runtime:wQ,Property:Ih};function TQ(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 xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function SQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function EQ(e,t){return t&&(IQ(t)==="object"||typeof t=="function")?t:TQ(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(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=xc(e),o;if(t){var u=xc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return EQ(this,o)}}var iw=function(e){SQ(r,e);var t=NQ(r);function r(n){return $Q(this,r),t.call(this,n)}return r}(A);function kQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jQ(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(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&&Mh(e,t)}function MQ(e,t){return t&&(DQ(t)==="object"||typeof t=="function")?t:kQ(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var DQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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=Yc(e),o;if(t){var u=Yc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return MQ(this,o)}}var cw=function(e){AQ(r,e);var t=FQ(r);function r(n){BQ(this,r);var o;return o=t.call(this,n),o.props=new iw({}),o.children=(n==null?void 0:n.children)||[new zn({props:new xe({span:12})}),new zn({props:new xe({span:12})})],o}return jQ(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(D);cw.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 zQ(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 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 YQ(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(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&&Dh(e,t)}function VQ(e,t){return t&&(HQ(t)==="object"||typeof t=="function")?t:zQ(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}var HQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UQ(e){var t=qQ();return function(){var n=Gc(e),o;if(t){var u=Gc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return VQ(this,o)}}var WQ=function(e){GQ(r,e);var t=UQ(r);function r(n){xQ(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new oh({props:new xe({span:12})}),new oh({props:new xe({span:12})})],o}return YQ(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Y),aw={Designer:cw,Runtime:WQ,Property:iw};function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lh(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 Fh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function KQ(e,t){return t&&(XQ(t)==="object"||typeof t=="function")?t:lw(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}var XQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xh(e){var t=QQ();return function(){var n=Vc(e),o;if(t){var u=Vc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return KQ(this,o)}}var Hc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Hc||(Hc={}));var JQ=function(e){Fh(r,e);var t=xh(r);function r(n){Lh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Pe),ZQ=function(e){Fh(r,e);var t=xh(r);function r(n){Lh(this,r);var o;if(o=t.call(this,n),o.triggerFieldCode={type:"any"},o.datasourceBind={type:"any"},n.triggerType===Hc.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}),ar.call(lw(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var u=o.datasourceBind.find(function(f){return f.type==="object"&&f.fields});u&&(delete u.fields.valueFieldCode,delete u.fields.displayBoList)}return o}return r}(z),Gn=function(e){Fh(r,e);var t=xh(r);function r(n){Lh(this,r);var o;o=t.call(this,n),o.datasourceBind=new F(n==null?void 0:n.datasourceBind);var u;o.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1;var f;o.isShowSubList=(f=n==null?void 0:n.isShowSubList)!==null&&f!==void 0?f:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:Hc.CLICK_ROW;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new Sb(n==null?void 0:n.sublistPage);var s;o.isShowJoinRelation=(s=n==null?void 0:n.isShowJoinRelation)!==null&&s!==void 0?s:!1,o.joinRelation=new Ib(n==null?void 0:n.joinRelation);var y;o.showType=(y=n==null?void 0:n.showType)!==null&&y!==void 0?y:"stretch";var v;o.showFullScreen=(v=n==null?void 0:n.showFullScreen)!==null&&v!==void 0?v:!1;var d;o.isFixedHeader=(d=n==null?void 0:n.isFixedHeader)!==null&&d!==void 0?d:!1;var b;return o.isAllLoaded=(b=n==null?void 0:n.isAllLoaded)!==null&&b!==void 0?b:!0,o.countType=n==null?void 0:n.countType,o}return r}(A);Gn.Rules=ZQ,Gn.RuntimeRules=JQ;function eJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nJ(e,t,r){return t&&sw(e.prototype,t),r&&sw(e,r),e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function rJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function oJ(e,t){return t&&(iJ(t)==="object"||typeof t=="function")?t:eJ(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var iJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cJ(e){var t=uJ();return function(){var n=qc(e),o;if(t){var u=qc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return oJ(this,o)}}var Uc=function(e){rJ(r,e);var t=cJ(r);function r(n){tJ(this,r);var o;return o=t.call(this,n),o.props=new Gn(n==null?void 0:n.props),o}return nJ(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(D);Uc.excludes=[c.CONTROL_TYPE.ROW],Uc.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"],Uc.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function fJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lJ(e,t,r){return t&&yw(e.prototype,t),r&&yw(e,r),e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function sJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function yJ(e,t){return t&&(vJ(t)==="object"||typeof t=="function")?t:fJ(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var vJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hJ(e){var t=dJ();return function(){var n=Wc(e),o;if(t){var u=Wc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return yJ(this,o)}}var _J=function(e){sJ(r,e);var t=hJ(r);function r(n){aJ(this,r);var o;return o=t.call(this,n),o.props=new Gn(n==null?void 0:n.props),o}return lJ(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Y),Vh={Designer:Uc,Runtime:_J,Property:Gn};function pJ(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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function dw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function bJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:pJ(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(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 hw(e){var t=gJ();return function(){var n=Kc(e),o;if(t){var u=Kc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bJ(this,o)}}var mJ=function(e){dw(r,e);var t=hw(r);function r(n){vw(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Pe),Xc=function(e){dw(r,e);var t=hw(r);function r(n){vw(this,r);var o;o=t.call(this,n);var u;o.save=new Oe((u=n==null?void 0:n.save)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var f;o.cancel=new Oe((f=n==null?void 0:n.cancel)!==null&&f!==void 0?f:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var a;o.saveAs=new Oe((a=n==null?void 0:n.saveAs)!==null&&a!==void 0?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var l;o.print=new Oe((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:"\u6253\u5370",type:"print",isShow:!1});var s;o.custom=((s=n==null?void 0:n.custom)!==null&&s!==void 0?s:[]).map(function(v){return new Oe(v)});var y;return o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1,o.datasourceBind=new F(n==null?void 0:n.datasourceBind),o}return r}(A);Xc.RuntimeRules=mJ;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 _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 wJ(e,t,r){return t&&_w(e.prototype,t),r&&_w(e,r),e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(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&&qh(e,t)}function $J(e,t){return t&&(SJ(t)==="object"||typeof t=="function")?t:PJ(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(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=Qc(e),o;if(t){var u=Qc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $J(this,o)}}var pw=function(e){TJ(r,e);var t=IJ(r);function r(n){RJ(this,r);var o;return o=t.call(this,n),o.props=new Xc(n==null?void 0:n.props),o}return wJ(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(D);pw.excludes=[];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 bw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kJ(e,t,r){return t&&bw(e.prototype,t),r&&bw(e,r),e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function BJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function jJ(e,t){return t&&(AJ(t)==="object"||typeof t=="function")?t:CJ(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(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=Jc(e),o;if(t){var u=Jc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return jJ(this,o)}}var LJ=function(e){BJ(r,e);var t=DJ(r);function r(n){NJ(this,r);var o;return o=t.call(this,n),o.props=new Xc(n==null?void 0:n.props),o}return kJ(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Y),Wh={Designer:pw,Runtime:LJ,Property:Xc};function FJ(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 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 xJ(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function YJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function GJ(e,t){return t&&(VJ(t)==="object"||typeof t=="function")?t:FJ(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}var VJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qJ(e){var t=HJ();return function(){var n=Zc(e),o;if(t){var u=Zc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return GJ(this,o)}}var UJ=function(e){YJ(r,e);var t=qJ(r);function r(n){return zJ(this,r),t.call(this,n)}return xJ(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(D);function 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 gw(e,t){for(var r=0;r<t.length;r++){var 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&&gw(e.prototype,t),r&&gw(e,r),e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&Xh(e,t)}function JJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:WJ(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(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=ef(e),o;if(t){var u=ef(this).constructor;o=Reflect.construct(n,arguments,u)}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"page"}}]),r}(Y);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 tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&Qh(e,t)}function uZ(e,t){return t&&(cZ(t)==="object"||typeof t=="function")?t:rZ(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(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=tf(e),o;if(t){var u=tf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return uZ(this,o)}}var lZ=function(e){iZ(r,e);var t=aZ(r);function r(n){oZ(this,r);var o;o=t.call(this,n),o.background="#fff",o.minWidth="",o.maxWidth="",o.heightConfig="auto";var u;return o.hideHeader=(u=n==null?void 0:n.hideHeader)!==null&&u!==void 0?u:!1,o}return r}(A),mw={Designer:UJ,Runtime:nZ,Property:lZ};function sZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vZ(e,t,r){return t&&Pw(e.prototype,t),r&&Pw(e,r),e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function hZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:sZ(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var _Z=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bZ(e){var t=pZ();return function(){var n=nf(e),o;if(t){var u=nf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hZ(this,o)}}var OZ=function(e){dZ(r,e);var t=bZ(r);function r(n){return yZ(this,r),t.call(this,n)}return vZ(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(D);function gZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PZ(e,t,r){return t&&Rw(e.prototype,t),r&&Rw(e,r),e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function RZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function wZ(e,t){return t&&(TZ(t)==="object"||typeof t=="function")?t:gZ(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var TZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $Z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SZ(e){var t=$Z();return function(){var n=rf(e),o;if(t){var u=rf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wZ(this,o)}}var EZ=function(e){RZ(r,e);var t=SZ(r);function r(n){return mZ(this,r),t.call(this,n)}return PZ(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Y);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 of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function NZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function kZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:IZ(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var BZ=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 AZ(e){var t=jZ();return function(){var n=of(e),o;if(t){var u=of(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kZ(this,o)}}var MZ=function(e){NZ(r,e);var t=AZ(r);function r(n){CZ(this,r);var o;return o=t.call(this,n),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new VO(n==null?void 0:n.flexConfig),o}return r}(A),ww={Designer:OZ,Runtime:EZ,Property:MZ};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 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 FZ(e,t,r){return t&&Tw(e.prototype,t),r&&Tw(e,r),e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(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&&t_(e,t)}function xZ(e,t){return t&&(YZ(t)==="object"||typeof t=="function")?t:DZ(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(e,t)}var YZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VZ(e){var t=GZ();return function(){var n=uf(e),o;if(t){var u=uf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return xZ(this,o)}}var HZ=function(e){zZ(r,e);var t=VZ(r);function r(n){return LZ(this,r),t.call(this,n)}return FZ(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(D);function qZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 WZ(e,t,r){return t&&$w(e.prototype,t),r&&$w(e,r),e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(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&&n_(e,t)}function XZ(e,t){return t&&(QZ(t)==="object"||typeof t=="function")?t:qZ(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(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=cf(e),o;if(t){var u=cf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return XZ(this,o)}}var eee=function(e){KZ(r,e);var t=ZZ(r);function r(n){return UZ(this,r),t.call(this,n)}return WZ(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Y);function tee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function ree(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function oee(e,t){return t&&(iee(t)==="object"||typeof t=="function")?t:tee(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var iee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cee(e){var t=uee();return function(){var n=ff(e),o;if(t){var u=ff(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return oee(this,o)}}var fee=function(e){ree(r,e);var t=cee(r);function r(n){return nee(this,r),t.call(this,n)}return r}(A),Sw={Designer:HZ,Runtime:eee,Property:fee};function aee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 see(e,t,r){return t&&Ew(e.prototype,t),r&&Ew(e,r),e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function yee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o_(e,t)}function vee(e,t){return t&&(dee(t)==="object"||typeof t=="function")?t:aee(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}var dee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ee(e){var t=hee();return function(){var n=af(e),o;if(t){var u=af(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return vee(this,o)}}var pee=function(e){yee(r,e);var t=_ee(r);function r(n){return lee(this,r),t.call(this,n)}return see(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(D);function bee(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 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 gee(e,t,r){return t&&Iw(e.prototype,t),r&&Iw(e,r),e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(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&&i_(e,t)}function Pee(e,t){return t&&(Ree(t)==="object"||typeof t=="function")?t:bee(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(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=lf(e),o;if(t){var u=lf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Pee(this,o)}}var $ee=function(e){mee(r,e);var t=Tee(r);function r(n){return Oee(this,r),t.call(this,n)}return gee(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Y);function See(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function Iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function Cee(e,t){return t&&(Nee(t)==="object"||typeof t=="function")?t:See(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}var Nee=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 Bee(e){var t=kee();return function(){var n=sf(e),o;if(t){var u=sf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Cee(this,o)}}var jee=function(e){Iee(r,e);var t=Bee(r);function r(n){Eee(this,r);var o;o=t.call(this,n);var u;o.widthSpan=(u=n==null?void 0:n.widthSpan)!==null&&u!==void 0?u:12;var f;o.heightSpan=(f=n==null?void 0:n.heightSpan)!==null&&f!==void 0?f:12;var a;o.left=(a=n==null?void 0:n.left)!==null&&a!==void 0?a:0;var l;return o.top=(l=n==null?void 0:n.top)!==null&&l!==void 0?l:0,o}return r}(A),Cw={Designer:pee,Runtime:$ee,Property:jee};function Aee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function Dee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function Lee(e,t){return t&&(Fee(t)==="object"||typeof t=="function")?t:Aee(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var Fee=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 xee(e){var t=zee();return function(){var n=yf(e),o;if(t){var u=yf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Lee(this,o)}}var f_=function(e){Dee(r,e);var t=xee(r);function r(n){Mee(this,r);var o;o=t.call(this,n);var u;o.position=(u=n==null?void 0:n.position)!==null&&u!==void 0?u:"bottom";var f;o.opacity=(f=n==null?void 0:n.opacity)!==null&&f!==void 0?f:!0;var a;return o.align=(a=n==null?void 0:n.align)!==null&&a!==void 0?a:"right",o}return r}(A);function Yee(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 Nw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vee(e,t,r){return t&&Nw(e.prototype,t),r&&Nw(e,r),e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function Hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function qee(e,t){return t&&(Uee(t)==="object"||typeof t=="function")?t:Yee(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}var Uee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kee(e){var t=Wee();return function(){var n=vf(e),o;if(t){var u=vf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return qee(this,o)}}var l_=function(e){Hee(r,e);var t=Kee(r);function r(n){Gee(this,r);var o;o=t.call(this,n);var u;return o.props=new f_((u=n==null?void 0:n.props)!==null&&u!==void 0?u:{}),o}return Vee(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(D);l_.excludes=[],l_.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];function Xee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kw(e,t){for(var r=0;r<t.length;r++){var 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&&kw(e.prototype,t),r&&kw(e,r),e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function Zee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function ete(e,t){return t&&(tte(t)==="object"||typeof t=="function")?t:Xee(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var tte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rte(e){var t=nte();return function(){var n=df(e),o;if(t){var u=df(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ete(this,o)}}var ote=function(e){Zee(r,e);var t=rte(r);function r(n){Qee(this,r);var o;o=t.call(this,n);var u;return o.props=new f_((u=n==null?void 0:n.props)!==null&&u!==void 0?u:{}),o}return Jee(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Y),Bw={Designer:l_,Runtime:ote,Property:f_},ite=Object.freeze({__proto__:null,Grid:SR,Col:lc,Row:BR,GridRow:sh,CardGroup:xR,SubTableColumn:Oh,SubTableRow:UR,GridTableColumn:KR,Tab:ow,TabPane:tw,Toolbox:aw,ListView:Vh,DataView:Wh,Page:mw,AdvancedContainer:ww,PositioningContainer:Sw,Position:Cw,ActionBar:Bw});function ute(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 hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(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&&d_(e,t)}function cte(e,t){return t&&(fte(t)==="object"||typeof t=="function")?t:ute(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}var fte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h_(e){var t=ate();return function(){var n=hf(e),o;if(t){var u=hf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cte(this,o)}}var lte=function(e){v_(r,e);var t=h_(r);function r(n){y_(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")},o.limitRows=[{type:"number",required:!0,message:_.getMessage("isNotNumber")},{type:"number",min:0,message:_.getMessage("limitRowsCannotBeLessThan0")}],o.formKey={type:"string",required:!1,message:_.getMessage("pleaseEnterForm")},o.maxHeight={type:"number",required:!0,message:_.getMessage("pleaseEnterMaxHeight")},o.captionTip={type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")},n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(z),ste=function(e){v_(r,e);var t=h_(r);function r(n){y_(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:_.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(f,a,l){a.length<n.limitRows&&l(_.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:_.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Pe),Vn=function(e){v_(r,e);var t=h_(r);function r(n,o){y_(this,r);var u;u=t.call(this,n,o);var f;u.caption=(f=o==null?void 0:o.caption)!==null&&f!==void 0?f:pf.controlName;var a;u.isHideCaption=(a=o==null?void 0:o.isHideCaption)!==null&&a!==void 0?a:!1;var l;u.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var s;u.labelPosition=(s=o==null?void 0:o.labelPosition)!==null&&s!==void 0?s:"top";var y;u.openType=(y=o==null?void 0:o.openType)!==null&&y!==void 0?y:"default";var v;u.formKey=(v=o==null?void 0:o.formKey)!==null&&v!==void 0?v:"";var d;u.useCustomHeight=(d=o==null?void 0:o.useCustomHeight)!==null&&d!==void 0?d:!1;var b;u.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:YO;var O;u.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var p;u.limitRows=(p=o==null?void 0:o.limitRows)!==null&&p!==void 0?p:1;var g;u.defaultRows=(g=o==null?void 0:o.defaultRows)!==null&&g!==void 0?g:1,u.datasourceBind=new F(o==null?void 0:o.datasourceBind);var h;u.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var P;u.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var m;u.canCheck=(m=o==null?void 0:o.canCheck)!==null&&m!==void 0?m:!1;var R;u.canEdit=(R=o==null?void 0:o.canEdit)!==null&&R!==void 0?R:!1;var $;u.canImport=($=o==null?void 0:o.canImport)!==null&&$!==void 0?$:!1;var w;u.canExport=(w=o==null?void 0:o.canExport)!==null&&w!==void 0?w:!1;var S;u.canClear=(S=o==null?void 0:o.canClear)!==null&&S!==void 0?S:!0;var k;u.serverPagination=(k=o==null?void 0:o.serverPagination)!==null&&k!==void 0?k:!1;var re;u.isShowCaptionTip=(re=o==null?void 0:o.isShowCaptionTip)!==null&&re!==void 0?re:!1;var W;u.captionTip=(W=o==null?void 0:o.captionTip)!==null&&W!==void 0?W:"";var K;u.mobileShowType=(K=o==null?void 0:o.mobileShowType)!==null&&K!==void 0?K:"list";var Dt;u.dataStorageDoc=(Dt=o==null?void 0:o.dataStorageDoc)!==null&&Dt!==void 0?Dt:new Pb;var ct;return u.fixedColumn=(ct=o==null?void 0:o.fixedColumn)!==null&&ct!==void 0?ct:[],u}return r}(Xt);Vn.Rules=lte,Vn.RuntimeRules=ste;function jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vte(e,t,r){return t&&Aw(e.prototype,t),r&&Aw(e,r),e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function dte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hte(e,t){return t&&(_te(t)==="object"||typeof t=="function")?t:jw(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var _te=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bte(e){var t=pte();return function(){var n=_f(e),o;if(t){var u=_f(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hte(this,o)}}var pf=function(e){dte(r,e);var t=bte(r);function r(n){yte(this,r);var o,u;return o=t.call(this,n),o.props=new Vn(jw(o),n==null?void 0:n.props),(n==null||(u=n.props)===null||u===void 0?void 0:u.headers)===void 0&&(o.props.headers=[new se,new se,new se]),o}return vte(r,[{key:"addColumn",value:function(o,u){var f=o!==void 0&&typeof o!="number"?o:new se,a=typeof o=="number"?o:u;return a===void 0?this.props.headers.push(f):this.props.headers.splice(a,0,f),f}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Or);pf.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],pf.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 Mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ote(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gte(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function mte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}function Pte(e,t){return t&&(Rte(t)==="object"||typeof t=="function")?t:Mw(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}var Rte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tte(e){var t=wte();return function(){var n=bf(e),o;if(t){var u=bf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Pte(this,o)}}var $te=function(e){mte(r,e);var t=Tte(r);function r(n){Ote(this,r);var o;return o=t.call(this,n),o.props=new Vn(Mw(o),n==null?void 0:n.props),o}return gte(r,[{key:"getChildrenDataSourceBindLayout",value:function(){me("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(El),Lw={Designer:pf,Runtime:$te,Property:Vn};function Ste(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ete(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 Ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b_(e,t)}function Cte(e,t){return t&&(Nte(t)==="object"||typeof t=="function")?t:Ste(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(e,t)}var Nte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bte(e){var t=kte();return function(){var n=Of(e),o;if(t){var u=Of(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Cte(this,o)}}var O_=function(e){Ite(r,e);var t=Bte(r);function r(n,o){Ete(this,r);var u;u=t.call(this,n,o);var f;u.isFixedHeader=(f=o==null?void 0:o.isFixedHeader)!==null&&f!==void 0?f:!1,u.selectionType=o==null?void 0:o.selectionType;var a;u.isShowToolbar=(a=o==null?void 0:o.isShowToolbar)!==null&&a!==void 0?a:!0;var l;u.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var s;return u.isShowCustomColumns=(s=o==null?void 0:o.isShowCustomColumns)!==null&&s!==void 0?s:!0,u}return r}(Xt);function jte(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 gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function zw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ate(e,t){return t&&(Mte(t)==="object"||typeof t=="function")?t:jte(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var Mte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xw(e){var t=Dte();return function(){var n=gf(e),o;if(t){var u=gf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ate(this,o)}}var Lte=function(e){zw(r,e);var t=xw(r);function r(n){Fw(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(he),mf=function(e){zw(r,e);var t=xw(r);function r(n){Fw(this,r);var o,u,f;o=t.call(this,n);var a;o.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Ve.controlName;var s;o.width=(s=n==null?void 0:n.width)!==null&&s!==void 0?s:60;var y;o.autoWidth.minWidth=(y=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.minWidth)!==null&&y!==void 0?y:60;var v;o.autoWidth.flex=(v=n==null||(f=n.autoWidth)===null||f===void 0?void 0:f.flex)!==null&&v!==void 0?v:.4;var d;return o.widthType=(d=n==null?void 0:n.widthType)!==null&&d!==void 0?d:"px",o}return r}(L);mf.Rules=Lte;function Fte(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 xte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yte(e,t){return t&&(Gte(t)==="object"||typeof t=="function")?t:Fte(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var Gte=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 Hte(e){var t=Vte();return function(){var n=Pf(e),o;if(t){var u=Pf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Yte(this,o)}}var Ve=function(e){xte(r,e);var t=Hte(r);function r(n){zte(this,r);var o;return o=t.call(this,n),o.props=new mf(n==null?void 0:n.props),o}return r}(H);Ve.controlType="order-column",Ve.controlName="\u5E8F\u53F7",Ve.controlIcon="order-column",Ve.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];function qte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ute(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(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&&P_(e,t)}function Kte(e,t){return t&&(Xte(t)==="object"||typeof t=="function")?t:qte(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}var Xte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jte(e){var t=Qte();return function(){var n=Rf(e),o;if(t){var u=Rf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Kte(this,o)}}var R_=function(e){Wte(r,e);var t=Jte(r);function r(n){Ute(this,r);var o;return o=t.call(this,n),o.props=new mf(n==null?void 0:n.props),o}return r}(q);R_.controlType="order-column",R_.controlFieldType=c.FieldTypes.DECIMAL;var Yw={Designer:Ve,Runtime:R_,Property:mf};function Zte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ene(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(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&&w_(e,t)}function nne(e,t){return t&&(rne(t)==="object"||typeof t=="function")?t:Zte(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}var rne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function one(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ine(e){var t=one();return function(){var n=wf(e),o;if(t){var u=wf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nne(this,o)}}var T_=function(e){tne(r,e);var t=ine(r);function r(n){ene(this,r);var o,u;o=t.call(this,n);var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"right",o.widthType="auto";var a;o.autoWidth.minWidth=(a=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.minWidth)!==null&&a!==void 0?a:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:He.controlName;var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"icon";var y;return o.limit=(y=n==null?void 0:n.limit)!==null&&y!==void 0?y:3,o}return r}(L);function Gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vw(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function une(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){Vw(u,n,o,f,a,"next",l)}function a(l){Vw(u,n,o,f,a,"throw",l)}f(void 0)})}}function cne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fne(e,t,r){return t&&Hw(e.prototype,t),r&&Hw(e,r),e}function ane(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ct(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ct=Reflect.get:Ct=function(o,u,f){var a=vne(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Ct(e,t,r||e)}function Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ee(e)}function lne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sne(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){ane(e,o,r[o])})}return e}function yne(e,t){return t&&(dne(t)==="object"||typeof t=="function")?t:Gw(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}function vne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ee(e),e!==null););return e}var dne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ne(e){var t=hne();return function(){var n=Ee(e),o;if(t){var u=Ee(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return yne(this,o)}}var He=function(e){lne(r,e);var t=_ne(r);function r(n){cne(this,r);var o;return o=t.call(this,n),o.props=new T_(n==null?void 0:n.props),de(Gw(o),"children",n==null?void 0:n.children),o}return fne(r,[{key:"toDataBindModel",value:function(){var o=Ct(Ee(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(u){if(u.type===ei.controlType){var f=u;o.props[f.props.command]=f.props}}),o}},{key:"toSchema",value:function(){var o=Ct(Ee(r.prototype),"toSchema",this).call(this);return sne({},o,{children:this.children.map(function(u){return u.toSchema()})})}},{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return Ct(Ee(r.prototype),"validate",f)};return une(X.default.mark(function s(){return X.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,l().call(a,o,u);case 2:return v.next=4,Promise.all(a.children.map(function(d){return d.validate(o,u)}));case 4:return v.abrupt("return",!0);case 5:case"end":return v.stop()}},s)}))()}}]),r}(H);He.controlType="operation-column",He.controlName="\u64CD\u4F5C",He.controlIcon="operation-column",He.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 qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function 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&&S_(e,t)}function One(e,t){return t&&(gne(t)==="object"||typeof t=="function")?t:qw(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(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=Tf(e),o;if(t){var u=Tf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return One(this,o)}}var E_=function(e){bne(r,e);var t=Pne(r);function r(n){pne(this,r);var o;return o=t.call(this,n),o.props=new T_(n==null?void 0:n.props),de(qw(o),"children",n==null?void 0:n.children),o}return r}(q);E_.controlType="operation-column",E_.controlFieldType=c.FieldTypes.FILE;var Uw={Designer:He,Runtime:E_,Property:T_};function I_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ww(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function Rne(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){Ww(u,n,o,f,a,"next",l)}function a(l){Ww(u,n,o,f,a,"throw",l)}f(void 0)})}}function wne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tne(e,t,r){return t&&Kw(e.prototype,t),r&&Kw(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 Hn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hn=Reflect.get:Hn=function(o,u,f){var a=Cne(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Hn(e,t,r||e)}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qe(e)}function Sne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function Ene(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){$ne(e,o,r[o])})}return e}function Ine(e,t){return t&&(Nne(t)==="object"||typeof t=="function")?t:I_(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}function Cne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qe(e),e!==null););return e}var Nne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bne(e){var t=kne();return function(){var n=qe(e),o;if(t){var u=qe(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ine(this,o)}}var Xw=function(e){Sne(r,e);var t=Bne(r);function r(n){wne(this,r);var o;return o=t.call(this,n),o.props=new O_(I_(o),n==null?void 0:n.props),de(I_(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new Ve,new He]),o}return Tne(r,[{key:"toSchema",value:function(){var o=Hn(qe(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return Ene({},o,{children:u})}},{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return Hn(qe(r.prototype),"validate",f)};return Rne(X.default.mark(function s(){return X.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,l().call(a,o,u);case 2:return v.next=4,Promise.all(a.children.map(function(d){return d.validate(o,u)}));case 4:return v.abrupt("return",!0);case 5:case"end":return v.stop()}},s)}))()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Or);Xw.setting=[{key:"list-fixed-header",visible:!0}];function Qw(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 Jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ane(e,t,r){return t&&Jw(e.prototype,t),r&&Jw(e,r),e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function Mne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function Dne(e,t){return t&&(Lne(t)==="object"||typeof t=="function")?t:Qw(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var Lne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zne(e){var t=Fne();return function(){var n=$f(e),o;if(t){var u=$f(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Dne(this,o)}}var xne=function(e){Mne(r,e);var t=zne(r);function r(n){jne(this,r);var o;return o=t.call(this,n),o.props=new O_(Qw(o),n==null?void 0:n.props),o}return Ane(r,[{key:"getChildrenDataSourceBindLayout",value:function(){me("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}(El),Zw={Designer:Xw,Runtime:xne,Property:O_},Yne=Object.freeze({__proto__:null,SubTable:Lw,GridTable:Zw});function eT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function nT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gne(e,t){return t&&(Vne(t)==="object"||typeof t=="function")?t:eT(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var Vne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rT(e){var t=Hne();return function(){var n=Sf(e),o;if(t){var u=Sf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Gne(this,o)}}var qne=function(e){nT(r,e);var t=rT(r);function r(n){tT(this,r);var o;return o=t.call(this,n),$e.call(eT(o),n),o}return r}(Bl),Ef=function(e){nT(r,e);var t=rT(r);function r(n){tT(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ue.controlName;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new F(n==null?void 0:n.datasourceBind);var a;o.options=ye((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new be(n==null?void 0:n.linkOperationOption);var s;return o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:1,o}return r}(L);Ef.Rules=qne;function Une(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(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&&B_(e,t)}function Xne(e,t){return t&&(Qne(t)==="object"||typeof t=="function")?t:Une(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}var Qne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zne(e){var t=Jne();return function(){var n=If(e),o;if(t){var u=If(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Xne(this,o)}}var Ue=function(e){Kne(r,e);var t=Zne(r);function r(n){Wne(this,r);var o;return o=t.call(this,n),o.props=new Ef(n==null?void 0:n.props),o}return r}(H);Ue.controlType="varchar-column",Ue.controlName="\u77ED\u6587\u672C",Ue.controlIcon="varchar-column",Ue.controlFieldType=c.FieldTypes.VARCHAR,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-autoHeight",visible:!0},{key:"column-link-operation",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 ere(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function nre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function rre(e,t){return t&&(ore(t)==="object"||typeof t=="function")?t:ere(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var ore=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ire(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ure(e){var t=ire();return function(){var n=Cf(e),o;if(t){var u=Cf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rre(this,o)}}var A_=function(e){nre(r,e);var t=ure(r);function r(n){tre(this,r);var o;return o=t.call(this,n),o.props=new Ef(n==null?void 0:n.props),o}return r}(q);A_.controlType="varchar-column",A_.controlFieldType=c.FieldTypes.VARCHAR;var oT={Designer:Ue,Runtime:A_,Property:Ef};function iT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uT(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 cT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cre(e,t){return t&&(fre(t)==="object"||typeof t=="function")?t:iT(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(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 fT(e){var t=are();return function(){var n=Nf(e),o;if(t){var u=Nf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cre(this,o)}}var lre=function(e){cT(r,e);var t=fT(r);function r(n){uT(this,r);var o;return o=t.call(this,n),$e.call(iT(o),n),o}return r}(he),kf=function(e){cT(r,e);var t=fT(r);function r(n){uT(this,r);var o;o=t.call(this,n);var u;o.escapeHTML=(u=n==null?void 0:n.escapeHTML)!==null&&u!==void 0?u:!0;var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:We.controlName;var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new be(n==null?void 0:n.linkOperationOption),o}return r}(L);kf.Rules=lre;function sre(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 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 vre(e,t,r){return t&&aT(e.prototype,t),r&&aT(e,r),e}function Bf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bf=Reflect.get:Bf=function(o,u,f){var a=_re(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Bf(e,t,r||e)}function Nt(e){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nt(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&&D_(e,t)}function hre(e,t){return t&&(pre(t)==="object"||typeof t=="function")?t:sre(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}function _re(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nt(e),e!==null););return e}var pre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ore(e){var t=bre();return function(){var n=Nt(e),o;if(t){var u=Nt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hre(this,o)}}var We=function(e){dre(r,e);var t=Ore(r);function r(n){yre(this,r);var o;return o=t.call(this,n),o.props=new kf(n==null?void 0:n.props),o}return vre(r,[{key:"toDataBindModel",value:function(o){var u=Bf(Nt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.escapeHTML;u.props.escapeHTML=f}return u}}]),r}(H);We.controlType="text-column",We.controlName="\u957F\u6587\u672C",We.controlIcon="text-column",We.controlFieldType=c.FieldTypes.TEXT,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-autoHeight",visible:!0},{key:"column-link-operation",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 gre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function Pre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function Rre(e,t){return t&&(wre(t)==="object"||typeof t=="function")?t:gre(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}var wre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $re(e){var t=Tre();return function(){var n=jf(e),o;if(t){var u=jf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Rre(this,o)}}var F_=function(e){Pre(r,e);var t=$re(r);function r(n){mre(this,r);var o;return o=t.call(this,n),o.props=new kf(n==null?void 0:n.props),o}return r}(q);F_.controlType="text-column",F_.controlFieldType=c.FieldTypes.TEXT;var lT={Designer:We,Runtime:F_,Property:kf};function sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yT(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 vT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Sre(e,t){return t&&(Ere(t)==="object"||typeof t=="function")?t:sT(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var Ere=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 dT(e){var t=Ire();return function(){var n=Af(e),o;if(t){var u=Af(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Sre(this,o)}}var Cre=function(e){vT(r,e);var t=dT(r);function r(n){yT(this,r);var o;return o=t.call(this,n),$e.call(sT(o),n),o}return r}(he),Mf=function(e){vT(r,e);var t=dT(r);function r(n){yT(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ke.controlName;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var s;o.optionConfig=(s=n==null?void 0:n.optionConfig)!==null&&s!==void 0?s:"none",o.datasourceBind=new F(n==null?void 0:n.datasourceBind);var y;o.options=ye((y=n==null?void 0:n.options)!==null&&y!==void 0?y:[{}]);var v;return o.showLinkOperation=(v=n==null?void 0:n.showLinkOperation)!==null&&v!==void 0?v:!1,o.linkOperationOption=new be(n==null?void 0:n.linkOperationOption),o}return r}(L);Mf.Rules=Cre;function Nre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Bre(e,t,r){return t&&hT(e.prototype,t),r&&hT(e,r),e}function Df(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Df=Reflect.get:Df=function(o,u,f){var a=Mre(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Df(e,t,r||e)}function kt(e){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kt(e)}function jre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function Are(e,t){return t&&(Dre(t)==="object"||typeof t=="function")?t:Nre(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function Mre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kt(e),e!==null););return e}var Dre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fre(e){var t=Lre();return function(){var n=kt(e),o;if(t){var u=kt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Are(this,o)}}var Ke=function(e){jre(r,e);var t=Fre(r);function r(n){kre(this,r);var o;return o=t.call(this,n),o.props=new Mf(n==null?void 0:n.props),o}return Bre(r,[{key:"toDataBindModel",value:function(o){var u=Df(kt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u}}]),r}(H);Ke.controlType="decimal-column",Ke.controlName="\u6570\u503C",Ke.controlIcon="decimal-column",Ke.controlFieldType=c.FieldTypes.DECIMAL,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-link-operation",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 zre(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 Yre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y_(e,t)}function Gre(e,t){return t&&(Vre(t)==="object"||typeof t=="function")?t:zre(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}var Vre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qre(e){var t=Hre();return function(){var n=Lf(e),o;if(t){var u=Lf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Gre(this,o)}}var G_=function(e){Yre(r,e);var t=qre(r);function r(n){xre(this,r);var o;return o=t.call(this,n),o.props=new Mf(n==null?void 0:n.props),o}return r}(q);G_.controlType="decimal-column",G_.controlFieldType=c.FieldTypes.DECIMAL;var _T={Designer:Ke,Runtime:G_,Property:Mf};function pT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bT(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 OT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ure(e,t){return t&&(Wre(t)==="object"||typeof t=="function")?t:pT(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var Wre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gT(e){var t=Kre();return function(){var n=Ff(e),o;if(t){var u=Ff(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ure(this,o)}}var Xre=function(e){OT(r,e);var t=gT(r);function r(n){bT(this,r);var o;return o=t.call(this,n),$e.call(pT(o),n),o}return r}(he),zf=function(e){OT(r,e);var t=gT(r);function r(n){bT(this,r);var o;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.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new be(n==null?void 0:n.linkOperationOption);var a;return o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Xe.controlName,o}return r}(L);zf.Rules=Xre;function Qre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zre(e,t,r){return t&&mT(e.prototype,t),r&&mT(e,r),e}function xf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?xf=Reflect.get:xf=function(o,u,f){var a=noe(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},xf(e,t,r||e)}function Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(e)}function eoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 toe(e,t){return t&&(roe(t)==="object"||typeof t=="function")?t:Qre(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}function noe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bt(e),e!==null););return e}var roe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ooe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ooe();return function(){var n=Bt(e),o;if(t){var u=Bt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return toe(this,o)}}var Xe=function(e){eoe(r,e);var t=ioe(r);function r(n){Jre(this,r);var o;return o=t.call(this,n),o.props=new zf(n==null?void 0:n.props),o}return Zre(r,[{key:"toDataBindModel",value:function(o){var u=xf(Bt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.dateType;u.props.dateType=f}return u}}]),r}(H);Xe.controlType="timescope-column",Xe.controlName="\u65E5\u671F\u533A\u95F4",Xe.controlIcon="timescope-column",Xe.controlFieldType=c.FieldTypes.TIMESCOPE,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function uoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function coe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(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&&q_(e,t)}function aoe(e,t){return t&&(loe(t)==="object"||typeof t=="function")?t:uoe(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}var loe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function soe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yoe(e){var t=soe();return function(){var n=Yf(e),o;if(t){var u=Yf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aoe(this,o)}}var U_=function(e){foe(r,e);var t=yoe(r);function r(n){coe(this,r);var o;return o=t.call(this,n),o.props=new zf(n==null?void 0:n.props),o}return r}(q);U_.controlType="timescope-column",U_.controlFieldType=c.FieldTypes.TIMESCOPE;var PT={Designer:Xe,Runtime:U_,Property:zf};function RT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wT(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 TT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 voe(e,t){return t&&(doe(t)==="object"||typeof t=="function")?t:RT(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var doe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $T(e){var t=hoe();return function(){var n=Gf(e),o;if(t){var u=Gf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return voe(this,o)}}var _oe=function(e){TT(r,e);var t=$T(r);function r(n){wT(this,r);var o;return o=t.call(this,n),$e.call(RT(o),n),o}return r}(he),Vf=function(e){TT(r,e);var t=$T(r);function r(n){wT(this,r);var o;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.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new be(n==null?void 0:n.linkOperationOption);var a;return o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Qe.controlName,o}return r}(L);Vf.Rules=_oe;function poe(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 ST(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ooe(e,t,r){return t&&ST(e.prototype,t),r&&ST(e,r),e}function Hf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hf=Reflect.get:Hf=function(o,u,f){var a=Poe(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Hf(e,t,r||e)}function jt(e){return jt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jt(e)}function goe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 moe(e,t){return t&&(Roe(t)==="object"||typeof t=="function")?t:poe(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}function Poe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jt(e),e!==null););return e}var Roe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function woe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Toe(e){var t=woe();return function(){var n=jt(e),o;if(t){var u=jt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return moe(this,o)}}var Qe=function(e){goe(r,e);var t=Toe(r);function r(n){boe(this,r);var o;return o=t.call(this,n),o.props=new Vf(n==null?void 0:n.props),o}return Ooe(r,[{key:"toDataBindModel",value:function(o){var u=Hf(jt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.dateType;u.props.dateType=f}return u}}]),r}(H);Qe.controlType="timestamp-column",Qe.controlName="\u65E5\u671F",Qe.controlIcon="timestamp-column",Qe.controlFieldType=c.FieldTypes.TIMESTAMP,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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function $oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Soe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function Eoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ioe(e,t){return t&&(Coe(t)==="object"||typeof t=="function")?t:$oe(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}var Coe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Noe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function koe(e){var t=Noe();return function(){var n=qf(e),o;if(t){var u=qf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ioe(this,o)}}var Q_=function(e){Eoe(r,e);var t=koe(r);function r(n){Soe(this,r);var o;return o=t.call(this,n),o.props=new Vf(n==null?void 0:n.props),o}return r}(q);Q_.controlType="timestamp-column",Q_.controlFieldType=c.FieldTypes.TIMESTAMP;var ET={Designer:Qe,Runtime:Q_,Property:Vf};function Boe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IT(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 CT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 joe(e,t){return t&&(Aoe(t)==="object"||typeof t=="function")?t:Boe(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}var Aoe=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 NT(e){var t=Moe();return function(){var n=Uf(e),o;if(t){var u=Uf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return joe(this,o)}}var Doe=function(e){CT(r,e);var t=NT(r);function r(n){return IT(this,r),t.call(this,n)}return r}(Bl),Wf=function(e){CT(r,e);var t=NT(r);function r(n){IT(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Je.controlName;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new F(n==null?void 0:n.datasourceBind);var a;return o.options=ye((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]),o}return r}(L);Wf.Rules=Doe;function Loe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Foe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(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&&Z_(e,t)}function xoe(e,t){return t&&(Yoe(t)==="object"||typeof t=="function")?t:Loe(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(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 Voe(e){var t=Goe();return function(){var n=Kf(e),o;if(t){var u=Kf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return xoe(this,o)}}var Je=function(e){zoe(r,e);var t=Voe(r);function r(n){Foe(this,r);var o;return o=t.call(this,n),o.props=new Wf(n==null?void 0:n.props),o}return r}(H);Je.controlType="array-column",Je.controlName="\u6570\u7EC4",Je.controlIcon="array-column",Je.controlFieldType=c.FieldTypes.ARRAY,Je.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 Hoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function Uoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function Woe(e,t){return t&&(Koe(t)==="object"||typeof t=="function")?t:Hoe(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var Koe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qoe(e){var t=Xoe();return function(){var n=Xf(e),o;if(t){var u=Xf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Woe(this,o)}}var tp=function(e){Uoe(r,e);var t=Qoe(r);function r(n){qoe(this,r);var o;return o=t.call(this,n),o.props=new Wf(n==null?void 0:n.props),o}return r}(q);tp.controlType="array-column",tp.controlFieldType=c.FieldTypes.ARRAY;var kT={Designer:Je,Runtime:tp,Property:Wf};function Joe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zoe(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 eie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tie(e,t){return t&&(nie(t)==="object"||typeof t=="function")?t:Joe(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(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 oie(e){var t=rie();return function(){var n=Qf(e),o;if(t){var u=Qf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return tie(this,o)}}var rp=function(e){eie(r,e);var t=oie(r);function r(n){Zoe(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ze.controlName;var f;return o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1,o}return r}(L);function iie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cie(e,t,r){return t&&BT(e.prototype,t),r&&BT(e,r),e}function Jf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Jf=Reflect.get:Jf=function(o,u,f){var a=lie(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Jf(e,t,r||e)}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},At(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&&op(e,t)}function aie(e,t){return t&&(sie(t)==="object"||typeof t=="function")?t:iie(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function lie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=At(e),e!==null););return e}var sie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=yie();return function(){var n=At(e),o;if(t){var u=At(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aie(this,o)}}var Ze=function(e){fie(r,e);var t=vie(r);function r(n){uie(this,r);var o;return o=t.call(this,n),o.props=new rp(n==null?void 0:n.props),o}return cie(r,[{key:"toDataBindModel",value:function(o){var u=Jf(At(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.displayLevel;u.props.displayLevel=f}return u}}]),r}(H);Ze.controlType="department-column",Ze.controlName="\u90E8\u95E8",Ze.controlIcon="department-column",Ze.controlFieldType=c.FieldTypes.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0}];function die(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hie(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 _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&&ip(e,t)}function pie(e,t){return t&&(bie(t)==="object"||typeof t=="function")?t:die(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var bie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gie(e){var t=Oie();return function(){var n=Zf(e),o;if(t){var u=Zf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pie(this,o)}}var up=function(e){_ie(r,e);var t=gie(r);function r(n){hie(this,r);var o;return o=t.call(this,n),o.props=new rp(n==null?void 0:n.props),o}return r}(q);up.controlType="department-column",up.controlFieldType=c.FieldTypes.DEPARTMENTS;var jT={Designer:Ze,Runtime:up,Property:rp};function AT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function DT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mie(e,t){return t&&(Pie(t)==="object"||typeof t=="function")?t:AT(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(e,t)}var Pie=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 LT(e){var t=Rie();return function(){var n=ea(e),o;if(t){var u=ea(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return mie(this,o)}}var wie=function(e){DT(r,e);var t=LT(r);function r(n){MT(this,r);var o;return o=t.call(this,n),$e.call(AT(o),n),o}return r}(he),ta=function(e){DT(r,e);var t=LT(r);function r(n){MT(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:et.controlName;var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new be(n==null?void 0:n.linkOperationOption),o}return r}(L);ta.Rules=wie;function Tie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function Sie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function Eie(e,t){return t&&(Iie(t)==="object"||typeof t=="function")?t:Tie(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}var Iie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nie(e){var t=Cie();return function(){var n=na(e),o;if(t){var u=na(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Eie(this,o)}}var et=function(e){Sie(r,e);var t=Nie(r);function r(n){$ie(this,r);var o;return o=t.call(this,n),o.props=new ta(n==null?void 0:n.props),o}return r}(H);et.controlType="auto-number-column",et.controlName="\u81EA\u52A8\u7F16\u53F7",et.controlIcon="auto-number-column",et.controlFieldType=c.FieldTypes.AUTO_NUMBER,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function kie(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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(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&&ap(e,t)}function Aie(e,t){return t&&(Mie(t)==="object"||typeof t=="function")?t:kie(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}var Mie=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 Lie(e){var t=Die();return function(){var n=ra(e),o;if(t){var u=ra(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Aie(this,o)}}var lp=function(e){jie(r,e);var t=Lie(r);function r(n){Bie(this,r);var o;return o=t.call(this,n),o.props=new ta(n==null?void 0:n.props),o}return r}(q);lp.controlType="auto-number-column",lp.controlFieldType=c.FieldTypes.AUTO_NUMBER;var FT={Designer:et,Runtime:lp,Property:ta};function Fie(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 oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function xie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yie(e,t){return t&&(Gie(t)==="object"||typeof t=="function")?t:Fie(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var Gie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hie(e){var t=Vie();return function(){var n=oa(e),o;if(t){var u=oa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Yie(this,o)}}var yp=function(e){xie(r,e);var t=Hie(r);function r(n){zie(this,r);var o;o=t.call(this,n);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:tt.controlName,o}return r}(L);function qie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function Wie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kie(e,t){return t&&(Xie(t)==="object"||typeof t=="function")?t:qie(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var Xie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jie(e){var t=Qie();return function(){var n=ia(e),o;if(t){var u=ia(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Kie(this,o)}}var tt=function(e){Wie(r,e);var t=Jie(r);function r(n){Uie(this,r);var o;return o=t.call(this,n),o.props=new yp(n==null?void 0:n.props),o}return r}(H);tt.controlType="file-column",tt.controlName="\u9644\u4EF6",tt.controlIcon="file-column",tt.controlFieldType=c.FieldTypes.FILE,tt.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 Zie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function tue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nue(e,t){return t&&(rue(t)==="object"||typeof t=="function")?t:Zie(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}var rue=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 iue(e){var t=oue();return function(){var n=ua(e),o;if(t){var u=ua(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nue(this,o)}}var hp=function(e){tue(r,e);var t=iue(r);function r(n){eue(this,r);var o;return o=t.call(this,n),o.props=new yp(n==null?void 0:n.props),o}return r}(q);hp.controlType="file-column",hp.controlFieldType=c.FieldTypes.FILE;var zT={Designer:tt,Runtime:hp,Property:yp};function uue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function fue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aue(e,t){return t&&(lue(t)==="object"||typeof t=="function")?t:uue(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}var lue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yue(e){var t=sue();return function(){var n=ca(e),o;if(t){var u=ca(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aue(this,o)}}var pp=function(e){fue(r,e);var t=yue(r);function r(n){cue(this,r);var o;o=t.call(this,n);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:nt.controlName,o}return r}(L);function vue(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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function hue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ue(e,t){return t&&(pue(t)==="object"||typeof t=="function")?t:vue(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}var pue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=bue();return function(){var n=fa(e),o;if(t){var u=fa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _ue(this,o)}}var nt=function(e){hue(r,e);var t=Oue(r);function r(n){due(this,r);var o;return o=t.call(this,n),o.props=new pp(n==null?void 0:n.props),o}return r}(H);nt.controlType="image-column",nt.controlName="\u56FE\u7247",nt.controlIcon="image-column",nt.controlFieldType=c.FieldTypes.IMAGE,nt.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 gue(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 aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(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&&Op(e,t)}function Rue(e,t){return t&&(wue(t)==="object"||typeof t=="function")?t:gue(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}var wue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ue(e){var t=Tue();return function(){var n=aa(e),o;if(t){var u=aa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Rue(this,o)}}var gp=function(e){Pue(r,e);var t=$ue(r);function r(n){mue(this,r);var o;return o=t.call(this,n),o.props=new pp(n==null?void 0:n.props),o}return r}(q);gp.controlType="image-column",gp.controlFieldType=c.FieldTypes.IMAGE;var xT={Designer:nt,Runtime:gp,Property:pp};function Sue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function Iue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cue(e,t){return t&&(Nue(t)==="object"||typeof t=="function")?t:Sue(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}var Nue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kue();return function(){var n=la(e),o;if(t){var u=la(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Cue(this,o)}}var Pp=function(e){Iue(r,e);var t=Bue(r);function r(n){Eue(this,r);var o;o=t.call(this,n);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:rt.controlName,o}return r}(L);function jue(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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function Mue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Due(e,t){return t&&(Lue(t)==="object"||typeof t=="function")?t:jue(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}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 zue(e){var t=Fue();return function(){var n=sa(e),o;if(t){var u=sa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Due(this,o)}}var rt=function(e){Mue(r,e);var t=zue(r);function r(n){Aue(this,r);var o;return o=t.call(this,n),o.props=new Pp(n==null?void 0:n.props),o}return r}(H);rt.controlType="people-column",rt.controlName="\u4EBA\u5458",rt.controlIcon="people-column",rt.controlFieldType=c.FieldTypes.EMPLOYEES,rt.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 xue(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 ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(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&&wp(e,t)}function Vue(e,t){return t&&(Hue(t)==="object"||typeof t=="function")?t:xue(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}var Hue=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 Uue(e){var t=que();return function(){var n=ya(e),o;if(t){var u=ya(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Vue(this,o)}}var Tp=function(e){Gue(r,e);var t=Uue(r);function r(n){Yue(this,r);var o;return o=t.call(this,n),o.props=new Pp(n==null?void 0:n.props),o}return r}(q);Tp.controlType="people-column",Tp.controlFieldType=c.FieldTypes.EMPLOYEES;var YT={Designer:rt,Runtime:Tp,Property:Pp};function GT(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 va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function HT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wue(e,t){return t&&(Kue(t)==="object"||typeof t=="function")?t:GT(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}var Kue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qT(e){var t=Xue();return function(){var n=va(e),o;if(t){var u=va(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Wue(this,o)}}var Que=function(e){HT(r,e);var t=qT(r);function r(n){VT(this,r);var o;return o=t.call(this,n),$e.call(GT(o),n),o}return r}(he),da=function(e){HT(r,e);var t=qT(r);function r(n){VT(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ot.controlName;var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new be(n==null?void 0:n.linkOperationOption),o}return r}(L);da.Rules=Que;function Jue(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 ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function ece(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tce(e,t){return t&&(nce(t)==="object"||typeof t=="function")?t:Jue(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}var nce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=rce();return function(){var n=ha(e),o;if(t){var u=ha(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return tce(this,o)}}var ot=function(e){ece(r,e);var t=oce(r);function r(n){Zue(this,r);var o;return o=t.call(this,n),o.props=new da(n==null?void 0:n.props),o}return r}(H);ot.controlType="location-column",ot.controlName="\u5730\u5740",ot.controlIcon="location-column",ot.controlFieldType=c.FieldTypes.ADDRESS,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function ice(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function cce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fce(e,t){return t&&(ace(t)==="object"||typeof t=="function")?t:ice(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}var ace=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=lce();return function(){var n=_a(e),o;if(t){var u=_a(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return fce(this,o)}}var Ip=function(e){cce(r,e);var t=sce(r);function r(n){uce(this,r);var o;return o=t.call(this,n),o.props=new da(n==null?void 0:n.props),o}return r}(q);Ip.controlType="location-column",Ip.controlFieldType=c.FieldTypes.ADDRESS;var UT={Designer:ot,Runtime:Ip,Property:da};function yce(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 pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(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&&Cp(e,t)}function hce(e,t){return t&&(_ce(t)==="object"||typeof t=="function")?t:yce(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}var _ce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bce(e){var t=pce();return function(){var n=pa(e),o;if(t){var u=pa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hce(this,o)}}var Np=function(e){dce(r,e);var t=bce(r);function r(n){vce(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ie.controlName;var f;return o.fieldCodeList=(f=n==null?void 0:n.fieldCodeList)!==null&&f!==void 0?f:[],o}return r}(L);function WT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gce(e,t,r){return t&&KT(e.prototype,t),r&&KT(e,r),e}function mce(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,u,f){var a=$ce(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},qn(e,t,r||e)}function it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},it(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&&kp(e,t)}function Rce(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function wce(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){mce(e,o,r[o])})}return e}function Tce(e,t){return t&&(Sce(t)==="object"||typeof t=="function")?t:WT(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}function $ce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=it(e),e!==null););return e}var Sce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ece(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ice(e){var t=Ece();return function(){var n=it(e),o;if(t){var u=it(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Tce(this,o)}}var Cce=1,Ie=function(t){Pce(n,t);var r=Ice(n);function n(o){Oce(this,n);var u;u=r.call(this,o);var f=Rce(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new Np(o==null?void 0:o.props),de(WT(u),"children",o==null?void 0:o.children),u.excludes=pe(a),u.childrenMaxLength=l,u}return gce(n,[{key:"judgeJoinChildren",value:function(u){var f=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u);return f&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(u){var f=qn(it(n.prototype),"toDataBindModel",this).call(this,u);if(f){var a=this.props.fieldCodeList;f.props.fieldCodeList=a}return f}},{key:"toSchema",value:function(){var u=qn(it(n.prototype),"toSchema",this).call(this);return wce({},u,{children:this.children.map(function(f){return f.toSchema()})})}}]),n}(H);Ie.controlType="custom-column",Ie.controlName="\u81EA\u5B9A\u4E49",Ie.controlIcon="custom-column",Ie.excludes=[],Ie.childrenMaxLength=Cce,Ie.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 XT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(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&&Bp(e,t)}function Bce(e,t){return t&&(jce(t)==="object"||typeof t=="function")?t:XT(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}var jce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ace(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mce(e){var t=Ace();return function(){var n=ba(e),o;if(t){var u=ba(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Bce(this,o)}}var QT=function(e){kce(r,e);var t=Mce(r);function r(n){Nce(this,r);var o;return o=t.call(this,n),o.props=new Np(n==null?void 0:n.props),de(XT(o),"children",n==null?void 0:n.children),o}return r}(q);QT.controlType="custom-column";var JT={Designer:Ie,Runtime:QT,Property:Np};function Dce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(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&&jp(e,t)}function zce(e,t){return t&&(xce(t)==="object"||typeof t=="function")?t:Dce(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}var xce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gce(e){var t=Yce();return function(){var n=Oa(e),o;if(t){var u=Oa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zce(this,o)}}var Ap=function(e){Fce(r,e);var t=Gce(r);function r(n){Lce(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ce.controlName;var f;return o.datasourceBind=new Vt((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{attributes:Ce.controlCustomAttributes}),o}return r}(L);function Vce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qce(e,t,r){return t&&ZT(e.prototype,t),r&&ZT(e,r),e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function Uce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wce(e,t){return t&&(Kce(t)==="object"||typeof t=="function")?t:Vce(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}var Kce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qce(e){var t=Xce();return function(){var n=ga(e),o;if(t){var u=ga(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Wce(this,o)}}var Ce=function(e){Uce(r,e);var t=Qce(r);function r(n){Hce(this,r);var o;return o=t.call(this,n),o.props=new Ap(n==null?void 0:n.props),o}return qce(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Ce.controlType="employee-column",Ce.controlName="\u4EBA\u5458",Ce.controlIcon="employee-column",Ce.controlFieldType=c.FieldTypes.EMPLOYEES,Ce.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 Jce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function efe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tfe(e,t){return t&&(nfe(t)==="object"||typeof t=="function")?t:Jce(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(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 ofe(e){var t=rfe();return function(){var n=ma(e),o;if(t){var u=ma(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return tfe(this,o)}}var Lp=function(e){efe(r,e);var t=ofe(r);function r(n){Zce(this,r);var o;return o=t.call(this,n),o.props=new Ap(n==null?void 0:n.props),o}return r}(q);Lp.controlType="employee-column",Lp.controlFieldType=c.FieldTypes.EMPLOYEES;var e$={Designer:Ce,Runtime:Lp,Property:Ap};function ife(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ufe(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 cfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ffe(e,t){return t&&(afe(t)==="object"||typeof t=="function")?t:ife(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}var afe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sfe(e){var t=lfe();return function(){var n=Pa(e),o;if(t){var u=Pa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ffe(this,o)}}var zp=function(e){cfe(r,e);var t=sfe(r);function r(n){ufe(this,r);var o;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.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new be(n==null?void 0:n.linkOperationOption);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(L);function yfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function dfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hfe(e,t){return t&&(_fe(t)==="object"||typeof t=="function")?t:yfe(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}var _fe=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 bfe(e){var t=pfe();return function(){var n=Ra(e),o;if(t){var u=Ra(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hfe(this,o)}}var ut=function(e){dfe(r,e);var t=bfe(r);function r(n){vfe(this,r);var o;return o=t.call(this,n),o.props=new zp(n==null?void 0:n.props),o}return r}(H);ut.controlType="approval-status-column",ut.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ut.controlIcon="approval-status-column",ut.excludes=[],ut.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}];function Ofe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function mfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pfe(e,t){return t&&(Rfe(t)==="object"||typeof t=="function")?t:Ofe(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}var Rfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tfe(e){var t=wfe();return function(){var n=wa(e),o;if(t){var u=wa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Pfe(this,o)}}var t$=function(e){mfe(r,e);var t=Tfe(r);function r(n){gfe(this,r);var o;return o=t.call(this,n),o.props=new zp(n==null?void 0:n.props),o}return r}(q);t$.controlType="approval-status-column";var n$={Designer:ut,Runtime:t$,Property:zp},$fe=Object.freeze({__proto__:null,VarcharColumn:oT,TextColumn:lT,DecimalColumn:_T,TimescopeColumn:PT,TimestampColumn:ET,ArrayColumn:kT,DepartmentColumn:jT,AutoNumberColumn:FT,FileColumn:zT,ImageColumn:xT,PeopleColumn:YT,LocationColumn:UT,CustomColumn:JT,OrderColumn:Yw,OperationColumn:Uw,EmployeeColumn:e$,ApprovalStatusColumn:n$});function Sfe(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 Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function o$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function Efe(e,t){return t&&(Ife(t)==="object"||typeof t=="function")?t:Sfe(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}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 i$(e){var t=Cfe();return function(){var n=Ta(e),o;if(t){var u=Ta(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Efe(this,o)}}var Nfe=function(e){o$(r,e);var t=i$(r);function r(n){r$(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Pe),$a=function(e){o$(r,e);var t=i$(r);function r(n){r$(this,r);var o;o=t.call(this,n);var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var f;o.viewType=(f=n==null?void 0:n.viewType)!==null&&f!==void 0?f:"mini";var a;o.search=new Oe((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new Oe((l=n==null?void 0:n.cancel)!==null&&l!==void 0?l:{content:"\u91CD\u7F6E",isShow:!0});var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var y;o.custom=((y=n==null?void 0:n.custom)!==null&&y!==void 0?y:[]).map(function(d){return new Oe(d)});var v;return o.queryTypeMap=(v=n==null?void 0:n.queryTypeMap)!==null&&v!==void 0?v:[],o}return r}(Tr);$a.RuntimeRules=Nfe;function kfe(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 Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(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&&Vp(e,t)}function Afe(e,t){return t&&(Mfe(t)==="object"||typeof t=="function")?t:kfe(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}var Mfe=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 Lfe(e){var t=Dfe();return function(){var n=Sa(e),o;if(t){var u=Sa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Afe(this,o)}}var Hp=function(e){jfe(r,e);var t=Lfe(r);function r(n){Bfe(this,r);var o;return o=t.call(this,n),o.props=new $a(n==null?void 0:n.props),o}return r}(EO);Hp.controlType="simple-search",Hp.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 Ffe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(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&&qp(e,t)}function Yfe(e,t){return t&&(Gfe(t)==="object"||typeof t=="function")?t:Ffe(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}var Gfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hfe(e){var t=Vfe();return function(){var n=Ea(e),o;if(t){var u=Ea(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Yfe(this,o)}}var u$=function(e){xfe(r,e);var t=Hfe(r);function r(n){zfe(this,r);var o;o=t.call(this,n),o.props=new $a(n==null?void 0:n.props);var u;return o.children=(u=n==null?void 0:n.children)!==null&&u!==void 0?u:[],o}return r}(IO);u$.controlType="simple-search";var c$={Designer:Hp,Runtime:u$,Property:$a},qfe=Object.freeze({__proto__:null,SimpleSearch:c$});function Up(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 Ufe(e){if(Array.isArray(e))return e}function Wfe(e){if(Array.isArray(e))return Up(e)}function Kfe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Xfe(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,u=!1,f,a;try{for(r=r.call(e);!(o=(f=r.next()).done)&&(n.push(f.value),!(t&&n.length===t));o=!0);}catch(l){u=!0,a=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(u)throw a}}return n}}function Qfe(){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 Jfe(){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 Zfe(e,t){return Ufe(e)||Xfe(e,t)||a$(e,t)||Qfe()}function f$(e){return Wfe(e)||Kfe(e)||a$(e)||Jfe()}function a$(e,t){if(!!e){if(typeof e=="string")return Up(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 Up(e,t)}}var eae=function(e,t){var r=Array.isArray(e),n=r?e:[e];yae(t==null?void 0:t.events),uae(n),cae(n);var o=iae(n),u=fae(o,t),f=Me(Z(u,function(a){return oae(a,t)}));return r?f:f[0]},tae=[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"],nae=["subtable","grid-table"],rae=["simple-search"];function oae(e,t){var r,n,o,u=e;if(u.controlType||(u.is_layout_control===!0?u.controlType="layout":tae.includes(u.type)?u.controlType="base":u.controlType="form",nae.includes(u.type)&&(u.controlType="list"),rae.includes(u.type)&&(u.controlType="search-view")),delete u.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),Q(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(u.props.caption=e.props.caption.zh),Q(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(u.props.placeholder=e.props.placeholder.zh),Q(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(u.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(u.type="department",e.props.value.length&&(u.props.default_value=e.props.value),u.props.showType=e.props.show_tree?"tree":"default",u.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(u.type="auto-number",u.props.defaultValue=e.props.value),e.type==="file"){var f;u.type="attachment",u.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(","),u.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var a;u.props.attachmentAccept=(a=e.attachment_format)===null||a===void 0?void 0:a.split(",")}if(e.type==="date-pick"&&(u.type="date-picker"),e.type==="rich-text"&&(Q(e.props.value)?u.props.defaultValue=e.props.value.zh:u.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(Q(e.props.value)?u.props.content=e.props.value.zh:u.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(u.props.showState="image"),e.type==="user-search"&&(u.type="employee",u.props.defaultValue=e.props.value),e.type==="address"&&(u.props.addressType=e.props.address_type_value),u.type==="subtable"){var l,s=u.props.entry_type||u.props.entryType;u.props.openType=s==="subpage"?"modal":"default",((l=u.children[0])===null||l===void 0?void 0:l.type)==="subtable-row"&&u.props.headers&&(u.props.headers=u.props.headers.map(function(w,S){var k=new Oh.Designer;k.props.caption=Q(w.field_name)?w.field_name.zh:w.field_name;var re=k.toSchema();re.id=w.header_id;var W=u.children[0].children[S].children[0];return!!W&&(re.children=[W]),re}),u.children=[])}u.type==="subtable-cell"&&(u.type="subtable-column");var y=["radio","checkbox","select","select-multiple"];if(y.includes(e.type)&&(e.props.options.map(function(w){w.label=Q(w.text)?w.text.zh:w.text,w.id=w.id||w.opt_id||w.optId||w.data_id}),u=e),e.type==="grid-row"){var v=24/u.children.length;u.children=u.children.map(function(w){var S=new lc.Designer;S.props.span=v;var k=S.toSchema();return k.children.push(w),k})}if(e.type==="grid-layout-row"&&(u.type="row"),e.type==="grid-layout-col"&&(u.type="col"),e.type==="group-panel"&&(u.type="card-group",u.props.collapse=u.props.flod==="no"?"none":u.props.flod),e.type==="tabs-pane"&&(u.type="tab-pane"),e.type==="calc"){var d=u==null?void 0:u.children[0],b=u==null?void 0:u.children[1],O={};d&&(l$(u,t),O.result=d.props.data_bind,u.id=d.id,u.props=d.props,u.props.script_src=d.props.script_src,u.props.script_echo=d.props.script_echo,u.props.precision=d.props.precision,u.props.micrometer=d.props.is_show_money,u.props.showUpperCase=d.props.is_show_chn),b&&(O.unit=b.props.data_bind,u.props.default_value={unit:b.props.value}),u.props.dataBind=O,delete u.children}if(e.type==="amount-currency"){u.type="amount",u.controlType="form";var p=u==null?void 0:u.children[0],g=u==null?void 0:u.children[1],h={},P={};p&&(l$(u,t),u.id=p.id,h.amount=p.props.data_bind,u.props.range_min=Ae(p.props.range_min),u.props.range_max=Ae(p.props.range_max),P.amount=Ae(p.props.value),u.props.required=p.props.required,u.props.is_hide=p.props.is_hide,u.props.default_state=p.props.default_state,u.props.caption=Q(p.props.caption)?p.props.caption.zh:p.props.caption,u.props.is_hide_caption=p.props.is_hide_caption,u.props.showUpperCase=p.props.is_show_chn),g&&(h.currency=g.props.data_bind,P.currency=g.props.value,u.props.datasourceBind=g.props.datasource_bind,u.props.options=g.props.options.map(function(w){return{label:w.text,value:w.value}})),u.props.dataBind=h,u.props.defaultValue=P,delete u.children}if(e.type==="date-range"){u.controlType="form";var m=u==null?void 0:u.children[0],R=u==null?void 0:u.children[1];u.props.placeholderStart=Q(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,u.props.caption=Q(e.props.caption)?e.props.caption.zh:e.props.caption;var $={};m&&($.min=m.props.data_bind),R&&($.max=R.props.data_bind),u.props.dataBind=$,delete u.children}return e.type==="score"&&(u.props.defaultValue=u.props.value*1),["input","textarea"].includes(e.type)&&(u.props.defaultValue=Q(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(u.props.range_min=Ae(e.props.range_min),u.props.range_max=Ae(e.props.range_max),u.props.defaultValue=Ae(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(u.props.buttonType="default"),vae(u,t==null?void 0:t.control_events),u}function l$(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,u=o===void 0?[]:o,f=e.id,a=e.children[0].id;n.forEach(function(l){l.id===f&&(l.id=a);var s=l.show_controls.findIndex(function(v){return v===f}),y=l.hide_controls.findIndex(function(v){return v===f});s>-1&&l.show_controls.splice(s,1,a),y>-1&&l.hide_controls.splice(y,1,a)}),u.forEach(function(l){l.ctrl_id===f&&(l.id=a)})}}function iae(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Wh.Designer,n=r.toSchema();return n.children=e,[n]}function uae(e){e.forEach(function(t){t.children&&sae(t.children)})}function cae(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,u,f=r[n],a=(o=r[n])===null||o===void 0||(u=o.children)===null||u===void 0?void 0:u[0];f.type==="grid-row"&&a&&["group-panel","subtable","tab"].includes(a.type)&&r.splice(n,1,a)}})}function fae(e,t){var r,n,o,u,f;if(!(Array.isArray(e)&&e.length===1))return e;var a=e[0];if(a.type!=="list-page")return e;var l=a.props,s=a.children,y=Zfe(s,3),v=y[0],d=y[1],b=y[2];aae(v),b.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,lae(b,d);var O,p=(O=l==null||(n=l.source_config)===null||n===void 0?void 0:n.data_code)!==null&&O!==void 0?O:t==null?void 0:t.dataCode,g,h=((g=l==null||(o=l.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&g!==void 0?g:p)?"".concat(p,"_selectMore"):void 0,P,m=(P=l==null||(u=l.source_config)===null||u===void 0?void 0:u.orders)!==null&&P!==void 0?P:[],R=new Vh.Designer;R.props.datasourceBind=new F({dataCode:p,svcCode:h,orders:sb(m)}),R.props.isShowSubList=l.is_show_sublist,R.props.triggerType=l.timing_type,R.props.triggerFieldCode=l.ctrl_field_code,l==null||(f=l.sublist_page)===null||f===void 0||f.sublists.forEach(function(w){w.title=Q(w.title)?w.title.zh:w.title}),R.props.sublistPage=l.sublist_page;var $=R.toSchema();return $.children.push(v,b),[$]}function aae(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=Q(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(n=t.dateType)===null||n===void 0||(o=n.replace)===null||o===void 0?void 0:o.call(n,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function lae(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:Q(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=Q(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var u;n.props.delete=(u=r.delete)!==null&&u!==void 0?u:{},n.props.delete.openType="window";var f;n.props.edit=(f=r.edit)!==null&&f!==void 0?f:{},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 F({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 sae(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 yae(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 vae(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(u){var f;!e.props.events[u].length||(t[e.id]||(t[e.id]={}),t[e.id][u]||(t[e.id][u]=[]),(f=t[e.id][u]).push.apply(f,f$(e.props.events[u].map(function(a){return a.name}))))}),(r=t[e.id])===null||r===void 0?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,f$(t[e.id].on_blur))}}}var dae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Me(Z(n,function(u){return hae(u)}));return r?o:o[0]};function hae(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 ie({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var _ae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Me(Z(n,function(u){return pae(u)}));return r?o:o[0]};function pae(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 bae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Me(Z(n,function(u){return Oae(u)}));return r?o:o[0]};function Oae(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 gae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Me(Z(n,function(u){return Pae(u)}));return r?o:o[0]},mae=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Pae(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(mae.includes(r.type))return r;var n=new sh.Designer,o=new lc.Designer;n.children.push(o);var u=n.toSchema();return u.children[0].children.push(r),u})),e}var Rae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Me(Z(n,function(u){return wae(u)}));return r?o:o[0]};function wae(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 Tae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return $ae(u)});return r?o:o[0]};function $ae(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}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}var Sae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Eae(u)});return r?o:o[0]};function Ne(e,t){e.field_code&&(e.field_type=t)}function Eae(e,t){var r,n=(r={},M(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),M(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),M(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),M(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),M(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),M(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),M(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),M(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),M(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),M(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),M(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),M(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),M(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),M(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),M(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),M(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),M(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),M(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),M(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),M(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),M(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),M(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),M(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Ne(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(Ne(e.props.data_bind.amount,c.FieldTypes.DECIMAL),Ne(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(Ne(e.props.data_bind.result,c.FieldTypes.DECIMAL),Ne(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(Ne(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),Ne(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;Ne(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var Iae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Cae(u)});return r?o:o[0]};function Cae(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 Nae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return kae(u)});return r?o:o[0]};function kae(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 Bae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return jae(u)});return r?o:o[0]};function jae(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 Aae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Mae(u)});return r?o:o[0]};function Mae(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 Dae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Lae(u)});return r?o:o[0]};function Lae(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,u;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 f;if(r.children=(f=r==null?void 0:r.children)!==null&&f!==void 0?f:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var a,l,s,y,v,d,b=new ln.Designer;Object.defineProperty(b,"id",{value:"listPageCheckBtnId"}),b.props.code="view",b.props.icon="iconliulan1",b.props.command="view",b.props.content=(a=r.props)===null||a===void 0?void 0:a.check.content,b.props.priorityProcess=(l=r.props)===null||l===void 0?void 0:l.check.priority_process,b.props.openType=(s=r.props)===null||s===void 0?void 0:s.check.open_type,b.props.formKey=(y=r.props)===null||y===void 0?void 0:y.check.form_key,((v=r.props)===null||v===void 0?void 0:v.check.is_show)&&r.children.push(b.toSchema()),(d=r.props)===null||d===void 0||delete d.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var O,p,g,h,P,m,R=new ln.Designer;Object.defineProperty(R,"id",{value:"listPageEditBtnId"}),R.props.code="edit",R.props.icon="iconbianji1",R.props.command="edit",R.props.content=(O=r.props)===null||O===void 0?void 0:O.edit.content,R.props.priorityProcess=(p=r.props)===null||p===void 0?void 0:p.edit.priority_process,R.props.openType=(g=r.props)===null||g===void 0?void 0:g.edit.open_type,R.props.formKey=(h=r.props)===null||h===void 0?void 0:h.edit.form_key,((P=r.props)===null||P===void 0?void 0:P.edit.is_show)&&r.children.push(R.toSchema()),(m=r.props)===null||m===void 0||delete m.edit}if(((u=r.props)===null||u===void 0?void 0:u.delete)!==void 0){var $,w,S,k,re,W,K=new ln.Designer;Object.defineProperty(K,"id",{value:"listPageDeleteBtnId"}),K.props.code="delete",K.props.icon="iconlajitong",K.props.command="delete",K.props.content=($=r.props)===null||$===void 0?void 0:$.delete.content,K.props.priorityProcess=(w=r.props)===null||w===void 0?void 0:w.delete.priority_process,K.props.openType=(S=r.props)===null||S===void 0?void 0:S.delete.open_type,K.props.formKey=(k=r.props)===null||k===void 0?void 0:k.delete.form_key,K.props.needConfirm=!0,K.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",((re=r.props)===null||re===void 0?void 0:re.delete.is_show)&&r.children.push(K.toSchema()),(W=r.props)===null||W===void 0||delete W.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 s$={"v1.0":eae,"v2.0":dae,"v2.1":_ae,"v2.2":bae,"v2.3":gae,"v2.4":Rae,"v2.5":Tae,"v2.6":Sae,"v2.7":Iae,"v2.8":Nae,"v2.9":Bae,"v2.10":Aae,"v3.0":Dae,"v3.1":function(){}};const y$=(e,t)=>{const r=v$(e),n=v$(t),o=r.pop(),u=n.pop(),f=_$(r,n);return f!==0?f:o&&u?_$(o.split("."),u.split(".")):o||u?o?-1:1:0},Ia=(e,t,r)=>{Yae(r);const n=y$(e,t);return p$[r].includes(n)},Fae=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,v$=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Fae);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},d$=e=>e==="*"||e==="x"||e==="X",h$=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},zae=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],xae=(e,t)=>{if(d$(e)||d$(t))return 0;const[r,n]=zae(h$(e),h$(t));return r>n?1:r<n?-1:0},_$=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=xae(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},p$={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},b$=Object.keys(p$),Yae=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(b$.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${b$.join("|")}`)};function Gae(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 Vae(e,t,r){return t&&O$(e.prototype,t),r&&O$(e,r),e}function Wp(e){return e.replace(/^v/,"")}var Mt=Object.keys(s$).map(function(e){return Wp(e)}).sort(y$),Un=Mt[Mt.length-1],Hae=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Un;Gae(this,e),this.schemaVersion=t,this.toVersion=r,Ia(r,Un,">")?me("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Un)):(!Mt.includes(Wp(r))||!Mt.includes(Wp(t)))&&me("Version Builder: Please give me a valid version number, The valid version is: ".concat(Mt.join(","),", But give me a ").concat(t))}return Vae(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(Ia(this.toVersion,this.schemaVersion,"="))return r;var u=this.callDataCleanerKeys.reduce(function(f,a,l,s){var y,v=(y=s[l+1])!==null&&y!==void 0?y:o.toVersion;Gt("Version Builder: current version: ".concat(a,", nextVersion: ").concat(v));var d=s$[a],b=f;if(typeof d=="function"){var O=d(f,n);O&&(b=O)}return b},r);return Gt("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u}},{key:"runDataCleanerKeys",get:function(){var r=this;return Mt.filter(function(n){return Ia(n,r.schemaVersion,">=")&&Ia(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return Un}}],[{key:"version",get:function(){return Un}}]),e}();const Ca=[],Kp={exports:{}};let Xp=!1;const qae=window.module,Uae=window.exports,Wae=window.require;function Kae(e){return Xp||(window.module=Kp,window.exports=Kp.exports,window.require=function(t){return e[t]},Xp=!0),function(){window.module=qae,window.exports=Uae,window.require=Wae,Xp=!1}}function Xae(e,t){const r=new Promise((n,o)=>{const u=document.createElement("script"),f=Kae(t);u.src=e,u.type="text/javascript";const a=()=>{document.head.removeChild(u);const l=Ca.findIndex(s=>s===r);Ca.splice(l,1),Ca.length===0&&f()};u.onerror=function(l){a(),o(l)},u.onload=function(){n(Kp.exports),a()},document.head.appendChild(u)});return Ca.push(r),r}function Qp(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 g$(e,t,r={fetch:Qp}){return new Promise((n,o)=>{const u=e.replace(/^(https?:)?\/\/.*?\/component/,"/component");r.fetch(u).then(f=>{const a={exports:{}};new Function("module","exports","require",f)(a,a.exports,function(l){return t[l]}),n(a.exports)}).catch(f=>{o(f)})})}function Na(e,t){return g$(e,t)}function Qae(e,t){return Wn(this,null,function*(){return yield Promise.all(e.map(r=>Na(r,t)))})}function ka(e,t,r){let n;t==="runtime"?n=class extends V{constructor(l){super(l);this.props={}}static get controlType(){return e}}:n=class extends B{constructor(l){super(l);this.props={}}static get controlType(){return e}};class o extends x{}const u=`<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:u},Mobile:{template:u},Designer:{template:u},Settings:{error:{template:u}}},upgrade:a=>a}}function Jae(e,t,r,n){return Wn(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(u=>Wn(this,null,function*(){let f=!0,a;try{f=!0;let l="";n.type==="runtime"?l=u.runtime:l=u.designer,l+="?v="+u.version,a=yield Na(l,r)}catch(l){f=!1,Be("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+u.id,l),a=ka(u.id,n.type,n.tipMessage)}if(f){let l="";if(n.type==="runtime"&&u.runtimecss!==void 0){const s=new RegExp(u.id+"-runtime-.*?$");l=u.runtime.replace(s,u.runtimecss)}else if(n.type==="designer"&&u.designercss!==void 0){const s=new RegExp(u.id+"-designer-.*?$");l=u.designer.replace(s,u.designercss)}if(l!==""){const s=document.createElement("link");s.href=l,s.rel="stylesheet",document.head.appendChild(s)}}m$(n.type,a,o,f,u)}))),e==null||e.map(u=>{const[f,a]=u.split(":");if(o.has(f)===!1){const s=ka(f,n.type,n.tipMessage);m$(n.type,s,o,!1,{fieldType:"",id:f,name:"",runtime:"",designer:"",type:"",version:a})}})),o})}function m$(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&Be(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&Be(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function Zae(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let u="";r==null||r.map(f=>{const[a,l]=f.split(":");o.props.id===a&&(u=l!=null?l:"")}),e=o.control.upgrade(e,o.version,u,n)}return e}function ele(e,t){return Wn(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield Qp(`${e}/component.json?v=${r}`);let u=[];if(o!==void 0){u=JSON.parse(o);const f=yield Na(`${e}/${t.type}.js?v=${r}`,t.globalModules);u.map(a=>{let l=f.find(s=>t.type==="runtime"?s.Runtime.controlType===a.id:s.Designer.controlType===a.id);l===void 0&&(l=ka(a.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(a.id,{props:a,version:a.version,isLoaded:!0,control:l})})}return n})}c.ActionBar=Bw,c.Address=tP,c.AddressValue=Lb,c.AdvancedContainer=ww,c.Amount=V0,c.AmountDataBind=jb,c.AmountValue=Ab,c.ApprovalStatusColumn=n$,c.ArrayColumn=kT,c.Attachment=D0,c.AutoNumber=yP,c.AutoNumberColumn=FT,c.AutoWidth=Wa,c.BaseControlProperty=I,c.BaseControlPropertyRules=U,c.BaseControlPropertyRuntimeRules=j,c.BaseStyle=Yb,c.BatchDeleteButton=km,c.BatchPrintListButton=mm,c.BatchPrintRecordListButton=wm,c.BatchSubmissionListButton=yg,c.Button=FO,c.Calc=_P,c.CalcDataBind=Fb,c.CalcScriptEchoItem=oC,c.CalcValue=zb,c.CardGroup=xR,c.Checkbox=zm,c.Col=lc,c.ColumnControlProperty=L,c.ColumnControlPropertyRules=he,c.ColumnOptionAndDataSourcePropertyRules=Bl,c.CreateFormListButton=ug,c.CustomAttributeItem=Ja,c.CustomColumn=JT,c.CustomPermissionItem=nN,c.DEFAULT_LOCALE=Jp,c.Dashboard=Xg,c.DataBind=ie,c.DataSourceBind=F,c.DataSourceDataSetValue=Cb,c.DataSourceOrderItem=Xa,c.DataSourceParamItem=ZC,c.DataStorageDoc=Pb,c.DataView=Wh,c.DatePicker=t0,c.DateRange=f0,c.DecimalColumn=_T,c.Department=fP,c.Department2=bR,c.DepartmentColumn=jT,c.DepartmentEntity=Ba,c.DesignerColumnControl=H,c.DesignerControl=B,c.DesignerFormControl=C,c.DesignerLayoutControl=D,c.DesignerListControl=Or,c.DesignerSearchControl=EO,c.DesignerWrapControl=gj,c.DisplayBoListItem=nr,c.Divider=WO,c.ElectronicSignature=aR,c.ElectronicSignatureConfig=zO,c.Employee=j0,c.Employee2=nR,c.EmployeeColumn=e$,c.EventLogic=_b,c.Explain=xr,c.ExportListButton=bg,c.ExportRecordListButton=mg,c.ExportTemplate=ns,c.FieldBindItem=Tb,c.FieldFilterCondition=tr,c.FieldFilterConditions=Ka,c.FieldTypeToColumnType=uC,c.FileColumn=zT,c.FillBackBind=el,c.FillPayloadBind=or,c.FlexStyleConfig=VO,c.FormBind=De,c.FormSelectBind=Rb,c.FormSelectButton=kg,c.Grid=SR,c.GridRow=sh,c.GridTable=Zw,c.GridTableColumn=KR,c.Image=z0,c.ImageColumn=xT,c.ImageOptionSetting=Bb,c.ImportRecordListButton=Tg,c.Input=Mm,c.InvoiceCheckButton=hm,c.JSONCopy=pe,c.JoinRelation=Ib,c.Language=eN,c.LayoutControlProperty=A,c.LeftVariable=Eb,c.LimitDate=zr,c.Link=MO,c.LinkOperationOption=be,c.ListBind=er,c.ListControlProperty=Xt,c.ListSelectButton=Fg,c.ListView=Vh,c.ListViewSelect=rm,c.LocationColumn=UT,c.MetaAutoWidth=mb,c.MetaWidth=Zn,c.MultistageFillingItem=ee,c.Number=Qm,c.ObjectDataBind=ir,c.OperationButton=ln,c.OperationColumn=Uw,c.OperationItem=Oe,c.OptObject=Gb,c.OptionAndDataSourcePropertyRules=Le,c.OptionSetting=nl,c.OrderColumn=Yw,c.OrganizationDataSourceBind=Nb,c.OrganizationSelection=RR,c.Page=mw,c.Pagination=Gg,c.PeopleColumn=YT,c.Position=Cw,c.PositioningContainer=Sw,c.PrintTemplate=GO,c.Property=x,c.PropertyRules=z,c.PropertyRuntimeRules=Pe,c.Radio=Um,c.RangeDataBind=Mb,c.RangeDateValue=Db,c.RegisterControls=Qn,c.RegularRules=tl,c.RichText=_0,c.RightVariable=at,c.Row=BR,c.RulesMessage=_,c.RuntimeColumnControl=q,c.RuntimeControl=V,c.RuntimeFormControl=N,c.RuntimeLayoutControl=Y,c.RuntimeListControl=El,c.RuntimeSearchControl=IO,c.RuntimeWrapControl=Ej,c.SUBTABLE_DEFAULT_MAX_HEIGHT=YO,c.Score=W0,c.SearchControlProperty=Tr,c.SearchDateRange=CP,c.SearchInput=qP,c.SearchNumberRange=RP,c.Select=R0,c.SelectMultiple=S0,c.SelectRelation=xP,c.SelectedContentConfig=rr,c.SimpleSearch=c$,c.SubListItem=$b,c.SubListPageConfig=Sb,c.SubTable=Lw,c.SubTableColumn=Oh,c.SubTableRow=UR,c.SubmissionRecordListButton=hg,c.SuperDataSourceBind=Vt,c.Tab=ow,c.TabPane=tw,c.Text=BO,c.TextColumn=lT,c.TextOcrButton=am,c.Textarea=y0,c.TimescopeColumn=PT,c.TimestampColumn=ET,c.Title=eg,c.Toolbox=aw,c.Tree=QP,c.TreeDataSourceBind=Za,c.UndersignedPerson=ts,c.UserEntity=Ft,c.VarcharColumn=oT,c.VersionBuilder=Hae,c.ViewOperationItem=xb,c.VueFormItem=jP,c.WPS=vR,c.WPSSetting=xO,c.Watcher=db,c.WpsOperationItem=rs,c.WrapControlProperty=zl,c.baseControls=K4,c.camelizeKeys=sb,c.columnControls=$fe,c.controlHooksEmitter=Qb,c.createValidator=Xb,c.debounce=AC,c.decamelizeKeys=Me,c.defineArrayParent=sO,c.defineControlArrayToProperty=de,c.defineParent=Ol,c.error=me,c.formControls=OU,c.genNonDuplicateId=le,c.getHackerControl=ka,c.getNotRepeatItems=lb,c.initExpression=Qt,c.initImageOptions=tN,c.initLinkOperationRules=$e,c.initOptionAndDataSourceRules=ar,c.initOptions=ye,c.initSuperDataSourceRules=Kt,c.isArray=je,c.isBuiltInControls=DC,c.isFunction=IC,c.isJSONArray=BC,c.isJSONObject=jC,c.isLanguageObject=Q,c.isNumber=Va,c.isNumberAndEmptyStringArray=kC,c.isNumberArray=NC,c.isObject=EC,c.isPlainObject=Ga,c.isString=ab,c.isStringArray=CC,c.layoutControls=ite,c.listControls=Yne,c.loadRemoteControl=Na,c.loadRemoteControls=Qae,c.loadScriptFromFetch=g$,c.loadScriptFromTag=Xae,c.log=Gt,c.logerror=ob,c.loop=Z,c.loopFormSchema=za,c.nativeFetch=Qp,c.noop=iC,c.referenceError=Fa,c.registerByteluckControls=ele,c.registerCustomControls=Jae,c.searchControls=qfe,c.setPropertyDontEnum=lO,c.toNumberOrEmpty=Ae,c.updateValueFromKeys=cb,c.upgradeCustomControlSchema=Zae,c.wait=MC,c.warn=Be,Object.defineProperty(c,"__esModule",{value:!0})});