@byteluck-fe/model-driven-core-all 2.6.0-alpha.10 → 2.6.0-alpha.12

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 Un=(c,ke,ct)=>new Promise((X,Wn)=>{var Ba=_e=>{try{Lt(ct.next(_e))}catch(Ft){Wn(Ft)}},ja=_e=>{try{Lt(ct.throw(_e))}catch(Ft){Wn(Ft)}},Lt=_e=>_e.done?X(_e.value):Promise.resolve(_e.value).then(Ba,ja);Lt((ct=ct.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 ct(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var X=ct(ke);function Wn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Ba=function e(){Wn(this,e)};function ja(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Lt=function e(){ja(this,e)},_e="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ft="\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:Ft,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 Kn(e,t,r){return lC()?Kn=Reflect.construct:Kn=function(o,u,f){var a=[null];a.push.apply(a,u);var l=Function.bind.apply(o,a),s=new l;return f&&xt(s,f.prototype),s},Kn.apply(null,arguments)}function zt(e){return zt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zt(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&&xt(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 xt(e,t){return xt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xt(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 Kn(n,arguments,zt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),xt(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=zt(e),o;if(t){var u=zt(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 Yt(){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)||p(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]"},p=function(h){return a.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},b=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(b(o,P),h)},decamelizeKeys:function(h,P){return r(b(f,P),h,P)},pascalizeKeys:function(h,P){return r(b(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,p,O,b,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,p=void 0,m.prev=5,O=y[Symbol.iterator]();case 7:if(v=(b=O.next()).done){m.next=28;break}if(g=b.value,l.includes(g)){m.next=11;break}return m.abrupt("continue",25);case 11:return m.prev=11,f.debug&&Yt.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&&Yt.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,p=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 p;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=[],Xn=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}();Xn.staticControls=bb,Xn.staticRegisteredTypes=new Set(bb.map(function(e){return e.Designer.controlType})),Xn.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 Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qn(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=Qn(e),o;if(t){var u=Qn(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},Jn=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 Jn(t==null?void 0:t.pc),this.mobile=(t==null?void 0:t.mobile)?new Jn(t==null?void 0:t.mobile):new Jn({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:[]},Zn=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}(Zn),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}(Zn),Sb=function e(t){T(this,e);var r,n;this.type="sublist-page",this.formBind=new Zn(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},ft=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 ft(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:[]},Gt=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 ft(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}(Gt),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&&Ht(s,f.prototype),s},ur.apply(null,arguments)}function Vt(e){return Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vt(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&&Ht(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 Ht(e,t){return Ht=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ht(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,Vt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ht(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=Vt(e),o;if(t){var u=Vt(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 p=function(g){return n(g),g.length?d(new qb(g,cl(g))):v()},O=pN(e);Hb(O,r,p)});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 p=function(b){if(s.push.apply(s,b),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 b=e[O];u.indexOf(O)!==-1?Hb(b,r,p):_N(b,r,p)})});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},qt={integer:function(t){return qt.number(t)&&parseInt(t,10)===t},float:function(t){return qt.number(t)&&!qt.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"&&!qt.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?qt[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",p=Array.isArray(t);if(v?y="number":d?y="string":p&&(y="array"),!y)return!1;p&&(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 at="enum";function PN(e,t,r,n,o){e[at]=Array.isArray(e[at])?e[at]:[],e[at].indexOf(t)===-1&&n.push(ue(o.messages[at],e.fullField,e[at].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 Ut={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(b){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<b.length;g++)m(b[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={},p=f.keys||Object.keys(this.rules);p.forEach(function(b){y=o.rules[b],v=u[b],y.forEach(function(g){var h=g;typeof h.transform=="function"&&(u===t&&(u=ve({},u)),v=u[b]=h.transform(v)),typeof h=="function"?h={validator:h}:h=ve({},h),h.validator=o.getValidationMethod(h),h.field=b,h.fullField=h.fullField||b,h.type=o.getType(h),!!h.validator&&(d[b]=d[b]||[],d[b].push({rule:h,value:v,source:u,field:b}))})});var O={};return bN(d,f,function(b,g){var h=b.rule,P=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");P=P&&(h.required||!h.required&&b.value),h.field=b.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&&!b.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 b.value)b.value.hasOwnProperty(re)&&(k[re]=h.defaultField);k=ve(ve({},k),b.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 Mt=new Re(k);Mt.messages(f.messages),b.rule.options&&(b.rule.options.messages=f.messages,b.rule.options.error=f.error),Mt.validate(b.value,b.rule.options||f,function(ut){var Dt=[];S&&S.length&&Dt.push.apply(Dt,S),ut&&ut.length&&Dt.push.apply(Dt,ut),g(Dt.length?Dt:null)})}}var $;h.asyncValidator?$=h.asyncValidator(h,b.value,R,b.source,f):h.validator&&($=h.validator(h,b.value,R,b.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(b){l(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ut.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"?Ut.required:Ut[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");Ut[t]=r},Re.warning=Vb,Re.messages=sl,Re.validators=Ut;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 p;this.id=(p=r==null?void 0:r.id)!==null&&p!==void 0?p: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 b;this.controlType=(b=r==null?void 0:r.controlType)!==null&&b!==void 0?b:"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,p=a.maxLength,O=a.options,b=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),p!==void 0&&(h.maxLength=p),b!==void 0&&(h.encrypted=b),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 Wt(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 p;o.requiredMessage=(p=n==null?void 0:n.requiredMessage)!==null&&p!==void 0?p:"",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 De=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 lt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?lt=Reflect.get:lt=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}},lt(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 lt(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(p){return p.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=lt(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=lt(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 Kt=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 st(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=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}},st(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 Kt(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 st(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=st(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=st(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 Kt($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 p;return o.optObj=new Gb((p=n==null?void 0:n.optObj)!==null&&p!==void 0?p:{}),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 ft((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 ft((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 ft((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 Xt(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:yt==null?void 0:yt.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 yt=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);yt.controlFieldType=c.FieldTypes.AUTO_NUMBER,yt.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:yt,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:Qt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Qt.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 Qt=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);Qt.controlEventKeys=["on_click","on_click_finish"],Qt.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:Qt,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:Jt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Jt.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 Jt=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);Jt.controlEventKeys=["on_click","on_click_finish"],Jt.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:Jt,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:Zt.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Zt.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 Zt=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);Zt.controlEventKeys=["on_click"],Zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];function 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:Zt,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:en.controlIcon;var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:en.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 en=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);en.controlEventKeys=["on_click","on_click_finish"],en.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:en,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:tn.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:tn.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 tn=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);tn.controlEventKeys=["on_click"],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:"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:tn,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:nn.controlName;var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:nn.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 nn=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);nn.controlEventKeys=["on_click","on_click_finish"],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:"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:nn,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:rn.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:rn.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 rn=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);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:"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:rn,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:on.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:on.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 on=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);on.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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 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:on,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),un=function(e){zs(r,e);var t=Ys(r);function r(n){return Fs(this,r),t.call(this,n)}return r}(x);un.Rules=yD,un.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 un(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 un(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:un};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:vt.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:vt.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:vt.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var O;return o.fillList=(O=n==null||(u=n.fillList)===null||u===void 0?void 0:u.map(function(b){return new ee(b)}))!==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 vt=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);vt.controlEventKeys=["on_click","on_click_finish"],vt.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:vt,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: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 p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var O;return o.fillList=(O=n==null||(u=n.fillList)===null||u===void 0?void 0:u.map(function(b){return new ee(b)}))!==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 dt=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);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 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:dt,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:cn.controlIcon;var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:cn.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 cn=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);cn.controlEventKeys=["on_click","on_click_finish"],cn.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:cn,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:fn.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:fn.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 fn=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);fn.controlEventKeys=["on_click"],fn.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:fn,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),an={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:ln.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:ln.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 p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!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 ln=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);ln.controlEventKeys=["on_click"],ln.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:ln,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:an,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=Xt(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:Xt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(j),ht=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:_t.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);ht.Rules=e5,ht.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 _t=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 ht(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);_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 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 ht(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:_t,Runtime:Am,Property:ht};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}(De),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),sn=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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:yn.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!0;var 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);sn.Rules=P5,sn.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 yn=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 sn(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);yn.controlEventKeys=["on_change","on_click"],yn.controlFieldType=c.FieldTypes.ARRAY,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:"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 sn(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:yn,Runtime:Fm,Property:sn};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}(De),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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:vn.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var 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 vn=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);vn.controlEventKeys=["on_change","on_click"],vn.controlFieldType=c.FieldTypes.VARCHAR,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:"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:vn,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=Xt(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:Xt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(j),dn=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 p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:hn.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);dn.Rules=s6,dn.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 pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(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=pt(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=pt(e),o;if(t){var u=pt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return p6(this,o)}}var hn=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 dn(n==null?void 0:n.props),o}return h6(r,[{key:"toDataBindModel",value:function(o){var u=_i(pt(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);hn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hn.controlFieldType=c.FieldTypes.DECIMAL,hn.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 dn(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:hn,Runtime:Xm,Property:dn};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 p;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:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var b;return o.filterWeekend=(b=n==null?void 0:n.filterWeekend)!==null&&b!==void 0?b:!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 bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bt(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=bt(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=bt(e),o;if(t){var u=bt(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(bt(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 p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:"\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 b;return 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:[],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 Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(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=Ot(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=Ot(e),o;if(t){var u=Ot(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(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\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),_n=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:pn.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);_n.Rules=$7,_n.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 pn=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 _n(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);pn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pn.controlFieldType=c.FieldTypes.TEXT,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.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 _n(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:pn,Runtime:s0,Property:_n};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),bn=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:On.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);bn.Rules=W7,bn.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 On=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 bn(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);On.controlEventKeys=["on_change","on_input","on_focus","on_blur"],On.controlFieldType=c.FieldTypes.TEXT,On.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];function 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 bn(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:On,Runtime:h0,Property:bn};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}(De),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;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(p){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new ee(p))})),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.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}(De),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),gn=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;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(d){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new ee(d))})),o}return r}(I);gn.Rules=D8,gn.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 gn(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.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 gn(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:gn};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 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(O){var b;(b=o.multistageFilling)===null||b===void 0||b.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),gt=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:mt.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);gt.Rules=I9,gt.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 mt=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 gt(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);mt.controlEventKeys=["on_change"],mt.controlFieldType=c.FieldTypes.FILE,mt.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 gt(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:mt,Runtime:mv,Property:gt};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}(mt);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}(gt),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}(De),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),mn=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:Pn.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var b;return o.showUpperCase=(b=n==null?void 0:n.showUpperCase)!==null&&b!==void 0?b:!1,o}return r}(I);mn.Rules=wz,mn.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 Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pt(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=Pt(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=Pt(e),o;if(t){var u=Pt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Cz(this,o)}}var Pn=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 mn(n==null?void 0:n.props),o}return Ez(r,[{key:"toDataBindModel",value:function(o){var u=eu(Pt(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);Pn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Pn.controlFieldType=c.FieldTypes.MONEY,Pn.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 mn(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:Pn,Runtime:G0,Property:mn};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),Rn=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:wn.controlName,o}return r}(I);Rn.Rules=Uz,Rn.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 Rt(e){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rt(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=Rt(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=Rt(e),o;if(t){var u=Rt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nx(this,o)}}var wn=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 Rn(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(Rt(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);wn.controlEventKeys=["on_change","on_click"],wn.controlFieldType=c.FieldTypes.DECIMAL,wn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.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 Rn(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:wn,Runtime:U0,Property:Rn};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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Tn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var 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 wt(e){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wt(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=wt(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=wt(e),o;if(t){var u=wt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ux(this,o)}}var Tn=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(wt(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);Tn.controlName="\u90E8\u95E8",Tn.controlFieldType=c.FieldTypes.DEPARTMENTS,Tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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:Tn,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:$n.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 $n=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);$n.controlEventKeys=["on_change"],$n.controlFieldType=c.FieldTypes.AUTO_NUMBER,$n.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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:$n,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),Sn=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:En.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);Sn.Rules=BY,Sn.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 Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tt(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=Tt(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=Tt(e),o;if(t){var u=Tt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FY(this,o)}}var En=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 Sn(n==null?void 0:n.props),o}return DY(r,[{key:"toDataBindModel",value:function(o){var u=bu(Tt(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);En.controlEventKeys=["on_change"],En.controlFieldType=c.FieldTypes.CALC,En.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 Sn(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:En,Runtime:hP,Property:Sn};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 p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\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 b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b: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),In=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:Cn.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);In.Rules=VG,In.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 Cn=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 In(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);Cn.controlFieldType=c.FieldTypes.ANY,Cn.controlEventKeys=[],Cn.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 In(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:Cn,Runtime:BP,Property:In};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}(De),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:Nn.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 b;(b=o.multistageFilling)===null||b===void 0||b.push(new ee(O))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",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 Nn=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);Nn.controlFieldType=c.FieldTypes.VARCHAR,Nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.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}],Nn.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:Nn,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}(ht);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}(_t);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")}],Wt.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),kn=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 p;o.isShowFilterItem=(p=n==null?void 0:n.isShowFilterItem)!==null&&p!==void 0?p:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var b;o.defaultCollapse=(b=n==null?void 0:n.defaultCollapse)!==null&&b!==void 0?b:"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);kn.Rules=tH,kn.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 kn(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 kn(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:kn};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"},Wt.call(JP(o),n,$t.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),Bn=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:$t.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 p;o.datasourceBind=new Gt((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:$t.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:c.OrganizeType.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b: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);Bn.Rules=PH,Bn.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 $t=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 Bn(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);$t.controlFieldType=c.FieldTypes.EMPLOYEES,$t.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];function 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 Bn(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:$t,Runtime:tR,Property:Bn};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:jn.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 jn=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);jn.controlEventKeys=["on_click","on_click_finish"],jn.controlFieldType=c.FieldTypes.VARCHAR,jn.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:jn,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),An=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:Mn.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 p;o.canDelete=(p=n==null?void 0:n.canDelete)!==null&&p!==void 0?p:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:$9;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],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);An.Rules=sq,An.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 Mn=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 An(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);Mn.controlEventKeys=["on_change","on_wps_open"],Mn.controlFieldType=c.FieldTypes.FILE,Mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];function 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 An(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:Mn,Runtime:yR,Property:An};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"},Wt.call(dR(o),n,Le.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),Dn=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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Le.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;o.datasourceBind=new Gt((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Le.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);Dn.Rules=kq,Dn.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 St(e){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},St(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=St(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=St(e),o;if(t){var u=St(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Lq(this,o)}}var Le=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 Dn(n==null?void 0:n.props),o}return Mq(r,[{key:"toDataBindModel",value:function(o){var u=ec(St(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);Le.controlName="\u90E8\u95E8",Le.controlFieldType=c.FieldTypes.DEPARTMENTS,Le.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 Dn(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:Le,Runtime:pR,Property:Dn};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"},Wt.call(OR(o),n,Fe.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),Ln=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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Fe.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var b;o.datasourceBind=new Nb((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{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;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);Ln.Rules=eU,Ln.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 Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Et(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=Et(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=Et(e),o;if(t){var u=Et(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return uU(this,o)}}var Fe=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 Ln(n==null?void 0:n.props),o}return oU(r,[{key:"toDataBindModel",value:function(o){var u=rc(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"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(C);Fe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",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:"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 Ln(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:Fe,Runtime:PR,Property:Ln},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,ze=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 Fn=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 ze(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);Fn.excludes=[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.DIVIDER],Fn.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 ze(n==null?void 0:n.props),o}return tW(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Y),lc={Designer:Fn,Runtime:oh,Property:ze};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 xe=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);xe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",xe.controlType="subtable-row",xe.controlIcon="subtable-row",xe.childrenMaxLength=1,xe.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],xe.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:xe,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 p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p: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 Ye=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);Ye.controlName="\u5217\u8868\u5355\u5143\u683C",Ye.controlType="gridtable-column",Ye.controlIcon="gridtable-column",Ye.childrenMaxLength=1,Ye.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],Ye.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:Ye,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:xn.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 zn=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);zn.excludes=[c.CONTROL_TYPE.TAB],zn.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:zn,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 xn=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 zn,new zn],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);xn.excludes=[c.CONTROL_TYPE.TAB],xn.controlEventKeys=["on_change_tab"],xn.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:xn,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 Fn({props:new ze({span:12})}),new Fn({props:new ze({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 ze({span:12})}),new oh({props:new ze({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),Yn=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 p;return o.isAllLoaded=(p=n==null?void 0:n.isAllLoaded)!==null&&p!==void 0?p:!0,o.countType=n==null?void 0:n.countType,o}return r}(A);Yn.Rules=ZQ,Yn.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 Yn(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 Yn(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:Yn};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:!1;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),Gn=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 p;u.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:YO;var O;u.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;u.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b: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 Mt;u.dataStorageDoc=(Mt=o==null?void 0:o.dataStorageDoc)!==null&&Mt!==void 0?Mt:new Pb;var ut;return u.fixedColumn=(ut=o==null?void 0:o.fixedColumn)!==null&&ut!==void 0?ut:[],u}return r}(Kt);Gn.Rules=lte,Gn.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 Gn(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 Gn(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:Gn};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}(Kt);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:Ge.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 Ge=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);Ge.controlType="order-column",Ge.controlName="\u5E8F\u53F7",Ge.controlIcon="order-column",Ge.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:Ge,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:Ve.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 It(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?It=Reflect.get:It=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}},It(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 Ve=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=It(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=It(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 It(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);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 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:Ve,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 Vn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vn=Reflect.get:Vn=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}},Vn(e,t,r||e)}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},He(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=He(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=He(e),o;if(t){var u=He(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 Ge,new Ve]),o}return Tne(r,[{key:"toSchema",value:function(){var o=Vn(He(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 Vn(He(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:qe.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 qe=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);qe.controlType="varchar-column",qe.controlName="\u77ED\u6587\u672C",qe.controlIcon="varchar-column",qe.controlFieldType=c.FieldTypes.VARCHAR,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-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:qe,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:Ue.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 Ct(e){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ct(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=Ct(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=Ct(e),o;if(t){var u=Ct(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hre(this,o)}}var Ue=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(Ct(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.escapeHTML;u.props.escapeHTML=f}return u}}]),r}(H);Ue.controlType="text-column",Ue.controlName="\u957F\u6587\u672C",Ue.controlIcon="text-column",Ue.controlFieldType=c.FieldTypes.TEXT,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-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:Ue,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:We.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 Nt(e){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nt(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=Nt(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=Nt(e),o;if(t){var u=Nt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Are(this,o)}}var We=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(Nt(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);We.controlType="decimal-column",We.controlName="\u6570\u503C",We.controlIcon="decimal-column",We.controlFieldType=c.FieldTypes.DECIMAL,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:"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:We,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:Ke.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 kt(e){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kt(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=kt(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=kt(e),o;if(t){var u=kt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return toe(this,o)}}var Ke=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(kt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.dateType;u.props.dateType=f}return u}}]),r}(H);Ke.controlType="timescope-column",Ke.controlName="\u65E5\u671F\u533A\u95F4",Ke.controlIcon="timescope-column",Ke.controlFieldType=c.FieldTypes.TIMESCOPE,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:"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:Ke,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:Xe.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 Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(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=Bt(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=Bt(e),o;if(t){var u=Bt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return moe(this,o)}}var Xe=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(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="timestamp-column",Xe.controlName="\u65E5\u671F",Xe.controlIcon="timestamp-column",Xe.controlFieldType=c.FieldTypes.TIMESTAMP,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 $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:Xe,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:Qe.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 Qe=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);Qe.controlType="array-column",Qe.controlName="\u6570\u7EC4",Qe.controlIcon="array-column",Qe.controlFieldType=c.FieldTypes.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-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:Qe,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:Je.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 jt(e){return jt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jt(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=jt(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=jt(e),o;if(t){var u=jt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aie(this,o)}}var Je=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(jt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.displayLevel;u.props.displayLevel=f}return u}}]),r}(H);Je.controlType="department-column",Je.controlName="\u90E8\u95E8",Je.controlIcon="department-column",Je.controlFieldType=c.FieldTypes.DEPARTMENTS,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:"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:Je,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:Ze.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 Ze=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);Ze.controlType="auto-number-column",Ze.controlName="\u81EA\u52A8\u7F16\u53F7",Ze.controlIcon="auto-number-column",Ze.controlFieldType=c.FieldTypes.AUTO_NUMBER,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-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:Ze,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:et.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 et=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);et.controlType="file-column",et.controlName="\u9644\u4EF6",et.controlIcon="file-column",et.controlFieldType=c.FieldTypes.FILE,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 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:et,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:tt.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 tt=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);tt.controlType="image-column",tt.controlName="\u56FE\u7247",tt.controlIcon="image-column",tt.controlFieldType=c.FieldTypes.IMAGE,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 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:tt,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:nt.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 nt=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);nt.controlType="people-column",nt.controlName="\u4EBA\u5458",nt.controlIcon="people-column",nt.controlFieldType=c.FieldTypes.EMPLOYEES,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 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:nt,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:rt.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 rt=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);rt.controlType="location-column",rt.controlName="\u5730\u5740",rt.controlIcon="location-column",rt.controlFieldType=c.FieldTypes.ADDRESS,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-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:rt,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 Hn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hn=Reflect.get:Hn=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}},Hn(e,t,r||e)}function ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ot(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=ot(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=ot(e),o;if(t){var u=ot(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=Hn(ot(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=Hn(ot(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 Gt((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:it.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 it=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);it.controlType="approval-status-column",it.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",it.controlIcon="approval-status-column",it.excludes=[],it.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:it,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],p=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),p&&(O.unit=p.props.data_bind,u.props.default_value={unit:p.props.value}),u.props.dataBind=O,delete u.children}if(e.type==="amount-currency"){u.type="amount",u.controlType="form";var b=u==null?void 0:u.children[0],g=u==null?void 0:u.children[1],h={},P={};b&&(l$(u,t),u.id=b.id,h.amount=b.props.data_bind,u.props.range_min=Ae(b.props.range_min),u.props.range_max=Ae(b.props.range_max),P.amount=Ae(b.props.value),u.props.required=b.props.required,u.props.is_hide=b.props.is_hide,u.props.default_state=b.props.default_state,u.props.caption=Q(b.props.caption)?b.props.caption.zh:b.props.caption,u.props.is_hide_caption=b.props.is_hide_caption,u.props.showUpperCase=b.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],p=y[2];aae(v),p.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,lae(p,d);var O,b=(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:b)?"".concat(b,"_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:b,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,p),[$]}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,p=new an.Designer;Object.defineProperty(p,"id",{value:"listPageCheckBtnId"}),p.props.code="view",p.props.icon="iconliulan1",p.props.command="view",p.props.content=(a=r.props)===null||a===void 0?void 0:a.check.content,p.props.priorityProcess=(l=r.props)===null||l===void 0?void 0:l.check.priority_process,p.props.openType=(s=r.props)===null||s===void 0?void 0:s.check.open_type,p.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(p.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,b,g,h,P,m,R=new an.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=(b=r.props)===null||b===void 0?void 0:b.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 an.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 At=Object.keys(s$).map(function(e){return Wp(e)}).sort(y$),qn=At[At.length-1],Hae=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qn;Gae(this,e),this.schemaVersion=t,this.toVersion=r,Ia(r,qn,">")?me("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(qn)):(!At.includes(Wp(r))||!At.includes(Wp(t)))&&me("Version Builder: Please give me a valid version number, The valid version is: ".concat(At.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;Yt("Version Builder: current version: ".concat(a,", nextVersion: ").concat(v));var d=s$[a],p=f;if(typeof d=="function"){var O=d(f,n);O&&(p=O)}return p},r);return Yt("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u}},{key:"runDataCleanerKeys",get:function(){var r=this;return At.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 qn}}],[{key:"version",get:function(){return qn}}]),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 Un(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 Un(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(u=>Un(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 Un(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=Zn,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=Kt,c.ListSelectButton=Fg,c.ListView=Vh,c.ListViewSelect=rm,c.LocationColumn=UT,c.MetaAutoWidth=mb,c.MetaWidth=Jn,c.MultistageFillingItem=ee,c.Number=Qm,c.ObjectDataBind=ir,c.OperationButton=an,c.OperationColumn=Uw,c.OperationItem=Oe,c.OptObject=Gb,c.OptionAndDataSourcePropertyRules=De,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=Xn,c.RegularRules=tl,c.RichText=_0,c.RightVariable=ft,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=Gt,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=Lt,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=Xt,c.initImageOptions=tN,c.initLinkOperationRules=$e,c.initOptionAndDataSourceRules=ar,c.initOptions=ye,c.initSuperDataSourceRules=Wt,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=Yt,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})});
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",J$="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Q$="\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="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",jS="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",AS="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",MS="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",DS="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",LS={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:J$,optionIsRequired:Q$,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,pleaseEnterAliasCode:BS,pleaseSelectDataCode:jS,pleaseSelectSvcCode:AS,pleaseSelectJoinFieldCode:MS,pleaseSelectMainFieldCode:DS},FS="Please enter a number",zS="Please enter a string",xS="Please enter an object",YS="Please enter an array",GS="Please enter a boolean",VS="{caption} Required",HS="Please enter the title",qS="Please enter the bubble prompt",US="Please enter the prompt text",WS="Please bind data items",KS="Please bind the form",XS="Please bind the list",JS="Please bind the process",QS="Please enter the displayed value",ZS="Please enter the stored value",eE="The document number is not bound to the data item",tE="Please select at least one display field",nE="Please enter a value greater than or equal to {min} and less than or equal to {max}",rE="Please enter a value greater than or equal to {min}",oE="Please enter a value less than or equal to {max}",iE="The value range is set incorrectly",uE="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",cE="The attachment size must be between 0MB and 1000MB",fE="Please fill in the total score setting",aE="The total score cannot be less than 1",lE="The default value must be between {min} and {max}",sE="The number of attachments uploaded must be between {min} and {max}",yE="Please re-select the optional quantity",vE="The maximum length of the control must be greater than the minimum length",dE="The minimum length of the control must be less than the maximum length",hE="Please select the correct option setting",_E="Option ID cannot be repeated",pE="Please enter at least one option",bE="Please bind the data source",OE="Please bind the stored value",gE="Please bind the service",mE="At least one display value must be bound",PE="Please select a province",RE="Please select a city",wE="Please select a district",TE="The minimum number of lines to fill in cannot be less than 0",$E="The number of rows cannot be less than {min} rows",SE="Please enter the column width",EE="Please set the logical relationship of all rule conditions",IE="Please complete all rules and conditions",CE="please select control",NE="Please select the dashboard",kE="View name cannot be empty",BE="Please select recognition type",jE="Please select at least one field to fill in",AE="Please select at least one",ME="Please enter the button title",DE="Please bind the business model in the data settings",LE="Please bind storage values in data settings",FE="Please bind the service in the data settings",zE="Please bind at least one display value in the data settings",xE="Please select the root node in the data settings",YE="Please enter the maximum height",GE="The input content cannot be empty",VE="Watermark cannot be empty",HE="File name cannot be empty",qE="Please upload at least one printing template!\uFF01",UE="Please select a specific business department",WE="Please select a specified external organization",KE="Please enter a sub table alias",XE="Please select the associated table to set the business model",JE="Please select the association table to set the binding service",QE="Select associated sub table fields",ZE="Please select the associated main table field",eI={isNotNumber:FS,isNotString:zS,isNotObject:xS,isNotArray:YS,isNotBoolean:GS,runtimeRequired:VS,pleaseEnterCaption:HS,pleaseEnterCaptionTip:qS,pleaseEnterPlaceholder:US,pleaseEnterFieldCode:WS,pleaseEnterForm:KS,pleaseEnterList:XS,pleaseEnterProcess:JS,pleaseEnterLabel:QS,pleaseEnterValue:ZS,bizKeyNotBindFiled:eE,pleaseSelectOneField:tE,pleaseEnterNumberRange:nE,pleaseEnterAValueGreaterThanMin:rE,pleaseEnterAValueLessThanMax:oE,numberRangeSetError:iE,stringRangeError:uE,attachmentMaxSize:cE,pleaseEnterTotalScoreSetting:fE,theTotalScoreMustNotBeLessThan1:aE,scoreDefaultValueRange:lE,attachmentLimitError:sE,PleaseReselectTheOptionalQuantity:yE,TheMaximumLengthIsGreaterThanTheMinimumLength:vE,TheMinimumLengthIsGreaterThanTheMaximumLength:dE,PleaseSelectTheCorrectOptionSettings:hE,optionIdIsRepeat:_E,optionIsRequired:pE,pleaseEnterDataCode:bE,pleaseEnterValueFieldCode:OE,pleaseEnterSvcCode:gE,pleaseBindAtLeastOneDisplayValue:mE,pleaseSelectProvince:PE,pleaseSelectCity:RE,pleaseSelectDistrict:wE,limitRowsCannotBeLessThan0:TE,TheNumberOfRowsCannotBeLessThanMinRows:$E,pleaseEnterColumnWidth:SE,pleaseSetTheLogicalRelationshipOfAllRuleConditions:EE,pleaseCompleteAllRulesAndConditions:IE,pleaseSelectControl:CE,pleaseSelectDashboard:NE,theViewNameCannotBeEmpty:kE,pleaseSelectOcrType:BE,pleaseSelectAtLeastOneFieldToFillIn:jE,pleaseChooseAtLeastOne:AE,pleaseEnterButtonContent:ME,pleaseEnterDataCodeInDataSetting:DE,pleaseEnterValueFieldCodeInDataSetting:LE,pleaseEnterSvcCodeInDataSetting:FE,pleaseBindAtLeastOneDisplayValueInDataSetting:zE,rootNodeIsRequiredInDataSetting:xE,pleaseEnterMaxHeight:YE,pleaseEnter:GE,pleaseEnterWatermark:VE,pleaseEnterFileName:HE,pleaseUploadAtLeastOnePrintTemplate:qE,pleaseAssignBusiness:UE,pleaseAssignExternal:WE,pleaseEnterAliasCode:KE,pleaseSelectDataCode:XE,pleaseSelectSvcCode:JE,pleaseSelectJoinFieldCode:QE,pleaseSelectMainFieldCode:ZE},tI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uI="{caption}\u5FC5\u9808",cI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_I="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",pI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",OI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",PI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",RI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",wI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",TI="\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",SI="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",EI="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",II="\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",CI="\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",NI="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kI="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",BI="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",jI="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",AI="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",MI="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",DI="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",LI="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",FI="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",zI="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xI="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",YI="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",GI="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",HI="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",qI="please select control",UI="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",WI="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",KI="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",XI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JI="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QI="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ZI="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",eC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",tC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",nC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",rC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",uC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",cC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",fC="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",aC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sC="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",vC="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",hC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_C={isNotNumber:tI,isNotString:nI,isNotObject:rI,isNotArray:oI,isNotBoolean:iI,runtimeRequired:uI,pleaseEnterCaption:cI,pleaseEnterCaptionTip:fI,pleaseEnterPlaceholder:aI,pleaseEnterFieldCode:lI,pleaseEnterForm:sI,pleaseEnterList:yI,pleaseEnterProcess:vI,pleaseEnterLabel:dI,pleaseEnterValue:hI,bizKeyNotBindFiled:_I,pleaseSelectOneField:pI,pleaseEnterNumberRange:bI,pleaseEnterAValueGreaterThanMin:OI,pleaseEnterAValueLessThanMax:gI,numberRangeSetError:mI,stringRangeError:PI,attachmentMaxSize:RI,pleaseEnterTotalScoreSetting:wI,theTotalScoreMustNotBeLessThan1:TI,scoreDefaultValueRange:$I,attachmentLimitError:SI,PleaseReselectTheOptionalQuantity:EI,TheMaximumLengthIsGreaterThanTheMinimumLength:II,TheMinimumLengthIsGreaterThanTheMaximumLength:CI,PleaseSelectTheCorrectOptionSettings:NI,optionIdIsRepeat:kI,optionIsRequired:BI,pleaseEnterDataCode:jI,pleaseEnterValueFieldCode:AI,pleaseEnterSvcCode:MI,pleaseBindAtLeastOneDisplayValue:DI,pleaseSelectProvince:LI,pleaseSelectCity:FI,pleaseSelectDistrict:zI,limitRowsCannotBeLessThan0:xI,TheNumberOfRowsCannotBeLessThanMinRows:YI,pleaseEnterColumnWidth:GI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:VI,pleaseCompleteAllRulesAndConditions:HI,pleaseSelectControl:qI,pleaseSelectDashboard:UI,theViewNameCannotBeEmpty:WI,pleaseSelectOcrType:KI,pleaseSelectAtLeastOneFieldToFillIn:XI,pleaseChooseAtLeastOne:JI,pleaseEnterButtonContent:QI,pleaseEnterDataCodeInDataSetting:ZI,pleaseEnterValueFieldCodeInDataSetting:eC,pleaseEnterSvcCodeInDataSetting:tC,pleaseBindAtLeastOneDisplayValueInDataSetting:nC,rootNodeIsRequiredInDataSetting:rC,pleaseEnterMaxHeight:oC,pleaseEnter:iC,pleaseEnterWatermark:uC,pleaseEnterFileName:cC,pleaseUploadAtLeastOnePrintTemplate:fC,pleaseAssignBusiness:aC,pleaseAssignExternal:lC,pleaseEnterAliasCode:sC,pleaseSelectDataCode:yC,pleaseSelectSvcCode:vC,pleaseSelectJoinFieldCode:dC,pleaseSelectMainFieldCode:hC},pC={zhCN:LS,enUS:eI,jaJP:_C};function bC(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){bC(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},Qp="zh-CN",gC=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 Q,mC=(Q={},oe(Q,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),oe(Q,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),oe(Q,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),oe(Q,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),oe(Q,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),oe(Q,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),oe(Q,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),oe(Q,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),oe(Q,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),oe(Q,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),oe(Q,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),oe(Q,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),oe(Q,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),Q);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",PC=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:PC,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 RC(e){if(Array.isArray(e))return Aa(e)}function wC(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 TC(){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 TC()?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 $C(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function SC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EC(){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 IC(e,t){return t&&(CC(t)==="object"||typeof t=="function")?t:wC(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yt(e,t)}function nb(e){return RC(e)||SC(e)||NC(e)||EC()}var CC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NC(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||!$C(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 kC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rb(e){var t=kC();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 IC(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)),jC=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 jC(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 AC=Object.prototype.toString;function ib(e,t){return AC.call(e)==="[object "+t+"]"}function MC(e){return ib(e,"String")}function DC(e){return ib(e,"Promise")}var LC=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();DC(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 FC(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 zC(e,t,r){return t&&ub(e.prototype,t),r&&ub(e,r),e}var _=function(){function e(){FC(this,e)}return zC(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]:Qp;return new LC({locale:r,messages:pC})}},{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 xC=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})(xC)})(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 YC=fb.default=Ya;function pe(e){if(e!==void 0)return typeof e=="object"?YC(e):e}function J(e){return Ga(e)&&"zh"in e}function Ga(e){return Object.prototype.toString.call(e)==="[object Object]"}function GC(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 VC(e){return typeof e=="function"}function HC(e){return je(e)&&e.every(function(t){return ab(t)})}function qC(e){return je(e)&&e.every(function(t){return Va(t)})}function UC(e){return je(e)&&e.every(function(t){return Va(t)||t===""})}function WC(e){return/^\[.*?]$/.test(e)}function KC(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 XC(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 JC(){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 QC(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 ZC(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 eN(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 tN(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 nN(e,t,r){return t&&vb(e.prototype,t),r&&vb(e,r),e}function rN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oN(){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 ZC(e)||rN(e)||iN(e)||oN()}function iN(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(){tN(this,e),this._events=new Map,this.debug=!1}return nN(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 eN(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 uN(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 cN(e,t,r){return t&&hb(e.prototype,t),r&&hb(e,r),e}var fN=[{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(){uN(this,e)}return cN(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=fN;function aN(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 lN(e,t,r){return t&&pb(e.prototype,t),r&&pb(e,r),e}var bb=[],Jn=function(){function e(t){aN(this,e),this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=t,this._initControls(t)}return lN(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}();Jn.staticControls=bb,Jn.staticRegisteredTypes=new Set(bb.map(function(e){return e.Designer.controlType})),Jn.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 Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qn(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 sN(e,t){return t&&(yN(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 yN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ae(e){var t=vN();return function(){var n=Qn(e),o;if(t){var u=Qn(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sN(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},dN=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 Ja(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:"",Ja.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},Qa=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 Qa(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 Qa(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),Ja.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),hN=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 _N(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:[],Ja.call(this,t)},pN=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 bN(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 gN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qt(e,t)}function mN(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function PN(e,t){return t&&(RN(t)==="object"||typeof t=="function")?t:bN(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qt(e,t)}var RN=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||!mN(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 wN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TN(e){var t=wN();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 PN(this,o)}}var z=function e(t){rl(this,e),this.isHide={type:"boolean"}},Pe=function(e){gN(r,e);var t=TN(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 $N(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 SN(){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 SN()?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 EN(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||!EN(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 IN=/%[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(IN,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 CN(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||CN(t)&&typeof e=="string"&&!e)}function NN(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 kN(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var qb=function(e){$N(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=kN(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):NN(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 jN(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 AN(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 DN(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 LN(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:jN,type:AN,range:MN,enum:DN,pattern:LN};function FN(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 zN(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 xN(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 YN(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 GN(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 VN(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 HN(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 qN(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 UN(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 WN="enum";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[WN](e,t,n,u,o)}r(u)}function XN(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 JN(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 QN(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 ZN(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:FN,method:zN,number:xN,boolean:YN,regexp:GN,integer:VN,float:HN,array:qN,object:UN,enum:KN,pattern:XN,date:JN,url:al,hex:al,email:al,required:QN,any:ZN};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 ek={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(ek,t)),r}var Jb=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 tk(e){if(Array.isArray(e))return e}function nk(e){if(Array.isArray(e))return yl(e)}function Qb(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){Qb(u,n,o,f,a,"next",l)}function a(l){Qb(u,n,o,f,a,"throw",l)}f(void 0)})}}function rk(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 ok(e,t,r){return t&&eO(e.prototype,t),r&&eO(e,r),e}function ik(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 uk(){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 ck(){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){ik(e,o,r[o])})}return e}function fk(e){return tk(e)||nO(e)||oO(e,i)||uk()}function vl(e){return nk(e)||nO(e)||oO(e)||ck()}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;rk(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 ok(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=fk(o),l=a[0],s=a.slice(1);return(f=Jb).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 ak(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 lk(e,t,r){return t&&cO(e.prototype,t),r&&cO(e,r),e}function sk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var V=function(){function t(r){ak(this,t),this.customEvents=[],this.parent=null;var n=sk(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 lk(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 yk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function vk(e,t){return t&&(dk(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 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 vr(e){var t=hk();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 vk(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(yk(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 _k(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function bk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hl(e,t)}function Ok(e,t){return t&&(gk(t)==="object"||typeof t=="function")?t:_k(e)}function hl(e,t){return hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hl(e,t)}var gk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pk(e){var t=mk();return function(){var n=dr(e),o;if(t){var u=dr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ok(this,o)}}var C=function(e){bk(r,e);var t=Pk(r);function r(n){pk(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 Rk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(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&&_l(e,t)}function $k(e,t){return t&&(Sk(t)==="object"||typeof t=="function")?t:Rk(e)}function _l(e,t){return _l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_l(e,t)}var Sk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ek(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ik(e){var t=Ek();return function(){var n=hr(e),o;if(t){var u=hr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $k(this,o)}}var N=function(e){Tk(r,e);var t=Ik(r);function r(n){wk(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 Ck(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 _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function kk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pl(e,t)}function Bk(e,t){return t&&(jk(t)==="object"||typeof t=="function")?t:Ck(e)}function pl(e,t){return pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pl(e,t)}var jk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ak(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mk(e){var t=Ak();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){kk(r,e);var t=Mk(r);function r(n){return Nk(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 Dk(e){if(Array.isArray(e))return bl(e)}function Lk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fk(){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 Dk(e)||Lk(e)||zk(e)||Fk()}function zk(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 xk(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 Yk(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 Gk(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 Vk(e,t,r){return t&&pO(e.prototype,t),r&&pO(e,r),e}function Hk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function st(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(o,u,f){var a=Qk(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 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&&ml(e,t)}function Uk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Wk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Kk(){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 Xk(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){Hk(e,o,r[o])})}return e}function Jk(e,t){return t&&(Zk(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 Qk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=we(e),e!==null););return e}function bO(e){return xk(e)||Wk(e)||e3(e)||Kk()}var Zk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e3(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 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=we(e),o;if(t){var u=we(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Jk(this,o)}}var r3=1e4,D=function(t){qk(n,t);var r=n3(n);function n(o){Gk(this,n);var u;u=r.call(this,o),u.controlType="layout";var f=Uk(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 Vk(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 Yk(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 Xk({},u,{children:f})}}]),n}(B);D.excludes=!1,D.childrenMaxLength=r3;function OO(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 pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(e)}function i3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u3(e,t){return t&&(c3(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 c3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a3(e){var t=f3();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 u3(this,o)}}var Y=function(e){i3(r,e);var t=a3(r);function r(n){o3(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 l3(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 s3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rl(e,t)}function y3(e,t){return t&&(v3(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 v3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h3(e){var t=d3();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 y3(this,o)}}var Xt=function(e){s3(r,e);var t=h3(r);function r(n,o){l3(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 _3(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 p3(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 b3(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 O3(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),e}function g3(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=T3(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 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&&Tl(e,t)}function P3(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function R3(){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){g3(e,o,r[o])})}return e}function w3(e,t){return t&&($3(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 T3(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Te(e),e!==null););return e}function TO(e){return _3(e)||P3(e)||S3(e)||R3()}var $3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S3(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 E3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I3(e){var t=E3();return function(){var n=Te(e),o;if(t){var u=Te(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return w3(this,o)}}var Or=function(e){m3(r,e);var t=I3(r);function r(n){b3(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 O3(r,[{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return yt(Te(r.prototype),"validate",f)};return p3(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 C3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N3(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 k3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sl(e,t)}function B3(e,t){return t&&(j3(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 j3=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 M3(e){var t=A3();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 B3(this,o)}}var El=function(e){k3(r,e);var t=M3(r);function r(n){C3(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 N3(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 D3(e,t){return t&&(L3(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 L3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=F3();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 D3(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 z3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x3(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 Y3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jl(e,t)}function G3(e,t){return t&&(V3(t)==="object"||typeof t=="function")?t:z3(e)}function jl(e,t){return jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jl(e,t)}var V3=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 q3(e){var t=H3();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 G3(this,o)}}var H=function(e){Y3(r,e);var t=q3(r);function r(n){x3(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 U3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(e)}function K3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Al(e,t)}function X3(e,t){return t&&(J3(t)==="object"||typeof t=="function")?t:U3(e)}function Al(e,t){return Al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Al(e,t)}var J3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z3(e){var t=Q3();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 X3(this,o)}}var q=function(e){K3(r,e);var t=Z3(r);function r(n){W3(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 eB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tB(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 nB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rB(e,t){return t&&(oB(t)==="object"||typeof t=="function")?t:eB(e)}function Ml(e,t){return Ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ml(e,t)}var oB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uB(e){var t=iB();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 rB(this,o)}}var Tr=function(e){nB(r,e);var t=uB(r);function r(n){tB(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 cB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(e)}function aB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lB(e,t){return t&&(sB(t)==="object"||typeof t=="function")?t:cB(e)}function Dl(e,t){return Dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dl(e,t)}var sB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};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 vB(e){var t=yB();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 lB(this,o)}}var EO=function(e){aB(r,e);var t=vB(r);function r(n){fB(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 dB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(e)}function _B(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ll(e,t)}function pB(e,t){return t&&(bB(t)==="object"||typeof t=="function")?t:dB(e)}function Ll(e,t){return Ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ll(e,t)}var bB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gB(e){var t=OB();return function(){var n=Sr(e),o;if(t){var u=Sr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pB(this,o)}}var IO=function(e){_B(r,e);var t=gB(r);function r(n){hB(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 mB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(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&&Fl(e,t)}function wB(e,t){return t&&(TB(t)==="object"||typeof t=="function")?t:mB(e)}function Fl(e,t){return Fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fl(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=Er(e),o;if(t){var u=Er(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wB(this,o)}}var zl=function(e){RB(r,e);var t=SB(r);function r(n){return PB(this,r),t.call(this,n)}return r}(A);function EB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IB(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 CB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NB(e,t){return t&&(kB(t)==="object"||typeof t=="function")?t:EB(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(e,t)}var kB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jB(e){var t=BB();return function(){var n=Ir(e),o;if(t){var u=Ir(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return NB(this,o)}}var AB=function(e){CB(r,e);var t=jB(r);function r(n){IB(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 MB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DB(e,t){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 LB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yl(e,t)}function FB(e,t){return t&&(zB(t)==="object"||typeof t=="function")?t:MB(e)}function Yl(e,t){return Yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yl(e,t)}var zB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YB(e){var t=xB();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 FB(this,o)}}var GB=function(e){LB(r,e);var t=YB(r);function r(n){DB(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 VB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function qB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gl(e,t)}function UB(e,t){return t&&(WB(t)==="object"||typeof t=="function")?t:VB(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(e,t)}var WB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XB(e){var t=KB();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 UB(this,o)}}var Vl=function(e){qB(r,e);var t=XB(r);function r(n){HB(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 JB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZB(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 ej(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hl(e,t)}function tj(e,t){return t&&(nj(t)==="object"||typeof t=="function")?t:JB(e)}function Hl(e,t){return Hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hl(e,t)}var nj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oj(e){var t=rj();return function(){var n=kr(e),o;if(t){var u=kr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return tj(this,o)}}var NO=function(e){ej(r,e);var t=oj(r);function r(n){QB(this,r);var o;return o=t.call(this,n),o.props=new Vl(n==null?void 0:n.props),o}return ZB(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 ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cj(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 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&&ql(e,t)}function aj(e,t){return t&&(lj(t)==="object"||typeof t=="function")?t:ij(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(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=Br(e),o;if(t){var u=Br(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aj(this,o)}}var vj=function(e){fj(r,e);var t=yj(r);function r(n){uj(this,r);var o;return o=t.call(this,n),o.props=new Vl(n==null?void 0:n.props),o}return cj(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(V),BO={Designer:NO,Runtime:vj,Property:Vl};function dj(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 jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(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&&Ul(e,t)}function pj(e,t){return t&&(bj(t)==="object"||typeof t=="function")?t:dj(e)}function Ul(e,t){return Ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ul(e,t)}var bj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gj(e){var t=Oj();return function(){var n=jr(e),o;if(t){var u=jr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pj(this,o)}}var Wl=function(e){_j(r,e);var t=gj(r);function r(n){hj(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 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 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 Rj(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 wj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kl(e,t)}function Tj(e,t){return t&&($j(t)==="object"||typeof t=="function")?t:mj(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(e,t)}var $j=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 Ej(e){var t=Sj();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 Tj(this,o)}}var Xl=function(e){wj(r,e);var t=Ej(r);function r(n){Pj(this,r);var o;return o=t.call(this,n),o.props=new Wl(n==null?void 0:n.props),o}return Rj(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 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 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 Nj(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 kj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jl(e,t)}function Bj(e,t){return t&&(jj(t)==="object"||typeof t=="function")?t:Ij(e)}function Jl(e,t){return Jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jl(e,t)}var jj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mj(e){var t=Aj();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 Bj(this,o)}}var Dj=function(e){kj(r,e);var t=Mj(r);function r(n){Cj(this,r);var o;return o=t.call(this,n),o.props=new Wl(n==null?void 0:n.props),o}return Nj(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(V),MO={Designer:Xl,Runtime:Dj,Property:Wl};function Lj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(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&&Ql(e,t)}function xj(e,t){return t&&(Yj(t)==="object"||typeof t=="function")?t:Lj(e)}function Ql(e,t){return Ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ql(e,t)}var Yj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vj(e){var t=Gj();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 xj(this,o)}}var te=function(e){zj(r,e);var t=Vj(r);function r(n){Fj(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 Hj(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 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 Uj(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 Wj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zl(e,t)}function Kj(e,t){return t&&(Xj(t)==="object"||typeof t=="function")?t:Hj(e)}function Zl(e,t){return Zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zl(e,t)}var Xj=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 Qj(e){var t=Jj();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 Kj(this,o)}}var ne=function(e){Wj(r,e);var t=Qj(r);function r(n){qj(this,r);var o;return o=t.call(this,n),o.props=new te(n==null?void 0:n.props),o}return Uj(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 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 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 t1(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 n1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}function r1(e,t){return t&&(o1(t)==="object"||typeof t=="function")?t:Zj(e)}function es(e,t){return es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},es(e,t)}var o1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u1(e){var t=i1();return function(){var n=Fr(e),o;if(t){var u=Fr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return r1(this,o)}}var ce=function(e){n1(r,e);var t=u1(r);function r(n){e1(this,r);var o;return o=t.call(this,n),o.props=new te(n==null?void 0:n.props),o}return t1(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 Jt(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 c1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(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&&os(e,t)}function l1(e,t){return t&&(s1(t)==="object"||typeof t=="function")?t:c1(e)}function os(e,t){return os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},os(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=Yr(e),o;if(t){var u=Yr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return l1(this,o)}}var is=function(e){a1(r,e);var t=v1(r);function r(n){f1(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 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 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 _1(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 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&&us(e,t)}function b1(e,t){return t&&(O1(t)==="object"||typeof t=="function")?t:d1(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(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=Gr(e),o;if(t){var u=Gr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return b1(this,o)}}var qO=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 is(n==null?void 0:n.props),o}return _1(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 P1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R1(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 w1(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 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&&cs(e,t)}function $1(e,t){return t&&(S1(t)==="object"||typeof t=="function")?t:P1(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(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=Vr(e),o;if(t){var u=Vr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $1(this,o)}}var C1=function(e){T1(r,e);var t=I1(r);function r(n){R1(this,r);var o;return o=t.call(this,n),o.props=new is(n==null?void 0:n.props),o}return w1(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(V),WO={Designer:qO,Runtime:C1,Property:is};function N1(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 k1(e,t){return t&&(B1(t)==="object"||typeof t=="function")?t:N1(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(e,t)}var B1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JO(e){var t=j1();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 k1(this,o)}}var A1=function(e){XO(r,e);var t=JO(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=JO(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=A1;function M1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 L1(e,t,r){return t&&QO(e.prototype,t),r&&QO(e,r),e}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function F1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}function z1(e,t){return t&&(x1(t)==="object"||typeof t=="function")?t:M1(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var x1=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 G1(e){var t=Y1();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 z1(this,o)}}var vt=function(e){F1(r,e);var t=G1(r);function r(n){D1(this,r);var o;return o=t.call(this,n),o.props=new qr(n==null?void 0:n.props),o}return L1(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 V1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 q1(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 U1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function W1(e,t){return t&&(K1(t)==="object"||typeof t=="function")?t:V1(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var K1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=X1();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 W1(this,o)}}var Q1=function(e){U1(r,e);var t=J1(r);function r(n){H1(this,r);var o;return o=t.call(this,n),o.props=new qr(n==null?void 0:n.props),o}return q1(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(V),eg={Designer:vt,Runtime:Q1,Property:qr};function Z1(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 eA(e,t){return t&&(tA(t)==="object"||typeof t=="function")?t:Z1(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var tA=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 rg(e){var t=nA();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 eA(this,o)}}var rA=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:Qt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Qt.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=rA;function oA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iA(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 uA(e,t,r){return t&&og(e.prototype,t),r&&og(e,r),e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(e)}function cA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fA(e,t){return t&&(aA(t)==="object"||typeof t=="function")?t:oA(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(e,t)}var aA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sA(e){var t=lA();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 fA(this,o)}}var Qt=function(e){cA(r,e);var t=sA(r);function r(n){iA(this,r);var o;return o=t.call(this,n),o.props=new Xr(n==null?void 0:n.props),o}return uA(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);Qt.controlEventKeys=["on_click","on_click_finish"],Qt.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 yA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 dA(e,t,r){return t&&ig(e.prototype,t),r&&ig(e,r),e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function hA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _A(e,t){return t&&(pA(t)==="object"||typeof t=="function")?t:yA(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}var pA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OA(e){var t=bA();return function(){var n=Qr(e),o;if(t){var u=Qr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _A(this,o)}}var gA=function(e){hA(r,e);var t=OA(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 dA(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ce),ug={Designer:Qt,Runtime:gA,Property:Xr};function mA(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 PA(e,t){return t&&(RA(t)==="object"||typeof t=="function")?t:mA(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ds(e,t)}var RA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=wA();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 PA(this,o)}}var TA=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=TA;function $A(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 EA(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 IA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function CA(e,t){return t&&(NA(t)==="object"||typeof t=="function")?t:$A(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hs(e,t)}var NA=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 BA(e){var t=kA();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 CA(this,o)}}var Zt=function(e){IA(r,e);var t=BA(r);function r(n){SA(this,r);var o;return o=t.call(this,n),o.props=new eo(n==null?void 0:n.props),o}return EA(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 jA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AA(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 MA(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 DA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function LA(e,t){return t&&(FA(t)==="object"||typeof t=="function")?t:jA(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}var FA=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 xA(e){var t=zA();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 LA(this,o)}}var YA=function(e){DA(r,e);var t=xA(r);function r(n){AA(this,r);var o;return o=t.call(this,n),o.props=new eo(n==null?void 0:n.props),o}return MA(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ce),yg={Designer:Zt,Runtime:YA,Property:eo};function GA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VA(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 HA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qA(e,t){return t&&(UA(t)==="object"||typeof t=="function")?t:GA(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var UA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KA(e){var t=WA();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 qA(this,o)}}var bs=function(e){HA(r,e);var t=KA(r);function r(n){VA(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 XA(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 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 QA(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 ZA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Os(e,t)}function eM(e,t){return t&&(tM(t)==="object"||typeof t=="function")?t:XA(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var tM=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 rM(e){var t=nM();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 eM(this,o)}}var en=function(e){ZA(r,e);var t=rM(r);function r(n){JA(this,r);var o;return o=t.call(this,n),o.props=new bs(n==null?void 0:n.props),o}return QA(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 oM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uM(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 cM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gs(e,t)}function fM(e,t){return t&&(aM(t)==="object"||typeof t=="function")?t:oM(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(e,t)}var aM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sM(e){var t=lM();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 fM(this,o)}}var yM=function(e){cM(r,e);var t=sM(r);function r(n){iM(this,r);var o;return o=t.call(this,n),o.props=new bs(n==null?void 0:n.props),o}return uM(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ce),hg={Designer:en,Runtime:yM,Property:bs};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 uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(e)}function hM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function _M(e,t){return t&&(pM(t)==="object"||typeof t=="function")?t:vM(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}var pM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=bM();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 _M(this,o)}}var Ps=function(e){hM(r,e);var t=OM(r);function r(n){dM(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 gM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 PM(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 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&&Rs(e,t)}function wM(e,t){return t&&(TM(t)==="object"||typeof t=="function")?t:gM(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(e,t)}var TM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $M(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SM(e){var t=$M();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 wM(this,o)}}var tn=function(e){RM(r,e);var t=SM(r);function r(n){mM(this,r);var o;return o=t.call(this,n),o.props=new Ps(n==null?void 0:n.props),o}return PM(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 EM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 CM(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 NM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function kM(e,t){return t&&(BM(t)==="object"||typeof t=="function")?t:EM(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 jM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AM(e){var t=jM();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 kM(this,o)}}var MM=function(e){NM(r,e);var t=AM(r);function r(n){IM(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:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ce),bg={Designer:tn,Runtime:MM,Property:Ps};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 ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(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&&Ts(e,t)}function zM(e,t){return t&&(xM(t)==="object"||typeof t=="function")?t:DM(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(e,t)}var xM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GM(e){var t=YM();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 zM(this,o)}}var $s=function(e){FM(r,e);var t=GM(r);function r(n){LM(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 VM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qM(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 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&&Ss(e,t)}function WM(e,t){return t&&(KM(t)==="object"||typeof t=="function")?t:VM(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(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 JM(e){var t=XM();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 WM(this,o)}}var nn=function(e){UM(r,e);var t=JM(r);function r(n){HM(this,r);var o;return o=t.call(this,n),o.props=new $s(n==null?void 0:n.props),o}return qM(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 QM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 e2(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 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&&Es(e,t)}function n2(e,t){return t&&(r2(t)==="object"||typeof t=="function")?t:QM(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Es(e,t)}var r2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i2(e){var t=o2();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 n2(this,o)}}var u2=function(e){t2(r,e);var t=i2(r);function r(n){ZM(this,r);var o;return o=t.call(this,n),o.props=new $s(n==null?void 0:n.props),o}return e2(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ce),mg={Designer:nn,Runtime:u2,Property:$s};function c2(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 f2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}function a2(e,t){return t&&(l2(t)==="object"||typeof t=="function")?t:c2(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Is(e,t)}var l2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function s2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y2(e){var t=s2();return function(){var n=yo(e),o;if(t){var u=yo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return a2(this,o)}}var v2=function e(t){Pg(this,e),this.dataCode=t.dataCode},Cs=function(e){f2(r,e);var t=y2(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 v2(s)}))!==null&&l!==void 0?l:[],o}return r}(te);function d2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _2(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 p2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b2(e,t){return t&&(O2(t)==="object"||typeof t=="function")?t:d2(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 g2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m2(e){var t=g2();return function(){var n=vo(e),o;if(t){var u=vo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return b2(this,o)}}var rn=function(e){p2(r,e);var t=m2(r);function r(n){h2(this,r);var o;return o=t.call(this,n),o.props=new Cs(n==null?void 0:n.props),o}return _2(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 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 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 w2(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 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&&ks(e,t)}function $2(e,t){return t&&(S2(t)==="object"||typeof t=="function")?t:P2(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(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=ho(e),o;if(t){var u=ho(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $2(this,o)}}var C2=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 Cs(n==null?void 0:n.props),o}return w2(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ce),Tg={Designer:rn,Runtime:C2,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 N2(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 k2(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){k2(e,o,r[o])})}return e}function B2(e,t){return t&&(j2(t)==="object"||typeof t=="function")?t:N2(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}var j2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ig(e){var t=A2();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 D2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 F2(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 z2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&js(e,t)}function x2(e,t){return t&&(Y2(t)==="object"||typeof t=="function")?t:D2(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(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 V2(e){var t=G2();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 x2(this,o)}}var on=function(e){z2(r,e);var t=V2(r);function r(n){L2(this,r);var o;return o=t.call(this,n),o.props=new bo(n==null?void 0:n.props),o}return F2(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 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 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 U2(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 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&&As(e,t)}function K2(e,t){return t&&(X2(t)==="object"||typeof t=="function")?t:H2(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}var X2=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 Q2(e){var t=J2();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 K2(this,o)}}var Z2=function(e){W2(r,e);var t=Q2(r);function r(n){q2(this,r);var o;return o=t.call(this,n),o.props=new bo(n==null?void 0:n.props),o}return U2(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ce),kg={Designer:on,Runtime:Z2,Property:bo};function eD(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 tD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function 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){tD(e,o,r[o])})}return e}function nD(e,t){return t&&(rD(t)==="object"||typeof t=="function")?t:eD(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}var rD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mg(e){var t=oD();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 nD(this,o)}}var iD=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=iD;function uD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fD(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 aD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ds(e,t)}function lD(e,t){return t&&(sD(t)==="object"||typeof t=="function")?t:uD(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var sD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vD(e){var t=yD();return function(){var n=Ro(e),o;if(t){var u=Ro(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return lD(this,o)}}var un=function(e){aD(r,e);var t=vD(r);function r(n){cD(this,r);var o;return o=t.call(this,n),o.props=new Po(n==null?void 0:n.props),o}return fD(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 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 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 _D(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 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&&Ls(e,t)}function bD(e,t){return t&&(OD(t)==="object"||typeof t=="function")?t:dD(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 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=wo(e),o;if(t){var u=wo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bD(this,o)}}var PD=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 Po(n==null?void 0:n.props),o}return _D(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ce),Fg={Designer:un,Runtime:PD,Property:Po};function RD(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 wD(e,t){return t&&(TD(t)==="object"||typeof t=="function")?t:RD(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(e,t)}var TD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $D(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$D();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 wD(this,o)}}var SD=function(e){zs(r,e);var t=Ys(r);function r(n){return Fs(this,r),t.call(this,n)}return r}(z),ED=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=SD,cn.RuntimeRules=ED;function ID(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 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 ND(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 kD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function BD(e,t){return t&&(jD(t)==="object"||typeof t=="function")?t:ID(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}var jD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=AD();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){kD(r,e);var t=MD(r);function r(n){CD(this,r);var o;return o=t.call(this,n),o.props=new cn(n==null?void 0:n.props),o}return ND(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 DD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 FD(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 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&&Vs(e,t)}function xD(e,t){return t&&(YD(t)==="object"||typeof t=="function")?t:DD(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}var YD=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 VD(e){var t=GD();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 xD(this,o)}}var HD=function(e){zD(r,e);var t=VD(r);function r(n){LD(this,r);var o;return o=t.call(this,n),o.props=new cn(n==null?void 0:n.props),o}return FD(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(V),Gg={Designer:xg,Runtime:HD,Property:cn};function qD(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 UD(e,t){return t&&(WD(t)==="object"||typeof t=="function")?t:qD(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}var WD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qg(e){var t=KD();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 UD(this,o)}}var XD=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=XD;function JD(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 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 ZD(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 eL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qs(e,t)}function tL(e,t){return t&&(nL(t)==="object"||typeof t=="function")?t:JD(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}var nL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oL(e){var t=rL();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 tL(this,o)}}var Wg=function(e){eL(r,e);var t=oL(r);function r(n){QD(this,r);var o;return o=t.call(this,n),o.props=new Io(n==null?void 0:n.props),o}return ZD(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 iL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cL(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 fL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function aL(e,t){return t&&(lL(t)==="object"||typeof t=="function")?t:iL(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}var lL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yL(e){var t=sL();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 aL(this,o)}}var vL=function(e){fL(r,e);var t=yL(r);function r(n){uL(this,r);var o;return o=t.call(this,n),o.props=new Io(n==null?void 0:n.props),o}return cL(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(V),Xg={Designer:Wg,Runtime:vL,Property:Io};function dL(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 ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(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&&Ws(e,t)}function hL(e,t){return t&&(_L(t)==="object"||typeof t=="function")?t:dL(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 pL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=pL();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 hL(this,o)}}var bL=function(e){Qg(r,e);var t=Zg(r);function r(n){Jg(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){Qg(r,e);var t=Zg(r);function r(n){Jg(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=bL;function OL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mL(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 PL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function RL(e,t){return t&&(wL(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 wL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $L(e){var t=TL();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 RL(this,o)}}var tm=function(e){PL(r,e);var t=$L(r);function r(n){gL(this,r);var o;return o=t.call(this,n),o.props=new Bo(n==null?void 0:n.props),o}return mL(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 SL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 IL(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 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&&Xs(e,t)}function NL(e,t){return t&&(kL(t)==="object"||typeof t=="function")?t:SL(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}var kL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jL(e){var t=BL();return function(){var n=Ao(e),o;if(t){var u=Ao(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return NL(this,o)}}var AL=function(e){CL(r,e);var t=jL(r);function r(n){EL(this,r);var o;return o=t.call(this,n),o.props=new Bo(n==null?void 0:n.props),o}return IL(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(V),rm={Designer:tm,Runtime:AL,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&&Js(e,t)}function DL(e,t){return t&&(LL(t)==="object"||typeof t=="function")?t:ML(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var LL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function um(e){var t=FL();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 DL(this,o)}}var zL=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=zL;function xL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 GL(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 VL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function HL(e,t){return t&&(qL(t)==="object"||typeof t=="function")?t:xL(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}var qL=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 WL(e){var t=UL();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 HL(this,o)}}var dt=function(e){VL(r,e);var t=WL(r);function r(n){YL(this,r);var o;return o=t.call(this,n),o.props=new Do(n==null?void 0:n.props),o}return GL(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 KL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 JL(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 QL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function ZL(e,t){return t&&(eF(t)==="object"||typeof t=="function")?t:KL(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}var eF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nF(e){var t=tF();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 ZL(this,o)}}var rF=function(e){QL(r,e);var t=nF(r);function r(n){XL(this,r);var o;return o=t.call(this,n),o.props=new Do(n==null?void 0:n.props),o}return JL(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ce),am={Designer:dt,Runtime:rF,Property:Do};function oF(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 iF(e,t){return t&&(uF(t)==="object"||typeof t=="function")?t:oF(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}var uF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ym(e){var t=cF();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 iF(this,o)}}var fF=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=fF;function aF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 sF(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 yF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function vF(e,t){return t&&(dF(t)==="object"||typeof t=="function")?t:aF(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var dF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _F(e){var t=hF();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 vF(this,o)}}var ht=function(e){yF(r,e);var t=_F(r);function r(n){lF(this,r);var o;return o=t.call(this,n),o.props=new xo(n==null?void 0:n.props),o}return sF(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 pF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bF(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 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&&ny(e,t)}function mF(e,t){return t&&(PF(t)==="object"||typeof t=="function")?t:pF(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var PF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wF(e){var t=RF();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 mF(this,o)}}var TF=function(e){gF(r,e);var t=wF(r);function r(n){bF(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:TF,Property:xo};function $F(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 SF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:$F(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var EF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bm(e){var t=IF();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 SF(this,o)}}var CF=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=CF;function NF(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 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 jF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AF(e,t){return t&&(MF(t)==="object"||typeof t=="function")?t:NF(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 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 LF(e){var t=DF();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 AF(this,o)}}var fn=function(e){jF(r,e);var t=LF(r);function r(n){kF(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 FF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zF(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 xF(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 YF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function GF(e,t){return t&&(VF(t)==="object"||typeof t=="function")?t:FF(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}var VF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qF(e){var t=HF();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 GF(this,o)}}var UF=function(e){YF(r,e);var t=qF(r);function r(n){zF(this,r);var o;return o=t.call(this,n),o.props=new Ho(n==null?void 0:n.props),o}return xF(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ce),mm={Designer:fn,Runtime:UF,Property:Ho};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 Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(e)}function XF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function JF(e,t){return t&&(QF(t)==="object"||typeof t=="function")?t:WF(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}var QF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e4(e){var t=ZF();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 JF(this,o)}}var cy=function(e){XF(r,e);var t=e4(r);function r(n){KF(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 t4(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 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 r4(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 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&&fy(e,t)}function i4(e,t){return t&&(u4(t)==="object"||typeof t=="function")?t:t4(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}var u4=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 f4(e){var t=c4();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 i4(this,o)}}var an=function(e){o4(r,e);var t=f4(r);function r(n){n4(this,r);var o;return o=t.call(this,n),o.props=new cy(n==null?void 0:n.props),o}return r4(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 a4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 s4(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 y4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 v4(e,t){return t&&(d4(t)==="object"||typeof t=="function")?t:a4(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}var d4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=h4();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 v4(this,o)}}var p4=function(e){y4(r,e);var t=_4(r);function r(n){l4(this,r);var o;return o=t.call(this,n),o.props=new cy(n==null?void 0:n.props),o}return s4(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ce),wm={Designer:an,Runtime:p4,Property:cy};function b4(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 Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(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&&(g4(t)==="object"||typeof t=="function")?t:b4(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var g4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sm(e){var t=m4();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 O4(this,o)}}var P4=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),Qo=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);Qo.Rules=P4;function R4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 T4(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 $4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function S4(e,t){return t&&(E4(t)==="object"||typeof t=="function")?t:R4(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}var E4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C4(e){var t=I4();return function(){var n=Zo(e),o;if(t){var u=Zo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return S4(this,o)}}var ei=function(e){$4(r,e);var t=C4(r);function r(n){w4(this,r);var o;return o=t.call(this,n),o.props=new Qo(n==null?void 0:n.props),o}return T4(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 N4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 j4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A4(e,t){return t&&(M4(t)==="object"||typeof t=="function")?t:N4(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 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 L4(e){var t=D4();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 A4(this,o)}}var F4=function(e){j4(r,e);var t=L4(r);function r(n){k4(this,r);var o;return o=t.call(this,n),o.props=new Qo(n==null?void 0:n.props),o}return B4(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(V),ln={Designer:ei,Runtime:F4,Property:Qo};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 ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function Y4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G4(e,t){return t&&(V4(t)==="object"||typeof t=="function")?t:z4(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}var V4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q4(e){var t=H4();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 G4(this,o)}}var dy=function(e){Y4(r,e);var t=q4(r);function r(n){x4(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 U4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 K4(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 X4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function J4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:U4(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}var Q4=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 e5(e){var t=Z4();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 J4(this,o)}}var sn=function(e){X4(r,e);var t=e5(r);function r(n){W4(this,r);var o;return o=t.call(this,n),o.props=new dy(n==null?void 0:n.props),o}return K4(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 t5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n5(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 r5(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 o5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function i5(e,t){return t&&(u5(t)==="object"||typeof t=="function")?t:t5(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}var u5=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 f5(e){var t=c5();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 i5(this,o)}}var a5=function(e){o5(r,e);var t=f5(r);function r(n){n5(this,r);var o;return o=t.call(this,n),o.props=new dy(n==null?void 0:n.props),o}return r5(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(V),km={Designer:sn,Runtime:a5,Property:dy},l5=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 s5(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 y5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:s5(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var v5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gy(e){var t=d5();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 y5(this,o)}}var h5=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=Jt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(U),_5=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:Jt(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=h5,_t.RuntimeRules=_5;function p5(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 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 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&&my(e,t)}function m5(e,t){return t&&(P5(t)==="object"||typeof t=="function")?t:p5(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}var P5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w5(e){var t=R5();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 m5(this,o)}}var pt=function(e){g5(r,e);var t=w5(r);function r(n){b5(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 T5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 S5(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 E5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function I5(e,t){return t&&(C5(t)==="object"||typeof t=="function")?t:T5(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}var C5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k5(e){var t=N5();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 I5(this,o)}}var Am=function(e){E5(r,e);var t=k5(r);function r(n){$5(this,r);var o;return o=t.call(this,n),o.props=new _t(n==null?void 0:n.props),o}return S5(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 j5(e,t){return t&&(A5(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 A5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $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 j5(this,o)}}var D5=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),L5=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=D5,yn.RuntimeRules=L5;function F5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 x5(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 Y5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:F5(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}var V5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q5(e){var t=H5();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 G5(this,o)}}var vn=function(e){Y5(r,e);var t=q5(r);function r(n){z5(this,r);var o;return o=t.call(this,n),o.props=new yn(n==null?void 0:n.props),o}return x5(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 U5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 K5(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 X5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function J5(e,t){return t&&(Q5(t)==="object"||typeof t=="function")?t:U5(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}var Q5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e6(e){var t=Z5();return function(){var n=li(e),o;if(t){var u=li(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return J5(this,o)}}var Fm=function(e){X5(r,e);var t=e6(r);function r(n){W5(this,r);var o;return o=t.call(this,n),o.props=new yn(n==null?void 0:n.props),o}return K5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(N);Fm.controlFieldType=c.FieldTypes.ARRAY;var zm={Designer:vn,Runtime:Fm,Property:yn};function t6(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 n6(e,t){return t&&(r6(t)==="object"||typeof t=="function")?t:t6(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}var r6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gm(e){var t=o6();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 n6(this,o)}}var i6=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=i6;function u6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 f6(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 a6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function l6(e,t){return t&&(s6(t)==="object"||typeof t=="function")?t:u6(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}var s6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v6(e){var t=y6();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 l6(this,o)}}var dn=function(e){a6(r,e);var t=v6(r);function r(n){c6(this,r);var o;return o=t.call(this,n),o.props=new yi(n==null?void 0:n.props),o}return f6(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 d6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _6(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 p6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function b6(e,t){return t&&(O6(t)==="object"||typeof t=="function")?t:d6(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 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=di(e),o;if(t){var u=di(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return b6(this,o)}}var qm=function(e){p6(r,e);var t=m6(r);function r(n){h6(this,r);var o;return o=t.call(this,n),o.props=new yi(n==null?void 0:n.props),o}return _6(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(N);qm.controlFieldType=c.FieldTypes.VARCHAR;var Um={Designer:dn,Runtime:qm,Property:yi};function P6(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 R6(e,t){return t&&(w6(t)==="object"||typeof t=="function")?t:P6(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}var w6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ay(e){var t=T6();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 R6(this,o)}}var $6=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=Jt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(U),S6=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:Jt(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=$6,hn.RuntimeRules=S6;function E6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C6(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 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&&My(e,t)}function k6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:E6(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 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=bt(e),o;if(t){var u=bt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return k6(this,o)}}var _n=function(e){N6(r,e);var t=M6(r);function r(n){I6(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return C6(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 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 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 F6(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 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&&Dy(e,t)}function x6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:D6(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}var Y6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V6(e){var t=G6();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 x6(this,o)}}var Xm=function(e){z6(r,e);var t=V6(r);function r(n){L6(this,r);var o;return o=t.call(this,n),o.props=new hn(n==null?void 0:n.props),o}return F6(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(N);Xm.controlFieldType=c.FieldTypes.DECIMAL;var Jm={Designer:_n,Runtime:Xm,Property:hn};function H6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(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&&Ly(e,t)}function W6(e,t){return t&&(K6(t)==="object"||typeof t=="function")?t:H6(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var K6=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 J6(e){var t=X6();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 W6(this,o)}}var Fy=function(e){U6(r,e);var t=J6(r);function r(n){q6(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 Q6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 e7(e,t,r){return t&&Qm(e.prototype,t),r&&Qm(e,r),e}function Oi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Oi=Reflect.get:Oi=function(o,u,f){var a=r7(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 t7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zy(e,t)}function n7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:Q6(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}function r7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var o7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u7(e){var t=i7();return function(){var n=Ot(e),o;if(t){var u=Ot(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return n7(this,o)}}var gi=function(e){t7(r,e);var t=u7(r);function r(n){Z6(this,r);var o;return o=t.call(this,n),o.props=new Fy(n==null?void 0:n.props),o}return e7(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 c7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 a7(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 l7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function s7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:c7(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}var y7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d7(e){var t=v7();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 s7(this,o)}}var e0=function(e){l7(r,e);var t=d7(r);function r(n){f7(this,r);var o;return o=t.call(this,n),o.props=new Fy(n==null?void 0:n.props),o}return a7(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 h7(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 _7(e,t){return t&&(p7(t)==="object"||typeof t=="function")?t:h7(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}var p7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o0(e){var t=b7();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 _7(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 g7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m7(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 P7(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=T7(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 R7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function w7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:g7(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function T7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gt(e),e!==null););return e}var $7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E7(e){var t=S7();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 w7(this,o)}}var Ti=function(e){R7(r,e);var t=E7(r);function r(n){m7(this,r);var o;return o=t.call(this,n),o.props=new Ri(n==null?void 0:n.props),o}return P7(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 I7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 N7(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 k7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function B7(e,t){return t&&(j7(t)==="object"||typeof t=="function")?t:I7(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}var j7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M7(e){var t=A7();return function(){var n=$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){k7(r,e);var t=M7(r);function r(n){C7(this,r);var o;return o=t.call(this,n),o.props=new Ri(n==null?void 0:n.props),o}return N7(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 D7(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 L7(e,t){return t&&(F7(t)==="object"||typeof t=="function")?t:D7(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}var F7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wy(e){var t=z7();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 L7(this,o)}}var x7=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),Y7=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=x7,pn.RuntimeRules=Y7;function G7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V7(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 H7(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 q7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U7(e,t){return t&&(W7(t)==="object"||typeof t=="function")?t:G7(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}var W7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X7(e){var t=K7();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 U7(this,o)}}var bn=function(e){q7(r,e);var t=X7(r);function r(n){V7(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return H7(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 J7(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 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 Z7(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 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&&Xy(e,t)}function t8(e,t){return t&&(n8(t)==="object"||typeof t=="function")?t:J7(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}var n8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o8(e){var t=r8();return function(){var n=Ii(e),o;if(t){var u=Ii(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return t8(this,o)}}var s0=function(e){e8(r,e);var t=o8(r);function r(n){Q7(this,r);var o;return o=t.call(this,n),o.props=new pn(n==null?void 0:n.props),o}return Z7(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(N);s0.controlFieldType=c.FieldTypes.TEXT;var y0={Designer:bn,Runtime:s0,Property:pn};function i8(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 Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(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&&Zy(e,t)}function u8(e,t){return t&&(c8(t)==="object"||typeof t=="function")?t:i8(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var c8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ev(e){var t=f8();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 u8(this,o)}}var a8=function(e){Qy(r,e);var t=ev(r);function r(n){Jy(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),l8=function(e){Qy(r,e);var t=ev(r);function r(n){Jy(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){Qy(r,e);var t=ev(r);function r(n){Jy(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=a8,On.RuntimeRules=l8;function s8(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 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 v8(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 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&&tv(e,t)}function h8(e,t){return t&&(_8(t)==="object"||typeof t=="function")?t:s8(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var _8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b8(e){var t=p8();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 h8(this,o)}}var gn=function(e){d8(r,e);var t=b8(r);function r(n){y8(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return v8(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 g8(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 m8(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 P8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R8(e,t){return t&&(w8(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 w8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $8(e){var t=T8();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 R8(this,o)}}var h0=function(e){P8(r,e);var t=$8(r);function r(n){g8(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return m8(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 S8(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 E8(e,t){return t&&(I8(t)==="object"||typeof t=="function")?t:S8(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}var I8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O0(e){var t=C8();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 E8(this,o)}}var N8=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=N8;function k8(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 j8(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 A8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function M8(e,t){return t&&(D8(t)==="object"||typeof t=="function")?t:k8(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}var D8=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 F8(e){var t=L8();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){A8(r,e);var t=F8(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 j8(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 z8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x8(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 Y8(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 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&&iv(e,t)}function V8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:z8(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}var H8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=q8();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 V8(this,o)}}var P0=function(e){G8(r,e);var t=U8(r);function r(n){x8(this,r);var o;return o=t.call(this,n),o.props=new ji(n==null?void 0:n.props),o}return Y8(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(N);P0.controlFieldType=c.FieldTypes.VARCHAR;var R0={Designer:Mi,Runtime:P0,Property:ji};function W8(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 K8(e,t){return t&&(X8(t)==="object"||typeof t=="function")?t:W8(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var X8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function av(e){var t=J8();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 K8(this,o)}}var Q8=function(e){cv(r,e);var t=av(r);function r(n){return uv(this,r),t.call(this,n)}return r}(Le),Z8=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=Q8,mn.RuntimeRules=Z8;function e9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 n9(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 r9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o9(e,t){return t&&(i9(t)==="object"||typeof t=="function")?t:e9(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}var i9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c9(e){var t=u9();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 o9(this,o)}}var zi=function(e){r9(r,e);var t=c9(r);function r(n){t9(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return n9(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 f9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a9(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 l9(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 s9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function y9(e,t){return t&&(v9(t)==="object"||typeof t=="function")?t:f9(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}var v9=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 h9(e){var t=d9();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 y9(this,o)}}var $0=function(e){s9(r,e);var t=h9(r);function r(n){a9(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return l9(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 _9(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 p9(e,t){return t&&(b9(t)==="object"||typeof t=="function")?t:_9(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}var b9=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 p9(this,o)}}var g9=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=g9;function m9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P9(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 R9(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 w9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T9(e,t){return t&&($9(t)==="object"||typeof t=="function")?t:m9(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}var $9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=S9();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 T9(this,o)}}var Hi=function(e){w9(r,e);var t=E9(r);function r(n){P9(this,r);var o;return o=t.call(this,n),o.props=new Gi(n==null?void 0:n.props),o}return R9(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 I9(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 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 N9(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 k9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function B9(e,t){return t&&(j9(t)==="object"||typeof t=="function")?t:I9(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}var j9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 M9(e){var t=A9();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){k9(r,e);var t=M9(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 N9(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(N);B0.controlFieldType=c.FieldTypes.EMPLOYEES;var j0={Designer:Hi,Runtime:B0,Property:Gi};function D9(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 L9(e,t){return t&&(F9(t)==="object"||typeof t=="function")?t:D9(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}var F9=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 bv(e){var t=z9();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 L9(this,o)}}var x9=10485760,Y9=104857600,G9=1048576e3,V9=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:G9,message:_.getMessage("attachmentMaxSize")},o}return r}(U),H9=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:Y9;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=V9,mt.RuntimeRules=H9;function q9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W9(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 K9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function X9(e,t){return t&&(J9(t)==="object"||typeof t=="function")?t:q9(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}var J9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z9(e){var t=Q9();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 X9(this,o)}}var Pt=function(e){K9(r,e);var t=Z9(r);function r(n){U9(this,r);var o;return o=t.call(this,n),o.props=new mt(n==null?void 0:n.props),o}return W9(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 ez(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nz(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 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&&gv(e,t)}function oz(e,t){return t&&(iz(t)==="object"||typeof t=="function")?t:ez(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var iz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cz(e){var t=uz();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 oz(this,o)}}var mv=function(e){rz(r,e);var t=cz(r);function r(n){tz(this,r);var o;return o=t.call(this,n),o.props=new mt(n==null?void 0:n.props),o}return nz(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(N);mv.controlFieldType=c.FieldTypes.FILE;var D0={Designer:Pt,Runtime:mv,Property:mt};function fz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lz(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 sz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function yz(e,t){return t&&(vz(t)==="object"||typeof t=="function")?t:fz(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}var vz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hz(e){var t=dz();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 yz(this,o)}}var Rv=function(e){sz(r,e);var t=hz(r);function r(n){az(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 lz(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 _z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bz(e,t,r){return t&&F0(e.prototype,t),r&&F0(e,r),e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(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 gz(e,t){return t&&(mz(t)==="object"||typeof t=="function")?t:_z(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}var mz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rz(e){var t=Pz();return function(){var n=Ji(e),o;if(t){var u=Ji(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return gz(this,o)}}var wz=function(e){Oz(r,e);var t=Rz(r);function r(n){pz(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 bz(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(mv);function Tz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function Sz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function Ez(e,t){return t&&(Iz(t)==="object"||typeof t=="function")?t:Tz(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}var Iz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 Nz(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 Ez(this,o)}}var kz=function(e){Sz(r,e);var t=Nz(r);function r(n){return $z(this,r),t.call(this,n)}return r}(mt),z0={Designer:Rv,Runtime:wz,Property:kz};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 jz(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 Az(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){jz(e,o,r[o])})}return e}function Mz(e,t){return t&&(Dz(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 Dz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iv(e){var t=Lz();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 Fz=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),zz=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:[Az({},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=Fz,Pn.RuntimeRules=zz;function xz(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 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 Gz(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=qz(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 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&&Cv(e,t)}function Hz(e,t){return t&&(Uz(t)==="object"||typeof t=="function")?t:xz(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}function qz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rt(e),e!==null););return e}var Uz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kz(e){var t=Wz();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 Hz(this,o)}}var Rn=function(e){Vz(r,e);var t=Kz(r);function r(n){Yz(this,r);var o;return o=t.call(this,n),o.props=new Pn(n==null?void 0:n.props),o}return Gz(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 Xz(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 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 Qz(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 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&&Nv(e,t)}function ex(e,t){return t&&(tx(t)==="object"||typeof t=="function")?t:Xz(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}var tx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rx(e){var t=nx();return function(){var n=tu(e),o;if(t){var u=tu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ex(this,o)}}var G0=function(e){Zz(r,e);var t=rx(r);function r(n){Jz(this,r);var o;return o=t.call(this,n),o.props=new Pn(n==null?void 0:n.props),o}return Qz(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(N);G0.controlFieldType=c.FieldTypes.MONEY;var V0={Designer:Rn,Runtime:G0,Property:Pn};function ox(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 ix(e,t){return t&&(ux(t)==="object"||typeof t=="function")?t:ox(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(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 Av(e){var t=cx();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 ix(this,o)}}var fx=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),ax=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=fx,wn.RuntimeRules=ax;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 lx(e){if(Array.isArray(e))return Mv(e)}function sx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vx(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=bx(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 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&&Dv(e,t)}function hx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _x(){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 px(e,t){return t&&(gx(t)==="object"||typeof t=="function")?t:sx(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function bx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wt(e),e!==null););return e}function Ox(e){return lx(e)||hx(e)||mx(e)||_x()}var gx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mx(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 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 Rx(e){var t=Px();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 px(this,o)}}var Tn=function(e){dx(r,e);var t=Rx(r);function r(n){yx(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return vx(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 wx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $x(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 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&&Lv(e,t)}function Ex(e,t){return t&&(Ix(t)==="object"||typeof t=="function")?t:wx(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var Ix=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nx(e){var t=Cx();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 Ex(this,o)}}var U0=function(e){Sx(r,e);var t=Nx(r);function r(n){Tx(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return $x(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(N);U0.controlFieldType=c.FieldTypes.DECIMAL;var W0={Designer:Tn,Runtime:U0,Property:wn};function kx(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&&(jx(t)==="object"||typeof t=="function")?t:kx(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var jx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 J0(e){var t=Ax();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=J0(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=J0(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 Dx(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 Fx(e,t,r){return t&&Q0(e.prototype,t),r&&Q0(e,r),e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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&&zv(e,t)}function xx(e,t){return t&&(Yx(t)==="object"||typeof t=="function")?t:Dx(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(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 Vx(e){var t=Gx();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 xx(this,o)}}var fu=function(e){zx(r,e);var t=Vx(r);function r(n){Lx(this,r);var o;return o=t.call(this,n),o.props=new uu(n==null?void 0:n.props),o}return Fx(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 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 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 Ux(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 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&&xv(e,t)}function Kx(e,t){return t&&(Xx(t)==="object"||typeof t=="function")?t:Hx(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}var Xx=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 Qx(e){var t=Jx();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 Kx(this,o)}}var eP=function(e){Wx(r,e);var t=Qx(r);function r(n){qx(this,r);var o;return o=t.call(this,n),o.props=new uu(n==null?void 0:n.props),o}return Ux(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 Zx(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 eY(e,t){return t&&(tY(t)==="object"||typeof t=="function")?t:Zx(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}var tY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oP(e){var t=nY();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 eY(this,o)}}var rY=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=rY;function oY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uY(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=aY(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 cY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function fY(e,t){return t&&(lY(t)==="object"||typeof t=="function")?t:oY(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function aY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tt(e),e!==null););return e}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=Tt(e),o;if(t){var u=Tt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return fY(this,o)}}var $n=function(e){cY(r,e);var t=yY(r);function r(n){iY(this,r);var o;return o=t.call(this,n),o.props=new su(n==null?void 0:n.props),o}return uY(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 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 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 hY(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 _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&&Vv(e,t)}function pY(e,t){return t&&(bY(t)==="object"||typeof t=="function")?t:vY(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(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=vu(e),o;if(t){var u=vu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pY(this,o)}}var cP=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 su(n==null?void 0:n.props),o}return hY(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(N);cP.controlFieldType=c.FieldTypes.DEPARTMENTS;var fP={Designer:$n,Runtime:cP,Property:su};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 du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(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&&Hv(e,t)}function wY(e,t){return t&&(TY(t)==="object"||typeof t=="function")?t:mY(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var TY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $Y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SY(e){var t=$Y();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 wY(this,o)}}var qv=function(e){RY(r,e);var t=SY(r);function r(n){PY(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 EY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 CY(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 NY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function kY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:EY(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 jY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AY(e){var t=jY();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 kY(this,o)}}var Sn=function(e){NY(r,e);var t=AY(r);function r(n){IY(this,r);var o;return o=t.call(this,n),o.props=new qv(n==null?void 0:n.props),o}return CY(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 DY(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 LY(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 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&&Wv(e,t)}function zY(e,t){return t&&(xY(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 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=_u(e),o;if(t){var u=_u(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zY(this,o)}}var sP=function(e){FY(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 LY(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 VY(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&&Jv(e,t)}function HY(e,t){return t&&(qY(t)==="object"||typeof t=="function")?t:VY(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}var qY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qv(e){var t=UY();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 HY(this,o)}}var WY=function(e){Xv(r,e);var t=Qv(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),KY=function(e){Xv(r,e);var t=Qv(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=Qv(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=WY,En.RuntimeRules=KY;function XY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JY(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 QY(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=tG(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 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&&Zv(e,t)}function eG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:XY(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function tG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$t(e),e!==null););return e}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=$t(e),o;if(t){var u=$t(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return eG(this,o)}}var In=function(e){ZY(r,e);var t=oG(r);function r(n){JY(this,r);var o;return o=t.call(this,n),o.props=new En(n==null?void 0:n.props),o}return QY(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 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 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 cG(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 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&&ed(e,t)}function aG(e,t){return t&&(lG(t)==="object"||typeof t=="function")?t:iG(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var lG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yG(e){var t=sG();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 aG(this,o)}}var hP=function(e){fG(r,e);var t=yG(r);function r(n){uG(this,r);var o;return o=t.call(this,n),o.props=new En(n==null?void 0:n.props),o}return cG(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(N);hP.controlFieldType=c.FieldTypes.CALC;var _P={Designer:In,Runtime:hP,Property:En};function vG(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 dG(e,t){return t&&(hG(t)==="object"||typeof t=="function")?t:vG(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}var hG=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 OP(e){var t=_G();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 dG(this,o)}}var pG=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=pG;function bG(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 gG(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 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&&nd(e,t)}function PG(e,t){return t&&(RG(t)==="object"||typeof t=="function")?t:bG(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}var RG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TG(e){var t=wG();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 PG(this,o)}}var Ru=function(e){mG(r,e);var t=TG(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 gG(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 $G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SG(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 EG(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 IG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rd(e,t)}function CG(e,t){return t&&(NG(t)==="object"||typeof t=="function")?t:$G(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}var NG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BG(e){var t=kG();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 CG(this,o)}}var PP=function(e){IG(r,e);var t=BG(r);function r(n){SG(this,r);var o;return o=t.call(this,n),o.props=new mu(n==null?void 0:n.props),o}return EG(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 jG(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 AG(e,t){return t&&(MG(t)==="object"||typeof t=="function")?t:jG(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 DG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=DG();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 AG(this,o)}}var LG=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=LG;function FG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xG(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 YG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GG(e,t){return t&&(VG(t)==="object"||typeof t=="function")?t:FG(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var VG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qG(e){var t=HG();return function(){var n=Su(e),o;if(t){var u=Su(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return GG(this,o)}}var Eu=function(e){YG(r,e);var t=qG(r);function r(n){zG(this,r);var o;return o=t.call(this,n),o.props=new $u(n==null?void 0:n.props),o}return xG(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 UG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KG(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 XG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function JG(e,t){return t&&(QG(t)==="object"||typeof t=="function")?t:UG(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}var QG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eV(e){var t=ZG();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 JG(this,o)}}var IP=function(e){XG(r,e);var t=eV(r);function r(n){WG(this,r);var o;return o=t.call(this,n),o.props=new $u(n==null?void 0:n.props),o}return KG(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 tV(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 nV(e,t){return t&&(rV(t)==="object"||typeof t=="function")?t:tV(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var rV=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 ld(e){var t=oV();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 nV(this,o)}}var iV=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),uV=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=iV,Cn.RuntimeRules=uV;function cV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aV(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 lV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function sV(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:cV(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var yV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dV(e){var t=vV();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 sV(this,o)}}var Nn=function(e){lV(r,e);var t=dV(r);function r(n){fV(this,r);var o;return o=t.call(this,n),o.props=new Cn(n==null?void 0:n.props),o}return aV(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 hV(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 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 pV(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 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&&yd(e,t)}function OV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:hV(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var gV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PV(e){var t=mV();return function(){var n=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){bV(r,e);var t=PV(r);function r(n){_V(this,r);var o;return o=t.call(this,n),o.props=new Cn(n==null?void 0:n.props),o}return pV(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 RV(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 wV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:RV(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(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 DP(e){var t=$V();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 wV(this,o)}}var SV=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=SV;function EV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 CV(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 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&&dd(e,t)}function kV(e,t){return t&&(BV(t)==="object"||typeof t=="function")?t:EV(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 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=Au(e),o;if(t){var u=Au(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kV(this,o)}}var kn=function(e){NV(r,e);var t=AV(r);function r(n){IV(this,r);var o;return o=t.call(this,n),o.props=new ju(n==null?void 0:n.props),o}return CV(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 DV(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 LV(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 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&&hd(e,t)}function zV(e,t){return t&&(xV(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 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=Mu(e),o;if(t){var u=Mu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zV(this,o)}}var zP=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 ju(n==null?void 0:n.props),o}return LV(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 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 Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function qV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UV(e,t){return t&&(WV(t)==="object"||typeof t=="function")?t:VV(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var WV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XV(e){var t=KV();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 UV(this,o)}}var pd=function(e){qV(r,e);var t=XV(r);function r(n){return HV(this,r),t.call(this,n)}return r}(_t);function JV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZV(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 eH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:JV(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var nH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oH(e){var t=rH();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 tH(this,o)}}var GP=function(e){eH(r,e);var t=oH(r);function r(n){QV(this,r);var o;return o=t.call(this,n),o.props=new pd(n==null?void 0:n.props),o}return ZV(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 iH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cH(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 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&&Od(e,t)}function aH(e,t){return t&&(lH(t)==="object"||typeof t=="function")?t:iH(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}var lH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yH(e){var t=sH();return function(){var n=Fu(e),o;if(t){var u=Fu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aH(this,o)}}var HP=function(e){fH(r,e);var t=yH(r);function r(n){uH(this,r);var o;return o=t.call(this,n),o.props=new pd(n==null?void 0:n.props),o}return cH(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 vH(e,t){return t&&(dH(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 dH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rd(e){var t=hH();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 vH(this,o)}}var _H=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),pH=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=_H,Bn.RuntimeRules=pH;function bH(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 gH(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 mH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function PH(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:bH(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var RH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TH(e){var t=wH();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 PH(this,o)}}var Se=function(e){mH(r,e);var t=TH(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 gH(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 $H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SH(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 EH(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 IH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function CH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:$H(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}var NH=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 BH(e){var t=kH();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 CH(this,o)}}var XP=function(e){IH(r,e);var t=BH(r);function r(n){SH(this,r);var o;return o=t.call(this,n),o.props=new Bn(n==null?void 0:n.props),o}return EH(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(N);XP.controlFieldType=c.FieldTypes.ARRAY;var JP={Designer:Se,Runtime:XP,Property:Bn};function QP(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 jH(e,t){return t&&(AH(t)==="object"||typeof t=="function")?t:QP(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var AH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function 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 jH(this,o)}}var DH=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(QP(o),n,St.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:_.getMessage("pleaseAssignExternal")}),o}return r}(U),LH=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=DH,jn.RuntimeRules=LH;function FH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xH(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 YH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function GH(e,t){return t&&(VH(t)==="object"||typeof t=="function")?t:FH(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}var VH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qH(e){var t=HH();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 GH(this,o)}}var St=function(e){YH(r,e);var t=qH(r);function r(n){zH(this,r);var o;return o=t.call(this,n),o.props=new jn(n==null?void 0:n.props),o}return xH(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 UH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KH(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 XH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function JH(e,t){return t&&(QH(t)==="object"||typeof t=="function")?t:UH(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var QH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eq(e){var t=ZH();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 JH(this,o)}}var tR=function(e){XH(r,e);var t=eq(r);function r(n){WH(this,r);var o;return o=t.call(this,n),o.props=new jn(n==null?void 0:n.props),o}return KH(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(N);tR.controlFieldType=c.FieldTypes.EMPLOYEES;var nR={Designer:St,Runtime:tR,Property:jn};function tq(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 nq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:tq(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}var rq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iR(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 nq(this,o)}}var iq=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=iq;function uq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fq(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 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&&Bd(e,t)}function lq(e,t){return t&&(sq(t)==="object"||typeof t=="function")?t:uq(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}var sq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vq(e){var t=yq();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 lq(this,o)}}var An=function(e){aq(r,e);var t=vq(r);function r(n){cq(this,r);var o;return o=t.call(this,n),o.props=new Uu(n==null?void 0:n.props),o}return fq(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 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 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 _q(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 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&&jd(e,t)}function bq(e,t){return t&&(Oq(t)==="object"||typeof t=="function")?t:dq(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 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 mq(e){var t=gq();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 bq(this,o)}}var fR=function(e){pq(r,e);var t=mq(r);function r(n){hq(this,r);var o;return o=t.call(this,n),o.props=new Uu(n==null?void 0:n.props),o}return _q(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 Pq(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 Rq(e,t){return t&&(wq(t)==="object"||typeof t=="function")?t:Pq(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(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 Ld(e){var t=Tq();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 Rq(this,o)}}var $q=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),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[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:x9;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=$q,Mn.RuntimeRules=Sq;function Eq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Cq(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(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&&Fd(e,t)}function kq(e,t){return t&&(Bq(t)==="object"||typeof t=="function")?t:Eq(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 jq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aq(e){var t=jq();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 kq(this,o)}}var Dn=function(e){Nq(r,e);var t=Aq(r);function r(n){Iq(this,r);var o;return o=t.call(this,n),o.props=new Mn(n==null?void 0:n.props),o}return Cq(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 Dq(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 Lq(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function Fq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zq(e,t){return t&&(xq(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 xq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gq(e){var t=Yq();return function(){var n=Qu(e),o;if(t){var u=Qu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zq(this,o)}}var yR=function(e){Fq(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 Lq(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 Vq(e,t){return t&&(Hq(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 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 Vd(e){var t=qq();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 Vq(this,o)}}var Uq=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),Wq=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=Uq,Ln.RuntimeRules=Wq;function Kq(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 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 Jq(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=eU(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 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&&Hd(e,t)}function Zq(e,t){return t&&(tU(t)==="object"||typeof t=="function")?t:Kq(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function eU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Et(e),e!==null););return e}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=Et(e),o;if(t){var u=Et(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Zq(this,o)}}var Fe=function(e){Qq(r,e);var t=rU(r);function r(n){Xq(this,r);var o;return o=t.call(this,n),o.props=new Ln(n==null?void 0:n.props),o}return Jq(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 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 _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 uU(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 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&&qd(e,t)}function fU(e,t){return t&&(aU(t)==="object"||typeof t=="function")?t:oU(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(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=tc(e),o;if(t){var u=tc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return fU(this,o)}}var pR=function(e){cU(r,e);var t=sU(r);function r(n){iU(this,r);var o;return o=t.call(this,n),o.props=new Ln(n==null?void 0:n.props),o}return uU(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 yU(e,t){return t&&(vU(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 vU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xd(e){var t=dU();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 yU(this,o)}}var hU=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),_U=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=hU,Fn.RuntimeRules=_U;function pU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bU(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=PU(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 gU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mU(e,t){return t&&(RU(t)==="object"||typeof t=="function")?t:pU(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function PU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=It(e),e!==null););return e}var RU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TU(e){var t=wU();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 mU(this,o)}}var ze=function(e){gU(r,e);var t=TU(r);function r(n){bU(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 $U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SU(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 EU(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 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 CU(e,t){return t&&(NU(t)==="object"||typeof t=="function")?t:$U(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}var NU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BU(e){var t=kU();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 CU(this,o)}}var PR=function(e){IU(r,e);var t=BU(r);function r(n){SU(this,r);var o;return o=t.call(this,n),o.props=new Fn(n==null?void 0:n.props),o}return EU(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(N);PR.controlFieldType=c.FieldTypes.DEPARTMENTS;var RR={Designer:ze,Runtime:PR,Property:Fn},jU=Object.freeze({__proto__:null,Input:Mm,Checkbox:zm,Radio:Um,Number:Jm,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:JP,Employee2:nR,ElectronicSignature:aR,WPS:vR,Department2:bR,OrganizationSelection:RR});function AU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 DU(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 LU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FU(e,t){return t&&(zU(t)==="object"||typeof t=="function")?t:AU(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}var zU=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 YU(e){var t=xU();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 FU(this,o)}}var TR=function(e){LU(r,e);var t=YU(r);function r(n){return MU(this,r),t.call(this,n)}return DU(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 GU(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 $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 HU(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 qU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function UU(e,t){return t&&(WU(t)==="object"||typeof t=="function")?t:GU(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var WU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XU(e){var t=KU();return function(){var n=uc(e),o;if(t){var u=uc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return UU(this,o)}}var JU=function(e){qU(r,e);var t=XU(r);function r(n){return VU(this,r),t.call(this,n)}return HU(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Y),SR={Designer:TR,Runtime:JU,Property:A};function QU(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 cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function eW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function tW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:QU(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var nW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oW(e){var t=rW();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 tW(this,o)}}var iW=24,xe=function(e){eW(r,e);var t=oW(r);function r(n){ZU(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:iW;var f;return o.offset=(f=n==null?void 0:n.offset)!==null&&f!==void 0?f:0,o}return r}(A);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 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 fW(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 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&&nh(e,t)}function lW(e,t){return t&&(sW(t)==="object"||typeof t=="function")?t:uW(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(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=fc(e),o;if(t){var u=fc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return lW(this,o)}}var zn=function(e){aW(r,e);var t=vW(r);function r(n){cW(this,r);var o;return o=t.call(this,n),o.props=new xe(n==null?void 0:n.props),o}return fW(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 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 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 _W(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 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&&rh(e,t)}function bW(e,t){return t&&(OW(t)==="object"||typeof t=="function")?t:dW(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 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=ac(e),o;if(t){var u=ac(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bW(this,o)}}var oh=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 xe(n==null?void 0:n.props),o}return _W(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Y),lc={Designer:zn,Runtime:oh,Property:xe};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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(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&&ih(e,t)}function TW(e,t){return t&&($W(t)==="object"||typeof t=="function")?t:PW(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var $W=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EW(e){var t=SW();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 TW(this,o)}}var yc=function(e){wW(r,e);var t=EW(r);function r(n){RW(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 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){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 NW(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 kW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(jW(t)==="object"||typeof t=="function")?t:IW(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(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 MW(e){var t=AW();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){kW(r,e);var t=MW(r);function r(n){CW(this,r);var o;return o=t.call(this,n),o.props=new yc(n==null?void 0:n.props),o}return NW(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 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 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 FW(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 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&&ch(e,t)}function xW(e,t){return t&&(YW(t)==="object"||typeof t=="function")?t:DW(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}var YW=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 VW(e){var t=GW();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 xW(this,o)}}var kR=function(e){zW(r,e);var t=VW(r);function r(n){LW(this,r);var o;return o=t.call(this,n),o.props=new yc(n==null?void 0:n.props),o}return FW(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Y),BR={Designer:dc,Runtime:kR,Property:yc};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 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 UW(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 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&&fh(e,t)}function KW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:HW(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var XW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QW(e){var t=JW();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 KW(this,o)}}var ZW=4,pc=function(e){WW(r,e);var t=QW(r);function r(n){return qW(this,r),t.call(this,n)}return UW(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=ZW;function eK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nK(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 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&&ah(e,t)}function oK(e,t){return t&&(iK(t)==="object"||typeof t=="function")?t:eK(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(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=bc(e),o;if(t){var u=bc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return oK(this,o)}}var fK=function(e){rK(r,e);var t=cK(r);function r(n){return tK(this,r),t.call(this,n)}return nK(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(kR);function aK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function sK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function yK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:aK(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var vK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hK(e){var t=dK();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 yK(this,o)}}var _K=function(e){sK(r,e);var t=hK(r);function r(n){return lK(this,r),t.call(this,n)}return r}(yc),sh={Designer:pc,Runtime:fK,Property:_K};function pK(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 bK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:pK(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 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 LR(e){var t=gK();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 bK(this,o)}}var mK=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=mK;function PK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wK(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 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&&vh(e,t)}function $K(e,t){return t&&(SK(t)==="object"||typeof t=="function")?t:PK(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var SK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IK(e){var t=EK();return function(){var n=Pc(e),o;if(t){var u=Pc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $K(this,o)}}var dh=function(e){TK(r,e);var t=IK(r);function r(n){RK(this,r);var o;return o=t.call(this,n),o.props=new mc(n==null?void 0:n.props),o}return wK(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 CK(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 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 kK(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 jK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:CK(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}var AK=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 DK(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 jK(this,o)}}var LK=function(e){BK(r,e);var t=DK(r);function r(n){NK(this,r);var o;return o=t.call(this,n),o.props=new mc(n==null?void 0:n.props),o}return kK(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Y),xR={Designer:dh,Runtime:LK,Property:mc};function FK(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 zK(e,t){return t&&(xK(t)==="object"||typeof t=="function")?t:FK(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var xK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VR(e){var t=YK();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 zK(this,o)}}var GK=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=GK;function VK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&ph(e,t)}function UK(e,t){return t&&(WK(t)==="object"||typeof t=="function")?t:VK(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}var WK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XK(e){var t=KK();return function(){var n=$c(e),o;if(t){var u=$c(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return UK(this,o)}}var se=function(e){qK(r,e);var t=XK(r);function r(n){HK(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 JK(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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function ZK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function eX(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:JK(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}var tX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rX(e){var t=nX();return function(){var n=Sc(e),o;if(t){var u=Sc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return eX(this,o)}}var HR=function(e){ZK(r,e);var t=rX(r);function r(n){QK(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 oX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(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&&gh(e,t)}function cX(e,t){return t&&(fX(t)==="object"||typeof t=="function")?t:oX(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(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=Ec(e),o;if(t){var u=Ec(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cX(this,o)}}var mh=function(e){uX(r,e);var t=lX(r);function r(n){return iX(this,r),t.call(this,n)}return r}(A);function sX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function vX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function dX(e,t){return t&&(hX(t)==="object"||typeof t=="function")?t:sX(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var hX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pX(e){var t=_X();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 dX(this,o)}}var Ye=function(e){vX(r,e);var t=pX(r);function r(n){yX(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 bX(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 gX(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 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&&Rh(e,t)}function PX(e,t){return t&&(RX(t)==="object"||typeof t=="function")?t:bX(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(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=Cc(e),o;if(t){var u=Cc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return PX(this,o)}}var $X=function(e){mX(r,e);var t=TX(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 gX(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Y),UR={Designer:Ye,Runtime:$X,Property:mh};function SX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EX(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 IX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function CX(e,t){return t&&(NX(t)==="object"||typeof t=="function")?t:SX(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var NX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BX(e){var t=kX();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 CX(this,o)}}var Th=function(e){IX(r,e);var t=BX(r);function r(n){EX(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 jX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 DX(e,t){return t&&(LX(t)==="object"||typeof t=="function")?t:jX(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var LX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zX(e){var t=FX();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 DX(this,o)}}var Ge=function(e){MX(r,e);var t=zX(r);function r(n){AX(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 xX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function GX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function VX(e,t){return t&&(HX(t)==="object"||typeof t=="function")?t:xX(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}var HX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UX(e){var t=qX();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 VX(this,o)}}var WR=function(e){GX(r,e);var t=UX(r);function r(n){YX(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 WX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(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&&Eh(e,t)}function JX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:WX(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}var QX=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 eJ(e){var t=ZX();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 JX(this,o)}}var Ih=function(e){XX(r,e);var t=eJ(r);function r(n){return KX(this,r),t.call(this,n)}return r}(A);function tJ(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 JR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function nJ(e,t){return t&&(rJ(t)==="object"||typeof t=="function")?t:tJ(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(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 QR(e){var t=oJ();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 nJ(this,o)}}var iJ=function(e){JR(r,e);var t=QR(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){JR(r,e);var t=QR(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=iJ;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 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 fJ(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 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&&Nh(e,t)}function lJ(e,t){return t&&(sJ(t)==="object"||typeof t=="function")?t:uJ(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(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 vJ(e){var t=yJ();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 lJ(this,o)}}var xn=function(e){aJ(r,e);var t=vJ(r);function r(n){cJ(this,r);var o;return o=t.call(this,n),o.props=new Mc(n==null?void 0:n.props),o}return fJ(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 dJ(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 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 _J(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 pJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function bJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:dJ(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var OJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mJ(e){var t=gJ();return function(){var n=Lc(e),o;if(t){var u=Lc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bJ(this,o)}}var PJ=function(e){pJ(r,e);var t=mJ(r);function r(n){hJ(this,r);var o;return o=t.call(this,n),o.props=new Mc(n==null?void 0:n.props),o}return _J(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Y),tw={Designer:xn,Runtime:PJ,Property:Mc};function RJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 TJ(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 $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&&Bh(e,t)}function SJ(e,t){return t&&(EJ(t)==="object"||typeof t=="function")?t:RJ(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var EJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CJ(e){var t=IJ();return function(){var n=Fc(e),o;if(t){var u=Fc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return SJ(this,o)}}var Yn=function(e){$J(r,e);var t=CJ(r);function r(n){wJ(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 TJ(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 NJ(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 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 BJ(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 jJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function AJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:NJ(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var MJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LJ(e){var t=DJ();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 AJ(this,o)}}var FJ=function(e){jJ(r,e);var t=LJ(r);function r(n){kJ(this,r);var o;return o=t.call(this,n),o.props=new Ih(n==null?void 0:n.props),o}return BJ(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Y),ow={Designer:Yn,Runtime:FJ,Property:Ih};function zJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(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&&Ah(e,t)}function GJ(e,t){return t&&(VJ(t)==="object"||typeof t=="function")?t:zJ(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(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=xc(e),o;if(t){var u=xc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return GJ(this,o)}}var iw=function(e){YJ(r,e);var t=qJ(r);function r(n){return xJ(this,r),t.call(this,n)}return r}(A);function UJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KJ(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 XJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function JJ(e,t){return t&&(QJ(t)==="object"||typeof t=="function")?t:UJ(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var QJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eQ(e){var t=ZJ();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 JJ(this,o)}}var cw=function(e){XJ(r,e);var t=eQ(r);function r(n){WJ(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 KJ(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 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 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 rQ(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 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&&Dh(e,t)}function iQ(e,t){return t&&(uQ(t)==="object"||typeof t=="function")?t:tQ(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}var uQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fQ(e){var t=cQ();return function(){var n=Gc(e),o;if(t){var u=Gc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return iQ(this,o)}}var aQ=function(e){oQ(r,e);var t=fQ(r);function r(n){nQ(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 rQ(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Y),aw={Designer:cw,Runtime:aQ,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 lQ(e,t){return t&&(sQ(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 sQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xh(e){var t=yQ();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 lQ(this,o)}}var Hc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Hc||(Hc={}));var vQ=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),dQ=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"},o.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),n.triggerType===Hc.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:_.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:_.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:_.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:_.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),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=dQ,Gn.RuntimeRules=vQ;function hQ(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 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 pQ(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 bQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function OQ(e,t){return t&&(gQ(t)==="object"||typeof t=="function")?t:hQ(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var gQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PQ(e){var t=mQ();return function(){var n=qc(e),o;if(t){var u=qc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return OQ(this,o)}}var Uc=function(e){bQ(r,e);var t=PQ(r);function r(n){_Q(this,r);var o;return o=t.call(this,n),o.props=new Gn(n==null?void 0:n.props),o}return pQ(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 RQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wQ(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 TQ(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 $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&&Gh(e,t)}function SQ(e,t){return t&&(EQ(t)==="object"||typeof t=="function")?t:RQ(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var EQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CQ(e){var t=IQ();return function(){var n=Wc(e),o;if(t){var u=Wc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return SQ(this,o)}}var NQ=function(e){$Q(r,e);var t=CQ(r);function r(n){wQ(this,r);var o;return o=t.call(this,n),o.props=new Gn(n==null?void 0:n.props),o}return TQ(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Y),Vh={Designer:Uc,Runtime:NQ,Property:Gn};function kQ(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 BQ(e,t){return t&&(jQ(t)==="object"||typeof t=="function")?t:kQ(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}var jQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hw(e){var t=AQ();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 BQ(this,o)}}var MQ=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=MQ;function DQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 FQ(e,t,r){return t&&_w(e.prototype,t),r&&_w(e,r),e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&qh(e,t)}function xQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:DQ(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(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 VQ(e){var t=GQ();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 xQ(this,o)}}var pw=function(e){zQ(r,e);var t=VQ(r);function r(n){LQ(this,r);var o;return o=t.call(this,n),o.props=new Xc(n==null?void 0:n.props),o}return FQ(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(D);pw.excludes=[];function HQ(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 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 UQ(e,t,r){return t&&bw(e.prototype,t),r&&bw(e,r),e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(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&&Uh(e,t)}function KQ(e,t){return t&&(XQ(t)==="object"||typeof t=="function")?t:HQ(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}var XQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QQ(e){var t=JQ();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 KQ(this,o)}}var ZQ=function(e){WQ(r,e);var t=QQ(r);function r(n){qQ(this,r);var o;return o=t.call(this,n),o.props=new Xc(n==null?void 0:n.props),o}return UQ(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Y),Wh={Designer:pw,Runtime:ZQ,Property:Xc};function eZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nZ(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 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&&Kh(e,t)}function oZ(e,t){return t&&(iZ(t)==="object"||typeof t=="function")?t:eZ(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}var iZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cZ(e){var t=uZ();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 oZ(this,o)}}var fZ=function(e){rZ(r,e);var t=cZ(r);function r(n){return tZ(this,r),t.call(this,n)}return nZ(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 aZ(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 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 sZ(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 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&&Xh(e,t)}function vZ(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:aZ(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(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=ef(e),o;if(t){var u=ef(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 lZ(this,r),t.call(this,n)}return sZ(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Y);function bZ(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 gZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function mZ(e,t){return t&&(PZ(t)==="object"||typeof t=="function")?t:bZ(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var PZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wZ(e){var t=RZ();return function(){var n=tf(e),o;if(t){var u=tf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return mZ(this,o)}}var TZ=function(e){gZ(r,e);var t=wZ(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:fZ,Runtime:pZ,Property: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 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 EZ(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 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 CZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:$Z(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var NZ=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 BZ(e){var t=kZ();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 CZ(this,o)}}var jZ=function(e){IZ(r,e);var t=BZ(r);function r(n){return SZ(this,r),t.call(this,n)}return EZ(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 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 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 DZ(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 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&&Zh(e,t)}function FZ(e,t){return t&&(zZ(t)==="object"||typeof t=="function")?t:AZ(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(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=rf(e),o;if(t){var u=rf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FZ(this,o)}}var GZ=function(e){LZ(r,e);var t=YZ(r);function r(n){return MZ(this,r),t.call(this,n)}return DZ(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Y);function VZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function qZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function UZ(e,t){return t&&(WZ(t)==="object"||typeof t=="function")?t:VZ(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var WZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XZ(e){var t=KZ();return function(){var n=of(e),o;if(t){var u=of(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return UZ(this,o)}}var JZ=function(e){qZ(r,e);var t=XZ(r);function r(n){HZ(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:jZ,Runtime:GZ,Property:JZ};function QZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 eee(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 tee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t_(e,t)}function nee(e,t){return t&&(ree(t)==="object"||typeof t=="function")?t:QZ(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(e,t)}var ree=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iee(e){var t=oee();return function(){var n=uf(e),o;if(t){var u=uf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nee(this,o)}}var uee=function(e){tee(r,e);var t=iee(r);function r(n){return ZZ(this,r),t.call(this,n)}return eee(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 cee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 aee(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 lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n_(e,t)}function see(e,t){return t&&(yee(t)==="object"||typeof t=="function")?t:cee(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}var yee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dee(e){var t=vee();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 see(this,o)}}var hee=function(e){lee(r,e);var t=dee(r);function r(n){return fee(this,r),t.call(this,n)}return aee(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Y);function _ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pee(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 bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function Oee(e,t){return t&&(gee(t)==="object"||typeof t=="function")?t:_ee(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var gee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pee(e){var t=mee();return function(){var n=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 Ree=function(e){bee(r,e);var t=Pee(r);function r(n){return pee(this,r),t.call(this,n)}return r}(A),Sw={Designer:uee,Runtime:hee,Property:Ree};function wee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tee(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 $ee(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 See(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Eee(e,t){return t&&(Iee(t)==="object"||typeof t=="function")?t:wee(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}var Iee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nee(e){var t=Cee();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 Eee(this,o)}}var kee=function(e){See(r,e);var t=Nee(r);function r(n){return Tee(this,r),t.call(this,n)}return $ee(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 jee(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 Aee(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 Dee(e,t){return t&&(Lee(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 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 zee(e){var t=Fee();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 Dee(this,o)}}var xee=function(e){Mee(r,e);var t=zee(r);function r(n){return jee(this,r),t.call(this,n)}return Aee(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Y);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 sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function Vee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function Hee(e,t){return t&&(qee(t)==="object"||typeof t=="function")?t:Yee(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(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=sf(e),o;if(t){var u=sf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Hee(this,o)}}var Kee=function(e){Vee(r,e);var t=Wee(r);function r(n){Gee(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:kee,Runtime:xee,Property:Kee};function Xee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function 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&&c_(e,t)}function Zee(e,t){return t&&(ete(t)==="object"||typeof t=="function")?t:Xee(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var ete=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nte(e){var t=tte();return function(){var n=yf(e),o;if(t){var u=yf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Zee(this,o)}}var f_=function(e){Qee(r,e);var t=nte(r);function r(n){Jee(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 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 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 ite(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 ute(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function cte(e,t){return t&&(fte(t)==="object"||typeof t=="function")?t:rte(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}var fte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lte(e){var t=ate();return function(){var n=vf(e),o;if(t){var u=vf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cte(this,o)}}var l_=function(e){ute(r,e);var t=lte(r);function r(n){ote(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 ite(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 ste(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vte(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 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&&s_(e,t)}function hte(e,t){return t&&(_te(t)==="object"||typeof t=="function")?t:ste(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(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=df(e),o;if(t){var u=df(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hte(this,o)}}var Ote=function(e){dte(r,e);var t=bte(r);function r(n){yte(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 vte(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Y),Bw={Designer:l_,Runtime:Ote,Property:f_},gte=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 mte(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 Pte(e,t){return t&&(Rte(t)==="object"||typeof t=="function")?t:mte(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(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 h_(e){var t=wte();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 Pte(this,o)}}var Tte=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),$te=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=Tte,Vn.RuntimeRules=$te;function jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ste(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ete(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 Ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function Cte(e,t){return t&&(Nte(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 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=_f(e),o;if(t){var u=_f(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Cte(this,o)}}var pf=function(e){Ite(r,e);var t=Bte(r);function r(n){Ste(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 Ete(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 jte(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 Ate(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 Dte(e,t){return t&&(Lte(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 Lte=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 zte(e){var t=Fte();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 Dte(this,o)}}var xte=function(e){Mte(r,e);var t=zte(r);function r(n){jte(this,r);var o;return o=t.call(this,n),o.props=new Vn(Mw(o),n==null?void 0:n.props),o}return Ate(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:xte,Property:Vn};function Yte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function Vte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b_(e,t)}function Hte(e,t){return t&&(qte(t)==="object"||typeof t=="function")?t:Yte(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(e,t)}var qte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ute(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wte(e){var t=Ute();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 Hte(this,o)}}var O_=function(e){Vte(r,e);var t=Wte(r);function r(n,o){Gte(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 Kte(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 Xte(e,t){return t&&(Jte(t)==="object"||typeof t=="function")?t:Kte(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var Jte=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 xw(e){var t=Qte();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 Xte(this,o)}}var Zte=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=Zte;function ene(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m_(e,t)}function rne(e,t){return t&&(one(t)==="object"||typeof t=="function")?t:ene(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var one=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ine(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function une(e){var t=ine();return function(){var n=Pf(e),o;if(t){var u=Pf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rne(this,o)}}var Ve=function(e){nne(r,e);var t=une(r);function r(n){tne(this,r);var o;return o=t.call(this,n),o.props=new 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 cne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function ane(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function lne(e,t){return t&&(sne(t)==="object"||typeof t=="function")?t:cne(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}var sne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vne(e){var t=yne();return function(){var n=Rf(e),o;if(t){var u=Rf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return lne(this,o)}}var R_=function(e){ane(r,e);var t=vne(r);function r(n){fne(this,r);var o;return o=t.call(this,n),o.props=new 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 dne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hne(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 _ne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pne(e,t){return t&&(bne(t)==="object"||typeof t=="function")?t:dne(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}var bne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function One(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gne(e){var t=One();return function(){var n=wf(e),o;if(t){var u=wf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pne(this,o)}}var T_=function(e){_ne(r,e);var t=gne(r);function r(n){hne(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 mne(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 Pne(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 Rne(e,t,r){return t&&Hw(e.prototype,t),r&&Hw(e,r),e}function wne(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=Ene(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 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&&$_(e,t)}function $ne(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){wne(e,o,r[o])})}return e}function Sne(e,t){return t&&(Ine(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 Ene(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ee(e),e!==null););return e}var Ine=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nne(e){var t=Cne();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 Sne(this,o)}}var He=function(e){Tne(r,e);var t=Nne(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(Gw(o),"children",n==null?void 0:n.children),o}return Rne(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 $ne({},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 mne(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 kne(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 jne(e,t){return t&&(Ane(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 Ane=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 Dne(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 jne(this,o)}}var E_=function(e){Bne(r,e);var t=Dne(r);function r(n){kne(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 Lne(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 Fne(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 zne(e,t,r){return t&&Kw(e.prototype,t),r&&Kw(e,r),e}function xne(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=Hne(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 Yne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gne(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){xne(e,o,r[o])})}return e}function Vne(e,t){return t&&(qne(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 Hne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qe(e),e!==null););return e}var qne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Une(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wne(e){var t=Une();return function(){var n=qe(e),o;if(t){var u=qe(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Vne(this,o)}}var Xw=function(e){Yne(r,e);var t=Wne(r);function r(n){Fne(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 zne(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 Gne({},o,{children:u})}},{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return Hn(qe(r.prototype),"validate",f)};return Lne(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 Jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xne(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(e,r),e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function Jne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qne(e,t){return t&&(Zne(t)==="object"||typeof t=="function")?t:Jw(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var Zne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tre(e){var t=ere();return function(){var n=$f(e),o;if(t){var u=$f(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Qne(this,o)}}var nre=function(e){Jne(r,e);var t=tre(r);function r(n){Kne(this,r);var o;return o=t.call(this,n),o.props=new O_(Jw(o),n==null?void 0:n.props),o}return Xne(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:nre,Property:O_},rre=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 ore(e,t){return t&&(ire(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 ire=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 rT(e){var t=ure();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 ore(this,o)}}var cre=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=cre;function fre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function are(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function lre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function sre(e,t){return t&&(yre(t)==="object"||typeof t=="function")?t:fre(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}var yre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=vre();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 sre(this,o)}}var Ue=function(e){lre(r,e);var t=dre(r);function r(n){are(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 hre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _re(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 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&&j_(e,t)}function bre(e,t){return t&&(Ore(t)==="object"||typeof t=="function")?t:hre(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 gre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mre(e){var t=gre();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 bre(this,o)}}var A_=function(e){pre(r,e);var t=mre(r);function r(n){_re(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 Pre(e,t){return t&&(Rre(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 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 fT(e){var t=wre();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 Pre(this,o)}}var Tre=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=Tre;function $re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sre(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 Ere(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=Nre(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 Ire(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function Cre(e,t){return t&&(kre(t)==="object"||typeof t=="function")?t:$re(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}function Nre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nt(e),e!==null););return e}var kre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jre(e){var t=Bre();return function(){var n=Nt(e),o;if(t){var u=Nt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Cre(this,o)}}var We=function(e){Ire(r,e);var t=jre(r);function r(n){Sre(this,r);var o;return o=t.call(this,n),o.props=new kf(n==null?void 0:n.props),o}return Ere(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 Are(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function Dre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function Lre(e,t){return t&&(Fre(t)==="object"||typeof t=="function")?t:Are(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}var Fre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xre(e){var t=zre();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 Lre(this,o)}}var F_=function(e){Dre(r,e);var t=xre(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 Yre(e,t){return t&&(Gre(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 Gre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Vre();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 Yre(this,o)}}var Hre=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=Hre;function qre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ure(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Wre(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=Jre(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 Kre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xre(e,t){return t&&(Qre(t)==="object"||typeof t=="function")?t:qre(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function Jre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kt(e),e!==null););return e}var Qre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eoe(e){var t=Zre();return function(){var n=kt(e),o;if(t){var u=kt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Xre(this,o)}}var Ke=function(e){Kre(r,e);var t=eoe(r);function r(n){Ure(this,r);var o;return o=t.call(this,n),o.props=new Mf(n==null?void 0:n.props),o}return Wre(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 toe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function noe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function roe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y_(e,t)}function ooe(e,t){return t&&(ioe(t)==="object"||typeof t=="function")?t:toe(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}var ioe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function coe(e){var t=uoe();return function(){var n=Lf(e),o;if(t){var u=Lf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ooe(this,o)}}var G_=function(e){roe(r,e);var t=coe(r);function r(n){noe(this,r);var o;return o=t.call(this,n),o.props=new 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 foe(e,t){return t&&(aoe(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 aoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function loe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gT(e){var t=loe();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 foe(this,o)}}var soe=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=soe;function yoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function voe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 doe(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=poe(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 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&&H_(e,t)}function _oe(e,t){return t&&(boe(t)==="object"||typeof t=="function")?t:yoe(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}function poe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bt(e),e!==null););return e}var boe=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 goe(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 _oe(this,o)}}var Xe=function(e){hoe(r,e);var t=goe(r);function r(n){voe(this,r);var o;return o=t.call(this,n),o.props=new zf(n==null?void 0:n.props),o}return doe(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 moe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Poe(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 Roe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function woe(e,t){return t&&(Toe(t)==="object"||typeof t=="function")?t:moe(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}var Toe=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 Soe(e){var t=$oe();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 woe(this,o)}}var U_=function(e){Roe(r,e);var t=Soe(r);function r(n){Poe(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 Eoe(e,t){return t&&(Ioe(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 Ioe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Coe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $T(e){var t=Coe();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 Eoe(this,o)}}var Noe=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:Je.controlName,o}return r}(L);Vf.Rules=Noe;function koe(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 joe(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=Doe(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 Aoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function Moe(e,t){return t&&(Loe(t)==="object"||typeof t=="function")?t:koe(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}function Doe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jt(e),e!==null););return e}var Loe=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 zoe(e){var t=Foe();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 Je=function(e){Aoe(r,e);var t=zoe(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 joe(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);Je.controlType="timestamp-column",Je.controlName="\u65E5\u671F",Je.controlIcon="timestamp-column",Je.controlFieldType=c.FieldTypes.TIMESTAMP,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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function xoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yoe(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 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&&X_(e,t)}function Voe(e,t){return t&&(Hoe(t)==="object"||typeof t=="function")?t:xoe(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}var Hoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uoe(e){var t=qoe();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 Voe(this,o)}}var J_=function(e){Goe(r,e);var t=Uoe(r);function r(n){Yoe(this,r);var o;return o=t.call(this,n),o.props=new Vf(n==null?void 0:n.props),o}return r}(q);J_.controlType="timestamp-column",J_.controlFieldType=c.FieldTypes.TIMESTAMP;var ET={Designer:Je,Runtime:J_,Property:Vf};function Woe(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&&Q_(e,t)}function Koe(e,t){return t&&(Xoe(t)==="object"||typeof t=="function")?t:Woe(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var Xoe=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 NT(e){var t=Joe();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 Koe(this,o)}}var Qoe=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:Qe.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=Qoe;function Zoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eie(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 tie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function nie(e,t){return t&&(rie(t)==="object"||typeof t=="function")?t:Zoe(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}var rie=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 iie(e){var t=oie();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 nie(this,o)}}var Qe=function(e){tie(r,e);var t=iie(r);function r(n){eie(this,r);var o;return o=t.call(this,n),o.props=new Wf(n==null?void 0:n.props),o}return r}(H);Qe.controlType="array-column",Qe.controlName="\u6570\u7EC4",Qe.controlIcon="array-column",Qe.controlFieldType=c.FieldTypes.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];function uie(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 Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function fie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function aie(e,t){return t&&(lie(t)==="object"||typeof t=="function")?t:uie(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var lie=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 yie(e){var t=sie();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 aie(this,o)}}var tp=function(e){fie(r,e);var t=yie(r);function r(n){cie(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:Qe,Runtime:tp,Property:Wf};function vie(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 Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(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&&np(e,t)}function _ie(e,t){return t&&(pie(t)==="object"||typeof t=="function")?t:vie(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}var pie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=bie();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 _ie(this,o)}}var rp=function(e){hie(r,e);var t=Oie(r);function r(n){die(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 gie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mie(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 Pie(e,t,r){return t&&BT(e.prototype,t),r&&BT(e,r),e}function Qf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qf=Reflect.get:Qf=function(o,u,f){var a=Tie(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Qf(e,t,r||e)}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},At(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&&op(e,t)}function wie(e,t){return t&&($ie(t)==="object"||typeof t=="function")?t:gie(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function Tie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=At(e),e!==null););return e}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=At(e),o;if(t){var u=At(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wie(this,o)}}var Ze=function(e){Rie(r,e);var t=Eie(r);function r(n){mie(this,r);var o;return o=t.call(this,n),o.props=new rp(n==null?void 0:n.props),o}return Pie(r,[{key:"toDataBindModel",value:function(o){var u=Qf(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 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 Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(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&&ip(e,t)}function kie(e,t){return t&&(Bie(t)==="object"||typeof t=="function")?t:Iie(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 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=Zf(e),o;if(t){var u=Zf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kie(this,o)}}var up=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 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&&(Die(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 Die=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Lie();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 Fie=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=Fie;function zie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xie(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 Yie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function Gie(e,t){return t&&(Vie(t)==="object"||typeof t=="function")?t:zie(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}var Vie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qie(e){var t=Hie();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 Gie(this,o)}}var et=function(e){Yie(r,e);var t=qie(r);function r(n){xie(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 Uie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wie(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 Kie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xie(e,t){return t&&(Jie(t)==="object"||typeof t=="function")?t:Uie(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}var Jie=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 Zie(e){var t=Qie();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 Xie(this,o)}}var lp=function(e){Kie(r,e);var t=Zie(r);function r(n){Wie(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 eue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function nue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rue(e,t){return t&&(oue(t)==="object"||typeof t=="function")?t:eue(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var oue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=iue();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 rue(this,o)}}var yp=function(e){nue(r,e);var t=uue(r);function r(n){tue(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 cue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fue(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 aue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lue(e,t){return t&&(sue(t)==="object"||typeof t=="function")?t:cue(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var sue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vue(e){var t=yue();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 lue(this,o)}}var tt=function(e){aue(r,e);var t=vue(r);function r(n){fue(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 due(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hue(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 _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&&dp(e,t)}function pue(e,t){return t&&(bue(t)==="object"||typeof t=="function")?t:due(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}var bue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gue(e){var t=Oue();return function(){var n=ua(e),o;if(t){var u=ua(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pue(this,o)}}var hp=function(e){_ue(r,e);var t=gue(r);function r(n){hue(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 mue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pue(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 Rue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(Tue(t)==="object"||typeof t=="function")?t:mue(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(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 Sue(e){var t=$ue();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 wue(this,o)}}var pp=function(e){Rue(r,e);var t=Sue(r);function r(n){Pue(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 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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(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&&bp(e,t)}function Nue(e,t){return t&&(kue(t)==="object"||typeof t=="function")?t:Eue(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}var kue=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 jue(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 Nue(this,o)}}var nt=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 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 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 aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(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&&Op(e,t)}function Lue(e,t){return t&&(Fue(t)==="object"||typeof t=="function")?t:Aue(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}var Fue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xue(e){var t=zue();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 Lue(this,o)}}var gp=function(e){Due(r,e);var t=xue(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 Yue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gue(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 Vue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hue(e,t){return t&&(que(t)==="object"||typeof t=="function")?t:Yue(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(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=la(e),o;if(t){var u=la(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Hue(this,o)}}var Pp=function(e){Vue(r,e);var t=Wue(r);function r(n){Gue(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 Kue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xue(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 Jue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Que(e,t){return t&&(Zue(t)==="object"||typeof t=="function")?t:Kue(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var Zue=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 tce(e){var t=ece();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 Que(this,o)}}var rt=function(e){Jue(r,e);var t=tce(r);function r(n){Xue(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 nce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rce(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 oce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ice(e,t){return t&&(uce(t)==="object"||typeof t=="function")?t:nce(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}var uce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fce(e){var t=cce();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 ice(this,o)}}var Tp=function(e){oce(r,e);var t=fce(r);function r(n){rce(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 ace(e,t){return t&&(lce(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 lce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qT(e){var t=sce();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 ace(this,o)}}var yce=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=yce;function vce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dce(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 hce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ce(e,t){return t&&(pce(t)==="object"||typeof t=="function")?t:vce(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}var pce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oce(e){var t=bce();return function(){var n=ha(e),o;if(t){var u=ha(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _ce(this,o)}}var ot=function(e){hce(r,e);var t=Oce(r);function r(n){dce(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 gce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(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&&Ep(e,t)}function Rce(e,t){return t&&(wce(t)==="object"||typeof t=="function")?t:gce(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}var wce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ce(e){var t=Tce();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 Rce(this,o)}}var Ip=function(e){Pce(r,e);var t=$ce(r);function r(n){mce(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 Sce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ece(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function Ice(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function Cce(e,t){return t&&(Nce(t)==="object"||typeof t=="function")?t:Sce(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}var Nce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kce();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 Cce(this,o)}}var Np=function(e){Ice(r,e);var t=Bce(r);function r(n){Ece(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 jce(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 Ace(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=xce(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 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&&kp(e,t)}function Lce(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Fce(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 zce(e,t){return t&&(Yce(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 xce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=it(e),e!==null););return e}var Yce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vce(e){var t=Gce();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 zce(this,o)}}var Hce=1,Ie=function(t){Dce(n,t);var r=Vce(n);function n(o){jce(this,n);var u;u=r.call(this,o);var f=Lce(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 Ace(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 Fce({},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=Hce,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 qce(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 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&&Bp(e,t)}function Wce(e,t){return t&&(Kce(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 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 Jce(e){var t=Xce();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 Wce(this,o)}}var JT=function(e){Uce(r,e);var t=Jce(r);function r(n){qce(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);JT.controlType="custom-column";var QT={Designer:Ie,Runtime:JT,Property:Np};function Qce(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 Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(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&&jp(e,t)}function tfe(e,t){return t&&(nfe(t)==="object"||typeof t=="function")?t:Qce(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(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=Oa(e),o;if(t){var u=Oa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return tfe(this,o)}}var Ap=function(e){efe(r,e);var t=ofe(r);function r(n){Zce(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 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 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 cfe(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 ffe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 afe(e,t){return t&&(lfe(t)==="object"||typeof t=="function")?t:ife(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}var lfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yfe(e){var t=sfe();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 afe(this,o)}}var Ce=function(e){ffe(r,e);var t=yfe(r);function r(n){ufe(this,r);var o;return o=t.call(this,n),o.props=new Ap(n==null?void 0:n.props),o}return cfe(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 vfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dfe(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 hfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _fe(e,t){return t&&(pfe(t)==="object"||typeof t=="function")?t:vfe(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}var pfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=bfe();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 _fe(this,o)}}var Lp=function(e){hfe(r,e);var t=Ofe(r);function r(n){dfe(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 gfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mfe(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 Pfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rfe(e,t){return t&&(wfe(t)==="object"||typeof t=="function")?t:gfe(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}var wfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $fe(e){var t=Tfe();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 Rfe(this,o)}}var zp=function(e){Pfe(r,e);var t=$fe(r);function r(n){mfe(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 Sfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Efe(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 Ife(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cfe(e,t){return t&&(Nfe(t)==="object"||typeof t=="function")?t:Sfe(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}var Nfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bfe(e){var t=kfe();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 Cfe(this,o)}}var ut=function(e){Ife(r,e);var t=Bfe(r);function r(n){Efe(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 jfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Afe(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 Dfe(e,t){return t&&(Lfe(t)==="object"||typeof t=="function")?t:jfe(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}var Lfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ffe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zfe(e){var t=Ffe();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 Dfe(this,o)}}var t$=function(e){Mfe(r,e);var t=zfe(r);function r(n){Afe(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},xfe=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:QT,OrderColumn:Yw,OperationColumn:Uw,EmployeeColumn:e$,ApprovalStatusColumn:n$});function Yfe(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 Gfe(e,t){return t&&(Vfe(t)==="object"||typeof t=="function")?t:Yfe(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}var Vfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Hfe();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 Gfe(this,o)}}var qfe=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=qfe;function Ufe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wfe(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 Kfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xfe(e,t){return t&&(Jfe(t)==="object"||typeof t=="function")?t:Ufe(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}var Jfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zfe(e){var t=Qfe();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 Xfe(this,o)}}var Hp=function(e){Kfe(r,e);var t=Zfe(r);function r(n){Wfe(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 eae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tae(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 nae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rae(e,t){return t&&(oae(t)==="object"||typeof t=="function")?t:eae(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}var oae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uae(e){var t=iae();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 rae(this,o)}}var u$=function(e){nae(r,e);var t=uae(r);function r(n){tae(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},cae=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 fae(e){if(Array.isArray(e))return e}function aae(e){if(Array.isArray(e))return Up(e)}function lae(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sae(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 yae(){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 vae(){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 dae(e,t){return fae(e)||sae(e,t)||a$(e,t)||yae()}function f$(e){return aae(e)||lae(e)||a$(e)||vae()}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 hae=function(e,t){var r=Array.isArray(e),n=r?e:[e];Sae(t==null?void 0:t.events),mae(n),Pae(n);var o=gae(n),u=Rae(o,t),f=Me(Z(u,function(a){return Oae(a,t)}));return r?f:f[0]},_ae=[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"],pae=["subtable","grid-table"],bae=["simple-search"];function Oae(e,t){var r,n,o,u=e;if(u.controlType||(u.is_layout_control===!0?u.controlType="layout":_ae.includes(u.type)?u.controlType="base":u.controlType="form",pae.includes(u.type)&&(u.controlType="list"),bae.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),J(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(u.props.caption=e.props.caption.zh),J(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(u.props.placeholder=e.props.placeholder.zh),J(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"&&(J(e.props.value)?u.props.defaultValue=e.props.value.zh:u.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(J(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=J(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=J(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=J(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=J(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,u.props.caption=J(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=J(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"),Eae(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 gae(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 mae(e){e.forEach(function(t){t.children&&$ae(t.children)})}function Pae(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 Rae(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=dae(s,3),v=y[0],d=y[1],b=y[2];wae(v),b.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,Tae(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=J(w.title)?w.title.zh:w.title}),R.props.sublistPage=l.sublist_page;var $=R.toSchema();return $.children.push(v,b),[$]}function wae(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=J(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 Tae(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:J(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=J(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 $ae(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 Sae(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 Eae(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 Iae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Me(Z(n,function(u){return Cae(u)}));return r?o:o[0]};function Cae(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 Nae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Me(Z(n,function(u){return kae(u)}));return r?o:o[0]};function kae(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 jae(u)}));return r?o:o[0]};function jae(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 Aae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Me(Z(n,function(u){return Dae(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 Dae(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 Lae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Me(Z(n,function(u){return Fae(u)}));return r?o:o[0]};function Fae(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 zae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return xae(u)});return r?o:o[0]};function xae(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 Yae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Gae(u)});return r?o:o[0]};function Ne(e,t){e.field_code&&(e.field_type=t)}function Gae(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 Vae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Hae(u)});return r?o:o[0]};function Hae(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 qae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Uae(u)});return r?o:o[0]};function Uae(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 Wae=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[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 Xae=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 Qae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Zae(u)});return r?o:o[0]};function Zae(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":hae,"v2.0":Iae,"v2.1":Nae,"v2.2":Bae,"v2.3":Aae,"v2.4":Lae,"v2.5":zae,"v2.6":Yae,"v2.7":Vae,"v2.8":qae,"v2.9":Wae,"v2.10":Xae,"v3.0":Qae,"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)=>{rle(r);const n=y$(e,t);return p$[r].includes(n)},ele=/^[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(ele);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},tle=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],nle=(e,t)=>{if(d$(e)||d$(t))return 0;const[r,n]=tle(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=nle(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$),rle=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 ole(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 ile(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],ule=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Un;ole(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 ile(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 cle=window.module,fle=window.exports,ale=window.require;function lle(e){return Xp||(window.module=Kp,window.exports=Kp.exports,window.require=function(t){return e[t]},Xp=!0),function(){window.module=cle,window.exports=fle,window.require=ale,Xp=!1}}function sle(e,t){const r=new Promise((n,o)=>{const u=document.createElement("script"),f=lle(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 Jp(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:Jp}){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 yle(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 vle(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 dle(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 hle(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 Jp(`${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=Qa,c.CustomColumn=QT,c.CustomPermissionItem=pN,c.DEFAULT_LOCALE=Qp,c.Dashboard=Xg,c.DataBind=ie,c.DataSourceBind=F,c.DataSourceDataSetValue=Cb,c.DataSourceOrderItem=Xa,c.DataSourceParamItem=dN,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=AB,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=mC,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=hN,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=Jm,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=Jn,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=GB,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=JP,c.TreeDataSourceBind=Za,c.UndersignedPerson=ts,c.UserEntity=Ft,c.VarcharColumn=oT,c.VersionBuilder=ule,c.ViewOperationItem=xb,c.VueFormItem=jP,c.WPS=vR,c.WPSSetting=xO,c.Watcher=db,c.WpsOperationItem=rs,c.WrapControlProperty=zl,c.baseControls=l5,c.camelizeKeys=sb,c.columnControls=xfe,c.controlHooksEmitter=Jb,c.createValidator=Xb,c.debounce=XC,c.decamelizeKeys=Me,c.defineArrayParent=sO,c.defineControlArrayToProperty=de,c.defineParent=Ol,c.error=me,c.formControls=jU,c.genNonDuplicateId=le,c.getHackerControl=ka,c.getNotRepeatItems=lb,c.initExpression=Jt,c.initImageOptions=_N,c.initLinkOperationRules=$e,c.initOptionAndDataSourceRules=ar,c.initOptions=ye,c.initSuperDataSourceRules=Kt,c.isArray=je,c.isBuiltInControls=QC,c.isFunction=VC,c.isJSONArray=WC,c.isJSONObject=KC,c.isLanguageObject=J,c.isNumber=Va,c.isNumberAndEmptyStringArray=UC,c.isNumberArray=qC,c.isObject=GC,c.isPlainObject=Ga,c.isString=ab,c.isStringArray=HC,c.layoutControls=gte,c.listControls=rre,c.loadRemoteControl=Na,c.loadRemoteControls=yle,c.loadScriptFromFetch=g$,c.loadScriptFromTag=sle,c.log=Gt,c.logerror=ob,c.loop=Z,c.loopFormSchema=za,c.nativeFetch=Jp,c.noop=gC,c.referenceError=Fa,c.registerByteluckControls=hle,c.registerCustomControls=vle,c.searchControls=cae,c.setPropertyDontEnum=lO,c.toNumberOrEmpty=Ae,c.updateValueFromKeys=cb,c.upgradeCustomControlSchema=dle,c.wait=JC,c.warn=Be,Object.defineProperty(c,"__esModule",{value:!0})});