@byteluck-fe/model-driven-core-all 2.4.1-beta.1 → 2.4.1-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/getHackerControl.js +28 -15
- package/dist/esm/index.js +9 -9
- package/dist/esm/loadRemoteScripts.js +122 -26
- package/dist/esm/registerByteluckControls.js +130 -31
- package/dist/esm/registerCustomControls.js +193 -87
- package/dist/esm/upgradeCustomControlSchema.js +3 -3
- package/dist/index.umd.js +1 -1
- package/dist/types/registerCustomControls.d.ts +2 -2
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Ln=(c,Ie,nt)=>new Promise((K,Fn)=>{var aa=_e=>{try{Bt(nt.next(_e))}catch(kt){Fn(kt)}},la=_e=>{try{Bt(nt.throw(_e))}catch(kt){Fn(kt)}},Bt=_e=>_e.done?K(_e.value):Promise.resolve(_e.value).then(aa,la);Bt((nt=nt.apply(c,Ie)).next())});(function(c,Ie){typeof exports=="object"&&typeof module!="undefined"?Ie(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],Ie):(c=typeof globalThis!="undefined"?globalThis:c||self,Ie(c.modelDrivenCoreAll={},c.regeneratorRuntime))})(this,function(c,Ie){"use strict";function nt(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var K=nt(Ie);function Fn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var aa=function e(){Fn(this,e)};function la(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Bt=function e(){la(this,e)},_e="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",kt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",lT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",sT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",yT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",vT="{caption}\u5FC5\u586B",dT="\u8BF7\u8F93\u5165\u6807\u9898",hT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",_T="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",pT="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",bT="\u8BF7\u7ED1\u5B9A\u8868\u5355",OT="\u8BF7\u7ED1\u5B9A\u5217\u8868",gT="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",mT="\u8BF7\u8F93\u5165\u663E\u793A\u503C",PT="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",RT="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",wT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",TT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",$T="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ST="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ET="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",IT="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",NT="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",CT="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",BT="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",kT="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",jT="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",AT="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",MT="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",DT="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",LT="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",FT="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",zT="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",xT="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",YT="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",GT="\u8BF7\u7ED1\u5B9A\u670D\u52A1",VT="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",HT="\u8BF7\u9009\u62E9\u7701",qT="\u8BF7\u9009\u62E9\u5E02",UT="\u8BF7\u9009\u62E9\u533A",WT="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",KT="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",XT="\u8BF7\u8F93\u5165\u5217\u5BBD",QT="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",JT="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ZT="\u8BF7\u9009\u62E9\u63A7\u4EF6",e$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",t$="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",n$="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",r$="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",o$="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",i$="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",u$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",c$="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",f$="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",a$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",l$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",s$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",y$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",v$="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",d$="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",h$="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",_$="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",p$="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",b$="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",O$="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",g$="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",m$={isNotNumber:_e,isNotString:kt,isNotObject:lT,isNotArray:sT,isNotBoolean:yT,runtimeRequired:vT,pleaseEnterCaption:dT,pleaseEnterCaptionTip:hT,pleaseEnterPlaceholder:_T,pleaseEnterFieldCode:pT,pleaseEnterForm:bT,pleaseEnterList:OT,pleaseEnterProcess:gT,pleaseEnterLabel:mT,pleaseEnterValue:PT,bizKeyNotBindFiled:RT,pleaseSelectOneField:wT,pleaseEnterNumberRange:TT,pleaseEnterAValueGreaterThanMin:$T,pleaseEnterAValueLessThanMax:ST,numberRangeSetError:ET,stringRangeError:IT,attachmentMaxSize:NT,pleaseEnterTotalScoreSetting:CT,theTotalScoreMustNotBeLessThan1:BT,scoreDefaultValueRange:kT,attachmentLimitError:jT,PleaseReselectTheOptionalQuantity:AT,TheMaximumLengthIsGreaterThanTheMinimumLength:MT,TheMinimumLengthIsGreaterThanTheMaximumLength:DT,PleaseSelectTheCorrectOptionSettings:LT,optionIdIsRepeat:FT,optionIsRequired:zT,pleaseEnterDataCode:xT,pleaseEnterValueFieldCode:YT,pleaseEnterSvcCode:GT,pleaseBindAtLeastOneDisplayValue:VT,pleaseSelectProvince:HT,pleaseSelectCity:qT,pleaseSelectDistrict:UT,limitRowsCannotBeLessThan0:WT,TheNumberOfRowsCannotBeLessThanMinRows:KT,pleaseEnterColumnWidth:XT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:QT,pleaseCompleteAllRulesAndConditions:JT,pleaseSelectControl:ZT,pleaseSelectAtLeastOneColumn:e$,pleaseSelectFillBackMode:t$,pleaseSelectDashboard:n$,rootNodeIsRequired:r$,theViewNameCannotBeEmpty:o$,pleaseSelectOcrType:i$,pleaseSelectAtLeastOneFieldToFillIn:u$,pleaseChooseAtLeastOne:c$,pleaseEnterButtonContent:f$,pleaseEnterDataCodeInDataSetting:a$,pleaseEnterValueFieldCodeInDataSetting:l$,pleaseEnterSvcCodeInDataSetting:s$,pleaseBindAtLeastOneDisplayValueInDataSetting:y$,rootNodeIsRequiredInDataSetting:v$,pleaseEnterMaxHeight:d$,pleaseEnter:h$,pleaseEnterWatermark:_$,pleaseEnterFileName:p$,pleaseUploadAtLeastOnePrintTemplate:b$,pleaseAssignBusiness:O$,pleaseAssignExternal:g$},P$="Please enter a number",R$="Please enter a string",w$="Please enter an object",T$="Please enter an array",$$="Please enter a boolean",S$="{caption} Required",E$="Please enter the title",I$="Please enter the bubble prompt",N$="Please enter the prompt text",C$="Please bind data items",B$="Please bind the form",k$="Please bind the list",j$="Please bind the process",A$="Please enter the displayed value",M$="Please enter the stored value",D$="The document number is not bound to the data item",L$="Please select at least one display field",F$="Please enter a value greater than or equal to {min} and less than or equal to {max}",z$="Please enter a value greater than or equal to {min}",x$="Please enter a value less than or equal to {max}",Y$="The value range is set incorrectly",G$="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",V$="The attachment size must be between 0MB and 1000MB",H$="Please fill in the total score setting",q$="The total score cannot be less than 1",U$="The default value must be between {min} and {max}",W$="The number of attachments uploaded must be between {min} and {max}",K$="Please re-select the optional quantity",X$="The maximum length of the control must be greater than the minimum length",Q$="The minimum length of the control must be less than the maximum length",J$="Please select the correct option setting",Z$="Option ID cannot be repeated",eS="Please enter at least one option",tS="Please bind the data source",nS="Please bind the stored value",rS="Please bind the service",oS="At least one display value must be bound",iS="Please select a province",uS="Please select a city",cS="Please select a district",fS="The minimum number of lines to fill in cannot be less than 0",aS="The number of rows cannot be less than {min} rows",lS="Please enter the column width",sS="Please set the logical relationship of all rule conditions",yS="Please complete all rules and conditions",vS="please select control",dS="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",hS="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_S="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",pS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",bS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",OS="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",gS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",mS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",PS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",RS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",wS="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",TS="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",$S="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",SS="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ES="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",IS="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",NS="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",CS="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",BS={isNotNumber:P$,isNotString:R$,isNotObject:w$,isNotArray:T$,isNotBoolean:$$,runtimeRequired:S$,pleaseEnterCaption:E$,pleaseEnterCaptionTip:I$,pleaseEnterPlaceholder:N$,pleaseEnterFieldCode:C$,pleaseEnterForm:B$,pleaseEnterList:k$,pleaseEnterProcess:j$,pleaseEnterLabel:A$,pleaseEnterValue:M$,bizKeyNotBindFiled:D$,pleaseSelectOneField:L$,pleaseEnterNumberRange:F$,pleaseEnterAValueGreaterThanMin:z$,pleaseEnterAValueLessThanMax:x$,numberRangeSetError:Y$,stringRangeError:G$,attachmentMaxSize:V$,pleaseEnterTotalScoreSetting:H$,theTotalScoreMustNotBeLessThan1:q$,scoreDefaultValueRange:U$,attachmentLimitError:W$,PleaseReselectTheOptionalQuantity:K$,TheMaximumLengthIsGreaterThanTheMinimumLength:X$,TheMinimumLengthIsGreaterThanTheMaximumLength:Q$,PleaseSelectTheCorrectOptionSettings:J$,optionIdIsRepeat:Z$,optionIsRequired:eS,pleaseEnterDataCode:tS,pleaseEnterValueFieldCode:nS,pleaseEnterSvcCode:rS,pleaseBindAtLeastOneDisplayValue:oS,pleaseSelectProvince:iS,pleaseSelectCity:uS,pleaseSelectDistrict:cS,limitRowsCannotBeLessThan0:fS,TheNumberOfRowsCannotBeLessThanMinRows:aS,pleaseEnterColumnWidth:lS,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sS,pleaseCompleteAllRulesAndConditions:yS,pleaseSelectControl:vS,pleaseSelectDashboard:dS,theViewNameCannotBeEmpty:hS,pleaseSelectOcrType:_S,pleaseSelectAtLeastOneFieldToFillIn:pS,pleaseChooseAtLeastOne:bS,pleaseEnterButtonContent:OS,pleaseEnterDataCodeInDataSetting:gS,pleaseEnterValueFieldCodeInDataSetting:mS,pleaseEnterSvcCodeInDataSetting:PS,pleaseBindAtLeastOneDisplayValueInDataSetting:RS,rootNodeIsRequiredInDataSetting:wS,pleaseEnterMaxHeight:TS,pleaseEnter:$S,pleaseEnterWatermark:SS,pleaseEnterFileName:ES,pleaseUploadAtLeastOnePrintTemplate:IS,pleaseAssignBusiness:NS,pleaseAssignExternal:CS},kS="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jS="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AS="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MS="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",DS="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LS="{caption}\u5FC5\u9808",FS="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zS="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xS="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YS="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",GS="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",VS="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",HS="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qS="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",US="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WS="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",KS="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",XS="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",QS="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JS="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ZS="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",eE="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tE="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",nE="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rE="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",oE="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",iE="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",uE="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cE="\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",fE="\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",aE="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lE="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",sE="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",yE="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vE="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dE="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hE="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",_E="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pE="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bE="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",OE="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",gE="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",mE="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",PE="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",RE="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",wE="please select control",TE="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",$E="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",SE="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",EE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",IE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",NE="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",CE="\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",kE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",jE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",AE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ME="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",DE="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",LE="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",FE="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zE="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",xE="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",YE="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",GE={isNotNumber:kS,isNotString:jS,isNotObject:AS,isNotArray:MS,isNotBoolean:DS,runtimeRequired:LS,pleaseEnterCaption:FS,pleaseEnterCaptionTip:zS,pleaseEnterPlaceholder:xS,pleaseEnterFieldCode:YS,pleaseEnterForm:GS,pleaseEnterList:VS,pleaseEnterProcess:HS,pleaseEnterLabel:qS,pleaseEnterValue:US,bizKeyNotBindFiled:WS,pleaseSelectOneField:KS,pleaseEnterNumberRange:XS,pleaseEnterAValueGreaterThanMin:QS,pleaseEnterAValueLessThanMax:JS,numberRangeSetError:ZS,stringRangeError:eE,attachmentMaxSize:tE,pleaseEnterTotalScoreSetting:nE,theTotalScoreMustNotBeLessThan1:rE,scoreDefaultValueRange:oE,attachmentLimitError:iE,PleaseReselectTheOptionalQuantity:uE,TheMaximumLengthIsGreaterThanTheMinimumLength:cE,TheMinimumLengthIsGreaterThanTheMaximumLength:fE,PleaseSelectTheCorrectOptionSettings:aE,optionIdIsRepeat:lE,optionIsRequired:sE,pleaseEnterDataCode:yE,pleaseEnterValueFieldCode:vE,pleaseEnterSvcCode:dE,pleaseBindAtLeastOneDisplayValue:hE,pleaseSelectProvince:_E,pleaseSelectCity:pE,pleaseSelectDistrict:bE,limitRowsCannotBeLessThan0:OE,TheNumberOfRowsCannotBeLessThanMinRows:gE,pleaseEnterColumnWidth:mE,pleaseSetTheLogicalRelationshipOfAllRuleConditions:PE,pleaseCompleteAllRulesAndConditions:RE,pleaseSelectControl:wE,pleaseSelectDashboard:TE,theViewNameCannotBeEmpty:$E,pleaseSelectOcrType:SE,pleaseSelectAtLeastOneFieldToFillIn:EE,pleaseChooseAtLeastOne:IE,pleaseEnterButtonContent:NE,pleaseEnterDataCodeInDataSetting:CE,pleaseEnterValueFieldCodeInDataSetting:BE,pleaseEnterSvcCodeInDataSetting:kE,pleaseBindAtLeastOneDisplayValueInDataSetting:jE,rootNodeIsRequiredInDataSetting:AE,pleaseEnterMaxHeight:ME,pleaseEnter:DE,pleaseEnterWatermark:LE,pleaseEnterFileName:FE,pleaseUploadAtLeastOnePrintTemplate:zE,pleaseAssignBusiness:xE,pleaseAssignExternal:YE},VE={zhCN:m$,enUS:BS,jaJP:GE};function HE(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 qE=function e(t){HE(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},mp="zh-CN",UE=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.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(c.FieldTypes||(c.FieldTypes={}));var J,WE=(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.DATETIME="datetime"}(c.DateType||(c.DateType={}));var Pp="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",KE=Pp+"0123456789";function fe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Pp:KE,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function sa(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 XE(e){if(Array.isArray(e))return sa(e)}function QE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function zn(e,t,r){return JE()?zn=Reflect.construct:zn=function(o,u,f){var a=[null];a.push.apply(a,u);var l=Function.bind.apply(o,a),s=new l;return f&&At(s,f.prototype),s},zn.apply(null,arguments)}function jt(e){return jt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jt(e)}function wp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&At(e,t)}function ZE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function eI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tI(){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 nI(e,t){return t&&(rI(t)==="object"||typeof t=="function")?t:QE(e)}function At(e,t){return At=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},At(e,t)}function Tp(e){return XE(e)||eI(e)||oI(e)||tI()}var rI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oI(e,t){if(!!e){if(typeof e=="string")return sa(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 sa(e,t)}}function ya(e){var t=typeof Map=="function"?new Map:void 0;return ya=function(n){if(n===null||!ZE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return zn(n,arguments,jt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),At(o,n)},ya(e)}function iI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=iI();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 nI(this,o)}}var va=console;function Ne(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=va).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Tp(o)))}function Mt(){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=va).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Tp(o)))}function uI(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var da=function(e){wp(r,e);var t=$p(r);function r(n){Rp(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?uI(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(ya(Error)),cI=function(e){wp(r,e);var t=$p(r);function r(n){Rp(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(da);function ge(e){throw new da(e)}function ha(e){throw new cI(e)}function Sp(e){va.error(new da(e))}function _a(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":_a(r==null?void 0:r.children,t);break;case"search":_a(r==null?void 0:r.children,t);break;case"form":t(r)}})}var fI=Object.prototype.toString;function Ep(e,t){return fI.call(e)==="[object "+t+"]"}function aI(e){return Ep(e,"String")}function lI(e){return Ep(e,"Promise")}var sI=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();lI(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&&!aI(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 yI(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 vI(e,t,r){return t&&Ip(e.prototype,t),r&&Ip(e,r),e}var _=function(){function e(){yI(this,e)}return vI(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]:mp;return new sI({locale:r,messages:VE})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();_.$i18n=_.resetI18n();function Np(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)){Ne("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 dI=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},pa={exports:{}};(function(e){(function(t){var r=function(h,m,P){if(!s(m)||v(m)||d(m)||p(m)||l(m))return m;var R,$=0,T=0;if(y(m))for(R=[],T=m.length;$<T;$++)R.push(r(h,m[$],P));else{R={};for(var S in m)Object.prototype.hasOwnProperty.call(m,S)&&(R[h(S,P)]=r(h,m[S],P))}return R},n=function(h,m){m=m||{};var P=m.separator||"_",R=m.split||/(?=[A-Z])/;return h.split(R).join(P)},o=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(m,P){return P?P.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},u=function(h){var m=o(h);return m.substr(0,1).toUpperCase()+m.substr(1)},f=function(h,m){return n(h,m).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,m){var P=m&&"process"in m?m.process:m;return typeof P!="function"?h:function(R,$){return P(R,h,$)}},g={camelize:o,decamelize:f,pascalize:u,depascalize:f,camelizeKeys:function(h,m){return r(b(o,m),h)},decamelizeKeys:function(h,m){return r(b(f,m),h,m)},pascalizeKeys:function(h,m){return r(b(u,m),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g})(dI)})(pa);var Cp={};Object.defineProperty(Cp,"__esModule",{value:!0});function ba(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ba(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:ba(n)}return t}}var hI=Cp.default=ba;function pe(e){if(e!==void 0)return typeof e=="object"?hI(e):e}function X(e){return Oa(e)&&"zh"in e}function Oa(e){return Object.prototype.toString.call(e)==="[object Object]"}function _I(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Ce(e){return Array.isArray(e)}function Bp(e){return typeof e=="string"}function ga(e){return typeof e=="number"}function pI(e){return typeof e=="function"}function bI(e){return Ce(e)&&e.every(function(t){return Bp(t)})}function OI(e){return Ce(e)&&e.every(function(t){return ga(t)})}function gI(e){return Ce(e)&&e.every(function(t){return ga(t)||t===""})}function mI(e){return/^\[.*?]$/.test(e)}function PI(e){return/^{.*?}$/.test(e)}function Be(e){return isNaN(parseFloat(e))?"":Number(e)}function kp(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function RI(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 wI(){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 jp(e){return pa.exports.camelizeKeys(e)}function ke(e){return pa.exports.decamelizeKeys(e)}function TI(e){return Object.values(c.CONTROL_TYPE).includes(e)}function ma(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 $I(e){if(Array.isArray(e))return ma(e)}function Ap(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 SI(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){Ap(u,n,o,f,a,"next",l)}function a(l){Ap(u,n,o,f,a,"throw",l)}f(void 0)})}}function EI(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 II(e,t,r){return t&&Mp(e.prototype,t),r&&Mp(e,r),e}function NI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function CI(){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 Pa(e){return $I(e)||NI(e)||BI(e)||CI()}function BI(e,t){if(!!e){if(typeof e=="string")return ma(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 ma(e,t)}}var Dp=function(){function e(){EI(this,e),this._events=new Map,this.debug=!1}return II(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 SI(K.default.mark(function a(){var l,s,y,v,d,p,O,b,g,h;return K.default.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(l=f._events.get(r),s=[],!l){P.next=42;break}y=l.slice(),v=!0,d=!1,p=void 0,P.prev=5,O=y[Symbol.iterator]();case 7:if(v=(b=O.next()).done){P.next=28;break}if(g=b.value,l.includes(g)){P.next=11;break}return P.abrupt("continue",25);case 11:return P.prev=11,f.debug&&Mt.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(Pa(o))),P.next=15,g.apply(null,Pa(o));case 15:if(h=P.sent,f.debug&&Mt.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(Pa(o),[h])),s.push(h),h!==!1){P.next=20;break}return P.abrupt("break",28);case 20:P.next=25;break;case 22:P.prev=22,P.t0=P.catch(11),Sp(String(P.t0)+":"+String(P.t0.stack));case 25:v=!0,P.next=7;break;case 28:P.next=34;break;case 30:P.prev=30,P.t1=P.catch(5),d=!0,p=P.t1;case 34:P.prev=34,P.prev=35,!v&&O.return!=null&&O.return();case 37:if(P.prev=37,!d){P.next=40;break}throw p;case 40:return P.finish(37);case 41:return P.finish(34);case 42:return P.abrupt("return",s);case 43:case"end":return P.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 kI(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 jI(e,t,r){return t&&Lp(e.prototype,t),r&&Lp(e,r),e}var AI=[{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"}],Fp=function(){function e(){kI(this,e)}return jI(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}();Fp.events=AI;function MI(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 DI(e,t,r){return t&&zp(e.prototype,t),r&&zp(e,r),e}var xp=[],xn=function(){function e(t){MI(this,e),this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=t,this._initControls(t)}return DI(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__||ge("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Ne("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 ge("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__)&&ge("".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&&(Ne("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=xp,xn.staticRegisteredTypes=new Set(xp.map(function(e){return e.Designer.controlType})),xn.staticRegisteredConfigs=new Map;function Yp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yn(e)}function ae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ra(e,t)}function Gp(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function LI(e,t){return t&&(FI(t)==="object"||typeof t=="function")?t:Yp(e)}function Ra(e,t){return Ra=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ra(e,t)}var FI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function le(e){var t=zI();return function(){var n=Yn(e),o;if(t){var u=Yn(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return LI(this,o)}}var ie=function e(t){w(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:""},wa=function e(t){w(this,e);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Gn=function(e){ae(r,e);var t=le(r);function r(n){w(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),Vp=function e(t){w(this,e),this.pc=new Gn(t==null?void 0:t.pc),this.mobile=(t==null?void 0:t.mobile)?new Gn(t==null?void 0:t.mobile):new Gn({width:130,minWidth:180})},Hp=function e(t){w(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Vn=function e(t){w(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},qp=function(e){ae(r,e);var t=le(r);function r(n){w(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}(Vn),Up=function e(t){w(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Ta=function e(t){w(this,e);var r,n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var u;this.headers=(u=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(f){return new Up(f)}))!==null&&u!==void 0?u:[]},Wp=function e(t){w(this,e);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},Kp=function(e){ae(r,e);var t=le(r);function r(n){w(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}(Vn),Xp=function e(t){w(this,e);var r,n;this.type="sublist-page",this.formBind=new Vn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(f){return new Wp(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 Kp(f)}))!==null&&u!==void 0?u:[]},Qp=function e(t){w(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},rt=function e(t){w(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Jp=function e(t){w(this,e),this.type="conditions";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:fe();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.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 $a(a);(y=f.children)===null||y===void 0||y.push(v)}})}},$a=function e(t){w(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:fe();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var 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 Qp(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new rt(t==null?void 0:t.rightVariableBo)},ne=function e(t){w(this,e);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var u;this.propName=(u=t==null?void 0:t.propName)!==null&&u!==void 0?u:""},Hn=function e(t){w(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Sa=function e(t){w(this,e);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},Zp=function e(t){w(this,e);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},xI=function e(t){w(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 Sa(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 Zp(s)}))!==null&&l!==void 0?l:[]};function Ea(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Jp(f):new $a(f)}))!==null&&r!==void 0?r:[],Gp(this,V)||Gp(this,qn)){var n,o,u;this.orders=(u=(n=e)===null||n===void 0||(o=n.orders)===null||o===void 0?void 0:o.map(function(f){return new Sa(f)}))!==null&&u!==void 0?u:[]}}var V=function e(t){w(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;if(this.valueFieldCode=(o=t==null?void 0:t.valueFieldCode)!==null&&o!==void 0?o:"",this.displayBoList=[],Array.isArray(t==null?void 0:t.displayBoList)){var u=this;t==null||t.displayBoList.map(function(l){var s;(s=u.displayBoList)===null||s===void 0||s.push(new Hn(l))})}var f;this.showOrder=(f=t==null?void 0:t.showOrder)!==null&&f!==void 0?f:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",Ea.call(this,t)},eb=function e(t){w(this,e);var r,n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var u;this.value=(u=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(f){return new Hn(f)}))!==null&&u!==void 0?u:[]},Dt=function(e){ae(r,e);var t=le(r);function r(n){w(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 eb(a)}))!==null&&f!==void 0?f:[],o}return r}(V),tb=function(e){ae(r,e);var t=le(r);function r(n){w(this,r);var o;return o=t.call(this,n),o.rootNode=new rt(n==null?void 0:n.rootNode),o}return r}(Dt),nb=function e(t){w(this,e);var r,n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var u;this.fillList=(u=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(f){return new ne(f)}))!==null&&u!==void 0?u:[]},qn=function(e){ae(r,e);var t=le(r);function r(n){w(this,r);var o;return o=t.call(this,n),Ea.call(Yp(o),n),o}return r}(nb),Ia=function(e){ae(r,e);var t=le(r);function r(n){w(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}(nb),YI=function e(t){w(this,e);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},Na=function e(t){w(this,e);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},Ca=function e(t){w(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:fe(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},rb=function(e){ae(r,e);var t=le(r);function r(n){w(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}(Ca);function ye(e){var t;return(t=e==null?void 0:e.map(function(r){return new Ca(r)}))!==null&&t!==void 0?t:[]}function GI(e){var t;return(t=e==null?void 0:e.map(function(r){return new rb(r)}))!==null&&t!==void 0?t:[]}var Un=function e(){w(this,e)},ob=function(e){ae(r,e);var t=le(r);function r(n){w(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}(Un),ib=function e(t){w(this,e);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:c.AMOUNT_TYPE.CNY},ub=function(e){ae(r,e);var t=le(r);function r(n){w(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}(Un),cb=function e(t){w(this,e);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},fb=function e(t){w(this,e);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var 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:""},ab=function(e){ae(r,e);var t=le(r);function r(n){w(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}(Un),lb=function e(t){w(this,e);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};c.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var be=function e(t){w(this,e);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var 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},sb=function e(t){w(this,e);var r,n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:fe(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var u;this.headers=(u=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(f){return new Up(f)}))!==null&&u!==void 0?u:[],Ea.call(this,t)},VI=function e(t){w(this,e);var r;this.key=(r=t.key)!==null&&r!==void 0?r:fe(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},yb=function e(t){w(this,e);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var u;this.heightConfig=(u=t==null?void 0:t.heightConfig)!==null&&u!==void 0?u:"fill"};function HI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ba(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Wn(e,t,r){return qI()?Wn=Reflect.construct:Wn=function(o,u,f){var a=[null];a.push.apply(a,u);var l=Function.bind.apply(o,a),s=new l;return f&&Ft(s,f.prototype),s},Wn.apply(null,arguments)}function Lt(e){return Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lt(e)}function UI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ft(e,t)}function WI(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function KI(e,t){return t&&(XI(t)==="object"||typeof t=="function")?t:HI(e)}function Ft(e,t){return Ft=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ft(e,t)}var XI=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ka(e){var t=typeof Map=="function"?new Map:void 0;return ka=function(n){if(n===null||!WI(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Wn(n,arguments,Lt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ft(o,n)},ka(e)}function QI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JI(e){var t=QI();return function(){var n=Lt(e),o;if(t){var u=Lt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return KI(this,o)}}var L=function e(t){Ba(this,e),this.isHide={type:"boolean"}},me=function(e){UI(r,e);var t=JI(r);function r(n){return Ba(this,r),t.call(this)}return r}(ka(Array)),F=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ba(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};F.Rules=L,F.RuntimeRules=me;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 ZI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kn(e,t)}function eN(){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 eN()?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&&Kn(s,f.prototype),s},Xn.apply(null,arguments)}function tN(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Aa(e){var t=typeof Map=="function"?new Map:void 0;return Aa=function(n){if(n===null||!tN(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,ja(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Kn(o,n)},Aa(e)}var nN=/%[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 Ma(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(nN,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 rN(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function x(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||rN(t)&&typeof e=="string"&&!e)}function oN(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 db(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 iN(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var hb=function(e){ZI(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}(Aa(Error));function uN(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 hb(g,Ma(g))):v()},O=iN(e);db(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 hb(s,Ma(s))):v()};f.length||(n(s),v()),f.forEach(function(O){var b=e[O];u.indexOf(O)!==-1?db(b,r,p):oN(b,r,p)})});return y.catch(function(v){return v}),y}function _b(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 pb(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 bb(e,t,r,n,o,u){e.required&&(!r.hasOwnProperty(e.field)||x(t,u||e.type))&&n.push(ue(o.messages.required,e.fullField))}function cN(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ue(o.messages.whitespace,e.fullField))}var Da={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},zt={integer:function(t){return zt.number(t)&&parseInt(t,10)===t},float:function(t){return zt.number(t)&&!zt.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"&&!zt.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Da.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Da.url)},hex:function(t){return typeof t=="string"&&!!t.match(Da.hex)}};function fN(e,t,r,n,o){if(e.required&&t===void 0){bb(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?zt[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 aN(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 ot="enum";function lN(e,t,r,n,o){e[ot]=Array.isArray(e[ot])?e[ot]:[],e[ot].indexOf(t)===-1&&n.push(ue(o.messages[ot],e.fullField,e[ot].join(", ")))}function sN(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:bb,whitespace:cN,type:fN,range:aN,enum:lN,pattern:sN};function yN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(t,"string")&&!e.required)return r();E.required(e,t,n,u,o,"string"),x(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 vN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(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 dN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(t===""&&(t=void 0),x(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(x(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(x(t)&&!e.required)return r();E.required(e,t,n,u,o),x(t)||E.type(e,t,n,u,o)}r(u)}function pN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(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 bN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(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 ON(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 gN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(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 mN="enum";function PN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(t)&&!e.required)return r();E.required(e,t,n,u,o),t!==void 0&&E[mN](e,t,n,u,o)}r(u)}function RN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(t,"string")&&!e.required)return r();E.required(e,t,n,u,o),x(t,"string")||E.pattern(e,t,n,u,o)}r(u)}function wN(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(t,"date")&&!e.required)return r();if(E.required(e,t,n,u,o),!x(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 TN(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 La(e,t,r,n,o){var u=e.type,f=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(x(t,u)&&!e.required)return r();E.required(e,t,n,f,o,u),x(t,u)||E.type(e,t,n,f,o)}r(f)}function $N(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(x(t)&&!e.required)return r();E.required(e,t,n,u,o)}r(u)}var xt={string:yN,method:vN,number:dN,boolean:hN,regexp:_N,integer:pN,float:bN,array:ON,object:gN,enum:PN,pattern:RN,date:wN,url:La,hex:La,email:La,required:TN,any:$N};function Fa(){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 za=Fa();function Pe(e){this.rules=null,this._messages=za,this.define(e)}Pe.prototype={messages:function(t){return t&&(this._messages=pb(Fa(),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=[],m={};function P(R){if(Array.isArray(R)){var $;h=($=h).concat.apply($,R)}else h.push(R)}for(g=0;g<b.length;g++)P(b[g]);h.length?m=Ma(h):(h=null,m=null),a(h,m)}if(f.messages){var s=this.messages();s===za&&(s=Fa()),pb(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 uN(d,f,function(b,g){var h=b.rule,m=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");m=m&&(h.required||!h.required&&b.value),h.field=b.field;function P(T,S){return ve(ve({},S),{},{fullField:h.fullField+"."+T})}function R(T){T===void 0&&(T=[]);var S=T;if(Array.isArray(S)||(S=[S]),!f.suppressWarning&&S.length&&Pe.warning("async-validator:",S),S.length&&h.message!==void 0&&(S=[].concat(h.message)),S=S.map(_b(h)),f.first&&S.length)return O[h.field]=1,g(S);if(!m)g(S);else{if(h.required&&!b.value)return h.message!==void 0?S=[].concat(h.message).map(_b(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 U in k)if(k.hasOwnProperty(U)){var W=Array.isArray(k[U])?k[U]:[k[U]];k[U]=W.map(P.bind(null,U))}var Ct=new Pe(k);Ct.messages(f.messages),b.rule.options&&(b.rule.options.messages=f.messages,b.rule.options.error=f.error),Ct.validate(b.value,b.rule.options||f,function(tt){var he=[];S&&S.length&&he.push.apply(he,S),tt&&tt.length&&he.push.apply(he,tt),g(he.length?he: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(T){return R(T)})},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&&!xt.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"?xt.required:xt[this.getType(t)]||!1}},Pe.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");xt[t]=r},Pe.warning=vb,Pe.messages=za,Pe.validators=xt;var SN={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 Ob(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Pe(e);return r.messages(Object.assign(SN,t)),r}var gb=new Dp;function xa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function EN(e){if(Array.isArray(e))return e}function IN(e){if(Array.isArray(e))return xa(e)}function mb(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 Pb(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){mb(u,n,o,f,a,"next",l)}function a(l){mb(u,n,o,f,a,"throw",l)}f(void 0)})}}function NN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CN(e,t,r){return t&&Rb(e.prototype,t),r&&Rb(e,r),e}function BN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Tb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kN(){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 jN(){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 $b(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){BN(e,o,r[o])})}return e}function AN(e){return EN(e)||Tb(e)||Sb(e,i)||kN()}function Ya(e){return IN(e)||Tb(e)||Sb(e)||jN()}function Sb(e,t){if(!!e){if(typeof e=="string")return xa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xa(e,t)}}var B=function(){function t(r){var n=this;NN(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ib,this.removeSetting=Eb,this._callControlHooks("preInstance",r);var o=wb(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||ha("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:fe(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 F(r==null?void 0:r.props,(wb(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 CN(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=AN(o),l=a[0],s=a.slice(1);return(f=gb).emit.apply(f,[l,this].concat(Ya(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),Np(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return Pb(K.default.mark(function o(){var u,f,a;return K.default.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return u=$b({},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 Pb(K.default.mark(function f(){var a,l,s;return K.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:$b({},u.rules),Array.isArray(o)&&o.forEach(function(d){l.hasOwnProperty(d)&&delete l[d]}),s=Ob(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,Ya(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=Eb,B.updateSettingItem=Ib;function Eb(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 Ib(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,Ya(t.showItems))}}}})}function MN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DN(e,t,r){return t&&Nb(e.prototype,t),r&&Nb(e,r),e}function LN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var Y=function(){function t(r){MN(this,t),this.customEvents=[],this.parent=null;var n=LN(this,t)?this.constructor:void 0,o=n.controlType,u=n.controlFieldType,f=n.name,a=n.controlCustomEvents;o||ha("The ".concat(f," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:fe(10);var s;this.type=(s=r==null?void 0:r.type)!==null&&s!==void 0?s:o,this.props=new F(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 DN(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Y.controlType="control",Y.__is_control__=!0,Y.controlCustomEvents=[];function Qn(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=kp(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 Jn(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 Cb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(e)}function tr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ga(e,t)}function FN(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function zN(e,t){return t&&(xN(t)==="object"||typeof t=="function")?t:Cb(e)}function Ga(e,t){return Ga=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ga(e,t)}var xN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nr(e){var t=YN();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 zN(this,o)}}var Q=function(e){tr(r,e);var t=nr(r);function r(n){Zn(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(FN(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}(L),j=function(e){tr(r,e);var t=nr(r);function r(n){Zn(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}(me),I=function(e){tr(r,e);var t=nr(r);function r(n){Zn(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}(F);I.Rules=Q,I.RuntimeRules=j;var je=function(e){tr(r,e);var t=nr(r);function r(n){Zn(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")}],Qn.call(Cb(o),n),o}return r}(Q);function GN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rr(e)}function HN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Va(e,t)}function qN(e,t){return t&&(UN(t)==="object"||typeof t=="function")?t:GN(e)}function Va(e,t){return Va=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Va(e,t)}var UN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KN(e){var t=WN();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 qN(this,o)}}var N=function(e){HN(r,e);var t=KN(r);function r(n){VN(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);N.controlEventKeys=["on_change","on_focus","on_blur"];function XN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},or(e)}function JN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ha(e,t)}function ZN(e,t){return t&&(eC(t)==="object"||typeof t=="function")?t:XN(e)}function Ha(e,t){return Ha=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ha(e,t)}var eC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nC(e){var t=tC();return function(){var n=or(e),o;if(t){var u=or(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ZN(this,o)}}var C=function(e){JN(r,e);var t=nC(r);function r(n){QN(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}(Y);function rC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oC(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 iC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qa(e,t)}function uC(e,t){return t&&(cC(t)==="object"||typeof t=="function")?t:rC(e)}function qa(e,t){return qa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qa(e,t)}var cC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aC(e){var t=fC();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 uC(this,o)}}var M=function(e){iC(r,e);var t=aC(r);function r(n){return oC(this,r),t.call(this,n)}return r}(F);function Ua(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function lC(e){if(Array.isArray(e))return Ua(e)}function sC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Bb(e){return lC(e)||sC(e)||vC(e)||yC()}function vC(e,t){if(!!e){if(typeof e=="string")return Ua(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ua(e,t)}}function kb(e,t){var r;((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0?void 0:r.enumerable)&&Object.defineProperty(e,t,{enumerable:!1})}function Wa(e,t){e.parent=t,kb(e,"parent")}function jb(e,t){e.forEach(function(r){Wa(r,t)})}var Ab=Symbol("targetKey");function Mb(e){var t;return(t=e[Ab])!==null&&t!==void 0?t:e}function Db(e,t){return jb(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===Ab?n:(l=Reflect).get.apply(l,[n,o].concat(Bb(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(Ce(e)&&o==="length"&&u===e.length)return!0;var y=(s=Reflect).set.apply(s,[n,o,u].concat(Bb(a)));return Oa(u)&&Wa(u,t),y}})}function de(e,t,r,n){var o=n!=null?n:e,u=Db(Mb(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=Db(Mb(a),o)},enumerable:!0})}function Ka(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 dC(e){if(Array.isArray(e))return Ka(e)}function Lb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fb(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 hC(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){Fb(u,n,o,f,a,"next",l)}function a(l){Fb(u,n,o,f,a,"throw",l)}f(void 0)})}}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pC(e,t,r){return t&&zb(e.prototype,t),r&&zb(e,r),e}function bC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function it(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?it=Reflect.get:it=function(o,u,f){var a=TC(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 Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Re(e)}function OC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xa(e,t)}function gC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function mC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function PC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function RC(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){bC(e,o,r[o])})}return e}function wC(e,t){return t&&($C(t)==="object"||typeof t=="function")?t:Lb(e)}function Xa(e,t){return Xa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xa(e,t)}function TC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Re(e),e!==null););return e}function xb(e){return dC(e)||mC(e)||SC(e)||PC()}var $C=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SC(e,t){if(!!e){if(typeof e=="string")return Ka(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 Ka(e,t)}}function EC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IC(e){var t=EC();return function(){var n=Re(e),o;if(t){var u=Re(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wC(this,o)}}var NC=1e4,D=function(t){OC(n,t);var r=IC(n);function n(o){_C(this,n);var u;u=r.call(this,o),u.controlType="layout";var f=gC(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new M(o==null?void 0:o.props),de(Lb(u),"children",o==null?void 0:o.children),u.excludes=pe(a),u.childrenMaxLength=l,u}return pC(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 it(Re(n.prototype),"validate",a)};return hC(K.default.mark(function y(){return K.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=it(Re(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 xb(l).concat(xb(v))}return y&&l.push(y),l},a)}},{key:"toSchema",value:function(){var u=it(Re(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return RC({},u,{children:f})}}]),n}(B);D.excludes=!1,D.childrenMaxLength=NC;function Yb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ur(e)}function BC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qa(e,t)}function kC(e,t){return t&&(jC(t)==="object"||typeof t=="function")?t:Yb(e)}function Qa(e,t){return Qa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qa(e,t)}var jC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MC(e){var t=AC();return function(){var n=ur(e),o;if(t){var u=ur(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kC(this,o)}}var G=function(e){BC(r,e);var t=MC(r);function r(n){CC(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new M(n==null?void 0:n.props),de(Yb(o),"children",n==null?void 0:n.children),o}return r}(Y);function Gb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cr(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ja(e,t)}function FC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:Gb(e)}function Ja(e,t){return Ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ja(e,t)}var zC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YC(e){var t=xC();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 FC(this,o)}}var Yt=function(e){LC(r,e);var t=YC(r);function r(n,o){DC(this,r);var u;return u=t.call(this,o),de(Gb(u),"headers",o==null?void 0:o.headers,n),u}return r}(F);function Za(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function GC(e){if(Array.isArray(e))return Za(e)}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,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 VC(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){Hb(u,n,o,f,a,"next",l)}function a(l){Hb(u,n,o,f,a,"throw",l)}f(void 0)})}}function HC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qC(e,t,r){return t&&qb(e.prototype,t),r&&qb(e,r),e}function UC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ut(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ut=Reflect.get:ut=function(o,u,f){var a=JC(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},ut(e,t,r||e)}function we(e){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},we(e)}function WC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&el(e,t)}function KC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function XC(){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 Ub(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){UC(e,o,r[o])})}return e}function QC(e,t){return t&&(ZC(t)==="object"||typeof t=="function")?t:Vb(e)}function el(e,t){return el=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},el(e,t)}function JC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=we(e),e!==null););return e}function Wb(e){return GC(e)||KC(e)||eB(e)||XC()}var ZC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eB(e,t){if(!!e){if(typeof e=="string")return Za(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Za(e,t)}}function tB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tB();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 QC(this,o)}}var fr=function(e){WC(r,e);var t=nB(r);function r(n){HC(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new Yt(Vb(o),n==null?void 0:n.props),o}return qC(r,[{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return ut(we(r.prototype),"validate",f)};return VC(K.default.mark(function s(){return K.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=ut(we(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 Wb(a).concat(Wb(y))}return s&&a.push(s),a},u)}},{key:"toSchema",value:function(){var o=ut(we(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(f){return f.toSchema()});return Ub({},o,{props:Ub({},this.props,{headers:u})})}}]),r}(B);fr.controlFieldType=c.FieldTypes.LIST;function tl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oB(e,t,r){return t&&Kb(e.prototype,t),r&&Kb(e,r),e}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ar(e)}function iB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nl(e,t)}function uB(e,t){return t&&(cB(t)==="object"||typeof t=="function")?t:tl(e)}function nl(e,t){return nl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nl(e,t)}var cB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aB(e){var t=fB();return function(){var n=ar(e),o;if(t){var u=ar(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return uB(this,o)}}var rl=function(e){iB(r,e);var t=aB(r);function r(n){rB(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new Yt(tl(o),n==null?void 0:n.props),de(tl(o),"children",n==null?void 0:n.children),o}return oB(r,[{key:"length",get:function(){return this.children.length}}]),r}(Y);function Xb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ol(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(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&&ul(e,t)}function lB(e,t){return t&&(sB(t)==="object"||typeof t=="function")?t:Xb(e)}function ul(e,t){return ul=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ul(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 cl(e){var t=yB();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 lB(this,o)}}var sr=function(e){il(r,e);var t=cl(r);function r(n){ol(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}(L),z=function(e){il(r,e);var t=cl(r);function r(n){ol(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}(F);z.Rules=sr;var fl=function(e){il(r,e);var t=cl(r);function r(n){ol(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")}],Qn.call(Xb(o),n),o}return r}(sr);function vB(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 yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yr(e)}function hB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&al(e,t)}function _B(e,t){return t&&(pB(t)==="object"||typeof t=="function")?t:vB(e)}function al(e,t){return al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},al(e,t)}var pB=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 OB(e){var t=bB();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 _B(this,o)}}var H=function(e){hB(r,e);var t=OB(r);function r(n){dB(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new z(n==null?void 0:n.props),o}return r}(B);function gB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vr(e)}function 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&&ll(e,t)}function RB(e,t){return t&&(wB(t)==="object"||typeof t=="function")?t:gB(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(e,t)}var wB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $B(e){var t=TB();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 RB(this,o)}}var q=function(e){PB(r,e);var t=$B(r);function r(n){mB(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new z(n==null?void 0:n.props),o}return r}(Y);function SB(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 dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function IB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sl(e,t)}function NB(e,t){return t&&(CB(t)==="object"||typeof t=="function")?t:SB(e)}function sl(e,t){return sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sl(e,t)}var CB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 kB(e){var t=BB();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 NB(this,o)}}var hr=function(e){IB(r,e);var t=kB(r);function r(n){EB(this,r);var o;return o=t.call(this,n),o.dataBind=new ie(n==null?void 0:n.dataBind),o}return r}(M);function jB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function MB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yl(e,t)}function DB(e,t){return t&&(LB(t)==="object"||typeof t=="function")?t:jB(e)}function yl(e,t){return yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yl(e,t)}var LB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zB(e){var t=FB();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 DB(this,o)}}var Qb=function(e){MB(r,e);var t=zB(r);function r(n){AB(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new hr(n==null?void 0:n.props),o}return r}(D);function xB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pr(e)}function GB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vl(e,t)}function VB(e,t){return t&&(HB(t)==="object"||typeof t=="function")?t:xB(e)}function vl(e,t){return vl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vl(e,t)}var HB=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 UB(e){var t=qB();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 VB(this,o)}}var Jb=function(e){GB(r,e);var t=UB(r);function r(n){YB(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new hr(n==null?void 0:n.props),o}return r}(G);function WB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(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&&dl(e,t)}function QB(e,t){return t&&(JB(t)==="object"||typeof t=="function")?t:WB(e)}function dl(e,t){return dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dl(e,t)}var JB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ek(e){var t=ZB();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 QB(this,o)}}var hl=function(e){XB(r,e);var t=ek(r);function r(n){return KB(this,r),t.call(this,n)}return r}(M);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 Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(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&&_l(e,t)}function ok(e,t){return t&&(ik(t)==="object"||typeof t=="function")?t:tk(e)}function _l(e,t){return _l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_l(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=Or(e),o;if(t){var u=Or(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){nk(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new hl(n==null?void 0:n.props),o}return r}(D);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 gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(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&&pl(e,t)}function yk(e,t){return t&&(vk(t)==="object"||typeof t=="function")?t:ak(e)}function pl(e,t){return pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pl(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=gr(e),o;if(t){var u=gr(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){lk(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new hl(n==null?void 0:n.props),o}return r}(G);function pk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(e)}function Ok(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bl(e,t)}function gk(e,t){return t&&(mk(t)==="object"||typeof t=="function")?t:pk(e)}function bl(e,t){return bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bl(e,t)}var mk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rk(e){var t=Pk();return function(){var n=mr(e),o;if(t){var u=mr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return gk(this,o)}}var Ol=function(e){Ok(r,e);var t=Rk(r);function r(n){bk(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}(F);function wk(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 Zb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $k(e,t,r){return t&&Zb(e.prototype,t),r&&Zb(e,r),e}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(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&&gl(e,t)}function Ek(e,t){return t&&(Ik(t)==="object"||typeof t=="function")?t:wk(e)}function gl(e,t){return gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gl(e,t)}var Ik=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ck(e){var t=Nk();return function(){var n=Pr(e),o;if(t){var u=Pr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ek(this,o)}}var eO=function(e){Sk(r,e);var t=Ck(r);function r(n){Tk(this,r);var o;return o=t.call(this,n),o.props=new Ol(n==null?void 0:n.props),o}return $k(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);eO.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 Bk(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 tO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jk(e,t,r){return t&&tO(e.prototype,t),r&&tO(e,r),e}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(e)}function Ak(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mk(e,t){return t&&(Dk(t)==="object"||typeof t=="function")?t:Bk(e)}function ml(e,t){return ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ml(e,t)}var Dk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fk(e){var t=Lk();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 Mk(this,o)}}var zk=function(e){Ak(r,e);var t=Fk(r);function r(n){kk(this,r);var o;return o=t.call(this,n),o.props=new Ol(n==null?void 0:n.props),o}return jk(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(Y),nO={Designer:eO,Runtime:zk,Property:Ol};function xk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function Gk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pl(e,t)}function Vk(e,t){return t&&(Hk(t)==="object"||typeof t=="function")?t:xk(e)}function Pl(e,t){return Pl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pl(e,t)}var Hk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uk(e){var t=qk();return function(){var n=wr(e),o;if(t){var u=wr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Vk(this,o)}}var Rl=function(e){Gk(r,e);var t=Uk(r);function r(n){Yk(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}(F);function Wk(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 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 Xk(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(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&&wl(e,t)}function Jk(e,t){return t&&(Zk(t)==="object"||typeof t=="function")?t:Wk(e)}function wl(e,t){return wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wl(e,t)}var Zk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ej(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tj(e){var t=ej();return function(){var n=Tr(e),o;if(t){var u=Tr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Jk(this,o)}}var Tl=function(e){Qk(r,e);var t=tj(r);function r(n){Kk(this,r);var o;return o=t.call(this,n),o.props=new Rl(n==null?void 0:n.props),o}return Xk(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(B);Tl.controlEventKeys=["on_click"],Tl.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 nj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oj(e,t,r){return t&&oO(e.prototype,t),r&&oO(e,r),e}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(e)}function ij(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$l(e,t)}function uj(e,t){return t&&(cj(t)==="object"||typeof t=="function")?t:nj(e)}function $l(e,t){return $l=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$l(e,t)}var cj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aj(e){var t=fj();return function(){var n=$r(e),o;if(t){var u=$r(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return uj(this,o)}}var lj=function(e){ij(r,e);var t=aj(r);function r(n){rj(this,r);var o;return o=t.call(this,n),o.props=new Rl(n==null?void 0:n.props),o}return oj(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(Y),iO={Designer:Tl,Runtime:lj,Property:Rl};function sj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(e)}function vj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sl(e,t)}function dj(e,t){return t&&(hj(t)==="object"||typeof t=="function")?t:sj(e)}function Sl(e,t){return Sl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sl(e,t)}var hj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _j(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pj(e){var t=_j();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 dj(this,o)}}var ee=function(e){vj(r,e);var t=pj(r);function r(n){yj(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;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return r}(F);function bj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gj(e,t,r){return t&&uO(e.prototype,t),r&&uO(e,r),e}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(e)}function mj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&El(e,t)}function Pj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:bj(e)}function El(e,t){return El=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},El(e,t)}var Rj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tj(e){var t=wj();return function(){var n=Er(e),o;if(t){var u=Er(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Pj(this,o)}}var te=function(e){mj(r,e);var t=Tj(r);function r(n){Oj(this,r);var o;return o=t.call(this,n),o.props=new ee(n==null?void 0:n.props),o}return gj(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(B);te.controlEventKeys=["on_click"],te.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 $j(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ej(e,t,r){return t&&cO(e.prototype,t),r&&cO(e,r),e}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function Ij(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Il(e,t)}function Nj(e,t){return t&&(Cj(t)==="object"||typeof t=="function")?t:$j(e)}function Il(e,t){return Il=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Il(e,t)}var Cj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kj(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 Nj(this,o)}}var ce=function(e){Ij(r,e);var t=kj(r);function r(n){Sj(this,r);var o;return o=t.call(this,n),o.props=new ee(n==null?void 0:n.props),o}return Ej(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(Y),fO={Designer:te,Runtime:ce,Property:ee};function Oe(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 Nr=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:c.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:c.DATE_LIMIT_TYPE.FILE_IN_TIME,id:fe(8),value:["",""]};Oe(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 Cr=function e(t){Oe(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:fe();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};c.LINE_STYLE=void 0,function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"}(c.LINE_STYLE||(c.LINE_STYLE={}));var Nl=function e(t){Oe(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new rt((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 rt((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 rt((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:""},aO=function e(t){Oe(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 Nl(l)}))!==null&&o!==void 0?o:[new Nl];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:""},Cl=function e(t){Oe(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:fe(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var 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},Bl=function e(t){Oe(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:""},lO=function e(t){Oe(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 Bl(t==null?void 0:t.watermark),this.autoRename=new Bl(t==null?void 0:t.autoRename)},sO=480;function Gt(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var yO=function e(t){Oe(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){Oe(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 jj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(e)}function Mj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kl(e,t)}function Dj(e,t){return t&&(Lj(t)==="object"||typeof t=="function")?t:jj(e)}function kl(e,t){return kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kl(e,t)}var Lj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zj(e){var t=Fj();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 Dj(this,o)}}var jl=function(e){Mj(r,e);var t=zj(r);function r(n){Aj(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}(F);function xj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Gj(e,t,r){return t&&dO(e.prototype,t),r&&dO(e,r),e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function Vj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Al(e,t)}function Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:xj(e)}function Al(e,t){return Al=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Al(e,t)}var qj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wj(e){var t=Uj();return function(){var n=kr(e),o;if(t){var u=kr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Hj(this,o)}}var hO=function(e){Vj(r,e);var t=Wj(r);function r(n){Yj(this,r);var o;return o=t.call(this,n),o.props=new jl(n==null?void 0:n.props),o}return Gj(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(B);hO.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];function Kj(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 _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 Qj(e,t,r){return t&&_O(e.prototype,t),r&&_O(e,r),e}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(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&&Ml(e,t)}function Zj(e,t){return t&&(e1(t)==="object"||typeof t=="function")?t:Kj(e)}function Ml(e,t){return Ml=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ml(e,t)}var e1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function t1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n1(e){var t=t1();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 Zj(this,o)}}var r1=function(e){Jj(r,e);var t=n1(r);function r(n){Xj(this,r);var o;return o=t.call(this,n),o.props=new jl(n==null?void 0:n.props),o}return Qj(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(Y),pO={Designer:hO,Runtime:r1,Property:jl};function o1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function OO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i1(e,t){return t&&(u1(t)==="object"||typeof t=="function")?t:o1(e)}function Dl(e,t){return Dl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dl(e,t)}var u1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gO(e){var t=c1();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 i1(this,o)}}var f1=function(e){OO(r,e);var t=gO(r);function r(n){bO(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}(L),Mr=function(e){OO(r,e);var t=gO(r);function r(n){bO(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:ct==null?void 0:ct.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}(F);Mr.Rules=f1;function a1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s1(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function y1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 v1(e,t){return t&&(d1(t)==="object"||typeof t=="function")?t:a1(e)}function Ll(e,t){return Ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ll(e,t)}var d1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _1(e){var t=h1();return function(){var n=Dr(e),o;if(t){var u=Dr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return v1(this,o)}}var ct=function(e){y1(r,e);var t=_1(r);function r(n){l1(this,r);var o;return o=t.call(this,n),o.props=new Mr(n==null?void 0:n.props),o}return s1(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);ct.controlFieldType=c.FieldTypes.AUTO_NUMBER,ct.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 p1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b1(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 O1(e,t,r){return t&&PO(e.prototype,t),r&&PO(e,r),e}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(e)}function g1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 m1(e,t){return t&&(P1(t)==="object"||typeof t=="function")?t:p1(e)}function Fl(e,t){return Fl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fl(e,t)}var P1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w1(e){var t=R1();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 m1(this,o)}}var T1=function(e){g1(r,e);var t=w1(r);function r(n){b1(this,r);var o;return o=t.call(this,n),o.props=new Mr(n==null?void 0:n.props),o}return O1(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(Y),RO={Designer:ct,Runtime:T1,Property:Mr};function $1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(e)}function TO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 S1(e,t){return t&&(E1(t)==="object"||typeof t=="function")?t:$1(e)}function zl(e,t){return zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zl(e,t)}var E1=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 $O(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 S1(this,o)}}var N1=function(e){TO(r,e);var t=$O(r);function r(n){wO(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:_.getMessage("pleaseEnterForm")},o}return r}(L),zr=function(e){TO(r,e);var t=$O(r);function r(n){wO(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:Vt.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Vt.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}(ee);zr.Rules=N1;function C1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k1(e,t,r){return t&&SO(e.prototype,t),r&&SO(e,r),e}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(e)}function j1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xl(e,t)}function A1(e,t){return t&&(M1(t)==="object"||typeof t=="function")?t:C1(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(e,t)}var M1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L1(e){var t=D1();return function(){var n=xr(e),o;if(t){var u=xr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return A1(this,o)}}var Vt=function(e){j1(r,e);var t=L1(r);function r(n){B1(this,r);var o;return o=t.call(this,n),o.props=new zr(n==null?void 0:n.props),o}return k1(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}(te);Vt.controlEventKeys=["on_click","on_click_finish"],Vt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];function F1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 x1(e,t,r){return t&&EO(e.prototype,t),r&&EO(e,r),e}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function Y1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G1(e,t){return t&&(V1(t)==="object"||typeof t=="function")?t:F1(e)}function Yl(e,t){return Yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yl(e,t)}var V1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q1(e){var t=H1();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 G1(this,o)}}var U1=function(e){Y1(r,e);var t=q1(r);function r(n){z1(this,r);var o;return o=t.call(this,n),o.props=new zr(n==null?void 0:n.props),o}return x1(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ce),IO={Designer:Vt,Runtime:U1,Property:zr};function W1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function CO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K1(e,t){return t&&(X1(t)==="object"||typeof t=="function")?t:W1(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(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 BO(e){var t=Q1();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 K1(this,o)}}var J1=function(e){CO(r,e);var t=BO(r);function r(n){NO(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}(L),Vr=function(e){CO(r,e);var t=BO(r);function r(n){NO(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:Ht.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Ht.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}(ee);Vr.Rules=J1;function Z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t3(e,t,r){return t&&kO(e.prototype,t),r&&kO(e,r),e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function n3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vl(e,t)}function r3(e,t){return t&&(o3(t)==="object"||typeof t=="function")?t:Z1(e)}function Vl(e,t){return Vl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vl(e,t)}var o3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u3(e){var t=i3();return function(){var n=Hr(e),o;if(t){var u=Hr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return r3(this,o)}}var Ht=function(e){n3(r,e);var t=u3(r);function r(n){e3(this,r);var o;return o=t.call(this,n),o.props=new Vr(n==null?void 0:n.props),o}return t3(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}(te);Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 c3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 a3(e,t,r){return t&&jO(e.prototype,t),r&&jO(e,r),e}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(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&&Hl(e,t)}function s3(e,t){return t&&(y3(t)==="object"||typeof t=="function")?t:c3(e)}function Hl(e,t){return Hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hl(e,t)}var y3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d3(e){var t=v3();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 s3(this,o)}}var h3=function(e){l3(r,e);var t=d3(r);function r(n){f3(this,r);var o;return o=t.call(this,n),o.props=new Vr(n==null?void 0:n.props),o}return a3(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ce),AO={Designer:Ht,Runtime:h3,Property:Vr};function _3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function b3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O3(e,t){return t&&(g3(t)==="object"||typeof t=="function")?t:_3(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(e,t)}var g3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P3(e){var t=m3();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 O3(this,o)}}var Ul=function(e){b3(r,e);var t=P3(r);function r(n){p3(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:qt.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:qt.controlIcon,o}return r}(ee);function R3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T3(e,t,r){return t&&MO(e.prototype,t),r&&MO(e,r),e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function $3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wl(e,t)}function S3(e,t){return t&&(E3(t)==="object"||typeof t=="function")?t:R3(e)}function Wl(e,t){return Wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wl(e,t)}var E3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N3(e){var t=I3();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 S3(this,o)}}var qt=function(e){$3(r,e);var t=N3(r);function r(n){w3(this,r);var o;return o=t.call(this,n),o.props=new Ul(n==null?void 0:n.props),o}return T3(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}(te);qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];function C3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B3(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 k3(e,t,r){return t&&DO(e.prototype,t),r&&DO(e,r),e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(e)}function j3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A3(e,t){return t&&(M3(t)==="object"||typeof t=="function")?t:C3(e)}function Kl(e,t){return Kl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kl(e,t)}var M3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L3(e){var t=D3();return function(){var n=Kr(e),o;if(t){var u=Kr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return A3(this,o)}}var F3=function(e){j3(r,e);var t=L3(r);function r(n){B3(this,r);var o;return o=t.call(this,n),o.props=new Ul(n==null?void 0:n.props),o}return k3(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ce),LO={Designer:qt,Runtime:F3,Property:Ul};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 Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xr(e)}function Y3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xl(e,t)}function G3(e,t){return t&&(V3(t)==="object"||typeof t=="function")?t:z3(e)}function Xl(e,t){return Xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xl(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=Xr(e),o;if(t){var u=Xr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return G3(this,o)}}var Ql=function(e){Y3(r,e);var t=q3(r);function r(n){x3(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:Ut.controlIcon;var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:Ut.controlName;var l;return o.templateList=(l=n==null||(u=n.templateList)===null||u===void 0?void 0:u.map(function(s){return new Cl(s)}))!==null&&l!==void 0?l:[new Cl({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(ee);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 FO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K3(e,t,r){return t&&FO(e.prototype,t),r&&FO(e,r),e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function X3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q3(e,t){return t&&(J3(t)==="object"||typeof t=="function")?t:U3(e)}function Jl(e,t){return Jl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jl(e,t)}var J3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Z3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eA(e){var t=Z3();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 Q3(this,o)}}var Ut=function(e){X3(r,e);var t=eA(r);function r(n){W3(this,r);var o;return o=t.call(this,n),o.props=new Ql(n==null?void 0:n.props),o}return K3(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}(te);Ut.controlEventKeys=["on_click","on_click_finish"],Ut.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 tA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rA(e,t,r){return t&&zO(e.prototype,t),r&&zO(e,r),e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(e)}function oA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iA(e,t){return t&&(uA(t)==="object"||typeof t=="function")?t:tA(e)}function Zl(e,t){return Zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zl(e,t)}var uA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fA(e){var t=cA();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 iA(this,o)}}var aA=function(e){oA(r,e);var t=fA(r);function r(n){nA(this,r);var o;return o=t.call(this,n),o.props=new Ql(n==null?void 0:n.props),o}return rA(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ce),xO={Designer:Ut,Runtime:aA,Property:Ql};function lA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(e)}function yA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&es(e,t)}function vA(e,t){return t&&(dA(t)==="object"||typeof t=="function")?t:lA(e)}function es(e,t){return es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},es(e,t)}var dA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _A(e){var t=hA();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 vA(this,o)}}var ts=function(e){yA(r,e);var t=_A(r);function r(n){sA(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:Wt.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Wt.controlIcon,o}return r}(ee);function pA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OA(e,t,r){return t&&YO(e.prototype,t),r&&YO(e,r),e}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eo(e)}function gA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ns(e,t)}function mA(e,t){return t&&(PA(t)==="object"||typeof t=="function")?t:pA(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ns(e,t)}var PA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wA(e){var t=RA();return function(){var n=eo(e),o;if(t){var u=eo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return mA(this,o)}}var Wt=function(e){gA(r,e);var t=wA(r);function r(n){bA(this,r);var o;return o=t.call(this,n),o.props=new ts(n==null?void 0:n.props),o}return OA(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}(te);Wt.controlEventKeys=["on_click"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];function TA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SA(e,t,r){return t&&GO(e.prototype,t),r&&GO(e,r),e}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function EA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rs(e,t)}function IA(e,t){return t&&(NA(t)==="object"||typeof t=="function")?t:TA(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rs(e,t)}var NA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BA(e){var t=CA();return function(){var n=to(e),o;if(t){var u=to(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return IA(this,o)}}var kA=function(e){EA(r,e);var t=BA(r);function r(n){$A(this,r);var o;return o=t.call(this,n),o.props=new ts(n==null?void 0:n.props),o}return SA(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ce),VO={Designer:Wt,Runtime:kA,Property:ts};function jA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},no(e)}function AA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MA(e,t){return t&&(DA(t)==="object"||typeof t=="function")?t:jA(e)}function os(e,t){return os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},os(e,t)}var DA=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 FA(e){var t=LA();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 MA(this,o)}}var zA=function e(t){HO(this,e),this.dataCode=t.dataCode},is=function(e){AA(r,e);var t=FA(r);function r(n){HO(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:Kt.controlName;var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:Kt.controlIcon;var l;return o.canImportList=(l=n==null||(u=n.canImportList)===null||u===void 0?void 0:u.map(function(s){return new zA(s)}))!==null&&l!==void 0?l:[],o}return r}(ee);function xA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 GA(e,t,r){return t&&qO(e.prototype,t),r&&qO(e,r),e}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function VA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&us(e,t)}function HA(e,t){return t&&(qA(t)==="object"||typeof t=="function")?t:xA(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(e,t)}var qA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WA(e){var t=UA();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 HA(this,o)}}var Kt=function(e){VA(r,e);var t=WA(r);function r(n){YA(this,r);var o;return o=t.call(this,n),o.props=new is(n==null?void 0:n.props),o}return GA(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}(te);Kt.controlEventKeys=["on_click","on_click_finish"],Kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];function KA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 QA(e,t,r){return t&&UO(e.prototype,t),r&&UO(e,r),e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function JA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZA(e,t){return t&&(eM(t)==="object"||typeof t=="function")?t:KA(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var eM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nM(e){var t=tM();return function(){var n=oo(e),o;if(t){var u=oo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ZA(this,o)}}var rM=function(e){JA(r,e);var t=nM(r);function r(n){XA(this,r);var o;return o=t.call(this,n),o.props=new is(n==null?void 0:n.props),o}return QA(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ce),WO={Designer:Kt,Runtime:rM,Property:is};function io(){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 oM(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 iM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(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 QO(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){iM(e,o,r[o])})}return e}function uM(e,t){return t&&(cM(t)==="object"||typeof t=="function")?t:oM(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(e,t)}var cM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JO(e){var t=fM();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 uM(this,o)}}var aM=function(e){XO(r,e);var t=JO(r);function r(n){KO(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:QO({},io())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:QO({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},io())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:_.getMessage("pleaseSelectControl")}),o}return r}(L),co=function(e){XO(r,e);var t=JO(r);function r(n){KO(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:Xt.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Xt.controlIcon;var a;return o.command=(a=n==null?void 0:n.command)!==null&&a!==void 0?a:"create",o.fillPayload=new qn(n==null?void 0:n.fillPayload),o.formBind=new qp(n==null?void 0:n.formBind),o.fillBack=new Ia(n==null?void 0:n.fillBack),o}return r}(ee);co.Rules=aM;function lM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yM(e,t,r){return t&&ZO(e.prototype,t),r&&ZO(e,r),e}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(e)}function vM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}function dM(e,t){return t&&(hM(t)==="object"||typeof t=="function")?t:lM(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var hM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _M(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pM(e){var t=_M();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 dM(this,o)}}var Xt=function(e){vM(r,e);var t=pM(r);function r(n){sM(this,r);var o;return o=t.call(this,n),o.props=new co(n==null?void 0:n.props),o}return yM(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}(te);Xt.controlEventKeys=["on_click","on_click_finish"],Xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function bM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gM(e,t,r){return t&&eg(e.prototype,t),r&&eg(e,r),e}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(e)}function mM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function PM(e,t){return t&&(RM(t)==="object"||typeof t=="function")?t:bM(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var RM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TM(e){var t=wM();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 PM(this,o)}}var $M=function(e){mM(r,e);var t=TM(r);function r(n){OM(this,r);var o;return o=t.call(this,n),o.props=new co(n==null?void 0:n.props),o}return gM(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ce),tg={Designer:Xt,Runtime:$M,Property:co};function SM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function rg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ss(e,t)}function og(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){EM(e,o,r[o])})}return e}function IM(e,t){return t&&(NM(t)==="object"||typeof t=="function")?t:SM(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var NM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ig(e){var t=CM();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 IM(this,o)}}var BM=function(e){rg(r,e);var t=ig(r);function r(n){ng(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:og({},io())},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:og({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},io())},o}return r}(L),so=function(e){rg(r,e);var t=ig(r);function r(n){ng(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:Qt.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Qt.controlIcon,o.fillPayload=new qn(n==null?void 0:n.fillPayload),o.listPageBind=new Ta(n==null?void 0:n.listPageBind),o.fillBack=new Ia(n==null?void 0:n.fillBack),o}return r}(ee);so.Rules=BM;function kM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 AM(e,t,r){return t&&ug(e.prototype,t),r&&ug(e,r),e}function yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yo(e)}function MM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ys(e,t)}function DM(e,t){return t&&(LM(t)==="object"||typeof t=="function")?t:kM(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(e,t)}var LM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zM(e){var t=FM();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 DM(this,o)}}var Qt=function(e){MM(r,e);var t=zM(r);function r(n){jM(this,r);var o;return o=t.call(this,n),o.props=new so(n==null?void 0:n.props),o}return AM(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}(te);Qt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];function xM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 GM(e,t,r){return t&&cg(e.prototype,t),r&&cg(e,r),e}function vo(e){return vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vo(e)}function VM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function HM(e,t){return t&&(qM(t)==="object"||typeof t=="function")?t:xM(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}var qM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WM(e){var t=UM();return function(){var n=vo(e),o;if(t){var u=vo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return HM(this,o)}}var KM=function(e){VM(r,e);var t=WM(r);function r(n){YM(this,r);var o;return o=t.call(this,n),o.props=new so(n==null?void 0:n.props),o}return GM(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ce),fg={Designer:Qt,Runtime:KM,Property:so};function XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ds(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(e)}function hs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function QM(e,t){return t&&(JM(t)==="object"||typeof t=="function")?t:XM(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}var JM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ps(e){var t=ZM();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 QM(this,o)}}var e2=function(e){hs(r,e);var t=ps(r);function r(n){return ds(this,r),t.call(this,n)}return r}(L),t2=function(e){hs(r,e);var t=ps(r);function r(n){return ds(this,r),t.call(this,n)}return r}(me),Jt=function(e){hs(r,e);var t=ps(r);function r(n){return ds(this,r),t.call(this,n)}return r}(F);Jt.Rules=e2,Jt.RuntimeRules=t2;function n2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ag(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o2(e,t,r){return t&&ag(e.prototype,t),r&&ag(e,r),e}function _o(e){return _o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_o(e)}function i2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bs(e,t)}function u2(e,t){return t&&(c2(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 c2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a2(e){var t=f2();return function(){var n=_o(e),o;if(t){var u=_o(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return u2(this,o)}}var lg=function(e){i2(r,e);var t=a2(r);function r(n){r2(this,r);var o;return o=t.call(this,n),o.props=new Jt(n==null?void 0:n.props),o}return o2(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(B);lg.setting=[];function l2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 y2(e,t,r){return t&&sg(e.prototype,t),r&&sg(e,r),e}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(e)}function v2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 d2(e,t){return t&&(h2(t)==="object"||typeof t=="function")?t:l2(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var h2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p2(e){var t=_2();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 d2(this,o)}}var b2=function(e){v2(r,e);var t=p2(r);function r(n){s2(this,r);var o;return o=t.call(this,n),o.props=new Jt(n==null?void 0:n.props),o}return y2(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(Y),yg={Designer:lg,Runtime:b2,Property:Jt};function O2(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 bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bo(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&&gs(e,t)}function g2(e,t){return t&&(m2(t)==="object"||typeof t=="function")?t:O2(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(e,t)}var m2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hg(e){var t=P2();return function(){var n=bo(e),o;if(t){var u=bo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return g2(this,o)}}var R2=function(e){dg(r,e);var t=hg(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}(L),Oo=function(e){dg(r,e);var t=hg(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}(F);Oo.Rules=R2;function w2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T2(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 $2(e,t,r){return t&&_g(e.prototype,t),r&&_g(e,r),e}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},go(e)}function S2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function E2(e,t){return t&&(I2(t)==="object"||typeof t=="function")?t:w2(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}var I2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C2(e){var t=N2();return function(){var n=go(e),o;if(t){var u=go(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return E2(this,o)}}var pg=function(e){S2(r,e);var t=C2(r);function r(n){T2(this,r);var o;return o=t.call(this,n),o.props=new Oo(n==null?void 0:n.props),o}return $2(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);pg.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];function B2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j2(e,t,r){return t&&bg(e.prototype,t),r&&bg(e,r),e}function mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mo(e)}function A2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function M2(e,t){return t&&(D2(t)==="object"||typeof t=="function")?t:B2(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(e,t)}var D2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F2(e){var t=L2();return function(){var n=mo(e),o;if(t){var u=mo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return M2(this,o)}}var z2=function(e){A2(r,e);var t=F2(r);function r(n){k2(this,r);var o;return o=t.call(this,n),o.props=new Oo(n==null?void 0:n.props),o}return j2(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(Y),Og={Designer:pg,Runtime:z2,Property:Oo};function x2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Po(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&&Rs(e,t)}function Y2(e,t){return t&&(G2(t)==="object"||typeof t=="function")?t:x2(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(e,t)}var G2=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 Pg(e){var t=V2();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 Y2(this,o)}}var H2=function(e){mg(r,e);var t=Pg(r);function r(n){gg(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}(L),Ro=function(e){mg(r,e);var t=Pg(r);function r(n){gg(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 sb(l)}))!==null&&a!==void 0?a:[],o}return r}(F);Ro.Rules=H2;function q2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W2(e,t,r){return t&&Rg(e.prototype,t),r&&Rg(e,r),e}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(e)}function K2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function X2(e,t){return t&&(Q2(t)==="object"||typeof t=="function")?t:q2(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ws(e,t)}var Q2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z2(e){var t=J2();return function(){var n=wo(e),o;if(t){var u=wo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return X2(this,o)}}var wg=function(e){K2(r,e);var t=Z2(r);function r(n){U2(this,r);var o;return o=t.call(this,n),o.props=new Ro(n==null?void 0:n.props),o}return W2(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);wg.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function eD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nD(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),e}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function rD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ts(e,t)}function oD(e,t){return t&&(iD(t)==="object"||typeof t=="function")?t:eD(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(e,t)}var iD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cD(e){var t=uD();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 oD(this,o)}}var fD=function(e){rD(r,e);var t=cD(r);function r(n){tD(this,r);var o;return o=t.call(this,n),o.props=new Ro(n==null?void 0:n.props),o}return nD(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(Y),$g={Designer:wg,Runtime:fD,Property:Ro};function aD(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 $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(e)}function Eg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$s(e,t)}function lD(e,t){return t&&(sD(t)==="object"||typeof t=="function")?t:aD(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$s(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 Ig(e){var t=yD();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 lD(this,o)}}var vD=function(e){Eg(r,e);var t=Ig(r);function r(n){Sg(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}(L),So=function(e){Eg(r,e);var t=Ig(r);function r(n){Sg(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:ft.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:ft.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:ft.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 ne(b)}))!==null&&O!==void 0?O:[],o}return r}(ee);So.Rules=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 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 _D(e,t,r){return t&&Ng(e.prototype,t),r&&Ng(e,r),e}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(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&&Ss(e,t)}function bD(e,t){return t&&(OD(t)==="object"||typeof t=="function")?t:dD(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(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=Eo(e),o;if(t){var u=Eo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bD(this,o)}}var ft=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 So(n==null?void 0:n.props),o}return _D(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}(te);ft.controlEventKeys=["on_click","on_click_finish"],ft.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 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 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 wD(e,t,r){return t&&Cg(e.prototype,t),r&&Cg(e,r),e}function Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Io(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&&Es(e,t)}function $D(e,t){return t&&(SD(t)==="object"||typeof t=="function")?t:PD(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Es(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=Io(e),o;if(t){var u=Io(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $D(this,o)}}var ND=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 So(n==null?void 0:n.props),o}return wD(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ce),Bg={Designer:ft,Runtime:ND,Property:So};function CD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(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&&Is(e,t)}function BD(e,t){return t&&(kD(t)==="object"||typeof t=="function")?t:CD(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Is(e,t)}var kD=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 Ag(e){var t=jD();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 BD(this,o)}}var AD=function(e){jg(r,e);var t=Ag(r);function r(n){kg(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}(L),Co=function(e){jg(r,e);var t=Ag(r);function r(n){kg(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:at.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:at.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:at.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 ne(b)}))!==null&&O!==void 0?O:[],o}return r}(ee);Co.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 Mg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LD(e,t,r){return t&&Mg(e.prototype,t),r&&Mg(e,r),e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(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&&Ns(e,t)}function zD(e,t){return t&&(xD(t)==="object"||typeof t=="function")?t:MD(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(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=Bo(e),o;if(t){var u=Bo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zD(this,o)}}var at=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 Co(n==null?void 0:n.props),o}return LD(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}(te);at.controlEventKeys=["on_click","on_click_finish"],at.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 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 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 qD(e,t,r){return t&&Dg(e.prototype,t),r&&Dg(e,r),e}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(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&&Cs(e,t)}function WD(e,t){return t&&(KD(t)==="object"||typeof t=="function")?t:VD(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(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=ko(e),o;if(t){var u=ko(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 Co(n==null?void 0:n.props),o}return qD(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ce),Lg={Designer:at,Runtime:JD,Property:Co};function ZD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jo(e)}function zg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function eL(e,t){return t&&(tL(t)==="object"||typeof t=="function")?t:ZD(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(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 xg(e){var t=nL();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 eL(this,o)}}var rL=function(e){zg(r,e);var t=xg(r);function r(){Fg(this,r);var n;return n=t.apply(this,arguments),n.printTemplates={type:"array",min:1,required:!0,message:_.getMessage("pleaseUploadAtLeastOnePrintTemplate")},n}return r}(L),Ao=function(e){zg(r,e);var t=xg(r);function r(n){Fg(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:Zt.controlIcon;var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:Zt.controlName;var l;o.printTemplates=(l=n==null||(u=n.printTemplates)===null||u===void 0?void 0:u.map(function(y){return new yO(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}(ee);Ao.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 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 uL(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(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=Mo(e),o;if(t){var u=Mo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return fL(this,o)}}var Zt=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 Ao(n==null?void 0:n.props),o}return uL(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}(te);Zt.controlEventKeys=["on_click","on_click_finish"],Zt.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 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 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 dL(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(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&&js(e,t)}function _L(e,t){return t&&(pL(t)==="object"||typeof t=="function")?t:yL(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(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=Do(e),o;if(t){var u=Do(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 Ao(n==null?void 0:n.props),o}return dL(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ce),Vg={Designer:Zt,Runtime:gL,Property:Ao};function mL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(e)}function RL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function wL(e,t){return t&&(TL(t)==="object"||typeof t=="function")?t:mL(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}var TL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $L(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$L();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 wL(this,o)}}var Ms=function(e){RL(r,e);var t=SL(r);function r(n){PL(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}(ee);function EL(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 Hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NL(e,t,r){return t&&Hg(e.prototype,t),r&&Hg(e,r),e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(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&&Ds(e,t)}function BL(e,t){return t&&(kL(t)==="object"||typeof t=="function")?t:EL(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var kL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AL(e){var t=jL();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 BL(this,o)}}var en=function(e){CL(r,e);var t=AL(r);function r(n){IL(this,r);var o;return o=t.call(this,n),o.props=new Ms(n==null?void 0:n.props),o}return NL(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}(te);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 ML(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LL(e,t,r){return t&&qg(e.prototype,t),r&&qg(e,r),e}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zo(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&&Ls(e,t)}function zL(e,t){return t&&(xL(t)==="object"||typeof t=="function")?t:ML(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}var xL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GL(e){var t=YL();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 zL(this,o)}}var VL=function(e){FL(r,e);var t=GL(r);function r(n){DL(this,r);var o;return o=t.call(this,n),o.props=new Ms(n==null?void 0:n.props),o}return LL(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ce),Ug={Designer:en,Runtime:VL,Property:Ms};function HL(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 xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(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&&Fs(e,t)}function qL(e,t){return t&&(UL(t)==="object"||typeof t=="function")?t:HL(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}var UL=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 Xg(e){var t=WL();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 qL(this,o)}}var KL=function(e){Kg(r,e);var t=Xg(r);function r(n){Wg(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}(L),Yo=function(e){Kg(r,e);var t=Xg(r);function r(n){Wg(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}(F);Yo.Rules=KL;function XL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JL(e,t,r){return t&&Qg(e.prototype,t),r&&Qg(e,r),e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function ZL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zs(e,t)}function eF(e,t){return t&&(tF(t)==="object"||typeof t=="function")?t:XL(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zs(e,t)}var tF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=nF();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 eF(this,o)}}var Vo=function(e){ZL(r,e);var t=rF(r);function r(n){QL(this,r);var o;return o=t.call(this,n),o.props=new Yo(n==null?void 0:n.props),o}return JL(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);Vo.controlEventKeys=["on_click"],Vo.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];function oF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uF(e,t,r){return t&&Jg(e.prototype,t),r&&Jg(e,r),e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(e)}function cF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fF(e,t){return t&&(aF(t)==="object"||typeof t=="function")?t:oF(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(e,t)}var aF=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 sF(e){var t=lF();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 fF(this,o)}}var yF=function(e){cF(r,e);var t=sF(r);function r(n){iF(this,r);var o;return o=t.call(this,n),o.props=new Yo(n==null?void 0:n.props),o}return uF(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Y),tn={Designer:Vo,Runtime:yF,Property:Yo};function vF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function hF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ys(e,t)}function _F(e,t){return t&&(pF(t)==="object"||typeof t=="function")?t:vF(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}var pF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OF(e){var t=bF();return function(){var n=qo(e),o;if(t){var u=qo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _F(this,o)}}var Gs=function(e){hF(r,e);var t=OF(r);function r(n){dF(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;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:nn.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}(F);function gF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PF(e,t,r){return t&&Zg(e.prototype,t),r&&Zg(e,r),e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(e)}function RF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vs(e,t)}function wF(e,t){return t&&(TF(t)==="object"||typeof t=="function")?t:gF(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}var TF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SF(e){var t=$F();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 wF(this,o)}}var nn=function(e){RF(r,e);var t=SF(r);function r(n){mF(this,r);var o;return o=t.call(this,n),o.props=new Gs(n==null?void 0:n.props),o}return PF(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);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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];function EF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IF(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 NF(e,t,r){return t&&em(e.prototype,t),r&&em(e,r),e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(e)}function CF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BF(e,t){return t&&(kF(t)==="object"||typeof t=="function")?t:EF(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}var kF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AF(e){var t=jF();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 BF(this,o)}}var MF=function(e){CF(r,e);var t=AF(r);function r(n){IF(this,r);var o;return o=t.call(this,n),o.props=new Gs(n==null?void 0:n.props),o}return NF(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(Y),tm={Designer:nn,Runtime:MF,Property:Gs},DF=Object.freeze({__proto__:null,Text:nO,Link:iO,Button:fO,Divider:pO,Title:RO,CreateFormListButton:IO,BatchSubmissionListButton:AO,SubmissionRecordListButton:LO,ExportListButton:xO,ExportRecordListButton:VO,ImportRecordListButton:WO,FormSelectButton:tg,ListSelectButton:fg,Pagination:yg,Dashboard:Og,ListViewSelect:$g,TextOcrButton:Bg,InvoiceCheckButton:Lg,BatchPrintListButton:Vg,BatchPrintRecordListButton:Ug,OperationButton:tn,BatchDeleteButton:tm});function LF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function Us(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function FF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:LF(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}var zF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ks(e){var t=xF();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 FF(this,o)}}var YF=function(e){Us(r,e);var t=Ks(r);function r(n){qs(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=Gt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Q),GF=function(e){Us(r,e);var t=Ks(r);function r(n){qs(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:Gt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(j),lt=function(e){Us(r,e);var t=Ks(r);function r(n){qs(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 Na(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:st.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);lt.Rules=YF,lt.RuntimeRules=GF;function VF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qF(e,t,r){return t&&nm(e.prototype,t),r&&nm(e,r),e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(e)}function UF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function WF(e,t){return t&&(KF(t)==="object"||typeof t=="function")?t:VF(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}var KF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QF(e){var t=XF();return function(){var n=Xo(e),o;if(t){var u=Xo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return WF(this,o)}}var st=function(e){UF(r,e);var t=QF(r);function r(n){HF(this,r);var o;return o=t.call(this,n),o.props=new lt(n==null?void 0:n.props),o}return qF(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}(N);st.controlEventKeys=["on_change","on_input","on_focus","on_blur"],st.controlFieldType=c.FieldTypes.VARCHAR,st.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];function JF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZF(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 e4(e,t,r){return t&&rm(e.prototype,t),r&&rm(e,r),e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function t4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function n4(e,t){return t&&(r4(t)==="object"||typeof t=="function")?t:JF(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}var r4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i4(e){var t=o4();return function(){var n=Qo(e),o;if(t){var u=Qo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return n4(this,o)}}var om=function(e){t4(r,e);var t=i4(r);function r(n){ZF(this,r);var o;return o=t.call(this,n),o.props=new lt(n==null?void 0:n.props),o}return e4(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(C);om.controlFieldType=c.FieldTypes.VARCHAR;var im={Designer:st,Runtime:om,Property:lt};function u4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Js(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(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&&ey(e,t)}function c4(e,t){return t&&(f4(t)==="object"||typeof t=="function")?t:u4(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}var f4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ty(e){var t=a4();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 c4(this,o)}}var l4=function(e){Zs(r,e);var t=ty(r);function r(n){Js(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}(je),s4=function(e){Zs(r,e);var t=ty(r);function r(n){Js(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),rn=function(e){Zs(r,e);var t=ty(r);function r(n){Js(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 V(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:on.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(m){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new ne(m))})),o}return r}(I);rn.Rules=l4,rn.RuntimeRules=s4;function y4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function um(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d4(e,t,r){return t&&um(e.prototype,t),r&&um(e,r),e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function h4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function _4(e,t){return t&&(p4(t)==="object"||typeof t=="function")?t:y4(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var p4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O4(e){var t=b4();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 _4(this,o)}}var on=function(e){h4(r,e);var t=O4(r);function r(n){v4(this,r);var o;return o=t.call(this,n),o.props=new rn(n==null?void 0:n.props),o}return d4(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(N);on.controlEventKeys=["on_change","on_click"],on.controlFieldType=c.FieldTypes.ARRAY,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:"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 g4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P4(e,t,r){return t&&cm(e.prototype,t),r&&cm(e,r),e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(e)}function R4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 w4(e,t){return t&&(T4(t)==="object"||typeof t=="function")?t:g4(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var T4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S4(e){var t=$4();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 w4(this,o)}}var fm=function(e){R4(r,e);var t=S4(r);function r(n){m4(this,r);var o;return o=t.call(this,n),o.props=new rn(n==null?void 0:n.props),o}return P4(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(C);fm.controlFieldType=c.FieldTypes.ARRAY;var am={Designer:on,Runtime:fm,Property:rn};function E4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(e)}function 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&&oy(e,t)}function I4(e,t){return t&&(N4(t)==="object"||typeof t=="function")?t:E4(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}var N4=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 ym(e){var t=C4();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 I4(this,o)}}var B4=function(e){sm(r,e);var t=ym(r);function r(n){return lm(this,r),t.call(this,n)}return r}(je),ni=function(e){sm(r,e);var t=ym(r);function r(n){lm(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 V(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:un.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 ne(g))})),o}return r}(I);ni.Rules=B4;function k4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 A4(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function M4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D4(e,t){return t&&(L4(t)==="object"||typeof t=="function")?t:k4(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}var L4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z4(e){var t=F4();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 D4(this,o)}}var un=function(e){M4(r,e);var t=z4(r);function r(n){j4(this,r);var o;return o=t.call(this,n),o.props=new ni(n==null?void 0:n.props),o}return A4(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(N);un.controlEventKeys=["on_change","on_click"],un.controlFieldType=c.FieldTypes.VARCHAR,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 x4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 G4(e,t,r){return t&&dm(e.prototype,t),r&&dm(e,r),e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(e)}function V4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function H4(e,t){return t&&(q4(t)==="object"||typeof t=="function")?t:x4(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}var q4=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 W4(e){var t=U4();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 H4(this,o)}}var hm=function(e){V4(r,e);var t=W4(r);function r(n){Y4(this,r);var o;return o=t.call(this,n),o.props=new ni(n==null?void 0:n.props),o}return G4(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(C);hm.controlFieldType=c.FieldTypes.VARCHAR;var _m={Designer:un,Runtime:hm,Property:ni};function K4(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 ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(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&&ay(e,t)}function X4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:K4(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}var Q4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ly(e){var t=J4();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 X4(this,o)}}var Z4=function(e){fy(r,e);var t=ly(r);function r(n){cy(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=Gt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Q),e5=function(e){fy(r,e);var t=ly(r);function r(n){cy(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:Gt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(j),cn=function(e){fy(r,e);var t=ly(r);function r(n){cy(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:fn.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 Na(n==null?void 0:n.regularRules),o}return r}(I);cn.Rules=Z4,cn.RuntimeRules=e5;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 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 r5(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function ui(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ui=Reflect.get:ui=function(o,u,f){var a=u5(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},ui(e,t,r||e)}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(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&&sy(e,t)}function i5(e,t){return t&&(c5(t)==="object"||typeof t=="function")?t:t5(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}function u5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yt(e),e!==null););return e}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=yt(e),o;if(t){var u=yt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return i5(this,o)}}var fn=function(e){o5(r,e);var t=a5(r);function r(n){n5(this,r);var o;return o=t.call(this,n),o.props=new cn(n==null?void 0:n.props),o}return r5(r,[{key:"toDataBindModel",value:function(o){var u=ui(yt(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}(N);fn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fn.controlFieldType=c.FieldTypes.DECIMAL,fn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 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 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 y5(e,t,r){return t&&bm(e.prototype,t),r&&bm(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&&yy(e,t)}function d5(e,t){return t&&(h5(t)==="object"||typeof t=="function")?t:l5(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(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 Om=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 cn(n==null?void 0:n.props),o}return y5(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(C);Om.controlFieldType=c.FieldTypes.DECIMAL;var gm={Designer:fn,Runtime:Om,Property:cn};function b5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(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&&vy(e,t)}function m5(e,t){return t&&(P5(t)==="object"||typeof t=="function")?t:b5(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(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=fi(e),o;if(t){var u=fi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return m5(this,o)}}var dy=function(e){g5(r,e);var t=w5(r);function r(n){O5(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.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:li.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165\u65E5\u671F";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var v;o.limitDateList=(v=n==null||(u=n.limitDateList)===null||u===void 0?void 0:u.map(function(O){return new Nr(O)}))!==null&&v!==void 0?v:[];var d;o.allowDateRange=(d=n==null?void 0:n.allowDateRange)!==null&&d!==void 0?d:["",""];var p;return o.filterWeekend=(p=n==null?void 0:n.filterWeekend)!==null&&p!==void 0?p:!1,o}return r}(I);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 mm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S5(e,t,r){return t&&mm(e.prototype,t),r&&mm(e,r),e}function ai(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ai=Reflect.get:ai=function(o,u,f){var a=N5(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},ai(e,t,r||e)}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(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&&hy(e,t)}function I5(e,t){return t&&(C5(t)==="object"||typeof t=="function")?t:T5(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}function N5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vt(e),e!==null););return e}var C5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=B5();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 I5(this,o)}}var li=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 dy(n==null?void 0:n.props),o}return S5(r,[{key:"toDataBindModel",value:function(o){var u=ai(vt(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}(N);li.controlFieldType=c.FieldTypes.TIMESTAMP,li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function j5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A5(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 M5(e,t,r){return t&&Pm(e.prototype,t),r&&Pm(e,r),e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(e)}function D5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 L5(e,t){return t&&(F5(t)==="object"||typeof t=="function")?t:j5(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}var F5=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 x5(e){var t=z5();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 L5(this,o)}}var Rm=function(e){D5(r,e);var t=x5(r);function r(n){A5(this,r);var o;return o=t.call(this,n),o.props=new dy(n==null?void 0:n.props),o}return M5(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(C);Rm.controlFieldType=c.FieldTypes.TIMESTAMP;var wm={Designer:li,Runtime:Rm,Property:dy};function Y5(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 yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(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&&py(e,t)}function G5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:Y5(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(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 Sm(e){var t=H5();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 G5(this,o)}}var q5=function(e){$m(r,e);var t=Sm(r);function r(n){Tm(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),vi=function(e){$m(r,e);var t=Sm(r);function r(n){Tm(this,r);var o,u;o=t.call(this,n),o.dataBind=new ub(n==null?void 0:n.dataBind),o.defaultValue=new cb(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.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var s;o.rangeMax=(s=n==null?void 0:n.rangeMax)!==null&&s!==void 0?s:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var v;o.placeholderEnd=(v=n==null?void 0:n.placeholderEnd)!==null&&v!==void 0?v:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:hi.controlName;var p;return o.limitDateList=(p=n==null||(u=n.limitDateList)===null||u===void 0?void 0:u.map(function(O){return new Nr(O)}))!==null&&p!==void 0?p:[],o}return r}(I);vi.RuntimeRules=q5;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 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 K5(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function di(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?di=Reflect.get:di=function(o,u,f){var a=J5(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},di(e,t,r||e)}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(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&&by(e,t)}function Q5(e,t){return t&&(Z5(t)==="object"||typeof t=="function")?t:U5(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}function J5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dt(e),e!==null););return e}var Z5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t6(e){var t=e6();return function(){var n=dt(e),o;if(t){var u=dt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Q5(this,o)}}var hi=function(e){X5(r,e);var t=t6(r);function r(n){W5(this,r);var o;return o=t.call(this,n),o.props=new vi(n==null?void 0:n.props),o}return K5(r,[{key:"toDataBindModel",value:function(o){var u=di(dt(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}(N);hi.controlFieldType=c.FieldTypes.TIMESCOPE,hi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function n6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 o6(e,t,r){return t&&Im(e.prototype,t),r&&Im(e,r),e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function i6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function u6(e,t){return t&&(c6(t)==="object"||typeof t=="function")?t:n6(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var c6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a6(e){var t=f6();return function(){var n=_i(e),o;if(t){var u=_i(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return u6(this,o)}}var Nm=function(e){i6(r,e);var t=a6(r);function r(n){r6(this,r);var o;return o=t.call(this,n),o.props=new vi(n==null?void 0:n.props),o}return o6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(C);Nm.controlFieldType=c.FieldTypes.TIMESCOPE;var Cm={Designer:hi,Runtime:Nm,Property:vi};function l6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function my(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function s6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:l6(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}var y6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ry(e){var t=v6();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 s6(this,o)}}var d6=function(e){my(r,e);var t=Ry(r);function r(n){gy(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}(Q),h6=function(e){my(r,e);var t=Ry(r);function r(n){gy(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),an=function(e){my(r,e);var t=Ry(r);function r(n){gy(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:ln.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);an.Rules=d6,an.RuntimeRules=h6;function _6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b6(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(e,r),e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function O6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function g6(e,t){return t&&(m6(t)==="object"||typeof t=="function")?t:_6(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}var m6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R6(e){var t=P6();return function(){var n=bi(e),o;if(t){var u=bi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return g6(this,o)}}var ln=function(e){O6(r,e);var t=R6(r);function r(n){p6(this,r);var o;return o=t.call(this,n),o.props=new an(n==null?void 0:n.props),o}return b6(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}(N);ln.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ln.controlFieldType=c.FieldTypes.TEXT,ln.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];function w6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $6(e,t,r){return t&&km(e.prototype,t),r&&km(e,r),e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function S6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function E6(e,t){return t&&(I6(t)==="object"||typeof t=="function")?t:w6(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}var I6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C6(e){var t=N6();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 E6(this,o)}}var jm=function(e){S6(r,e);var t=C6(r);function r(n){T6(this,r);var o;return o=t.call(this,n),o.props=new an(n==null?void 0:n.props),o}return $6(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(C);jm.controlFieldType=c.FieldTypes.TEXT;var Am={Designer:ln,Runtime:jm,Property:an};function B6(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 gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function Sy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function k6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:B6(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(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 Iy(e){var t=A6();return function(){var n=gi(e),o;if(t){var u=gi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return k6(this,o)}}var M6=function(e){Sy(r,e);var t=Iy(r);function r(n){$y(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}(Q),D6=function(e){Sy(r,e);var t=Iy(r);function r(n){$y(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),sn=function(e){Sy(r,e);var t=Iy(r);function r(n){$y(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:yn.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);sn.Rules=M6,sn.RuntimeRules=D6;function L6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z6(e,t,r){return t&&Mm(e.prototype,t),r&&Mm(e,r),e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function x6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function Y6(e,t){return t&&(G6(t)==="object"||typeof t=="function")?t:L6(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}var G6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H6(e){var t=V6();return function(){var n=mi(e),o;if(t){var u=mi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Y6(this,o)}}var yn=function(e){x6(r,e);var t=H6(r);function r(n){F6(this,r);var o;return o=t.call(this,n),o.props=new sn(n==null?void 0:n.props),o}return z6(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}(N);yn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],yn.controlFieldType=c.FieldTypes.TEXT,yn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 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 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 W6(e,t,r){return t&&Dm(e.prototype,t),r&&Dm(e,r),e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(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&&Cy(e,t)}function X6(e,t){return t&&(Q6(t)==="object"||typeof t=="function")?t:q6(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(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=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 Lm=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 sn(n==null?void 0:n.props),o}return W6(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(C);Lm.controlFieldType=c.FieldTypes.TEXT;var Fm={Designer:yn,Runtime:Lm,Property:sn};function e7(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 Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function xm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function t7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:e7(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(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 Ym(e){var t=r7();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 t7(this,o)}}var o7=function(e){xm(r,e);var t=Ym(r);function r(n){return zm(this,r),t.call(this,n)}return r}(je),wi=function(e){xm(r,e);var t=Ym(r);function r(n){zm(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 V(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:$i.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 ne(p))})),o}return r}(I);wi.Rules=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 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 c7(e,t,r){return t&&Gm(e.prototype,t),r&&Gm(e,r),e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(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&&ky(e,t)}function a7(e,t){return t&&(l7(t)==="object"||typeof t=="function")?t:i7(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}var l7=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 y7(e){var t=s7();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 a7(this,o)}}var $i=function(e){f7(r,e);var t=y7(r);function r(n){u7(this,r);var o;return o=t.call(this,n),o.props=new wi(n==null?void 0:n.props),o}return c7(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(N);$i.controlFieldType=c.FieldTypes.VARCHAR,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];function v7(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 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 h7(e,t,r){return t&&Vm(e.prototype,t),r&&Vm(e,r),e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function _7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jy(e,t)}function p7(e,t){return t&&(b7(t)==="object"||typeof t=="function")?t:v7(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}var b7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=O7();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 p7(this,o)}}var Hm=function(e){_7(r,e);var t=g7(r);function r(n){d7(this,r);var o;return o=t.call(this,n),o.props=new wi(n==null?void 0:n.props),o}return h7(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(C);Hm.controlFieldType=c.FieldTypes.VARCHAR;var qm={Designer:$i,Runtime:Hm,Property:wi};function m7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ay(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function My(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function P7(e,t){return t&&(R7(t)==="object"||typeof t=="function")?t:m7(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}var R7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ly(e){var t=w7();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 P7(this,o)}}var T7=function(e){My(r,e);var t=Ly(r);function r(n){return Ay(this,r),t.call(this,n)}return r}(je),$7=function(e){My(r,e);var t=Ly(r);function r(n){Ay(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),vn=function(e){My(r,e);var t=Ly(r);function r(n){Ay(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 V(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Ni.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 ne(d))})),o}return r}(I);vn.Rules=T7,vn.RuntimeRules=$7;function S7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I7(e,t,r){return t&&Um(e.prototype,t),r&&Um(e,r),e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(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&&Fy(e,t)}function C7(e,t){return t&&(B7(t)==="object"||typeof t=="function")?t:S7(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}var B7=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 j7(e){var t=k7();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 C7(this,o)}}var Ni=function(e){N7(r,e);var t=j7(r);function r(n){E7(this,r);var o;return o=t.call(this,n),o.props=new vn(n==null?void 0:n.props),o}return I7(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}(N);Ni.controlFieldType=c.FieldTypes.ARRAY,Ni.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 A7(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 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 D7(e,t,r){return t&&Wm(e.prototype,t),r&&Wm(e,r),e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function 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&&zy(e,t)}function F7(e,t){return t&&(z7(t)==="object"||typeof t=="function")?t:A7(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}var z7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y7(e){var t=x7();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 F7(this,o)}}var Km=function(e){L7(r,e);var t=Y7(r);function r(n){M7(this,r);var o;return o=t.call(this,n),o.props=new vn(n==null?void 0:n.props),o}return D7(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(C);Km.controlFieldType=c.FieldTypes.ARRAY;var Xm={Designer:Ni,Runtime:Km,Property:vn};function G7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function Jm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function V7(e,t){return t&&(H7(t)==="object"||typeof t=="function")?t:G7(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}var H7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zm(e){var t=q7();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 V7(this,o)}}var U7=function(e){Jm(r,e);var t=Zm(r);function r(n){Qm(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),ki=function(e){Jm(r,e);var t=Zm(r);function r(n){Qm(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:Ai.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 ne(O))})),o}return r}(I);ki.RuntimeRules=U7;function W7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X7(e,t,r){return t&&e0(e.prototype,t),r&&e0(e,r),e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function 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&&Yy(e,t)}function J7(e,t){return t&&(Z7(t)==="object"||typeof t=="function")?t:W7(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}var Z7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t8(e){var t=e8();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 J7(this,o)}}var Ai=function(e){Q7(r,e);var t=t8(r);function r(n){K7(this,r);var o;return o=t.call(this,n),o.props=new ki(n==null?void 0:n.props),o}return X7(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(N);Ai.controlFieldType=c.FieldTypes.EMPLOYEES,Ai.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 n8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r8(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 o8(e,t,r){return t&&t0(e.prototype,t),r&&t0(e,r),e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function i8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u8(e,t){return t&&(c8(t)==="object"||typeof t=="function")?t:n8(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(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 a8(e){var t=f8();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 u8(this,o)}}var n0=function(e){i8(r,e);var t=a8(r);function r(n){r8(this,r);var o;return o=t.call(this,n),o.props=new ki(n==null?void 0:n.props),o}return o8(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(C);n0.controlFieldType=c.FieldTypes.EMPLOYEES;var r0={Designer:Ai,Runtime:n0,Property:ki};function l8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function Hy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function s8(e,t){return t&&(y8(t)==="object"||typeof t=="function")?t:l8(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}var y8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uy(e){var t=v8();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 s8(this,o)}}var d8=10485760,h8=104857600,_8=1048576e3,p8=function(e){Hy(r,e);var t=Uy(r);function r(n){Vy(this,r);var o;return o=t.call(this,n),o.maxSize={type:"number",min:0,max:_8,message:_.getMessage("attachmentMaxSize")},o}return r}(Q),b8=function(e){Hy(r,e);var t=Uy(r);function r(n){Vy(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),ht=function(e){Hy(r,e);var t=Uy(r);function r(n){Vy(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:h8;var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:_t.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);ht.Rules=p8,ht.RuntimeRules=b8;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 o0(e,t){for(var r=0;r<t.length;r++){var 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&&o0(e.prototype,t),r&&o0(e,r),e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(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&&Wy(e,t)}function R8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:O8(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(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=Li(e),o;if(t){var u=Li(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return R8(this,o)}}var _t=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 ht(n==null?void 0:n.props),o}return m8(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(N);_t.controlEventKeys=["on_change"],_t.controlFieldType=c.FieldTypes.FILE,_t.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];function S8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 I8(e,t,r){return t&&i0(e.prototype,t),r&&i0(e,r),e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function N8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ky(e,t)}function C8(e,t){return t&&(B8(t)==="object"||typeof t=="function")?t:S8(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}var B8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j8(e){var t=k8();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 C8(this,o)}}var Xy=function(e){N8(r,e);var t=j8(r);function r(n){E8(this,r);var o;return o=t.call(this,n),o.props=new ht(n==null?void 0:n.props),o}return I8(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(C);Xy.controlFieldType=c.FieldTypes.FILE;var u0={Designer:_t,Runtime:Xy,Property:ht};function A8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D8(e,t,r){return t&&c0(e.prototype,t),r&&c0(e,r),e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function L8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function F8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:A8(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}var z8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y8(e){var t=x8();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 F8(this,o)}}var Jy=function(e){L8(r,e);var t=Y8(r);function r(n){M8(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 D8(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(_t);Jy.controlFieldType=c.FieldTypes.IMAGE,Jy.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 G8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 H8(e,t,r){return t&&f0(e.prototype,t),r&&f0(e,r),e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function q8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function U8(e,t){return t&&(W8(t)==="object"||typeof t=="function")?t:G8(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var W8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X8(e){var t=K8();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 U8(this,o)}}var Q8=function(e){q8(r,e);var t=X8(r);function r(n){V8(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 H8(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Xy);function J8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function e9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t9(e,t){return t&&(n9(t)==="object"||typeof t=="function")?t:J8(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}var n9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o9(e){var t=r9();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 t9(this,o)}}var i9=function(e){e9(r,e);var t=o9(r);function r(n){return Z8(this,r),t.call(this,n)}return r}(ht),a0={Designer:Jy,Runtime:Q8,Property:i9};function u9(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 c9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function nv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function f9(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){c9(e,o,r[o])})}return e}function a9(e,t){return t&&(l9(t)==="object"||typeof t=="function")?t:u9(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}var l9=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 ov(e){var t=s9();return function(){var n=Gi(e),o;if(t){var u=Gi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return a9(this,o)}}var y9=function(e){nv(r,e);var t=ov(r);function r(n){tv(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}(je),v9=function(e){nv(r,e);var t=ov(r);function r(n){tv(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:[f9({},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),dn=function(e){nv(r,e);var t=ov(r);function r(n){tv(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 ob(n==null?void 0:n.dataBind);var y;o.datasourceBind=new V((y=n==null?void 0:n.datasourceBind)!==null&&y!==void 0?y:{displayBoList:[new Hn({value:"name"})]});var v;o.defaultValue=new ib((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:hn.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);dn.Rules=y9,dn.RuntimeRules=v9;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 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 _9(e,t,r){return t&&l0(e.prototype,t),r&&l0(e,r),e}function Vi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vi=Reflect.get:Vi=function(o,u,f){var a=O9(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Vi(e,t,r||e)}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(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&&iv(e,t)}function b9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:d9(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function O9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pt(e),e!==null););return e}var g9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P9(e){var t=m9();return function(){var n=pt(e),o;if(t){var u=pt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return b9(this,o)}}var hn=function(e){p9(r,e);var t=P9(r);function r(n){h9(this,r);var o;return o=t.call(this,n),o.props=new dn(n==null?void 0:n.props),o}return _9(r,[{key:"toDataBindModel",value:function(o){var u=Vi(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}(N);hn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hn.controlFieldType=c.FieldTypes.MONEY,hn.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 R9(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 s0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T9(e,t,r){return t&&s0(e.prototype,t),r&&s0(e,r),e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function $9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function S9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:R9(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}var E9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N9(e){var t=I9();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 S9(this,o)}}var y0=function(e){$9(r,e);var t=N9(r);function r(n){w9(this,r);var o;return o=t.call(this,n),o.props=new dn(n==null?void 0:n.props),o}return T9(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(C);y0.controlFieldType=c.FieldTypes.MONEY;var v0={Designer:hn,Runtime:y0,Property:dn};function C9(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 qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(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&&av(e,t)}function B9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:C9(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}var k9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lv(e){var t=j9();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 A9=function(e){fv(r,e);var t=lv(r);function r(n){cv(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}(Q),M9=function(e){fv(r,e);var t=lv(r);function r(n){cv(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),_n=function(e){fv(r,e);var t=lv(r);function r(n){cv(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 Cr(d)}))!==null&&s!==void 0?s:Array(o.totalScore).fill(void 0).map(function(){return new Cr});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:pn.controlName,o}return r}(I);_n.Rules=A9,_n.RuntimeRules=M9;function sv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function D9(e){if(Array.isArray(e))return sv(e)}function L9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F9(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 z9(e,t,r){return t&&d0(e.prototype,t),r&&d0(e,r),e}function Ui(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ui=Reflect.get:Ui=function(o,u,f){var a=H9(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Ui(e,t,r||e)}function bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bt(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&&yv(e,t)}function Y9(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function G9(){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 V9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:L9(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function H9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=bt(e),e!==null););return e}function q9(e){return D9(e)||Y9(e)||W9(e)||G9()}var U9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W9(e,t){if(!!e){if(typeof e=="string")return sv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return sv(e,t)}}function K9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X9(e){var t=K9();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 V9(this,o)}}var pn=function(e){x9(r,e);var t=X9(r);function r(n){F9(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return z9(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 Cr});(f=this.props.explain).push.apply(f,q9(l))}}Ui(bt(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}(N);pn.controlEventKeys=["on_change","on_click"],pn.controlFieldType=c.FieldTypes.DECIMAL,pn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function Q9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Z9(e,t,r){return t&&h0(e.prototype,t),r&&h0(e,r),e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function ez(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function tz(e,t){return t&&(nz(t)==="object"||typeof t=="function")?t:Q9(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}var nz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oz(e){var t=rz();return function(){var n=Wi(e),o;if(t){var u=Wi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return tz(this,o)}}var _0=function(e){ez(r,e);var t=oz(r);function r(n){J9(this,r);var o;return o=t.call(this,n),o.props=new _n(n==null?void 0:n.props),o}return Z9(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(C);_0.controlFieldType=c.FieldTypes.DECIMAL;var p0={Designer:pn,Runtime:_0,Property:_n};function iz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function O0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:iz(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(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 g0(e){var t=fz();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 uz(this,o)}}var az=function(e){O0(r,e);var t=g0(r);function r(n){b0(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),Xi=function(e){O0(r,e);var t=g0(r);function r(n){b0(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:Ji.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 fb((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);Xi.RuntimeRules=az;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 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 yz(e,t,r){return t&&m0(e.prototype,t),r&&m0(e,r),e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(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&&hv(e,t)}function dz(e,t){return t&&(hz(t)==="object"||typeof t=="function")?t:lz(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}var hz=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 pz(e){var t=_z();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 dz(this,o)}}var Ji=function(e){vz(r,e);var t=pz(r);function r(n){sz(this,r);var o;return o=t.call(this,n),o.props=new Xi(n==null?void 0:n.props),o}return yz(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(N);Ji.controlFieldType=c.FieldTypes.ADDRESS,Ji.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];function 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 P0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gz(e,t,r){return t&&P0(e.prototype,t),r&&P0(e,r),e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function mz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function Pz(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:bz(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}var Rz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tz(e){var t=wz();return function(){var n=Zi(e),o;if(t){var u=Zi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Pz(this,o)}}var R0=function(e){mz(r,e);var t=Tz(r);function r(n){Oz(this,r);var o;return o=t.call(this,n),o.props=new Xi(n==null?void 0:n.props),o}return gz(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(C);R0.controlFieldType=c.FieldTypes.ADDRESS;var w0={Designer:Ji,Runtime:R0,Property:Xi};function $z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function $0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Sz(e,t){return t&&(Ez(t)==="object"||typeof t=="function")?t:$z(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}var Ez=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Iz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S0(e){var t=Iz();return function(){var n=eu(e),o;if(t){var u=eu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Sz(this,o)}}var Nz=function(e){$0(r,e);var t=S0(r);function r(n){T0(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),tu=function(e){$0(r,e);var t=S0(r);function r(n){T0(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:ru.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 ne(g))})),o}return r}(I);tu.RuntimeRules=Nz;function Cz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kz(e,t,r){return t&&E0(e.prototype,t),r&&E0(e,r),e}function nu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nu=Reflect.get:nu=function(o,u,f){var a=Mz(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},nu(e,t,r||e)}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(e)}function jz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function Az(e,t){return t&&(Dz(t)==="object"||typeof t=="function")?t:Cz(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}function Mz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var Dz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fz(e){var t=Lz();return function(){var n=Ot(e),o;if(t){var u=Ot(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Az(this,o)}}var ru=function(e){jz(r,e);var t=Fz(r);function r(n){Bz(this,r);var o;return o=t.call(this,n),o.props=new tu(n==null?void 0:n.props),o}return kz(r,[{key:"toDataBindModel",value:function(o){var u=nu(Ot(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:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(N);ru.controlFieldType=c.FieldTypes.DEPARTMENTS,ru.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];function zz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Yz(e,t,r){return t&&I0(e.prototype,t),r&&I0(e,r),e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(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&&Ov(e,t)}function Vz(e,t){return t&&(Hz(t)==="object"||typeof t=="function")?t:zz(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(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 Uz(e){var t=qz();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 Vz(this,o)}}var N0=function(e){Gz(r,e);var t=Uz(r);function r(n){xz(this,r);var o;return o=t.call(this,n),o.props=new tu(n==null?void 0:n.props),o}return Yz(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(C);N0.controlFieldType=c.FieldTypes.DEPARTMENTS;var C0={Designer:ru,Runtime:N0,Property:tu};function Wz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function Xz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function Qz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:Wz(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var Jz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ex(e){var t=Zz();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 Qz(this,o)}}var mv=function(e){Xz(r,e);var t=ex(r);function r(n){Kz(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:bn.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 tx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rx(e,t,r){return t&&B0(e.prototype,t),r&&B0(e,r),e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function ox(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function ix(e,t){return t&&(ux(t)==="object"||typeof t=="function")?t:tx(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}var ux=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fx(e){var t=cx();return function(){var n=uu(e),o;if(t){var u=uu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ix(this,o)}}var bn=function(e){ox(r,e);var t=fx(r);function r(n){nx(this,r);var o;return o=t.call(this,n),o.props=new mv(n==null?void 0:n.props),o}return rx(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}(N);bn.controlEventKeys=["on_change"],bn.controlFieldType=c.FieldTypes.AUTO_NUMBER,bn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 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 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 sx(e,t,r){return t&&k0(e.prototype,t),r&&k0(e,r),e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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&&Rv(e,t)}function vx(e,t){return t&&(dx(t)==="object"||typeof t=="function")?t:ax(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(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=cu(e),o;if(t){var u=cu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return vx(this,o)}}var j0=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 mv(n==null?void 0:n.props),o}return sx(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(C);j0.controlFieldType=c.FieldTypes.AUTO_NUMBER;var A0={Designer:bn,Runtime:j0,Property:mv};function px(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function Tv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function bx(e,t){return t&&(Ox(t)==="object"||typeof t=="function")?t:px(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(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 Sv(e){var t=gx();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 bx(this,o)}}var mx=function(e){Tv(r,e);var t=Sv(r);function r(n){wv(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}(Q),Px=function(e){Tv(r,e);var t=Sv(r);function r(n){wv(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),On=function(e){Tv(r,e);var t=Sv(r);function r(n){wv(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 ab(n==null?void 0:n.dataBind),o.defaultValue=new lb(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:gn.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);On.Rules=mx,On.RuntimeRules=Px;function Rx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Tx(e,t,r){return t&&M0(e.prototype,t),r&&M0(e,r),e}function au(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?au=Reflect.get:au=function(o,u,f){var a=Ex(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},au(e,t,r||e)}function gt(e){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gt(e)}function $x(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function Sx(e,t){return t&&(Ix(t)==="object"||typeof t=="function")?t:Rx(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function Ex(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gt(e),e!==null););return e}var Ix=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 Cx(e){var t=Nx();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 Sx(this,o)}}var gn=function(e){$x(r,e);var t=Cx(r);function r(n){wx(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return Tx(r,[{key:"toDataBindModel",value:function(o){var u=au(gt(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}(N);gn.controlEventKeys=["on_change"],gn.controlFieldType=c.FieldTypes.CALC,gn.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 Bx(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 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 jx(e,t,r){return t&&D0(e.prototype,t),r&&D0(e,r),e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(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&&Iv(e,t)}function Mx(e,t){return t&&(Dx(t)==="object"||typeof t=="function")?t:Bx(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(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=lu(e),o;if(t){var u=lu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Mx(this,o)}}var L0=function(e){Ax(r,e);var t=Fx(r);function r(n){kx(this,r);var o;return o=t.call(this,n),o.props=new On(n==null?void 0:n.props),o}return jx(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(C);L0.controlFieldType=c.FieldTypes.CALC;var F0={Designer:gn,Runtime:L0,Property:On};function zx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function 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&&Nv(e,t)}function xx(e,t){return t&&(Yx(t)==="object"||typeof t=="function")?t:zx(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(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 Y0(e){var t=Gx();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 xx(this,o)}}var Vx=function(e){x0(r,e);var t=Y0(r);function r(n){z0(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),yu=function(e){x0(r,e);var t=Y0(r);function r(n){z0(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:du.controlName,o}return r}(I);yu.RuntimeRules=Vx;function Hx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qx(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 Ux(e,t,r){return t&&G0(e.prototype,t),r&&G0(e,r),e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(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&&Cv(e,t)}function Kx(e,t){return t&&(Xx(t)==="object"||typeof t=="function")?t:Hx(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(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=vu(e),o;if(t){var u=vu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Kx(this,o)}}var du=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 yu(n==null?void 0:n.props),o}return Ux(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}(N);du.controlFieldType=c.FieldTypes.DECIMAL_RANGE,du.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 Zx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eY(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 tY(e,t,r){return t&&V0(e.prototype,t),r&&V0(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&&Bv(e,t)}function rY(e,t){return t&&(oY(t)==="object"||typeof t=="function")?t:Zx(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}var oY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uY(e){var t=iY();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 rY(this,o)}}var H0=function(e){nY(r,e);var t=uY(r);function r(n){eY(this,r);var o;return o=t.call(this,n),o.props=new yu(n==null?void 0:n.props),o}return tY(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(C);H0.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var q0={Designer:du,Runtime:H0,Property:yu};function cY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function W0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function fY(e,t){return t&&(aY(t)==="object"||typeof t=="function")?t:cY(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}var aY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K0(e){var t=lY();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 fY(this,o)}}var sY=function(e){W0(r,e);var t=K0(r);function r(n){U0(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(j),pu=function(e){W0(r,e);var t=K0(r);function r(n){U0(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.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var s;o.rangeMin=(s=n==null?void 0:n.rangeMin)!==null&&s!==void 0?s:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var v;o.placeholderStart=(v=n==null?void 0:n.placeholderStart)!==null&&v!==void 0?v:"\u5F00\u59CB\u65E5\u671F";var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:"\u7ED3\u675F\u65E5\u671F";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Ou.controlName;var O;return o.limitDateList=(O=n==null||(u=n.limitDateList)===null||u===void 0?void 0:u.map(function(b){return new Nr(b)}))!==null&&O!==void 0?O:[],o}return r}(I);pu.RuntimeRules=sY;function yY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 dY(e,t,r){return t&&X0(e.prototype,t),r&&X0(e,r),e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function hY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _Y(e,t){return t&&(pY(t)==="object"||typeof t=="function")?t:yY(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var pY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OY(e){var t=bY();return function(){var n=bu(e),o;if(t){var u=bu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _Y(this,o)}}var Ou=function(e){hY(r,e);var t=OY(r);function r(n){vY(this,r);var o;return o=t.call(this,n),o.props=new pu(n==null?void 0:n.props),o}return dY(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}(N);Ou.controlFieldType=c.FieldTypes.ARRAY,Ou.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];function gY(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 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 PY(e,t,r){return t&&Q0(e.prototype,t),r&&Q0(e,r),e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function 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&&Av(e,t)}function wY(e,t){return t&&(TY(t)==="object"||typeof t=="function")?t:gY(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(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=gu(e),o;if(t){var u=gu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wY(this,o)}}var J0=function(e){RY(r,e);var t=SY(r);function r(n){mY(this,r);var o;return o=t.call(this,n),o.props=new pu(n==null?void 0:n.props),o}return PY(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(C);J0.controlFieldType=c.FieldTypes.ARRAY;var Z0={Designer:Ou,Runtime:J0,Property:pu};function EY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function Dv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function IY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:EY(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var NY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fv(e){var t=CY();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 IY(this,o)}}var BY=function(e){Dv(r,e);var t=Fv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(Q),kY=function(e){Dv(r,e);var t=Fv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(j),mn=function(e){Dv(r,e);var t=Fv(r);function r(n){Mv(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:Pn.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);mn.Rules=BY,mn.RuntimeRules=kY;function jY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 MY(e,t,r){return t&&eP(e.prototype,t),r&&eP(e,r),e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function LY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:jY(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}var FY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xY(e){var t=zY();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 LY(this,o)}}var Pn=function(e){DY(r,e);var t=xY(r);function r(n){AY(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return MY(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}(N);Pn.controlFieldType=c.FieldTypes.ANY,Pn.controlEventKeys=[],Pn.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 YY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VY(e,t,r){return t&&tP(e.prototype,t),r&&tP(e,r),e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function HY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:YY(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}var UY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KY(e){var t=WY();return function(){var n=Ru(e),o;if(t){var u=Ru(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return qY(this,o)}}var nP=function(e){HY(r,e);var t=KY(r);function r(n){GY(this,r);var o;return o=t.call(this,n),o.props=new mn(n==null?void 0:n.props),o}return VY(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(C);nP.controlFieldType=c.FieldTypes.ANY;var rP={Designer:Pn,Runtime:nP,Property:mn};function XY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function iP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QY(e,t){return t&&(JY(t)==="object"||typeof t=="function")?t:XY(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}var JY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uP(e){var t=ZY();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 QY(this,o)}}var eG=function(e){iP(r,e);var t=uP(r);function r(n){oP(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}(je),Tu=function(e){iP(r,e);var t=uP(r);function r(n){oP(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 Ta(n==null?void 0:n.listPageBind),o.datasourceBind=new V(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Rn.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\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,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 ne(d))}));var v;return o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1,o}return r}(I);Tu.Rules=eG;function tG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rG(e,t,r){return t&&cP(e.prototype,t),r&&cP(e,r),e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function oG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function iG(e,t){return t&&(uG(t)==="object"||typeof t=="function")?t:tG(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}var uG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fG(e){var t=cG();return function(){var n=$u(e),o;if(t){var u=$u(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return iG(this,o)}}var Rn=function(e){oG(r,e);var t=fG(r);function r(n){nG(this,r);var o;return o=t.call(this,n),o.props=new Tu(n==null?void 0:n.props),o}return rG(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}(N);Rn.controlFieldType=c.FieldTypes.VARCHAR,Rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Rn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];function aG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lG(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 sG(e,t,r){return t&&fP(e.prototype,t),r&&fP(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&&Vv(e,t)}function vG(e,t){return t&&(dG(t)==="object"||typeof t=="function")?t:aG(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}var dG=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 _G(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 vG(this,o)}}var aP=function(e){yG(r,e);var t=_G(r);function r(n){lG(this,r);var o;return o=t.call(this,n),o.props=new Tu(n==null?void 0:n.props),o}return sG(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(C);aP.controlFieldType=c.FieldTypes.VARCHAR;var lP={Designer:Rn,Runtime:aP,Property:Tu};function pG(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 Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function OG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function gG(e,t){return t&&(mG(t)==="object"||typeof t=="function")?t:pG(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(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 RG(e){var t=PG();return function(){var n=Eu(e),o;if(t){var u=Eu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return gG(this,o)}}var qv=function(e){OG(r,e);var t=RG(r);function r(n){return bG(this,r),t.call(this,n)}return r}(lt);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 Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(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&&Uv(e,t)}function EG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:wG(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var IG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CG(e){var t=NG();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 EG(this,o)}}var yP=function(e){SG(r,e);var t=CG(r);function r(n){TG(this,r);var o;return o=t.call(this,n),o.props=new qv(n==null?void 0:n.props),o}return $G(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(st);yP.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 BG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jG(e,t,r){return t&&vP(e.prototype,t),r&&vP(e,r),e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(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&&Wv(e,t)}function MG(e,t){return t&&(DG(t)==="object"||typeof t=="function")?t:BG(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(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=Nu(e),o;if(t){var u=Nu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return MG(this,o)}}var dP=function(e){AG(r,e);var t=FG(r);function r(n){kG(this,r);var o;return o=t.call(this,n),o.props=new qv(n==null?void 0:n.props),o}return jG(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(C);dP.controlFieldType=c.FieldTypes.VARCHAR;var hP={Designer:yP,Runtime:dP,Property:qv};function _P(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 Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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 zG(e,t){return t&&(xG(t)==="object"||typeof t=="function")?t:_P(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}var xG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jv(e){var t=YG();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 zG(this,o)}}var GG=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")}],Jn.call(_P(o),n,Ae.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}(Q),VG=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),wn=function(e){Xv(r,e);var t=Jv(r);function r(n){Kv(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:Ae.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.defaultCollapse=(p=n==null?void 0:n.defaultCollapse)!==null&&p!==void 0?p:"all";var O;o.defaultCollapseLevel=(O=n==null?void 0:n.defaultCollapseLevel)!==null&&O!==void 0?O:1;var b;o.datasourceBind=new tb((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Ae.controlCustomAttributes});var g;o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1;var h;o.multistageFilling=(h=n==null||(u=n.multistageFilling)===null||u===void 0?void 0:u.map(function(P){return new ne(P)}))!==null&&h!==void 0?h:[];var m;return o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[],o}return r}(I);wn.Rules=GG,wn.RuntimeRules=VG;function HG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UG(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function WG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function KG(e,t){return t&&(XG(t)==="object"||typeof t=="function")?t:HG(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}var XG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JG(e){var t=QG();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 KG(this,o)}}var Ae=function(e){WG(r,e);var t=JG(r);function r(n){qG(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return UG(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}(N);Ae.controlEventKeys=["on_change","on_click"],Ae.controlFieldType=c.FieldTypes.ARRAY,Ae.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.CAN_SEARCH,c.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];function ZG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tV(e,t,r){return t&&bP(e.prototype,t),r&&bP(e,r),e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(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&&ed(e,t)}function rV(e,t){return t&&(oV(t)==="object"||typeof t=="function")?t:ZG(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var oV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uV(e){var t=iV();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 rV(this,o)}}var OP=function(e){nV(r,e);var t=uV(r);function r(n){eV(this,r);var o;return o=t.call(this,n),o.props=new wn(n==null?void 0:n.props),o}return tV(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(C);OP.controlFieldType=c.FieldTypes.ARRAY;var gP={Designer:Ae,Runtime:OP,Property:wn};function mP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function 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&&rd(e,t)}function cV(e,t){return t&&(fV(t)==="object"||typeof t=="function")?t:mP(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}var fV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function od(e){var t=aV();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 cV(this,o)}}var lV=function(e){nd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")}],o.externalScope={type:"any"},Jn.call(mP(o),n,mt.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:_.getMessage("pleaseAssignExternal")}),o}return r}(Q),sV=function(e){nd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Tn=function(e){nd(r,e);var t=od(r);function r(n){td(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:mt.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 Dt((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:mt.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 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(P){var R;(R=o.multistageFilling)===null||R===void 0||R.push(new ne(P))})),o}return r}(I);Tn.Rules=lV,Tn.RuntimeRules=sV;function yV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dV(e,t,r){return t&&PP(e.prototype,t),r&&PP(e,r),e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function hV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function _V(e,t){return t&&(pV(t)==="object"||typeof t=="function")?t:yV(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var pV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OV(e){var t=bV();return function(){var n=Au(e),o;if(t){var u=Au(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _V(this,o)}}var mt=function(e){hV(r,e);var t=OV(r);function r(n){vV(this,r);var o;return o=t.call(this,n),o.props=new Tn(n==null?void 0:n.props),o}return dV(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}(N);mt.controlFieldType=c.FieldTypes.EMPLOYEES,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:!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 gV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PV(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(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&&ud(e,t)}function wV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:gV(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}var TV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $V(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SV(e){var t=$V();return function(){var n=Mu(e),o;if(t){var u=Mu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wV(this,o)}}var wP=function(e){RV(r,e);var t=SV(r);function r(n){mV(this,r);var o;return o=t.call(this,n),o.props=new Tn(n==null?void 0:n.props),o}return PV(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(C);wP.controlFieldType=c.FieldTypes.EMPLOYEES;var TP={Designer:mt,Runtime:wP,Property:Tn};function EV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function SP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function IV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:EV(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var NV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EP(e){var t=CV();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 IV(this,o)}}var BV=function(e){SP(r,e);var t=EP(r);function r(n){$P(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"&&Ce(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")&&Ce(y.value)&&y.value.length===0){v("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}v()}}}},u},{})}}},o}return r}(Q),Lu=function(e){SP(r,e);var t=EP(r);function r(n){$P(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:$n.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 aO(n==null?void 0:n.signatureConfig),o}return r}(I);Lu.Rules=BV;function kV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 AV(e,t,r){return t&&IP(e.prototype,t),r&&IP(e,r),e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function MV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function DV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:kV(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var LV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zV(e){var t=FV();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 DV(this,o)}}var $n=function(e){MV(r,e);var t=zV(r);function r(n){jV(this,r);var o;return o=t.call(this,n),o.props=new Lu(n==null?void 0:n.props),o}return AV(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}(N);$n.controlEventKeys=["on_click","on_click_finish"],$n.controlFieldType=c.FieldTypes.VARCHAR,$n.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.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 xV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 GV(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function VV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ad(e,t)}function HV(e,t){return t&&(qV(t)==="object"||typeof t=="function")?t:xV(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var qV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WV(e){var t=UV();return function(){var n=zu(e),o;if(t){var u=zu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return HV(this,o)}}var CP=function(e){VV(r,e);var t=WV(r);function r(n){YV(this,r);var o;return o=t.call(this,n),o.props=new Lu(n==null?void 0:n.props),o}return GV(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(C);CP.controlFieldType=c.FieldTypes.VARCHAR;var BP={Designer:$n,Runtime:CP,Property:Lu};function KV(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 xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(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&&yd(e,t)}function XV(e,t){return t&&(QV(t)==="object"||typeof t=="function")?t:KV(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var QV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vd(e){var t=JV();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 XV(this,o)}}var ZV=function(e){sd(r,e);var t=vd(r);function r(n){ld(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}(Q),eH=function(e){sd(r,e);var t=vd(r);function r(n){ld(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),Sn=function(e){sd(r,e);var t=vd(r);function r(n){ld(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:En.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:d8;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new lO(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);Sn.Rules=ZV,Sn.RuntimeRules=eH;function tH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rH(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 oH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:tH(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}var uH=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 fH(e){var t=cH();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 iH(this,o)}}var En=function(e){oH(r,e);var t=fH(r);function r(n){nH(this,r);var o;return o=t.call(this,n),o.props=new Sn(n==null?void 0:n.props),o}return rH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(N);En.controlEventKeys=["on_change","on_wps_open"],En.controlFieldType=c.FieldTypes.FILE,En.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 aH(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 jP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sH(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(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&&hd(e,t)}function vH(e,t){return t&&(dH(t)==="object"||typeof t=="function")?t:aH(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(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 _H(e){var t=hH();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 vH(this,o)}}var AP=function(e){yH(r,e);var t=_H(r);function r(n){lH(this,r);var o;return o=t.call(this,n),o.props=new Sn(n==null?void 0:n.props),o}return sH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(C);AP.controlFieldType=c.FieldTypes.FILE;var MP={Designer:En,Runtime:AP,Property:Sn};function DP(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 Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(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&&bd(e,t)}function pH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:DP(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var bH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Od(e){var t=OH();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 pH(this,o)}}var gH=function(e){pd(r,e);var t=Od(r);function r(n){_d(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")}],o.businessScope={type:"any"},Jn.call(DP(o),n,Rt.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:_.getMessage("pleaseAssignBusiness")}),o}return r}(Q),mH=function(e){pd(r,e);var t=Od(r);function r(n){_d(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(j),In=function(e){pd(r,e);var t=Od(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.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:Rt.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 Dt((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Rt.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 m;o.businessType=(m=n==null?void 0:n.businessType)!==null&&m!==void 0?m:c.AssignType.ALL;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(R){var $;($=o.multistageFilling)===null||$===void 0||$.push(new ne(R))})),o}return r}(I);In.Rules=gH,In.RuntimeRules=mH;function PH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wH(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function Hu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hu=Reflect.get:Hu=function(o,u,f){var a=SH(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Hu(e,t,r||e)}function Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pt(e)}function TH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function $H(e,t){return t&&(EH(t)==="object"||typeof t=="function")?t:PH(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function SH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pt(e),e!==null););return e}var EH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NH(e){var t=IH();return function(){var n=Pt(e),o;if(t){var u=Pt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $H(this,o)}}var Rt=function(e){TH(r,e);var t=NH(r);function r(n){RH(this,r);var o;return o=t.call(this,n),o.props=new In(n==null?void 0:n.props),o}return wH(r,[{key:"toDataBindModel",value:function(o){var u=Hu(Pt(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:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);Rt.controlFieldType=c.FieldTypes.DEPARTMENTS,Rt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.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 CH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 kH(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function jH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function AH(e,t){return t&&(MH(t)==="object"||typeof t=="function")?t:CH(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var MH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LH(e){var t=DH();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 AH(this,o)}}var zP=function(e){jH(r,e);var t=LH(r);function r(n){BH(this,r);var o;return o=t.call(this,n),o.props=new In(n==null?void 0:n.props),o}return kH(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(C);zP.controlFieldType=c.FieldTypes.DEPARTMENTS;var xP={Designer:Rt,Runtime:zP,Property:In},FH=Object.freeze({__proto__:null,Input:im,Checkbox:am,Radio:_m,Number:gm,DatePicker:wm,DateRange:Cm,Textarea:Am,RichText:Fm,Select:qm,SelectMultiple:Xm,Employee:r0,Image:a0,Attachment:u0,Amount:v0,Score:p0,Address:w0,Department:C0,AutoNumber:A0,Calc:F0,SearchNumberRange:q0,SearchDateRange:Z0,VueFormItem:rP,SelectRelation:lP,SearchInput:hP,Tree:gP,Employee2:TP,ElectronicSignature:BP,WPS:MP,Department2:xP});function zH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 YH(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function GH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function VH(e,t){return t&&(HH(t)==="object"||typeof t=="function")?t:zH(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var HH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UH(e){var t=qH();return function(){var n=Uu(e),o;if(t){var u=Uu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return VH(this,o)}}var GP=function(e){GH(r,e);var t=UH(r);function r(n){return xH(this,r),t.call(this,n)}return YH(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(D);GP.excludes=[c.CONTROL_TYPE.GRID];function WH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XH(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function QH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function JH(e,t){return t&&(ZH(t)==="object"||typeof t=="function")?t:WH(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var ZH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tq(e){var t=eq();return function(){var n=Wu(e),o;if(t){var u=Wu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JH(this,o)}}var nq=function(e){QH(r,e);var t=tq(r);function r(n){return KH(this,r),t.call(this,n)}return XH(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(G),HP={Designer:GP,Runtime:nq,Property:M};function rq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function iq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function uq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:rq(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var cq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aq(e){var t=fq();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 uq(this,o)}}var lq=24,Me=function(e){iq(r,e);var t=aq(r);function r(n){oq(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:lq;var f;return o.offset=(f=n==null?void 0:n.offset)!==null&&f!==void 0?f:0,o}return r}(M);function sq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vq(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(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&&Td(e,t)}function hq(e,t){return t&&(_q(t)==="object"||typeof t=="function")?t:sq(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}var _q=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 bq(e){var t=pq();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 hq(this,o)}}var Nn=function(e){dq(r,e);var t=bq(r);function r(n){yq(this,r);var o;return o=t.call(this,n),o.props=new Me(n==null?void 0:n.props),o}return vq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(D);Nn.excludes=[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.DIVIDER],Nn.childrenMaxLength=1;function Oq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mq(e,t,r){return t&&UP(e.prototype,t),r&&UP(e,r),e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function 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&&$d(e,t)}function Rq(e,t){return t&&(wq(t)==="object"||typeof t=="function")?t:Oq(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var wq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $q(e){var t=Tq();return function(){var n=Qu(e),o;if(t){var u=Qu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Rq(this,o)}}var Sd=function(e){Pq(r,e);var t=$q(r);function r(n){gq(this,r);var o;return o=t.call(this,n),o.props=new Me(n==null?void 0:n.props),o}return mq(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(G),Ju={Designer:Nn,Runtime:Sd,Property:Me};function Sq(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 Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function Iq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function Nq(e,t){return t&&(Cq(t)==="object"||typeof t=="function")?t:Sq(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var Cq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kq(e){var t=Bq();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 Nq(this,o)}}var ec=function(e){Iq(r,e);var t=kq(r);function r(n){Eq(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}(M);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 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 Mq(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(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&&Id(e,t)}function Lq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:jq(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}var Fq=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 xq(e){var t=zq();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 Lq(this,o)}}var nc=function(e){Dq(r,e);var t=xq(r);function r(n){Aq(this,r);var o;return o=t.call(this,n),o.props=new ec(n==null?void 0:n.props),o}return Mq(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);nc.excludes=[c.CONTROL_TYPE.ROW],nc.setting=[{key:"col-setting",visible:!0}];function Yq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Vq(e,t,r){return t&&KP(e.prototype,t),r&&KP(e,r),e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function Hq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function qq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:Yq(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var Uq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kq(e){var t=Wq();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 qq(this,o)}}var XP=function(e){Hq(r,e);var t=Kq(r);function r(n){Gq(this,r);var o;return o=t.call(this,n),o.props=new ec(n==null?void 0:n.props),o}return Vq(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(G),QP={Designer:nc,Runtime:XP,Property:ec};function Xq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jq(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(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&&Cd(e,t)}function eU(e,t){return t&&(tU(t)==="object"||typeof t=="function")?t:Xq(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}var tU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rU(e){var t=nU();return function(){var n=oc(e),o;if(t){var u=oc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return eU(this,o)}}var oU=4,ic=function(e){Zq(r,e);var t=rU(r);function r(n){return Qq(this,r),t.call(this,n)}return Jq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(nc);ic.excludes=[c.CONTROL_TYPE.GRID_ROW],ic.setting=[],ic.childrenMaxLength=oU;function iU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uU(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 cU(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(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&&Bd(e,t)}function aU(e,t){return t&&(lU(t)==="object"||typeof t=="function")?t:iU(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}var lU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yU(e){var t=sU();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 aU(this,o)}}var vU=function(e){fU(r,e);var t=yU(r);function r(n){return uU(this,r),t.call(this,n)}return cU(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(XP);function dU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function _U(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function pU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:dU(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}var bU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gU(e){var t=OU();return function(){var n=cc(e),o;if(t){var u=cc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pU(this,o)}}var mU=function(e){_U(r,e);var t=gU(r);function r(n){return hU(this,r),t.call(this,n)}return r}(ec),jd={Designer:ic,Runtime:vU,Property:mU};function PU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function tR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RU(e,t){return t&&(wU(t)==="object"||typeof t=="function")?t:PU(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}var wU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nR(e){var t=TU();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 RU(this,o)}}var $U=function(e){tR(r,e);var t=nR(r);function r(){eR(this,r);var n;return n=t.apply(this,arguments),n.caption={type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")},n}return r}(M.Rules),ac=function(e){tR(r,e);var t=nR(r);function r(n){eR(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}(M);ac.Rules=$U;function SU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IU(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(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&&Md(e,t)}function CU(e,t){return t&&(BU(t)==="object"||typeof t=="function")?t:SU(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var BU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jU(e){var t=kU();return function(){var n=lc(e),o;if(t){var u=lc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return CU(this,o)}}var Dd=function(e){NU(r,e);var t=jU(r);function r(n){EU(this,r);var o;return o=t.call(this,n),o.props=new ac(n==null?void 0:n.props),o}return IU(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(D);Dd.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}],Dd.excludes=[c.CONTROL_TYPE.CARD_GROUP];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 oR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DU(e,t,r){return t&&oR(e.prototype,t),r&&oR(e,r),e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(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&&Ld(e,t)}function FU(e,t){return t&&(zU(t)==="object"||typeof t=="function")?t:AU(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(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=sc(e),o;if(t){var u=sc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FU(this,o)}}var GU=function(e){LU(r,e);var t=YU(r);function r(n){MU(this,r);var o;return o=t.call(this,n),o.props=new ac(n==null?void 0:n.props),o}return DU(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(G),iR={Designer:Dd,Runtime:GU,Property:ac};function VU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function cR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function HU(e,t){return t&&(qU(t)==="object"||typeof t=="function")?t:VU(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}var qU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fR(e){var t=UU();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 HU(this,o)}}var WU=function(e){cR(r,e);var t=fR(r);function r(n){uR(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:_.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}(L),vc=function(e){cR(r,e);var t=fR(r);function r(n){uR(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 Vp(n==null?void 0:n.metaAutoWidth),o}return r}(M);vc.Rules=WU;function KU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function 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&&zd(e,t)}function JU(e,t){return t&&(ZU(t)==="object"||typeof t=="function")?t:KU(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 eW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tW(e){var t=eW();return function(){var n=dc(e),o;if(t){var u=dc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JU(this,o)}}var se=function(e){QU(r,e);var t=tW(r);function r(n){XU(this,r);var o;return o=t.call(this,n),o.props=new vc(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 nW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function oW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function iW(e,t){return t&&(uW(t)==="object"||typeof t=="function")?t:nW(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var uW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fW(e){var t=cW();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 iW(this,o)}}var aR=function(e){oW(r,e);var t=fW(r);function r(n){rW(this,r);var o;return o=t.call(this,n),o.props=new vc(n==null?void 0:n.props),o}return r}(G);aR.controlType="subtable-column";var Yd={Designer:se,Runtime:aR,Property:vc};function aW(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 _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function sW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function yW(e,t){return t&&(vW(t)==="object"||typeof t=="function")?t:aW(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var vW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dW();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 yW(this,o)}}var Vd=function(e){sW(r,e);var t=hW(r);function r(n){return lW(this,r),t.call(this,n)}return r}(M);function _W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function 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&&Hd(e,t)}function OW(e,t){return t&&(gW(t)==="object"||typeof t=="function")?t:_W(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}var gW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PW(e){var t=mW();return function(){var n=pc(e),o;if(t){var u=pc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return OW(this,o)}}var De=function(e){bW(r,e);var t=PW(r);function r(n){pW(this,r);var o;return o=t.call(this,n),o.props=new Vd(n==null?void 0:n.props),o}return r}(D);De.controlName="\u660E\u7EC6\u5B50\u8868\u884C",De.controlType="subtable-row",De.controlIcon="subtable-row",De.childrenMaxLength=1,De.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],De.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}];function RW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wW(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 TW(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function $W(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function SW(e,t){return t&&(EW(t)==="object"||typeof t=="function")?t:RW(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}var EW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NW(e){var t=IW();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 SW(this,o)}}var CW=function(e){$W(r,e);var t=NW(r);function r(n){wW(this,r);var o;return o=t.call(this,n),o.props=new Vd(n==null?void 0:n.props),o}return TW(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(G),sR={Designer:De,Runtime:CW,Property:Vd};function BW(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 jW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function AW(e,t){return t&&(MW(t)==="object"||typeof t=="function")?t:BW(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}var MW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LW(e){var t=DW();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 AW(this,o)}}var Wd=function(e){jW(r,e);var t=LW(r);function r(n){kW(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 V(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}(M);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 gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(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&&Kd(e,t)}function YW(e,t){return t&&(GW(t)==="object"||typeof t=="function")?t:FW(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}var GW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HW(e){var t=VW();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 YW(this,o)}}var Le=function(e){xW(r,e);var t=HW(r);function r(n){zW(this,r);var o;return o=t.call(this,n),o.props=new Wd(n==null?void 0:n.props),o}return r}(D);Le.controlName="\u5217\u8868\u5355\u5143\u683C",Le.controlType="gridtable-column",Le.controlIcon="gridtable-column",Le.childrenMaxLength=1,Le.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],Le.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",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 UW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function 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&&Xd(e,t)}function KW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:qW(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}var XW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JW(e){var t=QW();return function(){var n=mc(e),o;if(t){var u=mc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return KW(this,o)}}var yR=function(e){WW(r,e);var t=JW(r);function r(n){UW(this,r);var o;return o=t.call(this,n),o.props=new Wd(n==null?void 0:n.props),o}return r}(G);yR.controlType="gridtable-column";var vR={Designer:Le,Runtime:yR,Property:Wd};function ZW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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&&Qd(e,t)}function nK(e,t){return t&&(rK(t)==="object"||typeof t=="function")?t:ZW(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}var rK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iK(e){var t=oK();return function(){var n=Pc(e),o;if(t){var u=Pc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nK(this,o)}}var Jd=function(e){tK(r,e);var t=iK(r);function r(n){eK(this,r);var o;o=t.call(this,n);var u;return o.mobileShowType=(u=n==null?void 0:n.mobileShowType)!==null&&u!==void 0?u:"vertical",o}return r}(M);function uK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function hR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function cK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:uK(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}var fK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _R(e){var t=aK();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 cK(this,o)}}var lK=function(e){hR(r,e);var t=_R(r);function r(n){dR(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")},o}return r}(L),wc=function(e){hR(r,e);var t=_R(r);function r(n){dR(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:Bn.controlName,o}return r}(M);wc.Rules=lK;function sK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vK(e,t,r){return t&&pR(e.prototype,t),r&&pR(e,r),e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function dK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function hK(e,t){return t&&(_K(t)==="object"||typeof t=="function")?t:sK(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var _K=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bK(e){var t=pK();return function(){var n=Tc(e),o;if(t){var u=Tc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hK(this,o)}}var Cn=function(e){dK(r,e);var t=bK(r);function r(n){yK(this,r);var o;return o=t.call(this,n),o.props=new wc(n==null?void 0:n.props),o}return vK(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);Cn.excludes=[c.CONTROL_TYPE.TAB],Cn.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 OK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mK(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&th(e,t)}function RK(e,t){return t&&(wK(t)==="object"||typeof t=="function")?t:OK(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var wK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $K(e){var t=TK();return function(){var n=$c(e),o;if(t){var u=$c(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return RK(this,o)}}var SK=function(e){PK(r,e);var t=$K(r);function r(n){gK(this,r);var o;return o=t.call(this,n),o.props=new wc(n==null?void 0:n.props),o}return mK(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(G),OR={Designer:Cn,Runtime:SK,Property:wc};function EK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IK(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 NK(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function CK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function BK(e,t){return t&&(kK(t)==="object"||typeof t=="function")?t:EK(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var kK=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=Sc(e),o;if(t){var u=Sc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return BK(this,o)}}var Bn=function(e){CK(r,e);var t=AK(r);function r(n){IK(this,r);var o;o=t.call(this,n),o.props=new Jd(n==null?void 0:n.props);var u;return o.children=(u=n==null?void 0:n.children)!==null&&u!==void 0?u:[new Cn,new Cn],o}return NK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(D);Bn.excludes=[c.CONTROL_TYPE.TAB],Bn.controlEventKeys=["on_change_tab"],Bn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",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 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 LK(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function FK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function zK(e,t){return t&&(xK(t)==="object"||typeof t=="function")?t:MK(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(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 GK(e){var t=YK();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 zK(this,o)}}var VK=function(e){FK(r,e);var t=GK(r);function r(n){DK(this,r);var o;return o=t.call(this,n),o.props=new Jd(n==null?void 0:n.props),o}return LK(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(G),PR={Designer:Bn,Runtime:VK,Property:Jd};function HK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function UK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function WK(e,t){return t&&(KK(t)==="object"||typeof t=="function")?t:HK(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}var KK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QK(e){var t=XK();return function(){var n=Ic(e),o;if(t){var u=Ic(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return WK(this,o)}}var RR=function(e){UK(r,e);var t=QK(r);function r(n){return qK(this,r),t.call(this,n)}return r}(M);function JK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZK(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 eX(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(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&&ih(e,t)}function nX(e,t){return t&&(rX(t)==="object"||typeof t=="function")?t:JK(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var rX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iX(e){var t=oX();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 nX(this,o)}}var TR=function(e){tX(r,e);var t=iX(r);function r(n){ZK(this,r);var o;return o=t.call(this,n),o.props=new RR({}),o.children=(n==null?void 0:n.children)||[new Nn({props:new Me({span:12})}),new Nn({props:new Me({span:12})})],o}return eX(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(D);TR.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 uX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 fX(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(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&&uh(e,t)}function lX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:uX(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var sX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vX(e){var t=yX();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 lX(this,o)}}var dX=function(e){aX(r,e);var t=vX(r);function r(n){cX(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new Sd({props:new Me({span:12})}),new Sd({props:new Me({span:12})})],o}return fX(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(G),SR={Designer:TR,Runtime:dX,Property:RR};function ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ch(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(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&&ah(e,t)}function hX(e,t){return t&&(_X(t)==="object"||typeof t=="function")?t:ER(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(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 lh(e){var t=pX();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 hX(this,o)}}var kc;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(kc||(kc={}));var bX=function(e){fh(r,e);var t=lh(r);function r(n){ch(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(me),OX=function(e){fh(r,e);var t=lh(r);function r(n){ch(this,r);var o;if(o=t.call(this,n),o.triggerFieldCode={type:"any"},o.datasourceBind={type:"any"},n.triggerType===kc.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}),Qn.call(ER(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}(L),kn=function(e){fh(r,e);var t=lh(r);function r(n){ch(this,r);var o;o=t.call(this,n),o.datasourceBind=new V(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:kc.CLICK_ROW;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new Xp(n==null?void 0:n.sublistPage);var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"stretch";var y;o.showFullScreen=(y=n==null?void 0:n.showFullScreen)!==null&&y!==void 0?y:!1;var v;o.isFixedHeader=(v=n==null?void 0:n.isFixedHeader)!==null&&v!==void 0?v:!1;var d;return o.isAllLoaded=(d=n==null?void 0:n.isAllLoaded)!==null&&d!==void 0?d:!0,o.countType=n==null?void 0:n.countType,o}return r}(M);kn.Rules=OX,kn.RuntimeRules=bX;function gX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PX(e,t,r){return t&&IR(e.prototype,t),r&&IR(e,r),e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function RX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:gX(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var TX=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 SX(e){var t=$X();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 wX(this,o)}}var Ac=function(e){RX(r,e);var t=SX(r);function r(n){mX(this,r);var o;return o=t.call(this,n),o.props=new kn(n==null?void 0:n.props),o}return PX(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);Ac.excludes=[c.CONTROL_TYPE.ROW],Ac.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"],Ac.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function EX(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 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 NX(e,t,r){return t&&NR(e.prototype,t),r&&NR(e,r),e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function CX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function BX(e,t){return t&&(kX(t)==="object"||typeof t=="function")?t:EX(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}var kX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AX(e){var t=jX();return function(){var n=Mc(e),o;if(t){var u=Mc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return BX(this,o)}}var MX=function(e){CX(r,e);var t=AX(r);function r(n){IX(this,r);var o;return o=t.call(this,n),o.props=new kn(n==null?void 0:n.props),o}return NX(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(G),vh={Designer:Ac,Runtime:MX,Property:kn};function DX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function BR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function LX(e,t){return t&&(FX(t)==="object"||typeof t=="function")?t:DX(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}var FX=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 kR(e){var t=zX();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 LX(this,o)}}var xX=function(e){BR(r,e);var t=kR(r);function r(n){CR(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(me),Lc=function(e){BR(r,e);var t=kR(r);function r(n){CR(this,r);var o;o=t.call(this,n);var u;o.save=new be((u=n==null?void 0:n.save)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var f;o.cancel=new be((f=n==null?void 0:n.cancel)!==null&&f!==void 0?f:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var a;o.saveAs=new be((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 be((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 be(v)});var y;return o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1,o.datasourceBind=new V(n==null?void 0:n.datasourceBind),o}return r}(M);Lc.RuntimeRules=xX;function YX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 VX(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function HX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function qX(e,t){return t&&(UX(t)==="object"||typeof t=="function")?t:YX(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}var UX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KX(e){var t=WX();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 qX(this,o)}}var AR=function(e){HX(r,e);var t=KX(r);function r(n){GX(this,r);var o;return o=t.call(this,n),o.props=new Lc(n==null?void 0:n.props),o}return VX(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(D);AR.excludes=[];function XX(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 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 JX(e,t,r){return t&&MR(e.prototype,t),r&&MR(e,r),e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function 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&&_h(e,t)}function eQ(e,t){return t&&(tQ(t)==="object"||typeof t=="function")?t:XX(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var tQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rQ(e){var t=nQ();return function(){var n=zc(e),o;if(t){var u=zc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return eQ(this,o)}}var oQ=function(e){ZX(r,e);var t=rQ(r);function r(n){QX(this,r);var o;return o=t.call(this,n),o.props=new Lc(n==null?void 0:n.props),o}return JX(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(G),ph={Designer:AR,Runtime:oQ,Property:Lc};function iQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cQ(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(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&&bh(e,t)}function aQ(e,t){return t&&(lQ(t)==="object"||typeof t=="function")?t:iQ(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}var lQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yQ(e){var t=sQ();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 aQ(this,o)}}var vQ=function(e){fQ(r,e);var t=yQ(r);function r(n){return uQ(this,r),t.call(this,n)}return cQ(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 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 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 _Q(e,t,r){return t&&LR(e.prototype,t),r&&LR(e,r),e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(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&&Oh(e,t)}function bQ(e,t){return t&&(OQ(t)==="object"||typeof t=="function")?t:dQ(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(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=Yc(e),o;if(t){var u=Yc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bQ(this,o)}}var PQ=function(e){pQ(r,e);var t=mQ(r);function r(n){return hQ(this,r),t.call(this,n)}return _Q(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(G);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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function TQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function $Q(e,t){return t&&(SQ(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 SQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IQ(e){var t=EQ();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 $Q(this,o)}}var NQ=function(e){TQ(r,e);var t=IQ(r);function r(n){wQ(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}(M),FR={Designer:vQ,Runtime:PQ,Property:NQ};function CQ(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 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 kQ(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function jQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:CQ(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}var MQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LQ(e){var t=DQ();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 AQ(this,o)}}var FQ=function(e){jQ(r,e);var t=LQ(r);function r(n){return BQ(this,r),t.call(this,n)}return kQ(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 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 xR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YQ(e,t,r){return t&&xR(e.prototype,t),r&&xR(e,r),e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function GQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function VQ(e,t){return t&&(HQ(t)==="object"||typeof t=="function")?t:zQ(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(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=Hc(e),o;if(t){var u=Hc(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){return xQ(this,r),t.call(this,n)}return YQ(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(G);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 qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(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&&Rh(e,t)}function JQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:KQ(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var ZQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tJ(e){var t=eJ();return function(){var n=qc(e),o;if(t){var u=qc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JQ(this,o)}}var nJ=function(e){QQ(r,e);var t=tJ(r);function r(n){XQ(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}(M),YR={Designer:FQ,Runtime:WQ,Property:nJ};function rJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 iJ(e,t,r){return t&&GR(e.prototype,t),r&&GR(e,r),e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(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&&wh(e,t)}function cJ(e,t){return t&&(fJ(t)==="object"||typeof t=="function")?t:rJ(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var fJ=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 lJ(e){var t=aJ();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 cJ(this,o)}}var sJ=function(e){uJ(r,e);var t=lJ(r);function r(n){return oJ(this,r),t.call(this,n)}return iJ(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 yJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dJ(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&Th(e,t)}function _J(e,t){return t&&(pJ(t)==="object"||typeof t=="function")?t:yJ(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(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=Wc(e),o;if(t){var u=Wc(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){return vJ(this,r),t.call(this,n)}return dJ(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(G);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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(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&&$h(e,t)}function wJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:mJ(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(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=Kc(e),o;if(t){var u=Kc(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){return PJ(this,r),t.call(this,n)}return r}(M),HR={Designer:sJ,Runtime:gJ,Property:EJ};function IJ(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 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 CJ(e,t,r){return t&&qR(e.prototype,t),r&&qR(e,r),e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function BJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function kJ(e,t){return t&&(jJ(t)==="object"||typeof t=="function")?t:IJ(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(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=Xc(e),o;if(t){var u=Xc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kJ(this,o)}}var DJ=function(e){BJ(r,e);var t=MJ(r);function r(n){return NJ(this,r),t.call(this,n)}return CJ(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 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 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 zJ(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(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&&Eh(e,t)}function YJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:LJ(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}var GJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HJ(e){var t=VJ();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 YJ(this,o)}}var qJ=function(e){xJ(r,e);var t=HJ(r);function r(n){return FJ(this,r),t.call(this,n)}return zJ(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(G);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 Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&Ih(e,t)}function XJ(e,t){return t&&(QJ(t)==="object"||typeof t=="function")?t:UJ(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var QJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZJ(e){var t=JJ();return function(){var n=Jc(e),o;if(t){var u=Jc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return XJ(this,o)}}var eZ=function(e){KJ(r,e);var t=ZJ(r);function r(n){WJ(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}(M),WR={Designer:DJ,Runtime:qJ,Property:eZ},tZ=Object.freeze({__proto__:null,Grid:HP,Col:Ju,Row:QP,GridRow:jd,CardGroup:iR,SubTableColumn:Yd,SubTableRow:sR,GridTableColumn:vR,Tab:PR,TabPane:OR,Toolbox:SR,ListView:vh,DataView:ph,Page:FR,AdvancedContainer:YR,PositioningContainer:HR,Position:WR});function nZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function Ch(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function rZ(e,t){return t&&(oZ(t)==="object"||typeof t=="function")?t:nZ(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var oZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kh(e){var t=iZ();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 rZ(this,o)}}var uZ=function(e){Ch(r,e);var t=kh(r);function r(n){Nh(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}(L),cZ=function(e){Ch(r,e);var t=kh(r);function r(n){Nh(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}(me),jn=function(e){Ch(r,e);var t=kh(r);function r(n,o){Nh(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:tf.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:sO;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.maxRows=(g=o==null?void 0:o.maxRows)!==null&&g!==void 0?g:null;var h;u.defaultRows=(h=o==null?void 0:o.defaultRows)!==null&&h!==void 0?h:1,u.datasourceBind=new V(o==null?void 0:o.datasourceBind);var m;u.canAdd=(m=o==null?void 0:o.canAdd)!==null&&m!==void 0?m:!0;var P;u.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var R;u.canCheck=(R=o==null?void 0:o.canCheck)!==null&&R!==void 0?R:!1;var $;u.canEdit=($=o==null?void 0:o.canEdit)!==null&&$!==void 0?$:!1;var T;u.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var S;u.canExport=(S=o==null?void 0:o.canExport)!==null&&S!==void 0?S:!1;var k;u.canClear=(k=o==null?void 0:o.canClear)!==null&&k!==void 0?k:!0;var re;u.serverPagination=(re=o==null?void 0:o.serverPagination)!==null&&re!==void 0?re:!1;var U;u.isShowCaptionTip=(U=o==null?void 0:o.isShowCaptionTip)!==null&&U!==void 0?U:!1;var W;u.captionTip=(W=o==null?void 0:o.captionTip)!==null&&W!==void 0?W:"";var Ct;u.mobileShowType=(Ct=o==null?void 0:o.mobileShowType)!==null&&Ct!==void 0?Ct:"list";var tt;u.mobileDefaultNum=((tt=o==null?void 0:o.mobileDefaultNum)!==null&&tt!==void 0?tt:(o==null?void 0:o.mobileShowType)==="list")?10:5;var he;u.dataStorageDoc=(he=o==null?void 0:o.dataStorageDoc)!==null&&he!==void 0?he:new Hp;var bp;u.fixedColumn=(bp=o==null?void 0:o.fixedColumn)!==null&&bp!==void 0?bp:[];var Op;u.mobileRowCaption=(Op=o==null?void 0:o.mobileRowCaption)!==null&&Op!==void 0?Op:"\u660E\u7EC6";var gp;return u.mobileIsTile=(gp=o==null?void 0:o.mobileIsTile)!==null&&gp!==void 0?gp:!1,u}return r}(Yt);jn.Rules=uZ,jn.RuntimeRules=cZ;function KR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aZ(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&jh(e,t)}function sZ(e,t){return t&&(yZ(t)==="object"||typeof t=="function")?t:KR(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var yZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dZ(e){var t=vZ();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 sZ(this,o)}}var tf=function(e){lZ(r,e);var t=dZ(r);function r(n){fZ(this,r);var o,u;return o=t.call(this,n),o.props=new jn(KR(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 aZ(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}(fr);tf.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],tf.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 QR(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 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 _Z(e,t,r){return t&&JR(e.prototype,t),r&&JR(e,r),e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function pZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function bZ(e,t){return t&&(OZ(t)==="object"||typeof t=="function")?t:QR(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}var OZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mZ(e){var t=gZ();return function(){var n=nf(e),o;if(t){var u=nf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bZ(this,o)}}var PZ=function(e){pZ(r,e);var t=mZ(r);function r(n){hZ(this,r);var o;return o=t.call(this,n),o.props=new jn(QR(o),n==null?void 0:n.props),o}return _Z(r,[{key:"getChildrenDataSourceBindLayout",value:function(){ge("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(rl),ZR={Designer:tf,Runtime:PZ,Property:jn};function RZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function TZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function $Z(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:RZ(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var SZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IZ(e){var t=EZ();return function(){var n=rf(e),o;if(t){var u=rf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $Z(this,o)}}var Dh=function(e){TZ(r,e);var t=IZ(r);function r(n,o){wZ(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}(Yt);function NZ(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 of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(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&&Lh(e,t)}function CZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:NZ(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}var BZ=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 nw(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 CZ(this,o)}}var jZ=function(e){tw(r,e);var t=nw(r);function r(n){ew(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(sr),uf=function(e){tw(r,e);var t=nw(r);function r(n){ew(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:Fe.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}(z);uf.Rules=jZ;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 cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(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&&Fh(e,t)}function LZ(e,t){return t&&(FZ(t)==="object"||typeof t=="function")?t:AZ(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}var FZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xZ(e){var t=zZ();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 LZ(this,o)}}var Fe=function(e){DZ(r,e);var t=xZ(r);function r(n){MZ(this,r);var o;return o=t.call(this,n),o.props=new uf(n==null?void 0:n.props),o}return r}(H);Fe.controlType="order-column",Fe.controlName="\u5E8F\u53F7",Fe.controlIcon="order-column",Fe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];function YZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(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&&zh(e,t)}function HZ(e,t){return t&&(qZ(t)==="object"||typeof t=="function")?t:YZ(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}var qZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WZ(e){var t=UZ();return function(){var n=ff(e),o;if(t){var u=ff(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return HZ(this,o)}}var xh=function(e){VZ(r,e);var t=WZ(r);function r(n){GZ(this,r);var o;return o=t.call(this,n),o.props=new uf(n==null?void 0:n.props),o}return r}(q);xh.controlType="order-column",xh.controlFieldType=c.FieldTypes.DECIMAL;var rw={Designer:Fe,Runtime:xh,Property:uf};function KZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(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&&Yh(e,t)}function JZ(e,t){return t&&(ZZ(t)==="object"||typeof t=="function")?t:KZ(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var ZZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tee(e){var t=eee();return function(){var n=af(e),o;if(t){var u=af(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JZ(this,o)}}var Gh=function(e){QZ(r,e);var t=tee(r);function r(n){XZ(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:ze.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}(z);function ow(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iw(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 nee(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){iw(u,n,o,f,a,"next",l)}function a(l){iw(u,n,o,f,a,"throw",l)}f(void 0)})}}function ree(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 oee(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function iee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wt=Reflect.get:wt=function(o,u,f){var a=aee(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},wt(e,t,r||e)}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Te(e)}function uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function cee(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){iee(e,o,r[o])})}return e}function fee(e,t){return t&&(lee(t)==="object"||typeof t=="function")?t:ow(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function aee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Te(e),e!==null););return e}var lee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function see(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yee(e){var t=see();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 fee(this,o)}}var ze=function(e){uee(r,e);var t=yee(r);function r(n){ree(this,r);var o;return o=t.call(this,n),o.props=new Gh(n==null?void 0:n.props),de(ow(o),"children",n==null?void 0:n.children),o}return oee(r,[{key:"toDataBindModel",value:function(){var o=wt(Te(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(u){if(u.type===Vo.controlType){var f=u;o.props[f.props.command]=f.props}}),o}},{key:"toSchema",value:function(){var o=wt(Te(r.prototype),"toSchema",this).call(this);return cee({},o,{children:this.children.map(function(u){return u.toSchema()})})}},{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return wt(Te(r.prototype),"validate",f)};return nee(K.default.mark(function s(){return K.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);ze.controlType="operation-column",ze.controlName="\u64CD\u4F5C",ze.controlIcon="operation-column",ze.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 cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(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&&Hh(e,t)}function hee(e,t){return t&&(_ee(t)==="object"||typeof t=="function")?t:cw(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}var _ee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bee(e){var t=pee();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 hee(this,o)}}var qh=function(e){dee(r,e);var t=bee(r);function r(n){vee(this,r);var o;return o=t.call(this,n),o.props=new Gh(n==null?void 0:n.props),de(cw(o),"children",n==null?void 0:n.children),o}return r}(q);qh.controlType="operation-column",qh.controlFieldType=c.FieldTypes.FILE;var fw={Designer:ze,Runtime:qh,Property:Gh};function Uh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aw(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 Oee(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){aw(u,n,o,f,a,"next",l)}function a(l){aw(u,n,o,f,a,"throw",l)}f(void 0)})}}function gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mee(e,t,r){return t&&lw(e.prototype,t),r&&lw(e,r),e}function Pee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function An(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?An=Reflect.get:An=function(o,u,f){var a=$ee(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},An(e,t,r||e)}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xe(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&&Wh(e,t)}function wee(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){Pee(e,o,r[o])})}return e}function Tee(e,t){return t&&(See(t)==="object"||typeof t=="function")?t:Uh(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function $ee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=xe(e),e!==null););return e}var See=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iee(e){var t=Eee();return function(){var n=xe(e),o;if(t){var u=xe(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Tee(this,o)}}var sw=function(e){Ree(r,e);var t=Iee(r);function r(n){gee(this,r);var o;return o=t.call(this,n),o.props=new Dh(Uh(o),n==null?void 0:n.props),de(Uh(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new Fe,new ze]),o}return mee(r,[{key:"toSchema",value:function(){var o=An(xe(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return wee({},o,{children:u})}},{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return An(xe(r.prototype),"validate",f)};return Oee(K.default.mark(function s(){return K.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}(fr);sw.setting=[{key:"list-fixed-header",visible:!0}];function yw(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 vw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cee(e,t,r){return t&&vw(e.prototype,t),r&&vw(e,r),e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function Bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function kee(e,t){return t&&(jee(t)==="object"||typeof t=="function")?t:yw(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}var jee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mee(e){var t=Aee();return function(){var n=sf(e),o;if(t){var u=sf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kee(this,o)}}var Dee=function(e){Bee(r,e);var t=Mee(r);function r(n){Nee(this,r);var o;return o=t.call(this,n),o.props=new Dh(yw(o),n==null?void 0:n.props),o}return Cee(r,[{key:"getChildrenDataSourceBindLayout",value:function(){ge("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}(rl),dw={Designer:sw,Runtime:Dee,Property:Dh},Lee=Object.freeze({__proto__:null,SubTable:ZR,GridTable:dw});function Fee(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 yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function _w(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function zee(e,t){return t&&(xee(t)==="object"||typeof t=="function")?t:Fee(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}var xee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pw(e){var t=Yee();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 Gee=function(e){_w(r,e);var t=pw(r);function r(n){return hw(this,r),t.call(this,n)}return r}(fl),vf=function(e){_w(r,e);var t=pw(r);function r(n){hw(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:Ye.controlName;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new V(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;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(z);vf.Rules=Gee;function Vee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function 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&&Qh(e,t)}function Uee(e,t){return t&&(Wee(t)==="object"||typeof t=="function")?t:Vee(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var Wee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xee(e){var t=Kee();return function(){var n=df(e),o;if(t){var u=df(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Uee(this,o)}}var Ye=function(e){qee(r,e);var t=Xee(r);function r(n){Hee(this,r);var o;return o=t.call(this,n),o.props=new vf(n==null?void 0:n.props),o}return r}(H);Ye.controlType="varchar-column",Ye.controlName="\u77ED\u6587\u672C",Ye.controlIcon="varchar-column",Ye.controlFieldType=c.FieldTypes.VARCHAR,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];function Qee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(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&&Jh(e,t)}function ete(e,t){return t&&(tte(t)==="object"||typeof t=="function")?t:Qee(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(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=hf(e),o;if(t){var u=hf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ete(this,o)}}var Zh=function(e){Zee(r,e);var t=rte(r);function r(n){Jee(this,r);var o;return o=t.call(this,n),o.props=new vf(n==null?void 0:n.props),o}return r}(q);Zh.controlType="varchar-column",Zh.controlFieldType=c.FieldTypes.VARCHAR;var bw={Designer:Ye,Runtime:Zh,Property:vf};function ote(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ite(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(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&&e_(e,t)}function cte(e,t){return t&&(fte(t)==="object"||typeof t=="function")?t:ote(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(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=_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 t_=function(e){ute(r,e);var t=lte(r);function r(n){ite(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:Ge.controlName;var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(z);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 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 vte(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function pf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pf=Reflect.get:pf=function(o,u,f){var a=_te(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},pf(e,t,r||e)}function Tt(e){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tt(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&&n_(e,t)}function hte(e,t){return t&&(pte(t)==="object"||typeof t=="function")?t:ste(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}function _te(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tt(e),e!==null););return e}var pte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ote(e){var t=bte();return function(){var n=Tt(e),o;if(t){var u=Tt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hte(this,o)}}var Ge=function(e){dte(r,e);var t=Ote(r);function r(n){yte(this,r);var o;return o=t.call(this,n),o.props=new t_(n==null?void 0:n.props),o}return vte(r,[{key:"toDataBindModel",value:function(o){var u=pf(Tt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.escapeHTML;u.props.escapeHTML=f}return u}}]),r}(H);Ge.controlType="text-column",Ge.controlName="\u957F\u6587\u672C",Ge.controlIcon="text-column",Ge.controlFieldType=c.FieldTypes.TEXT,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];function gte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function Pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rte(e,t){return t&&(wte(t)==="object"||typeof t=="function")?t:gte(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var wte=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 $te(e){var t=Tte();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 Rte(this,o)}}var o_=function(e){Pte(r,e);var t=$te(r);function r(n){mte(this,r);var o;return o=t.call(this,n),o.props=new t_(n==null?void 0:n.props),o}return r}(q);o_.controlType="text-column",o_.controlFieldType=c.FieldTypes.TEXT;var gw={Designer:Ge,Runtime:o_,Property:t_};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&&i_(e,t)}function Nte(e,t){return t&&(Cte(t)==="object"||typeof t=="function")?t:Ste(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}var Cte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kte(e){var t=Bte();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 Nte(this,o)}}var u_=function(e){Ite(r,e);var t=kte(r);function r(n){Ete(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:Ve.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 V(n==null?void 0:n.datasourceBind);var y;return o.options=ye((y=n==null?void 0:n.options)!==null&&y!==void 0?y:[{}]),o}return r}(z);function jte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ate(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mte(e,t,r){return t&&mw(e.prototype,t),r&&mw(e,r),e}function gf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?gf=Reflect.get:gf=function(o,u,f){var a=Fte(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},gf(e,t,r||e)}function $t(e){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$t(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&&c_(e,t)}function Lte(e,t){return t&&(zte(t)==="object"||typeof t=="function")?t:jte(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function Fte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$t(e),e!==null););return e}var zte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yte(e){var t=xte();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 Lte(this,o)}}var Ve=function(e){Dte(r,e);var t=Yte(r);function r(n){Ate(this,r);var o;return o=t.call(this,n),o.props=new u_(n==null?void 0:n.props),o}return Mte(r,[{key:"toDataBindModel",value:function(o){var u=gf($t(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);Ve.controlType="decimal-column",Ve.controlName="\u6570\u503C",Ve.controlIcon="decimal-column",Ve.controlFieldType=c.FieldTypes.DECIMAL,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"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 Gte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function Hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function qte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:Gte(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}var Ute=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 Kte(e){var t=Wte();return function(){var n=mf(e),o;if(t){var u=mf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return qte(this,o)}}var a_=function(e){Hte(r,e);var t=Kte(r);function r(n){Vte(this,r);var o;return o=t.call(this,n),o.props=new u_(n==null?void 0:n.props),o}return r}(q);a_.controlType="decimal-column",a_.controlFieldType=c.FieldTypes.DECIMAL;var Pw={Designer:Ve,Runtime:a_,Property:u_};function Xte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qte(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 Jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l_(e,t)}function Zte(e,t){return t&&(ene(t)==="object"||typeof t=="function")?t:Xte(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}var ene=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nne(e){var t=tne();return function(){var n=Pf(e),o;if(t){var u=Pf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Zte(this,o)}}var s_=function(e){Jte(r,e);var t=nne(r);function r(n){Qte(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;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:He.controlName,o}return r}(z);function rne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function one(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 ine(e,t,r){return t&&Rw(e.prototype,t),r&&Rw(e,r),e}function Rf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Rf=Reflect.get:Rf=function(o,u,f){var a=fne(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Rf(e,t,r||e)}function St(e){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},St(e)}function une(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function cne(e,t){return t&&(ane(t)==="object"||typeof t=="function")?t:rne(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}function fne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=St(e),e!==null););return e}var ane=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sne(e){var t=lne();return function(){var n=St(e),o;if(t){var u=St(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cne(this,o)}}var He=function(e){une(r,e);var t=sne(r);function r(n){one(this,r);var o;return o=t.call(this,n),o.props=new s_(n==null?void 0:n.props),o}return ine(r,[{key:"toDataBindModel",value:function(o){var u=Rf(St(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.dateType;u.props.dateType=f}return u}}]),r}(H);He.controlType="timescope-column",He.controlName="\u65E5\u671F\u533A\u95F4",He.controlIcon="timescope-column",He.controlFieldType=c.FieldTypes.TIMESCOPE,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function yne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function hne(e,t){return t&&(_ne(t)==="object"||typeof t=="function")?t:yne(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var _ne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bne(e){var t=pne();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 hne(this,o)}}var d_=function(e){dne(r,e);var t=bne(r);function r(n){vne(this,r);var o;return o=t.call(this,n),o.props=new s_(n==null?void 0:n.props),o}return r}(q);d_.controlType="timescope-column",d_.controlFieldType=c.FieldTypes.TIMESCOPE;var ww={Designer:He,Runtime:d_,Property:s_};function One(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gne(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 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&&h_(e,t)}function Pne(e,t){return t&&(Rne(t)==="object"||typeof t=="function")?t:One(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var Rne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tne(e){var t=wne();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 Pne(this,o)}}var __=function(e){mne(r,e);var t=Tne(r);function r(n){gne(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;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:qe.controlName,o}return r}(z);function $ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sne(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 Ene(e,t,r){return t&&Tw(e.prototype,t),r&&Tw(e,r),e}function $f(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$f=Reflect.get:$f=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}},$f(e,t,r||e)}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Et(e)}function Ine(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}function Nne(e,t){return t&&(Bne(t)==="object"||typeof t=="function")?t:$ne(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}function Cne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Et(e),e!==null););return e}var Bne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jne(e){var t=kne();return function(){var n=Et(e),o;if(t){var u=Et(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Nne(this,o)}}var qe=function(e){Ine(r,e);var t=jne(r);function r(n){Sne(this,r);var o;return o=t.call(this,n),o.props=new __(n==null?void 0:n.props),o}return Ene(r,[{key:"toDataBindModel",value:function(o){var u=$f(Et(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.dateType;u.props.dateType=f}return u}}]),r}(H);qe.controlType="timestamp-column",qe.controlName="\u65E5\u671F",qe.controlIcon="timestamp-column",qe.controlFieldType=c.FieldTypes.TIMESTAMP,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];function Ane(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function Dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b_(e,t)}function Lne(e,t){return t&&(Fne(t)==="object"||typeof t=="function")?t:Ane(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(e,t)}var Fne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xne(e){var t=zne();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 Lne(this,o)}}var O_=function(e){Dne(r,e);var t=xne(r);function r(n){Mne(this,r);var o;return o=t.call(this,n),o.props=new __(n==null?void 0:n.props),o}return r}(q);O_.controlType="timestamp-column",O_.controlFieldType=c.FieldTypes.TIMESTAMP;var $w={Designer:qe,Runtime:O_,Property:__};function Yne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function 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&&g_(e,t)}function Gne(e,t){return t&&(Vne(t)==="object"||typeof t=="function")?t:Yne(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(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 Iw(e){var t=Hne();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 Gne(this,o)}}var qne=function(e){Ew(r,e);var t=Iw(r);function r(n){return Sw(this,r),t.call(this,n)}return r}(fl),If=function(e){Ew(r,e);var t=Iw(r);function r(n){Sw(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 V(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}(z);If.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 Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&m_(e,t)}function Xne(e,t){return t&&(Qne(t)==="object"||typeof t=="function")?t:Une(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(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=Nf(e),o;if(t){var u=Nf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Xne(this,o)}}var Ue=function(e){Kne(r,e);var t=Zne(r);function r(n){Wne(this,r);var o;return o=t.call(this,n),o.props=new If(n==null?void 0:n.props),o}return r}(H);Ue.controlType="array-column",Ue.controlName="\u6570\u7EC4",Ue.controlIcon="array-column",Ue.controlFieldType=c.FieldTypes.ARRAY,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",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&&P_(e,t)}function rre(e,t){return t&&(ore(t)==="object"||typeof t=="function")?t:ere(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(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 R_=function(e){nre(r,e);var t=ure(r);function r(n){tre(this,r);var o;return o=t.call(this,n),o.props=new If(n==null?void 0:n.props),o}return r}(q);R_.controlType="array-column",R_.controlFieldType=c.FieldTypes.ARRAY;var Nw={Designer:Ue,Runtime:R_,Property:If};function cre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function are(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function lre(e,t){return t&&(sre(t)==="object"||typeof t=="function")?t:cre(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}var sre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vre(e){var t=yre();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 lre(this,o)}}var T_=function(e){are(r,e);var t=vre(r);function r(n){fre(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;return o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1,o}return r}(z);function dre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _re(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),e}function kf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kf=Reflect.get:kf=function(o,u,f){var a=Ore(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},kf(e,t,r||e)}function It(e){return It=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},It(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&&$_(e,t)}function bre(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:dre(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}function Ore(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=It(e),e!==null););return e}var gre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pre(e){var t=mre();return function(){var n=It(e),o;if(t){var u=It(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bre(this,o)}}var We=function(e){pre(r,e);var t=Pre(r);function r(n){hre(this,r);var o;return o=t.call(this,n),o.props=new T_(n==null?void 0:n.props),o}return _re(r,[{key:"toDataBindModel",value:function(o){var u=kf(It(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.displayLevel;u.props.displayLevel=f}return u}}]),r}(H);We.controlType="department-column",We.controlName="\u90E8\u95E8",We.controlIcon="department-column",We.controlFieldType=c.FieldTypes.DEPARTMENTS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];function Rre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function Tre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function $re(e,t){return t&&(Sre(t)==="object"||typeof t=="function")?t:Rre(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var Sre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ire(e){var t=Ere();return function(){var n=jf(e),o;if(t){var u=jf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $re(this,o)}}var E_=function(e){Tre(r,e);var t=Ire(r);function r(n){wre(this,r);var o;return o=t.call(this,n),o.props=new T_(n==null?void 0:n.props),o}return r}(q);E_.controlType="department-column",E_.controlFieldType=c.FieldTypes.DEPARTMENTS;var Bw={Designer:We,Runtime:E_,Property:T_};function Nre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function Bre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function kre(e,t){return t&&(jre(t)==="object"||typeof t=="function")?t:Nre(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}var jre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mre(e){var t=Are();return function(){var n=Af(e),o;if(t){var u=Af(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kre(this,o)}}var N_=function(e){Bre(r,e);var t=Mre(r);function r(n){Cre(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:Ke.controlName,o}return r}(z);function Dre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function Fre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zre(e,t){return t&&(xre(t)==="object"||typeof t=="function")?t:Dre(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var xre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gre(e){var t=Yre();return function(){var n=Mf(e),o;if(t){var u=Mf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zre(this,o)}}var Ke=function(e){Fre(r,e);var t=Gre(r);function r(n){Lre(this,r);var o;return o=t.call(this,n),o.props=new N_(n==null?void 0:n.props),o}return r}(H);Ke.controlType="auto-number-column",Ke.controlName="\u81EA\u52A8\u7F16\u53F7",Ke.controlIcon="auto-number-column",Ke.controlFieldType=c.FieldTypes.AUTO_NUMBER,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Vre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function qre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function Ure(e,t){return t&&(Wre(t)==="object"||typeof t=="function")?t:Vre(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}var Wre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xre(e){var t=Kre();return function(){var n=Df(e),o;if(t){var u=Df(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ure(this,o)}}var k_=function(e){qre(r,e);var t=Xre(r);function r(n){Hre(this,r);var o;return o=t.call(this,n),o.props=new N_(n==null?void 0:n.props),o}return r}(q);k_.controlType="auto-number-column",k_.controlFieldType=c.FieldTypes.AUTO_NUMBER;var kw={Designer:Ke,Runtime:k_,Property:N_};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 Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function Zre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function eoe(e,t){return t&&(toe(t)==="object"||typeof t=="function")?t:Qre(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var toe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function noe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function roe(e){var t=noe();return function(){var n=Lf(e),o;if(t){var u=Lf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return eoe(this,o)}}var A_=function(e){Zre(r,e);var t=roe(r);function r(n){Jre(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:Xe.controlName,o}return r}(z);function ooe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ioe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(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&&M_(e,t)}function coe(e,t){return t&&(foe(t)==="object"||typeof t=="function")?t:ooe(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}var foe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function loe(e){var t=aoe();return function(){var n=Ff(e),o;if(t){var u=Ff(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return coe(this,o)}}var Xe=function(e){uoe(r,e);var t=loe(r);function r(n){ioe(this,r);var o;return o=t.call(this,n),o.props=new A_(n==null?void 0:n.props),o}return r}(H);Xe.controlType="file-column",Xe.controlName="\u9644\u4EF6",Xe.controlIcon="file-column",Xe.controlFieldType=c.FieldTypes.FILE,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function soe(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 zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function voe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function doe(e,t){return t&&(hoe(t)==="object"||typeof t=="function")?t:soe(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}var hoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _oe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function poe(e){var t=_oe();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 doe(this,o)}}var L_=function(e){voe(r,e);var t=poe(r);function r(n){yoe(this,r);var o;return o=t.call(this,n),o.props=new A_(n==null?void 0:n.props),o}return r}(q);L_.controlType="file-column",L_.controlFieldType=c.FieldTypes.FILE;var jw={Designer:Xe,Runtime:L_,Property:A_};function boe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ooe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(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&&F_(e,t)}function moe(e,t){return t&&(Poe(t)==="object"||typeof t=="function")?t:boe(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var Poe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Roe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function woe(e){var t=Roe();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 moe(this,o)}}var z_=function(e){goe(r,e);var t=woe(r);function r(n){Ooe(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:Qe.controlName,o}return r}(z);function Toe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $oe(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 Soe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function Eoe(e,t){return t&&(Ioe(t)==="object"||typeof t=="function")?t:Toe(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}var Ioe=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 Coe(e){var t=Noe();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 Eoe(this,o)}}var Qe=function(e){Soe(r,e);var t=Coe(r);function r(n){$oe(this,r);var o;return o=t.call(this,n),o.props=new z_(n==null?void 0:n.props),o}return r}(H);Qe.controlType="image-column",Qe.controlName="\u56FE\u7247",Qe.controlIcon="image-column",Qe.controlFieldType=c.FieldTypes.IMAGE,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function Boe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function koe(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 joe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Aoe(e,t){return t&&(Moe(t)==="object"||typeof t=="function")?t:Boe(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}var Moe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Doe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Loe(e){var t=Doe();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 Aoe(this,o)}}var G_=function(e){joe(r,e);var t=Loe(r);function r(n){koe(this,r);var o;return o=t.call(this,n),o.props=new z_(n==null?void 0:n.props),o}return r}(q);G_.controlType="image-column",G_.controlFieldType=c.FieldTypes.IMAGE;var Aw={Designer:Qe,Runtime:G_,Property:z_};function Foe(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 Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function xoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function Yoe(e,t){return t&&(Goe(t)==="object"||typeof t=="function")?t:Foe(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var Goe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Voe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hoe(e){var t=Voe();return function(){var n=Vf(e),o;if(t){var u=Vf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Yoe(this,o)}}var H_=function(e){xoe(r,e);var t=Hoe(r);function r(n){zoe(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:Je.controlName,o}return r}(z);function qoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function Woe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function Koe(e,t){return t&&(Xoe(t)==="object"||typeof t=="function")?t:qoe(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 Qoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Joe(e){var t=Qoe();return function(){var n=Hf(e),o;if(t){var u=Hf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Koe(this,o)}}var Je=function(e){Woe(r,e);var t=Joe(r);function r(n){Uoe(this,r);var o;return o=t.call(this,n),o.props=new H_(n==null?void 0:n.props),o}return r}(H);Je.controlType="people-column",Je.controlName="\u4EBA\u5458",Je.controlIcon="people-column",Je.controlFieldType=c.FieldTypes.EMPLOYEES,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function 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 qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(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&&U_(e,t)}function nie(e,t){return t&&(rie(t)==="object"||typeof t=="function")?t:Zoe(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(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=qf(e),o;if(t){var u=qf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nie(this,o)}}var W_=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 H_(n==null?void 0:n.props),o}return r}(q);W_.controlType="people-column",W_.controlFieldType=c.FieldTypes.EMPLOYEES;var Mw={Designer:Je,Runtime:W_,Property:H_};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 Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(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&&K_(e,t)}function aie(e,t){return t&&(lie(t)==="object"||typeof t=="function")?t:uie(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(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=Uf(e),o;if(t){var u=Uf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aie(this,o)}}var X_=function(e){fie(r,e);var t=yie(r);function r(n){cie(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:Ze.controlName,o}return r}(z);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 Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(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&&Q_(e,t)}function _ie(e,t){return t&&(pie(t)==="object"||typeof t=="function")?t:vie(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(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=Wf(e),o;if(t){var u=Wf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _ie(this,o)}}var Ze=function(e){hie(r,e);var t=Oie(r);function r(n){die(this,r);var o;return o=t.call(this,n),o.props=new X_(n==null?void 0:n.props),o}return r}(H);Ze.controlType="location-column",Ze.controlName="\u5730\u5740",Ze.controlIcon="location-column",Ze.controlFieldType=c.FieldTypes.ADDRESS,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];function 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 Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function Pie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rie(e,t){return t&&(wie(t)==="object"||typeof t=="function")?t:gie(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}var wie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ie(e){var t=Tie();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 Rie(this,o)}}var Z_=function(e){Pie(r,e);var t=$ie(r);function r(n){mie(this,r);var o;return o=t.call(this,n),o.props=new X_(n==null?void 0:n.props),o}return r}(q);Z_.controlType="location-column",Z_.controlFieldType=c.FieldTypes.ADDRESS;var Dw={Designer:Ze,Runtime:Z_,Property:X_};function Sie(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 Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function Iie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nie(e,t){return t&&(Cie(t)==="object"||typeof t=="function")?t:Sie(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var Cie=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 kie(e){var t=Bie();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 Nie(this,o)}}var tp=function(e){Iie(r,e);var t=kie(r);function r(n){Eie(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:$e.controlName;var f;return o.fieldCodeList=(f=n==null?void 0:n.fieldCodeList)!==null&&f!==void 0?f:[],o}return r}(z);function Lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jie(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 Aie(e,t,r){return t&&Fw(e.prototype,t),r&&Fw(e,r),e}function Mie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mn=Reflect.get:Mn=function(o,u,f){var a=xie(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Mn(e,t,r||e)}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},et(e)}function Die(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lie(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Fie(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){Mie(e,o,r[o])})}return e}function zie(e,t){return t&&(Yie(t)==="object"||typeof t=="function")?t:Lw(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function xie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=et(e),e!==null););return e}var Yie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vie(e){var t=Gie();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 zie(this,o)}}var Hie=1,$e=function(t){Die(n,t);var r=Vie(n);function n(o){jie(this,n);var u;u=r.call(this,o);var f=Lie(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new tp(o==null?void 0:o.props),de(Lw(u),"children",o==null?void 0:o.children),u.excludes=pe(a),u.childrenMaxLength=l,u}return Aie(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=Mn(et(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=Mn(et(n.prototype),"toSchema",this).call(this);return Fie({},u,{children:this.children.map(function(f){return f.toSchema()})})}}]),n}(H);$e.controlType="custom-column",$e.controlName="\u81EA\u5B9A\u4E49",$e.controlIcon="custom-column",$e.excludes=[],$e.childrenMaxLength=Hie,$e.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 zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function Uie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function Wie(e,t){return t&&(Kie(t)==="object"||typeof t=="function")?t:zw(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}var Kie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qie(e){var t=Xie();return function(){var n=Qf(e),o;if(t){var u=Qf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Wie(this,o)}}var xw=function(e){Uie(r,e);var t=Qie(r);function r(n){qie(this,r);var o;return o=t.call(this,n),o.props=new tp(n==null?void 0:n.props),de(zw(o),"children",n==null?void 0:n.children),o}return r}(q);xw.controlType="custom-column";var Yw={Designer:$e,Runtime:xw,Property:tp};function Jie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(e)}function eue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function tue(e,t){return t&&(nue(t)==="object"||typeof t=="function")?t:Jie(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}var nue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oue(e){var t=rue();return function(){var n=Jf(e),o;if(t){var u=Jf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return tue(this,o)}}var ip=function(e){eue(r,e);var t=oue(r);function r(n){Zie(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:Se.controlName;var f;return o.datasourceBind=new Dt((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{attributes:Se.controlCustomAttributes}),o}return r}(z);function iue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cue(e,t,r){return t&&Gw(e.prototype,t),r&&Gw(e,r),e}function Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(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&&up(e,t)}function aue(e,t){return t&&(lue(t)==="object"||typeof t=="function")?t:iue(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(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=Zf(e),o;if(t){var u=Zf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aue(this,o)}}var Se=function(e){fue(r,e);var t=yue(r);function r(n){uue(this,r);var o;return o=t.call(this,n),o.props=new ip(n==null?void 0:n.props),o}return cue(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Se.controlType="employee-column",Se.controlName="\u4EBA\u5458",Se.controlIcon="employee-column",Se.controlFieldType=c.FieldTypes.EMPLOYEES,Se.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 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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(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&&cp(e,t)}function _ue(e,t){return t&&(pue(t)==="object"||typeof t=="function")?t:vue(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(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=ea(e),o;if(t){var u=ea(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _ue(this,o)}}var fp=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 ip(n==null?void 0:n.props),o}return r}(q);fp.controlType="employee-column",fp.controlFieldType=c.FieldTypes.EMPLOYEES;var Vw={Designer:Se,Runtime:fp,Property:ip},gue=Object.freeze({__proto__:null,VarcharColumn:bw,TextColumn:gw,DecimalColumn:Pw,TimescopeColumn:ww,TimestampColumn:$w,ArrayColumn:Nw,DepartmentColumn:Bw,AutoNumberColumn:kw,FileColumn:jw,ImageColumn:Aw,PeopleColumn:Mw,LocationColumn:Dw,CustomColumn:Yw,OrderColumn:rw,OperationColumn:fw,EmployeeColumn:Vw});function mue(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 ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(e)}function qw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function Pue(e,t){return t&&(Rue(t)==="object"||typeof t=="function")?t:mue(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}var Rue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=wue();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 Pue(this,o)}}var Tue=function(e){qw(r,e);var t=Uw(r);function r(n){Hw(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(me),na=function(e){qw(r,e);var t=Uw(r);function r(n){Hw(this,r);var o;o=t.call(this,n);var u;o.searchType=(u=n==null?void 0:n.searchType)!==null&&u!==void 0?u:"model";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var a;o.viewType=(a=n==null?void 0:n.viewType)!==null&&a!==void 0?a:"mini";var l;o.search=new be((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:"\u67E5\u8BE2",isShow:!0});var s;o.cancel=new be((s=n==null?void 0:n.cancel)!==null&&s!==void 0?s:{content:"\u91CD\u7F6E",isShow:!0});var y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var v;o.custom=((v=n==null?void 0:n.custom)!==null&&v!==void 0?v:[]).map(function(p){return new be(p)});var d;return o.queryTypeMap=(d=n==null?void 0:n.queryTypeMap)!==null&&d!==void 0?d:[],o}return r}(hr);na.RuntimeRules=Tue;function $ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function Eue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function Iue(e,t){return t&&(Nue(t)==="object"||typeof t=="function")?t:$ue(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}var Nue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bue(e){var t=Cue();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 Iue(this,o)}}var sp=function(e){Eue(r,e);var t=Bue(r);function r(n){Sue(this,r);var o;return o=t.call(this,n),o.props=new na(n==null?void 0:n.props),o}return r}(Qb);sp.controlType="simple-search",sp.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 kue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jue(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 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&&yp(e,t)}function Mue(e,t){return t&&(Due(t)==="object"||typeof t=="function")?t:kue(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}var Due=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fue(e){var t=Lue();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 Mue(this,o)}}var Ww=function(e){Aue(r,e);var t=Fue(r);function r(n){jue(this,r);var o;o=t.call(this,n),o.props=new na(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}(Jb);Ww.controlType="simple-search";var Kw={Designer:sp,Runtime:Ww,Property:na},zue=Object.freeze({__proto__:null,SimpleSearch:Kw});function vp(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 xue(e){if(Array.isArray(e))return e}function Yue(e){if(Array.isArray(e))return vp(e)}function Gue(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vue(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 Hue(){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 que(){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 Uue(e,t){return xue(e)||Vue(e,t)||Qw(e,t)||Hue()}function Xw(e){return Yue(e)||Gue(e)||Qw(e)||que()}function Qw(e,t){if(!!e){if(typeof e=="string")return vp(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 vp(e,t)}}var Wue=function(e,t){var r=Array.isArray(e),n=r?e:[e];uce(t==null?void 0:t.events),ece(n),tce(n);var o=Zue(n),u=nce(o,t),f=ke(Z(u,function(a){return Jue(a,t)}));return r?f:f[0]},Kue=[c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT,c.CONTROL_TYPE.TITLE,c.CONTROL_TYPE.LINK,c.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],Xue=["subtable","grid-table"],Que=["simple-search"];function Jue(e,t){var r,n,o,u=e;if(u.controlType||(u.is_layout_control===!0?u.controlType="layout":Kue.includes(u.type)?u.controlType="base":u.controlType="form",Xue.includes(u.type)&&(u.controlType="list"),Que.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),X(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(u.props.caption=e.props.caption.zh),X(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(u.props.placeholder=e.props.placeholder.zh),X(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"&&(X(e.props.value)?u.props.defaultValue=e.props.value.zh:u.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(X(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(T,S){var k=new Yd.Designer;k.props.caption=X(T.field_name)?T.field_name.zh:T.field_name;var re=k.toSchema();re.id=T.header_id;var U=u.children[0].children[S].children[0];return!!U&&(re.children=[U]),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(T){T.label=X(T.text)?T.text.zh:T.text,T.id=T.id||T.opt_id||T.optId||T.data_id}),u=e),e.type==="grid-row"){var v=24/u.children.length;u.children=u.children.map(function(T){var S=new Ju.Designer;S.props.span=v;var k=S.toSchema();return k.children.push(T),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&&(Jw(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={},m={};b&&(Jw(u,t),u.id=b.id,h.amount=b.props.data_bind,u.props.range_min=Be(b.props.range_min),u.props.range_max=Be(b.props.range_max),m.amount=Be(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=X(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,m.currency=g.props.value,u.props.datasourceBind=g.props.datasource_bind,u.props.options=g.props.options.map(function(T){return{label:T.text,value:T.value}})),u.props.dataBind=h,u.props.defaultValue=m,delete u.children}if(e.type==="date-range"){u.controlType="form";var P=u==null?void 0:u.children[0],R=u==null?void 0:u.children[1];u.props.placeholderStart=X(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,u.props.caption=X(e.props.caption)?e.props.caption.zh:e.props.caption;var $={};P&&($.min=P.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=X(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(u.props.range_min=Be(e.props.range_min),u.props.range_max=Be(e.props.range_max),u.props.defaultValue=Be(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"),cce(u,t==null?void 0:t.control_events),u}function Jw(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 Zue(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new ph.Designer,n=r.toSchema();return n.children=e,[n]}function ece(e){e.forEach(function(t){t.children&&ice(t.children)})}function tce(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 nce(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=Uue(s,3),v=y[0],d=y[1],p=y[2];rce(v),p.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,oce(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,m,P=(m=l==null||(u=l.source_config)===null||u===void 0?void 0:u.orders)!==null&&m!==void 0?m:[],R=new vh.Designer;R.props.datasourceBind=new V({dataCode:b,svcCode:h,orders:jp(P)}),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(T){T.title=X(T.title)?T.title.zh:T.title}),R.props.sublistPage=l.sublist_page;var $=R.toSchema();return $.children.push(v,p),[$]}function rce(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=X(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 oce(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:X(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=X(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 V({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 ice(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 uce(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 cce(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,Xw(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,Xw(t[e.id].on_blur))}}}var fce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ke(Z(n,function(u){return ace(u)}));return r?o:o[0]};function ace(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 lce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ke(Z(n,function(u){return sce(u)}));return r?o:o[0]};function sce(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 yce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ke(Z(n,function(u){return vce(u)}));return r?o:o[0]};function vce(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 dce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ke(Z(n,function(u){return _ce(u)}));return r?o:o[0]},hce=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function _ce(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(hce.includes(r.type))return r;var n=new jd.Designer,o=new Ju.Designer;n.children.push(o);var u=n.toSchema();return u.children[0].children.push(r),u})),e}var pce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ke(Z(n,function(u){return bce(u)}));return r?o:o[0]};function bce(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var Oce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return gce(u)});return r?o:o[0]};function gce(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var mce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Pce(u)});return r?o:o[0]};function Ee(e,t){e.field_code&&(e.field_type=t)}function Pce(e,t){var r,n=(r={},A(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),A(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),A(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),A(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),A(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),A(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),A(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),A(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),A(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),A(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),A(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),A(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),A(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),A(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),A(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),A(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Ee(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(Ee(e.props.data_bind.amount,c.FieldTypes.DECIMAL),Ee(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(Ee(e.props.data_bind.result,c.FieldTypes.DECIMAL),Ee(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(Ee(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),Ee(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;Ee(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var Rce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return wce(u)});return r?o:o[0]};function wce(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 Tce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return $ce(u)});return r?o:o[0]};function $ce(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 Sce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Ece(u)});return r?o:o[0]};function Ece(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 Ice=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Nce(u)});return r?o:o[0]};function Nce(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 Cce=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Z(n,function(u){return Bce(u)});return r?o:o[0]};function Bce(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 tn.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,m,P,R=new tn.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,((m=r.props)===null||m===void 0?void 0:m.edit.is_show)&&r.children.push(R.toSchema()),(P=r.props)===null||P===void 0||delete P.edit}if(((u=r.props)===null||u===void 0?void 0:u.delete)!==void 0){var $,T,S,k,re,U,W=new tn.Designer;Object.defineProperty(W,"id",{value:"listPageDeleteBtnId"}),W.props.code="delete",W.props.icon="iconlajitong",W.props.command="delete",W.props.content=($=r.props)===null||$===void 0?void 0:$.delete.content,W.props.priorityProcess=(T=r.props)===null||T===void 0?void 0:T.delete.priority_process,W.props.openType=(S=r.props)===null||S===void 0?void 0:S.delete.open_type,W.props.formKey=(k=r.props)===null||k===void 0?void 0:k.delete.form_key,W.props.needConfirm=!0,W.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(W.toSchema()),(U=r.props)===null||U===void 0||delete U.delete}}}),[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Zw={"v1.0":Wue,"v2.0":fce,"v2.1":lce,"v2.2":yce,"v2.3":dce,"v2.4":pce,"v2.5":Oce,"v2.6":mce,"v2.7":Rce,"v2.8":Tce,"v2.9":Sce,"v2.10":Ice,"v3.0":Cce,"v3.1":function(){}};const eT=(e,t)=>{const r=tT(e),n=tT(t),o=r.pop(),u=n.pop(),f=oT(r,n);return f!==0?f:o&&u?oT(o.split("."),u.split(".")):o||u?o?-1:1:0},ia=(e,t,r)=>{Mce(r);const n=eT(e,t);return iT[r].includes(n)},kce=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,tT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(kce);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},nT=e=>e==="*"||e==="x"||e==="X",rT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},jce=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Ace=(e,t)=>{if(nT(e)||nT(t))return 0;const[r,n]=jce(rT(e),rT(t));return r>n?1:r<n?-1:0},oT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Ace(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},iT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},uT=Object.keys(iT),Mce=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(uT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${uT.join("|")}`)};function Dce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lce(e,t,r){return t&&cT(e.prototype,t),r&&cT(e,r),e}function dp(e){return e.replace(/^v/,"")}var Nt=Object.keys(Zw).map(function(e){return dp(e)}).sort(eT),Dn=Nt[Nt.length-1],Fce=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dn;Dce(this,e),this.schemaVersion=t,this.toVersion=r,ia(r,Dn,">")?ge("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Dn)):(!Nt.includes(dp(r))||!Nt.includes(dp(t)))&&ge("Version Builder: Please give me a valid version number, The valid version is: ".concat(Nt.join(","),", But give me a ").concat(t))}return Lce(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;Mt("Version Builder: current version: ".concat(a,", nextVersion: ").concat(v));var d=Zw[a],p=f;if(typeof d=="function"){var O=d(f,n);O&&(p=O)}return p},r);return Mt("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u}},{key:"runDataCleanerKeys",get:function(){var r=this;return Nt.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 Dn}}],[{key:"version",get:function(){return Dn}}]),e}();const ua=[],hp={exports:{}};let _p=!1;const zce=window.module,xce=window.exports,Yce=window.require;function Gce(e){return _p||(window.module=hp,window.exports=hp.exports,window.require=function(t){return e[t]},_p=!0),function(){window.module=zce,window.exports=xce,window.require=Yce,_p=!1}}function Vce(e,t){const r=new Promise((n,o)=>{const u=document.createElement("script"),f=Gce(t);u.src=e,u.type="text/javascript";const a=()=>{document.head.removeChild(u);const l=ua.findIndex(s=>s===r);ua.splice(l,1),ua.length===0&&f()};u.onerror=function(l){a(),o(l)},u.onload=function(){n(hp.exports),a()},document.head.appendChild(u)});return ua.push(r),r}function pp(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 fT(e,t,r={fetch:pp}){return new Promise((n,o)=>{r.fetch(e).then(u=>{const f={exports:{}};new Function("module","exports","require",u)(f,f.exports,function(a){return t[a]}),n(f.exports)}).catch(u=>{o(u)})})}function ca(e,t){return fT(e,t)}function Hce(e,t){return Ln(this,null,function*(){return yield Promise.all(e.map(r=>ca(r,t)))})}function fa(e,t,r){let n;t==="runtime"?n=class extends Y{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 F{}const u=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code 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 qce(e,t,r,n){return Ln(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(u=>Ln(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 ca(l,r)}catch(l){f=!1,Ne("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+u.id,l),a=fa(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)}}aT(n.type,a,o,f,u)}))),e==null||e.map(u=>{const[f,a]=u.split(":");if(o.has(f)===!1){const s=fa(f,n.type,n.tipMessage);aT(n.type,s,o,!1,{fieldType:"",id:f,name:"",runtime:"",designer:"",type:"",version:a})}})),o})}function aT(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&Ne(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&Ne(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function Uce(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 Wce(e,t){return Ln(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield pp(`${e}/component.json?v=${r}`);let u=[];if(o!==void 0){u=JSON.parse(o);const f=yield ca(`${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=fa(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.Address=w0,c.AddressValue=fb,c.AdvancedContainer=YR,c.Amount=v0,c.AmountDataBind=ob,c.AmountValue=ib,c.ArrayColumn=Nw,c.Attachment=u0,c.AutoNumber=A0,c.AutoNumberColumn=kw,c.AutoWidth=wa,c.BaseControlProperty=I,c.BaseControlPropertyRules=Q,c.BaseControlPropertyRuntimeRules=j,c.BaseStyle=yb,c.BatchDeleteButton=tm,c.BatchPrintListButton=Vg,c.BatchPrintRecordListButton=Ug,c.BatchSubmissionListButton=AO,c.Button=fO,c.Calc=F0,c.CalcDataBind=ab,c.CalcScriptEchoItem=qE,c.CalcValue=lb,c.CardGroup=iR,c.Checkbox=am,c.Col=Ju,c.ColumnControlProperty=z,c.ColumnControlPropertyRules=sr,c.ColumnOptionAndDataSourcePropertyRules=fl,c.CreateFormListButton=IO,c.CustomAttributeItem=eb,c.CustomColumn=Yw,c.CustomPermissionItem=VI,c.DEFAULT_LOCALE=mp,c.Dashboard=Og,c.DataBind=ie,c.DataSourceBind=V,c.DataSourceDataSetValue=Zp,c.DataSourceOrderItem=Sa,c.DataSourceParamItem=xI,c.DataStorageDoc=Hp,c.DataView=ph,c.DatePicker=wm,c.DateRange=Cm,c.DecimalColumn=Pw,c.Department=C0,c.Department2=xP,c.DepartmentColumn=Bw,c.DepartmentEntity=aa,c.DesignerColumnControl=H,c.DesignerControl=B,c.DesignerFormControl=N,c.DesignerLayoutControl=D,c.DesignerListControl=fr,c.DesignerSearchControl=Qb,c.DesignerWrapControl=fk,c.DisplayBoListItem=Hn,c.Divider=pO,c.ElectronicSignature=BP,c.ElectronicSignatureConfig=aO,c.Employee=r0,c.Employee2=TP,c.EmployeeColumn=Vw,c.EventLogic=Fp,c.Explain=Cr,c.ExportListButton=xO,c.ExportRecordListButton=VO,c.ExportTemplate=Cl,c.FieldBindItem=Wp,c.FieldFilterCondition=$a,c.FieldFilterConditions=Jp,c.FieldTypeToColumnType=WE,c.FileColumn=jw,c.FillBackBind=Ia,c.FillPayloadBind=qn,c.FlexStyleConfig=vO,c.FormBind=Vn,c.FormSelectBind=qp,c.FormSelectButton=tg,c.Grid=HP,c.GridRow=jd,c.GridTable=dw,c.GridTableColumn=vR,c.Image=a0,c.ImageColumn=Aw,c.ImageOptionSetting=rb,c.ImportRecordListButton=WO,c.Input=im,c.InvoiceCheckButton=Lg,c.JSONCopy=pe,c.Language=YI,c.LayoutControlProperty=M,c.LeftVariable=Qp,c.LimitDate=Nr,c.Link=iO,c.ListBind=Ta,c.ListControlProperty=Yt,c.ListSelectButton=fg,c.ListView=vh,c.ListViewSelect=$g,c.LocationColumn=Dw,c.MetaAutoWidth=Vp,c.MetaWidth=Gn,c.MultistageFillingItem=ne,c.Number=gm,c.ObjectDataBind=Un,c.OperationButton=tn,c.OperationColumn=fw,c.OperationItem=be,c.OptionAndDataSourcePropertyRules=je,c.OptionSetting=Ca,c.OrderColumn=rw,c.Page=FR,c.Pagination=yg,c.PeopleColumn=Mw,c.Position=WR,c.PositioningContainer=HR,c.PrintTemplate=yO,c.Property=F,c.PropertyRules=L,c.PropertyRuntimeRules=me,c.Radio=_m,c.RangeDataBind=ub,c.RangeDateValue=cb,c.RegisterControls=xn,c.RegularRules=Na,c.RichText=Fm,c.RightVariable=rt,c.Row=QP,c.RulesMessage=_,c.RuntimeColumnControl=q,c.RuntimeControl=Y,c.RuntimeFormControl=C,c.RuntimeLayoutControl=G,c.RuntimeListControl=rl,c.RuntimeSearchControl=Jb,c.RuntimeWrapControl=_k,c.SUBTABLE_DEFAULT_MAX_HEIGHT=sO,c.Score=p0,c.SearchControlProperty=hr,c.SearchDateRange=Z0,c.SearchInput=hP,c.SearchNumberRange=q0,c.Select=qm,c.SelectMultiple=Xm,c.SelectRelation=lP,c.SimpleSearch=Kw,c.SubListItem=Kp,c.SubListPageConfig=Xp,c.SubTable=ZR,c.SubTableColumn=Yd,c.SubTableRow=sR,c.SubmissionRecordListButton=LO,c.SuperDataSourceBind=Dt,c.Tab=PR,c.TabPane=OR,c.Text=nO,c.TextColumn=gw,c.TextOcrButton=Bg,c.Textarea=Am,c.TimescopeColumn=ww,c.TimestampColumn=$w,c.Title=RO,c.Toolbox=SR,c.Tree=gP,c.TreeDataSourceBind=tb,c.UndersignedPerson=Nl,c.UserEntity=Bt,c.VarcharColumn=bw,c.VersionBuilder=Fce,c.ViewOperationItem=sb,c.VueFormItem=rP,c.WPS=MP,c.WPSSetting=lO,c.Watcher=Dp,c.WpsOperationItem=Bl,c.WrapControlProperty=hl,c.baseControls=DF,c.camelizeKeys=jp,c.columnControls=gue,c.controlHooksEmitter=gb,c.createValidator=Ob,c.debounce=RI,c.decamelizeKeys=ke,c.defineArrayParent=jb,c.defineControlArrayToProperty=de,c.defineParent=Wa,c.error=ge,c.formControls=FH,c.genNonDuplicateId=fe,c.getHackerControl=fa,c.getNotRepeatItems=kp,c.initExpression=Gt,c.initImageOptions=GI,c.initOptionAndDataSourceRules=Qn,c.initOptions=ye,c.initSuperDataSourceRules=Jn,c.isArray=Ce,c.isBuiltInControls=TI,c.isFunction=pI,c.isJSONArray=mI,c.isJSONObject=PI,c.isLanguageObject=X,c.isNumber=ga,c.isNumberAndEmptyStringArray=gI,c.isNumberArray=OI,c.isObject=_I,c.isPlainObject=Oa,c.isString=Bp,c.isStringArray=bI,c.layoutControls=tZ,c.listControls=Lee,c.loadRemoteControl=ca,c.loadRemoteControls=Hce,c.loadScriptFromFetch=fT,c.loadScriptFromTag=Vce,c.log=Mt,c.logerror=Sp,c.loop=Z,c.loopFormSchema=_a,c.nativeFetch=pp,c.noop=UE,c.referenceError=ha,c.registerByteluckControls=Wce,c.registerCustomControls=qce,c.searchControls=zue,c.setPropertyDontEnum=kb,c.toNumberOrEmpty=Be,c.updateValueFromKeys=Np,c.upgradeCustomControlSchema=Uce,c.wait=wI,c.warn=Ne,Object.defineProperty(c,"__esModule",{value:!0})});
|
|
1
|
+
var fi=(u,on,At)=>new Promise((hy,ai)=>{var D=vt=>{try{Gr(At.next(vt))}catch(Hr){ai(Hr)}},by=vt=>{try{Gr(At.throw(vt))}catch(Hr){ai(Hr)}},Gr=vt=>vt.done?hy(vt.value):Promise.resolve(vt.value).then(D,by);Gr((At=At.apply(u,on)).next())});(function(u,on){typeof exports=="object"&&typeof module!="undefined"?on(exports):typeof define=="function"&&define.amd?define(["exports"],on):(u=typeof globalThis!="undefined"?globalThis:u||self,on(u.modelDrivenCoreAll={}))})(this,function(u){"use strict";function on(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var hy=function e(){on(this,e),At(this,"department_en_name",void 0),At(this,"department_id",void 0),At(this,"department_name",void 0)};function ai(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var by=function e(){ai(this,e),D(this,"avatar_big",void 0),D(this,"avatar_small",void 0),D(this,"avatar_url",void 0),D(this,"belong_dept_en_name",void 0),D(this,"belong_dept_id_list",void 0),D(this,"belong_dept_ids",void 0),D(this,"belong_dept_name",void 0),D(this,"cookie_language_enum",void 0),D(this,"department_id",void 0),D(this,"department_name",void 0),D(this,"email",void 0),D(this,"employee_card",void 0),D(this,"employee_en_name",void 0),D(this,"employee_id",void 0),D(this,"employee_name",void 0),D(this,"external_user",void 0),D(this,"gender",void 0),D(this,"is_show_chat_group",void 0),D(this,"manage_dept_en_name",void 0),D(this,"manage_dept_ids",void 0),D(this,"manage_dept_name",void 0),D(this,"msg_relation_type",void 0),D(this,"sequence",void 0),D(this,"telephone",void 0),D(this,"tenant_id",void 0)},Gr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",vt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Hr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",g1="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",m1="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",P1="{caption}\u5FC5\u586B",w1="\u8BF7\u8F93\u5165\u6807\u9898",R1="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",T1="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",$1="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",S1="\u8BF7\u7ED1\u5B9A\u8868\u5355",E1="\u8BF7\u7ED1\u5B9A\u5217\u8868",I1="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",C1="\u8BF7\u8F93\u5165\u663E\u793A\u503C",N1="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",B1="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",A1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",M1="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",D1="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",k1="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",j1="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",L1="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",F1="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",x1="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",V1="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",z1="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Y1="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",G1="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",H1="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",q1="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",U1="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",W1="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",K1="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",X1="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Q1="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",J1="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Z1="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",e3="\u8BF7\u9009\u62E9\u7701",t3="\u8BF7\u9009\u62E9\u5E02",n3="\u8BF7\u9009\u62E9\u533A",r3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",o3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",i3="\u8BF7\u8F93\u5165\u5217\u5BBD",u3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",c3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",f3="\u8BF7\u9009\u62E9\u63A7\u4EF6",a3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",l3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",s3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",y3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",v3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",d3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",p3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",h3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",b3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",O3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",g3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",m3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",P3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",w3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",R3="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",T3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",$3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",S3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",E3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",I3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",C3={isNotNumber:Gr,isNotString:vt,isNotObject:Hr,isNotArray:g1,isNotBoolean:m1,runtimeRequired:P1,pleaseEnterCaption:w1,pleaseEnterCaptionTip:R1,pleaseEnterPlaceholder:T1,pleaseEnterFieldCode:$1,pleaseEnterForm:S1,pleaseEnterList:E1,pleaseEnterProcess:I1,pleaseEnterLabel:C1,pleaseEnterValue:N1,bizKeyNotBindFiled:B1,pleaseSelectOneField:A1,pleaseEnterNumberRange:M1,pleaseEnterAValueGreaterThanMin:D1,pleaseEnterAValueLessThanMax:k1,numberRangeSetError:j1,stringRangeError:L1,attachmentMaxSize:F1,pleaseEnterTotalScoreSetting:x1,theTotalScoreMustNotBeLessThan1:V1,scoreDefaultValueRange:z1,attachmentLimitError:Y1,PleaseReselectTheOptionalQuantity:G1,TheMaximumLengthIsGreaterThanTheMinimumLength:H1,TheMinimumLengthIsGreaterThanTheMaximumLength:q1,PleaseSelectTheCorrectOptionSettings:U1,optionIdIsRepeat:W1,optionIsRequired:K1,pleaseEnterDataCode:X1,pleaseEnterValueFieldCode:Q1,pleaseEnterSvcCode:J1,pleaseBindAtLeastOneDisplayValue:Z1,pleaseSelectProvince:e3,pleaseSelectCity:t3,pleaseSelectDistrict:n3,limitRowsCannotBeLessThan0:r3,TheNumberOfRowsCannotBeLessThanMinRows:o3,pleaseEnterColumnWidth:i3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:u3,pleaseCompleteAllRulesAndConditions:c3,pleaseSelectControl:f3,pleaseSelectAtLeastOneColumn:a3,pleaseSelectFillBackMode:l3,pleaseSelectDashboard:s3,rootNodeIsRequired:y3,theViewNameCannotBeEmpty:v3,pleaseSelectOcrType:d3,pleaseSelectAtLeastOneFieldToFillIn:p3,pleaseChooseAtLeastOne:_3,pleaseEnterButtonContent:h3,pleaseEnterDataCodeInDataSetting:b3,pleaseEnterValueFieldCodeInDataSetting:O3,pleaseEnterSvcCodeInDataSetting:g3,pleaseBindAtLeastOneDisplayValueInDataSetting:m3,rootNodeIsRequiredInDataSetting:P3,pleaseEnterMaxHeight:w3,pleaseEnter:R3,pleaseEnterWatermark:T3,pleaseEnterFileName:$3,pleaseUploadAtLeastOnePrintTemplate:S3,pleaseAssignBusiness:E3,pleaseAssignExternal:I3},N3="Please enter a number",B3="Please enter a string",A3="Please enter an object",M3="Please enter an array",D3="Please enter a boolean",k3="{caption} Required",j3="Please enter the title",L3="Please enter the bubble prompt",F3="Please enter the prompt text",x3="Please bind data items",V3="Please bind the form",z3="Please bind the list",Y3="Please bind the process",G3="Please enter the displayed value",H3="Please enter the stored value",q3="The document number is not bound to the data item",U3="Please select at least one display field",W3="Please enter a value greater than or equal to {min} and less than or equal to {max}",K3="Please enter a value greater than or equal to {min}",X3="Please enter a value less than or equal to {max}",Q3="The value range is set incorrectly",J3="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Z3="The attachment size must be between 0MB and 1000MB",eA="Please fill in the total score setting",tA="The total score cannot be less than 1",nA="The default value must be between {min} and {max}",rA="The number of attachments uploaded must be between {min} and {max}",oA="Please re-select the optional quantity",iA="The maximum length of the control must be greater than the minimum length",uA="The minimum length of the control must be less than the maximum length",cA="Please select the correct option setting",fA="Option ID cannot be repeated",aA="Please enter at least one option",lA="Please bind the data source",sA="Please bind the stored value",yA="Please bind the service",vA="At least one display value must be bound",dA="Please select a province",pA="Please select a city",_A="Please select a district",hA="The minimum number of lines to fill in cannot be less than 0",bA="The number of rows cannot be less than {min} rows",OA="Please enter the column width",gA="Please set the logical relationship of all rule conditions",mA="Please complete all rules and conditions",PA="please select control",wA="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",RA="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",TA="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",$A="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",SA="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",EA="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",IA="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",CA="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",NA="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",BA="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",AA="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",MA="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",DA="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",kA="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",jA="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",LA="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",FA="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",xA="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",VA={isNotNumber:N3,isNotString:B3,isNotObject:A3,isNotArray:M3,isNotBoolean:D3,runtimeRequired:k3,pleaseEnterCaption:j3,pleaseEnterCaptionTip:L3,pleaseEnterPlaceholder:F3,pleaseEnterFieldCode:x3,pleaseEnterForm:V3,pleaseEnterList:z3,pleaseEnterProcess:Y3,pleaseEnterLabel:G3,pleaseEnterValue:H3,bizKeyNotBindFiled:q3,pleaseSelectOneField:U3,pleaseEnterNumberRange:W3,pleaseEnterAValueGreaterThanMin:K3,pleaseEnterAValueLessThanMax:X3,numberRangeSetError:Q3,stringRangeError:J3,attachmentMaxSize:Z3,pleaseEnterTotalScoreSetting:eA,theTotalScoreMustNotBeLessThan1:tA,scoreDefaultValueRange:nA,attachmentLimitError:rA,PleaseReselectTheOptionalQuantity:oA,TheMaximumLengthIsGreaterThanTheMinimumLength:iA,TheMinimumLengthIsGreaterThanTheMaximumLength:uA,PleaseSelectTheCorrectOptionSettings:cA,optionIdIsRepeat:fA,optionIsRequired:aA,pleaseEnterDataCode:lA,pleaseEnterValueFieldCode:sA,pleaseEnterSvcCode:yA,pleaseBindAtLeastOneDisplayValue:vA,pleaseSelectProvince:dA,pleaseSelectCity:pA,pleaseSelectDistrict:_A,limitRowsCannotBeLessThan0:hA,TheNumberOfRowsCannotBeLessThanMinRows:bA,pleaseEnterColumnWidth:OA,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gA,pleaseCompleteAllRulesAndConditions:mA,pleaseSelectControl:PA,pleaseSelectDashboard:wA,theViewNameCannotBeEmpty:RA,pleaseSelectOcrType:TA,pleaseSelectAtLeastOneFieldToFillIn:$A,pleaseChooseAtLeastOne:SA,pleaseEnterButtonContent:EA,pleaseEnterDataCodeInDataSetting:IA,pleaseEnterValueFieldCodeInDataSetting:CA,pleaseEnterSvcCodeInDataSetting:NA,pleaseBindAtLeastOneDisplayValueInDataSetting:BA,rootNodeIsRequiredInDataSetting:AA,pleaseEnterMaxHeight:MA,pleaseEnter:DA,pleaseEnterWatermark:kA,pleaseEnterFileName:jA,pleaseUploadAtLeastOnePrintTemplate:LA,pleaseAssignBusiness:FA,pleaseAssignExternal:xA},zA="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YA="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",GA="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HA="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qA="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UA="{caption}\u5FC5\u9808",WA="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",KA="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",XA="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",QA="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",JA="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ZA="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eM="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tM="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nM="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rM="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",oM="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",iM="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uM="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cM="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fM="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",aM="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lM="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sM="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",yM="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vM="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",dM="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",pM="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_M="\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",hM="\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",bM="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",OM="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",gM="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",mM="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",PM="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wM="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",RM="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",TM="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$M="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SM="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",EM="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",IM="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",CM="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",NM="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",BM="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",AM="please select control",MM="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",DM="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kM="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",jM="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",LM="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",FM="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",xM="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",VM="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",zM="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",YM="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",GM="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",HM="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",qM="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",UM="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",WM="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",KM="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",XM="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",QM="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",JM={isNotNumber:zA,isNotString:YA,isNotObject:GA,isNotArray:HA,isNotBoolean:qA,runtimeRequired:UA,pleaseEnterCaption:WA,pleaseEnterCaptionTip:KA,pleaseEnterPlaceholder:XA,pleaseEnterFieldCode:QA,pleaseEnterForm:JA,pleaseEnterList:ZA,pleaseEnterProcess:eM,pleaseEnterLabel:tM,pleaseEnterValue:nM,bizKeyNotBindFiled:rM,pleaseSelectOneField:oM,pleaseEnterNumberRange:iM,pleaseEnterAValueGreaterThanMin:uM,pleaseEnterAValueLessThanMax:cM,numberRangeSetError:fM,stringRangeError:aM,attachmentMaxSize:lM,pleaseEnterTotalScoreSetting:sM,theTotalScoreMustNotBeLessThan1:yM,scoreDefaultValueRange:vM,attachmentLimitError:dM,PleaseReselectTheOptionalQuantity:pM,TheMaximumLengthIsGreaterThanTheMinimumLength:_M,TheMinimumLengthIsGreaterThanTheMaximumLength:hM,PleaseSelectTheCorrectOptionSettings:bM,optionIdIsRepeat:OM,optionIsRequired:gM,pleaseEnterDataCode:mM,pleaseEnterValueFieldCode:PM,pleaseEnterSvcCode:wM,pleaseBindAtLeastOneDisplayValue:RM,pleaseSelectProvince:TM,pleaseSelectCity:$M,pleaseSelectDistrict:SM,limitRowsCannotBeLessThan0:EM,TheNumberOfRowsCannotBeLessThanMinRows:IM,pleaseEnterColumnWidth:CM,pleaseSetTheLogicalRelationshipOfAllRuleConditions:NM,pleaseCompleteAllRulesAndConditions:BM,pleaseSelectControl:AM,pleaseSelectDashboard:MM,theViewNameCannotBeEmpty:DM,pleaseSelectOcrType:kM,pleaseSelectAtLeastOneFieldToFillIn:jM,pleaseChooseAtLeastOne:LM,pleaseEnterButtonContent:FM,pleaseEnterDataCodeInDataSetting:xM,pleaseEnterValueFieldCodeInDataSetting:VM,pleaseEnterSvcCodeInDataSetting:zM,pleaseBindAtLeastOneDisplayValueInDataSetting:YM,rootNodeIsRequiredInDataSetting:GM,pleaseEnterMaxHeight:HM,pleaseEnter:qM,pleaseEnterWatermark:UM,pleaseEnterFileName:WM,pleaseUploadAtLeastOnePrintTemplate:KM,pleaseAssignBusiness:XM,pleaseAssignExternal:QM},ZM={zhCN:C3,enUS:VA,jaJP:JM};function e2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.CALC_TOKEN_TYPE=void 0,function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"}(u.CALC_TOKEN_TYPE||(u.CALC_TOKEN_TYPE={})),u.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(u.CALC_AGGREGATE_TYPE||(u.CALC_AGGREGATE_TYPE={}));var t2=function e(t){e2(this,e),Yn(this,"name",void 0),Yn(this,"id",void 0),Yn(this,"type",void 0),Yn(this,"subTableId",void 0),Yn(this,"subTableName",void 0),Yn(this,"aggregateType",void 0);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:u.CALC_TOKEN_TYPE.Number;var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var c;this.subTableName=(c=t==null?void 0:t.subTableId)!==null&&c!==void 0?c:void 0;var f;this.aggregateType=(f=t==null?void 0:t.aggregateType)!==null&&f!==void 0?f:void 0},Wm="zh-CN",n2=function(){};function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(u.CONTROL_BASE_TYPE||(u.CONTROL_BASE_TYPE={})),u.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"}(u.CONTROL_TYPE||(u.CONTROL_TYPE={})),u.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(u.FieldTypes||(u.FieldTypes={}));var me,r2=(me={},De(me,u.FieldTypes.ARRAY,u.CONTROL_TYPE.ARRAY_COLUMN),De(me,u.FieldTypes.AUTO_NUMBER,u.CONTROL_TYPE.AUTO_NUMBER_COLUMN),De(me,u.FieldTypes.DECIMAL,u.CONTROL_TYPE.DECIMAL_COLUMN),De(me,u.FieldTypes.DEPARTMENTS,u.CONTROL_TYPE.DEPARTMENT_COLUMN),De(me,u.FieldTypes.FILE,u.CONTROL_TYPE.FILE_COLUMN),De(me,u.FieldTypes.IMAGE,u.CONTROL_TYPE.IMAGE_COLUMN),De(me,u.FieldTypes.ADDRESS,u.CONTROL_TYPE.LOCATION_COLUMN),De(me,u.FieldTypes.EMPLOYEES,u.CONTROL_TYPE.EMPLOYEE_COLUMN),De(me,u.FieldTypes.TEXT,u.CONTROL_TYPE.TEXT_COLUMN),De(me,u.FieldTypes.TIMESCOPE,u.CONTROL_TYPE.TIMESCOPE_COLUMN),De(me,u.FieldTypes.TIMESTAMP,u.CONTROL_TYPE.TIMESTAMP_COLUMN),De(me,u.FieldTypes.VARCHAR,u.CONTROL_TYPE.VARCHAR_COLUMN),De(me,u.FieldTypes.RELATION,u.CONTROL_TYPE.VARCHAR_COLUMN),me);u.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"}(u.DateType||(u.DateType={}));var Km="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",o2=Km+"0123456789";function qe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Km:o2,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Oy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i2(e){if(Array.isArray(e))return Oy(e)}function u2(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 c2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function li(e,t,r){return c2()?li=Reflect.construct:li=function(o,i,c){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return c&&Ur(l,c.prototype),l},li.apply(null,arguments)}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(e)}function Qm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ur(e,t)}function f2(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function a2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function l2(){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 s2(e,t){return t&&(y2(t)==="object"||typeof t=="function")?t:u2(e)}function Ur(e,t){return Ur=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ur(e,t)}function Jm(e){return i2(e)||a2(e)||v2(e)||l2()}var y2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v2(e,t){if(!!e){if(typeof e=="string")return Oy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oy(e,t)}}function gy(e){var t=typeof Map=="function"?new Map:void 0;return gy=function(n){if(n===null||!f2(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return li(n,arguments,qr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ur(o,n)},gy(e)}function d2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zm(e){var t=d2();return function(){var n=qr(e),o;if(t){var i=qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s2(this,o)}}var my=console;function un(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=my).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Jm(o)))}function Wr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=my).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Jm(o)))}function p2(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Py=function(e){Qm(r,e);var t=Zm(r);function r(n){Xm(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?p2(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(gy(Error)),_2=function(e){Qm(r,e);var t=Zm(r);function r(n){Xm(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Py);function Mt(e){throw new Py(e)}function wy(e){throw new _2(e)}function e0(e){my.error(new Py(e))}function Ry(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":Ry(r==null?void 0:r.children,t);break;case"search":Ry(r==null?void 0:r.children,t);break;case"form":t(r)}})}var h2=Object.prototype.toString;function t0(e,t){return h2.call(e)==="[object "+t+"]"}function b2(e){return t0(e,"String")}function O2(e){return t0(e,"Promise")}var g2=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();O2(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,c,f){if(o!==void 0){var a=o[i];if(!(c===f.length-1&&!b2(a)))return a}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function m2(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 P2(e,t,r){return t&&n0(e.prototype,t),r&&n0(e,r),e}function w2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(){function e(){m2(this,e)}return P2(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]:Wm;return new g2({locale:r,messages:ZM})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();w2(p,"$i18n",p.resetI18n());function r0(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,c){return"."+c}).split("."),o=!1;return n.reduce(function(i,c,f,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,c)){un("Can not set ".concat(t,"'s ").concat(c," property in current %o, Because there is no ").concat(c," property on the %o"),i,i);return}return f===a.length-1&&!Object.is(l[c],r)&&(l[c]=r,o=!0),l[c]}},e),o}var R2=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ty={exports:{}};(function(e){(function(t){var r=function(d,m,w){if(!l(m)||y(m)||v(m)||_(m)||a(m))return m;var P,S=0,T=0;if(s(m))for(P=[],T=m.length;S<T;S++)P.push(r(d,m[S],w));else{P={};for(var E in m)Object.prototype.hasOwnProperty.call(m,E)&&(P[d(E,w)]=r(d,m[E],w))}return P},n=function(d,m){m=m||{};var w=m.separator||"_",P=m.split||/(?=[A-Z])/;return d.split(P).join(w)},o=function(d){return O(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(m,w){return w?w.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var m=o(d);return m.substr(0,1).toUpperCase()+m.substr(1)},c=function(d,m){return n(d,m).toLowerCase()},f=Object.prototype.toString,a=function(d){return typeof d=="function"},l=function(d){return d===Object(d)},s=function(d){return f.call(d)=="[object Array]"},y=function(d){return f.call(d)=="[object Date]"},v=function(d){return f.call(d)=="[object RegExp]"},_=function(d){return f.call(d)=="[object Boolean]"},O=function(d){return d=d-0,d===d},b=function(d,m){var w=m&&"process"in m?m.process:m;return typeof w!="function"?d:function(P,S){return w(P,d,S)}},g={camelize:o,decamelize:c,pascalize:i,depascalize:c,camelizeKeys:function(d,m){return r(b(o,m),d)},decamelizeKeys:function(d,m){return r(b(c,m),d,m)},pascalizeKeys:function(d,m){return r(b(i,m),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g})(R2)})(Ty);var o0={};Object.defineProperty(o0,"__esModule",{value:!0});function $y(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:$y(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:$y(n)}return t}}var T2=o0.default=$y;function dt(e){if(e!==void 0)return typeof e=="object"?T2(e):e}function ye(e){return Sy(e)&&"zh"in e}function Sy(e){return Object.prototype.toString.call(e)==="[object Object]"}function $2(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function cn(e){return Array.isArray(e)}function i0(e){return typeof e=="string"}function Ey(e){return typeof e=="number"}function S2(e){return typeof e=="function"}function E2(e){return cn(e)&&e.every(function(t){return i0(t)})}function I2(e){return cn(e)&&e.every(function(t){return Ey(t)})}function C2(e){return cn(e)&&e.every(function(t){return Ey(t)||t===""})}function N2(e){return/^\[.*?]$/.test(e)}function B2(e){return/^{.*?}$/.test(e)}function fn(e){return isNaN(parseFloat(e))?"":Number(e)}function u0(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function A2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var c=this;r||(r=setTimeout(function(){e.apply(c,o),clearTimeout(r),r=null},t))}}function M2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function Pe(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=Pe(n.children,t)),t(o)})),r}function c0(e){return Ty.exports.camelizeKeys(e)}function an(e){return Ty.exports.decamelizeKeys(e)}function D2(e){return Object.values(u.CONTROL_TYPE).includes(e)}function Iy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function k2(e){if(Array.isArray(e))return Iy(e)}function f0(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function j2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){f0(i,n,o,c,f,"next",a)}function f(a){f0(i,n,o,c,f,"throw",a)}c(void 0)})}}function L2(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 F2(e,t,r){return t&&a0(e.prototype,t),r&&a0(e,r),e}function l0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function V2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Cy(e){return k2(e)||x2(e)||z2(e)||V2()}function z2(e,t){if(!!e){if(typeof e=="string")return Iy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Iy(e,t)}}var Y2=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},s0=function(){function e(){L2(this,e),l0(this,"_events",new Map),l0(this,"debug",!1)}return F2(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var c=this;return j2(function(){var f,a,l,s,y,v,_,O,b,g,d,m;return Y2(this,function(w){switch(w.label){case 0:if(f=c._events.get(r),a=[],!f)return[3,10];l=f.slice(),s=!0,y=!1,v=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),_=l[Symbol.iterator](),w.label=2;case 2:if(s=(O=_.next()).done)return[3,7];if(b=O.value,!f.includes(b))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),c.debug&&Wr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Cy(o))),[4,b.apply(null,Cy(o))];case 4:return g=w.sent(),c.debug&&Wr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Cy(o),[g])),a.push(g),g===!1?[3,7]:[3,6];case 5:return d=w.sent(),e0(String(d)+":"+String(d.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return m=w.sent(),y=!0,v=m,[3,10];case 9:try{!s&&_.return!=null&&_.return()}finally{if(y)throw v}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function G2(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 H2(e,t,r){return t&&y0(e.prototype,t),r&&y0(e,r),e}function q2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var U2=[{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"}],v0=function(){function e(){G2(this,e)}return H2(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}();q2(v0,"events",U2);function W2(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 K2(e,t,r){return t&&d0(e.prototype,t),r&&d0(e,r),e}function ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p0=[],si=function(){function e(t){W2(this,e),ln(this,"registeredControlTypes",new Set),ln(this,"controlConfigMap",new Map),ln(this,"_controls",[]),ln(this,"_type",void 0),this._type=t,this._initControls(t)}return K2(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__||Mt("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(un("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(l){return o.createControl(l,n)});r.children&&(r.children=r.children.map(function(l){return o.createControl(l,n)})),this.isListControl(r)&&r.props.headers&&(r.props.headers=r.props.headers.map(function(l){return o.createControl(l,n)}));var i=this.getControlFormType(r.type);if(i){var c=r;if(typeof n=="function"){var f=n(c);f&&(c=f)}var a=new i(c);return a}else Mt("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__)&&Mt("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(c){return c.Designer.controlType===n.controlType});return i>-1&&(un("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();ln(si,"staticControls",p0),ln(si,"staticRegisteredTypes",new Set(p0.map(function(e){return e.Designer.controlType}))),ln(si,"staticRegisteredConfigs",new Map);function F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function Ue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function _0(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function X2(e,t){return t&&(Q2(t)==="object"||typeof t=="function")?t:F(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}var Q2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function We(e){var t=J2();return function(){var n=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X2(this,o)}}var ke=function e(t){R(this,e),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:""},By=function e(t){R(this,e),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},vi=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;o=t.call(this,n),h(F(o),"width",void 0),h(F(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var c;return o.widthType=(c=n==null?void 0:n.widthType)!==null&&c!==void 0?c:"auto",o}return r}(By),h0=function e(t){R(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new vi(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new vi(t==null?void 0:t.mobile):new vi({width:130,minWidth:180})},b0=function e(t){R(this,e),h(this,"type",void 0),h(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},di=function e(t){R(this,e),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},O0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;o=t.call(this,n),h(F(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(di),g0=function e(t){R(this,e),h(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Ay=function e(t){R(this,e);var r;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(c){return new g0(c)}))!==null&&i!==void 0?i:[]},m0=function e(t){R(this,e),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:u.FieldTypes.VARCHAR},P0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;o=t.call(this,n),h(F(o),"title",void 0),h(F(o),"svcCode",void 0),h(F(o),"isOpenFilter",void 0),h(F(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var c;o.svcCode=(c=n==null?void 0:n.svcCode)!==null&&c!==void 0?c:"";var f;o.isOpenFilter=(f=n==null?void 0:n.isOpenFilter)!==null&&f!==void 0?f:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(di),w0=function e(t){R(this,e);var r,n;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new di(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(c){return new m0(c)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(c){return new P0(c)}))!==null&&i!==void 0?i:[]},R0=function e(t){R(this,e),h(this,"type",void 0),h(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Gn=function e(t){R(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},T0=function e(t){var r=this;R(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:qe();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var c;this.value=(c=t==null?void 0:t.value)!==null&&c!==void 0?c:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(f){if(f.children!==void 0){var a,l=new e(f);(a=r.children)===null||a===void 0||a.push(l)}else{var s,y=new My(f);(s=r.children)===null||s===void 0||s.push(y)}}))},My=function e(t){R(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:qe();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var c;this.describe=(c=t==null?void 0:t.describe)!==null&&c!==void 0?c:"",this.leftVariableBo=new R0(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Gn(t==null?void 0:t.rightVariableBo)},Ee=function e(t){R(this,e),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},pi=function e(t){R(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Dy=function e(t){R(this,e),h(this,"columnName",void 0),h(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},$0=function e(t){R(this,e),h(this,"code",void 0),h(this,"value",void 0),h(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:u.FieldTypes.ANY},Z2=function e(t){R(this,e);var r,n;h(this,"id",void 0),h(this,"limit",void 0),h(this,"orders",void 0),h(this,"formKey",void 0),h(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var c;this.formKey=(c=t.formKey)!==null&&c!==void 0?c:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(l){return new Dy(l)}))!==null&&f!==void 0?f:[];var a;this.dataSet=(a=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(l){return new $0(l)}))!==null&&a!==void 0?a:[]};function ky(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(i){return i.children!==void 0?new T0(i):new My(i)}))!==null&&r!==void 0?r:[],_0(this,J)||_0(this,_i)){var n,o;this.orders=(o=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(i){return new Dy(i)}))!==null&&o!==void 0?o:[]}}var J=function e(t){var r=this;R(this,e),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[],Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(l){var s;(s=r.displayBoList)===null||s===void 0||s.push(new pi(l))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var f;this.showOrder=(f=t==null?void 0:t.showOrder)!==null&&f!==void 0?f:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",ky.call(this,t)},S0=function e(t){R(this,e);var r;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(c){return new pi(c)}))!==null&&i!==void 0?i:[]},Kr=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o,i;o=t.call(this,n),h(F(o),"attributes",void 0);var c;return o.attributes=(c=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new S0(f)}))!==null&&c!==void 0?c:[],o}return r}(J),E0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;return o=t.call(this,n),h(F(o),"rootNode",void 0),o.rootNode=new Gn(n==null?void 0:n.rootNode),o}return r}(Kr),I0=function e(t){R(this,e);var r;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(c){return new Ee(c)}))!==null&&i!==void 0?i:[]},_i=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;return o=t.call(this,n),h(F(o),"filters",void 0),h(F(o),"orders",void 0),ky.call(F(o),n),o}return r}(I0),jy=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;o=t.call(this,n),h(F(o),"mode",void 0),h(F(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var c;return o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1,o}return r}(I0),eD=function e(t){R(this,e),h(this,"zh",void 0),h(this,"en",void 0),h(this,"ja",void 0);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},Ly=function e(t){R(this,e),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},Fy=function e(t){R(this,e),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:qe(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},C0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;o=t.call(this,n),h(F(o),"image",void 0),h(F(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var c;return o.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:"src",o}return r}(Fy);function et(e){var t;return(t=e==null?void 0:e.map(function(r){return new Fy(r)}))!==null&&t!==void 0?t:[]}function tD(e){var t;return(t=e==null?void 0:e.map(function(r){return new C0(r)}))!==null&&t!==void 0?t:[]}var hi=function e(){R(this,e)},N0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;return o=t.call(this),h(F(o),"amount",void 0),h(F(o),"currency",void 0),o.amount=new ke(n==null?void 0:n.amount),o.currency=new ke(n==null?void 0:n.currency),o}return r}(hi),B0=function e(t){R(this,e),h(this,"amount",void 0),h(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:u.AMOUNT_TYPE.CNY},A0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;return o=t.call(this),h(F(o),"min",void 0),h(F(o),"max",void 0),o.min=new ke(n==null?void 0:n.min),o.max=new ke(n==null?void 0:n.max),o}return r}(hi),M0=function e(t){R(this,e),h(this,"min",void 0),h(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},D0=function e(t){R(this,e),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var c;this.province=(c=t==null?void 0:t.province)!==null&&c!==void 0?c:"";var f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},k0=function(e){Ue(r,e);var t=We(r);function r(n){R(this,r);var o;return o=t.call(this),h(F(o),"result",void 0),h(F(o),"unit",void 0),o.result=new ke(n==null?void 0:n.result),o.unit=new ke(n==null?void 0:n.unit),o}return r}(hi),j0=function e(t){R(this,e),h(this,"result",void 0),h(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};u.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(u.AMOUNT_TYPE||(u.AMOUNT_TYPE={})),u.COMMON_SETTING_TYPE=void 0,function(e){e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"}(u.COMMON_SETTING_TYPE||(u.COMMON_SETTING_TYPE={})),u.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(u.PAGE_STATUS||(u.PAGE_STATUS={}));var pt=function e(t){R(this,e),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var c;this.type=(c=t==null?void 0:t.type)!==null&&c!==void 0?c:"";var f;this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!==null&&f!==void 0?f:!1},L0=function e(t){R(this,e);var r;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:qe(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(c){return new g0(c)}))!==null&&i!==void 0?i:[],ky.call(this,t)},nD=function e(t){R(this,e),h(this,"key",void 0),h(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:qe(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},F0=function e(t){R(this,e),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function rD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function bi(e,t,r){return oD()?bi=Reflect.construct:bi=function(o,i,c){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return c&&Qr(l,c.prototype),l},bi.apply(null,arguments)}function sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xr(e)}function iD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qr(e,t)}function uD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function cD(e,t){return t&&(fD(t)==="object"||typeof t=="function")?t:rD(e)}function Qr(e,t){return Qr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qr(e,t)}var fD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vy(e){var t=typeof Map=="function"?new Map:void 0;return Vy=function(n){if(n===null||!uD(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return bi(n,arguments,Xr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Qr(o,n)},Vy(e)}function 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 lD(e){var t=aD();return function(){var n=Xr(e),o;if(t){var i=Xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cD(this,o)}}var q=function e(t){xy(this,e),sn(this,"isHide",{type:"boolean"})},Dt=function(e){iD(r,e);var t=lD(r);function r(n){return xy(this,r),t.call(this)}return r}(Vy(Array)),U=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";xy(this,e),sn(this,"isHide",void 0),sn(this,"className",void 0),sn(this,"style",void 0),sn(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new F0(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};sn(U,"Rules",q),sn(U,"RuntimeRules",Dt);function tt(){return tt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tt.apply(this,arguments)}function sD(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function zy(e){return zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zy(e)}function Oi(e,t){return Oi=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oi(e,t)}function yD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function gi(e,t,r){return yD()?gi=Reflect.construct:gi=function(o,i,c){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return c&&Oi(l,c.prototype),l},gi.apply(null,arguments)}function vD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Yy(e){var t=typeof Map=="function"?new Map:void 0;return Yy=function(n){if(n===null||!vD(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return gi(n,arguments,zy(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Oi(o,n)},Yy(e)}var dD=/%[sdj%]/g,x0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(x0=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Gy(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function je(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var c=String(o).replace(dD,function(f){if(f==="%%")return"%";if(n>=i)return f;switch(f){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(a){return"[Circular]"}break;default:return f}});return c}return o}function pD(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function X(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||pD(t)&&typeof e=="string"&&!e)}function _D(e,t,r){var n=[],o=0,i=e.length;function c(f){n.push.apply(n,f),o++,o===i&&r(n)}e.forEach(function(f){t(f,c)})}function V0(e,t,r){var n=0,o=e.length;function i(c){if(c&&c.length){r(c);return}var f=n;n=n+1,f<o?t(e[f],i):r([])}i([])}function hD(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var z0=function(e){sD(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(Yy(Error));function bD(e,t,r,n){if(t.first){var o=new Promise(function(y,v){var _=function(g){return n(g),g.length?v(new z0(g,Gy(g))):y()},O=hD(e);V0(O,r,_)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var c=Object.keys(e),f=c.length,a=0,l=[],s=new Promise(function(y,v){var _=function(b){if(l.push.apply(l,b),a++,a===f)return n(l),l.length?v(new z0(l,Gy(l))):y()};c.length||(n(l),y()),c.forEach(function(O){var b=e[O];i.indexOf(O)!==-1?V0(b,r,_):_D(b,r,_)})});return s.catch(function(y){return y}),s}function Y0(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 G0(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=tt(tt({},e[r]),n):e[r]=n}}return e}function H0(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||X(t,i||e.type))&&n.push(je(o.messages.required,e.fullField))}function OD(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(je(o.messages.whitespace,e.fullField))}var Hy={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Jr={integer:function(t){return Jr.number(t)&&parseInt(t,10)===t},float:function(t){return Jr.number(t)&&!Jr.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Jr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Hy.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Hy.url)},hex:function(t){return typeof t=="string"&&!!t.match(Hy.hex)}};function gD(e,t,r,n,o){if(e.required&&t===void 0){H0(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=e.type;i.indexOf(c)>-1?Jr[c](t)||n.push(je(o.messages.types[c],e.fullField,e.type)):c&&typeof t!==e.type&&n.push(je(o.messages.types[c],e.fullField,e.type))}function mD(e,t,r,n,o){var i=typeof e.len=="number",c=typeof e.min=="number",f=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,s=null,y=typeof t=="number",v=typeof t=="string",_=Array.isArray(t);if(y?s="number":v?s="string":_&&(s="array"),!s)return!1;_&&(l=t.length),v&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(je(o.messages[s].len,e.fullField,e.len)):c&&!f&&l<e.min?n.push(je(o.messages[s].min,e.fullField,e.min)):f&&!c&&l>e.max?n.push(je(o.messages[s].max,e.fullField,e.max)):c&&f&&(l<e.min||l>e.max)&&n.push(je(o.messages[s].range,e.fullField,e.min,e.max))}var Hn="enum";function PD(e,t,r,n,o){e[Hn]=Array.isArray(e[Hn])?e[Hn]:[],e[Hn].indexOf(t)===-1&&n.push(je(o.messages[Hn],e.fullField,e[Hn].join(", ")))}function wD(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(je(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(je(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:H0,whitespace:OD,type:gD,range:mD,enum:PD,pattern:wD};function RD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t,"string")&&!e.required)return r();I.required(e,t,n,i,o,"string"),X(t,"string")||(I.type(e,t,n,i,o),I.range(e,t,n,i,o),I.pattern(e,t,n,i,o),e.whitespace===!0&&I.whitespace(e,t,n,i,o))}r(i)}function TD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&I.type(e,t,n,i,o)}r(i)}function $D(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(t===""&&(t=void 0),X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&(I.type(e,t,n,i,o),I.range(e,t,n,i,o))}r(i)}function SD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&I.type(e,t,n,i,o)}r(i)}function ED(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),X(t)||I.type(e,t,n,i,o)}r(i)}function ID(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&(I.type(e,t,n,i,o),I.range(e,t,n,i,o))}r(i)}function CD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&(I.type(e,t,n,i,o),I.range(e,t,n,i,o))}r(i)}function ND(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(t==null&&!e.required)return r();I.required(e,t,n,i,o,"array"),t!=null&&(I.type(e,t,n,i,o),I.range(e,t,n,i,o))}r(i)}function BD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&I.type(e,t,n,i,o)}r(i)}var AD="enum";function MD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&I[AD](e,t,n,i,o)}r(i)}function DD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t,"string")&&!e.required)return r();I.required(e,t,n,i,o),X(t,"string")||I.pattern(e,t,n,i,o)}r(i)}function kD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t,"date")&&!e.required)return r();if(I.required(e,t,n,i,o),!X(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),I.type(e,f,n,i,o),f&&I.range(e,f.getTime(),n,i,o)}}r(i)}function jD(e,t,r,n,o){var i=[],c=Array.isArray(t)?"array":typeof t;I.required(e,t,n,i,o,c),r(i)}function qy(e,t,r,n,o){var i=e.type,c=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(X(t,i)&&!e.required)return r();I.required(e,t,n,c,o,i),X(t,i)||I.type(e,t,n,c,o)}r(c)}function LD(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(X(t)&&!e.required)return r();I.required(e,t,n,i,o)}r(i)}var Zr={string:RD,method:TD,number:$D,boolean:SD,regexp:ED,integer:ID,float:CD,array:ND,object:BD,enum:MD,pattern:DD,date:kD,url:qy,hex:qy,email:qy,required:jD,any:LD};function Uy(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Wy=Uy();function kt(e){this.rules=null,this._messages=Wy,this.define(e)}kt.prototype={messages:function(t){return t&&(this._messages=G0(Uy(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,c=r,f=n;if(typeof c=="function"&&(f=c,c={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function a(b){var g,d=[],m={};function w(P){if(Array.isArray(P)){var S;d=(S=d).concat.apply(S,P)}else d.push(P)}for(g=0;g<b.length;g++)w(b[g]);d.length?m=Gy(d):(d=null,m=null),f(d,m)}if(c.messages){var l=this.messages();l===Wy&&(l=Uy()),G0(l,c.messages),c.messages=l}else c.messages=this.messages();var s,y,v={},_=c.keys||Object.keys(this.rules);_.forEach(function(b){s=o.rules[b],y=i[b],s.forEach(function(g){var d=g;typeof d.transform=="function"&&(i===t&&(i=tt({},i)),y=i[b]=d.transform(y)),typeof d=="function"?d={validator:d}:d=tt({},d),d.validator=o.getValidationMethod(d),d.field=b,d.fullField=d.fullField||b,d.type=o.getType(d),d.validator&&(v[b]=v[b]||[],v[b].push({rule:d,value:y,source:i,field:b}))})});var O={};return bD(v,c,function(b,g){var d=b.rule,m=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");m=m&&(d.required||!d.required&&b.value),d.field=b.field;function w(T,E){return tt(tt({},E),{},{fullField:d.fullField+"."+T})}function P(T){T===void 0&&(T=[]);var E=T;if(Array.isArray(E)||(E=[E]),!c.suppressWarning&&E.length&&kt.warning("async-validator:",E),E.length&&d.message!==void 0&&(E=[].concat(d.message)),E=E.map(Y0(d)),c.first&&E.length)return O[d.field]=1,g(E);if(!m)g(E);else{if(d.required&&!b.value)return d.message!==void 0?E=[].concat(d.message).map(Y0(d)):c.error&&(E=[c.error(d,je(c.messages.required,d.field))]),g(E);var L={};if(d.defaultField)for(var Me in b.value)b.value.hasOwnProperty(Me)&&(L[Me]=d.defaultField);L=tt(tt({},L),b.rule.fields);for(var le in L)if(L.hasOwnProperty(le)){var se=Array.isArray(L[le])?L[le]:[L[le]];L[le]=se.map(w.bind(null,le))}var Yr=new kt(L);Yr.messages(c.messages),b.rule.options&&(b.rule.options.messages=c.messages,b.rule.options.error=c.error),Yr.validate(b.value,b.rule.options||c,function(zn){var yt=[];E&&E.length&&yt.push.apply(yt,E),zn&&zn.length&&yt.push.apply(yt,zn),g(yt.length?yt:null)})}}var S;d.asyncValidator?S=d.asyncValidator(d,b.value,P,b.source,c):d.validator&&(S=d.validator(d,b.value,P,b.source,c),S===!0?P():S===!1?P(d.message||d.field+" fails"):S instanceof Array?P(S):S instanceof Error&&P(S.message)),S&&S.then&&S.then(function(){return P()},function(T){return P(T)})},function(b){a(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Zr.hasOwnProperty(t.type))throw new Error(je("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?Zr.required:Zr[this.getType(t)]||!1}},kt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Zr[t]=r},kt.warning=x0,kt.messages=Wy,kt.validators=Zr;var FD={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 q0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new kt(e);return r.messages(Object.assign(FD,t)),r}var U0=new s0;function Ky(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function xD(e){if(Array.isArray(e))return e}function VD(e){if(Array.isArray(e))return Ky(e)}function W0(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function K0(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){W0(i,n,o,c,f,"next",a)}function f(a){W0(i,n,o,c,f,"throw",a)}c(void 0)})}}function zD(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 YD(e,t,r){return t&&X0(e.prototype,t),r&&X0(e,r),e}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q0(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function J0(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function GD(){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 HD(){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 Z0(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){j(e,o,r[o])})}return e}function qD(e){return xD(e)||J0(e)||eP(e)||GD()}function Xy(e){return VD(e)||J0(e)||eP(e)||HD()}function eP(e,t){if(!!e){if(typeof e=="string")return Ky(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ky(e,t)}}var tP=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},k=function(){function t(r){var n=this;zD(this,t),j(this,"id",void 0),j(this,"name",void 0),j(this,"icon",void 0),j(this,"type",void 0),j(this,"controlType",void 0),j(this,"props",void 0),j(this,"setting",[]),j(this,"fieldType",void 0),j(this,"eventKeys",[]),j(this,"customEvents",[]),j(this,"parent",null),j(this,"updateSetting",rP),j(this,"removeSetting",nP),this._callControlHooks("preInstance",r);var o=Q0(this,t)?this.constructor:void 0,i=o.controlName,c=o.controlIcon,f=o.controlType,a=o.controlFieldType,l=o.controlEventKeys,s=o.controlCustomEvents,y=o.name,v=o.setting;i&&c&&f||wy("The ".concat(y," controlName,controlIcon,controlType is not define"));var _;this.id=(_=r==null?void 0:r.id)!==null&&_!==void 0?_:qe(10),this.name=i,this.icon=c;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:f,this.props=new U(r==null?void 0:r.props,(Q0(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=dt(v);var g;this.fieldType=(g=r==null?void 0:r.fieldType)!==null&&g!==void 0?g:a,this.eventKeys=dt(l),this.customEvents=dt(s),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return YD(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var c,f=qD(o),a=f[0],l=f.slice(1);return(c=U0).emit.apply(c,[a,this].concat(Xy(l)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),r0(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return K0(function(){var o,i,c;return tP(this,function(f){switch(f.label){case 0:return o=Z0({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=f.sent(),c=i[i.length-1],[2,c===!1?void 0:c]}})})()}},{key:"validate",value:function(n,o){var i=this;return K0(function(){var c,f,a,l;return tP(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:c=s.sent(),f=c!==void 0?c:Z0({},i.rules),Array.isArray(o)&&o.forEach(function(y){f.hasOwnProperty(y)&&delete f[y]}),a=q0(f,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw l=s.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,c=this.type,f=this.props,a=f.dataBind,l=f.datasourceBind,s=f.optionConfig,y=f.caption,v=f.required,_=f.maxLength,O=f.options,b=f.encrypted,g=f.encryptedMode;if(!(!o&&!a&&!l)){var d={parentId:n,fieldType:o,controlId:i,caption:y,type:c,props:{}};switch(a&&(d.dataBind=a),s){case"datasource":case void 0:l&&(d.datasourceBind=l);break;case"custom":d.props.options=O;break}return v!==void 0&&(d.required=v),_!==void 0&&(d.maxLength=_),b!==void 0&&(d.encrypted=b),g!==void 0&&(d.encryptedMode=g),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:dt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Xy(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();j(k,"controlName","\u63A7\u4EF6"),j(k,"controlIcon","icon"),j(k,"controlType","control"),j(k,"controlFieldType",void 0),j(k,"controlEventKeys",[]),j(k,"controlCustomEvents",[]),j(k,"setting",[]),j(k,"__is_control__",!0),j(k,"removeSettingItem",nP),j(k,"updateSettingItem",rP);function nP(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o=typeof n!="string",i=t.setting.findIndex(function(a){return a.key===(o?n.key:n)});if(i!==-1){var c,f;o?t.setting[i].showItems=(c=t.setting[i].showItems)===null||c===void 0?void 0:c.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(i,1),o&&!(!((f=t.setting[i].showItems)===null||f===void 0)&&f.length)&&t.setting.splice(i,1)}})}function rP(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var c,f=(c=t.type)!==null&&c!==void 0?c:"replace";if(f==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Xy(t.showItems))}}}})}function UD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WD(e,t,r){return t&&oP(e.prototype,t),r&&oP(e,r),e}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function KD(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var W=function(){function t(r){UD(this,t),ze(this,"id",void 0),ze(this,"type",void 0),ze(this,"controlType",void 0),ze(this,"props",void 0),ze(this,"fieldType",void 0),ze(this,"customEvents",[]),ze(this,"pageStatus",void 0),ze(this,"parent",null);var n=KD(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,c=n.name,f=n.controlCustomEvents;o||wy("The ".concat(c," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:qe(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new U(r==null?void 0:r.props),this.customEvents=f;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var v;this.pageStatus=(v=r==null?void 0:r.pageStatus)!==null&&v!==void 0?v:u.PAGE_STATUS.UNKNOWN}return WD(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();ze(W,"controlType","control"),ze(W,"controlFieldType",void 0),ze(W,"__is_control__",!0),ze(W,"controlCustomEvents",[]);function mi(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(p.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(f){return f.value}),c=u0(i);i.length!==c.length?o(p.getMessage("optionIdIsRepeat")):o()},message:p.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(p.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function Pi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(o,i,c){i.length===0&&c(p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),c()},message:p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function x(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function Ti(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function XD(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function QD(e,t){return t&&(JD(t)==="object"||typeof t=="function")?t:x(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}var JD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $i(e){var t=ZD();return function(){var n=Ri(e),o;if(t){var i=Ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QD(this,o)}}var ve=function(e){Ti(r,e);var t=$i(r);function r(n){wi(this,r);var o;o=t.call(this,n),V(x(o),"dataBind",{}),V(x(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),V(x(o),"isHideCaption",{type:"boolean"}),V(x(o),"labelPosition",{type:"enum",enum:["top","left"]}),V(x(o),"defaultState",{type:"enum",enum:["default","readonly"]}),V(x(o),"required",{type:"boolean"}),V(x(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(XD(n.dataBind,ke))o.dataBind={type:"object",required:!0,fields:dt(i),message:p.getMessage("pleaseEnterFieldCode")};else{var c={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){c.fields[f]={type:"object",required:!0,fields:dt(i),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=c}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),z=function(e){Ti(r,e);var t=$i(r);function r(n){wi(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Dt),B=function(e){Ti(r,e);var t=$i(r);function r(n){wi(this,r);var o;o=t.call(this,n),V(x(o),"caption",void 0),V(x(o),"isHideCaption",void 0),V(x(o),"isShowCaptionTip",void 0),V(x(o),"captionTip",void 0),V(x(o),"labelPosition",void 0),V(x(o),"dataBind",void 0),V(x(o),"defaultValue",void 0),V(x(o),"placeholder",void 0),V(x(o),"defaultState",void 0),V(x(o),"required",void 0),V(x(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"";var v;o.required=(v=n==null?void 0:n.required)!==null&&v!==void 0?v:!1;var _;o.requiredMessage=(_=n==null?void 0:n.requiredMessage)!==null&&_!==void 0?_:"",o.dataBind=new ke(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(U);V(B,"Rules",ve),V(B,"RuntimeRules",z);var yn=function(e){Ti(r,e);var t=$i(r);function r(n){wi(this,r);var o;return o=t.call(this,n),V(x(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(x(o),"options",[{type:"array",message:p.getMessage("isNotArray")}]),V(x(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),mi.call(x(o),n),o}return r}(ve);function Jy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function 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&&Zy(e,t)}function nk(e,t){return t&&(rk(t)==="object"||typeof t=="function")?t:Jy(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var rk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ok(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ik(e){var t=ok();return function(){var n=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nk(this,o)}}var A=function(e){tk(r,e);var t=ik(r);function r(n){ek(this,r);var o;return o=t.call(this,n),Si(Jy(o),"controlType","form"),Si(Jy(o),"props",void 0),o.props=new B(n==null?void 0:n.props),o}return r}(k);Si(A,"controlEventKeys",["on_change","on_focus","on_blur"]),Si(A,"controlCustomAttributes",void 0);function Ii(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ev(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function ck(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function fk(e,t){return t&&(ak(t)==="object"||typeof t=="function")?t:Ii(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var ak=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sk(e){var t=lk();return function(){var n=Ci(e),o;if(t){var i=Ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fk(this,o)}}var M=function(e){ck(r,e);var t=sk(r);function r(n){uk(this,r);var o;return o=t.call(this,n),ev(Ii(o),"controlType","form"),ev(Ii(o),"props",void 0),ev(Ii(o),"value",void 0),o.props=new B(n==null?void 0:n.props),o}return r}(W);function yk(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 Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function dk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function pk(e,t){return t&&(_k(t)==="object"||typeof t=="function")?t:yk(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}var _k=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bk(e){var t=hk();return function(){var n=Ni(e),o;if(t){var i=Ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pk(this,o)}}var G=function(e){dk(r,e);var t=bk(r);function r(n){return vk(this,r),t.call(this,n)}return r}(U);function rv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ok(e){if(Array.isArray(e))return rv(e)}function gk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mk(){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 iP(e){return Ok(e)||gk(e)||Pk(e)||mk()}function Pk(e,t){if(!!e){if(typeof e=="string")return rv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rv(e,t)}}function uP(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function ov(e,t){e.parent=t,uP(e,"parent")}function cP(e,t){e.forEach(function(r){ov(r,t)})}var fP=Symbol("targetKey");function aP(e){var t;return(t=e[fP])!==null&&t!==void 0?t:e}function lP(e,t){return cP(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,c=new Array(i>2?i-2:0),f=2;f<i;f++)c[f-2]=arguments[f];var a;return o===fP?n:(a=Reflect).get.apply(a,[n,o].concat(iP(c)))},set:function(n,o,i){for(var c=arguments.length,f=new Array(c>3?c-3:0),a=3;a<c;a++)f[a-3]=arguments[a];var l;if(cn(e)&&o==="length"&&i===e.length)return!0;var s=(l=Reflect).set.apply(l,[n,o,i].concat(iP(f)));return Sy(i)&&ov(i,t),s}})}function nt(e,t,r,n){var o=n!=null?n:e,i=lP(aP(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=lP(aP(f),o)},enumerable:!0})}function iv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function wk(e){if(Array.isArray(e))return iv(e)}function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sP(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function Rk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){sP(i,n,o,c,f,"next",a)}function f(a){sP(i,n,o,c,f,"throw",a)}c(void 0)})}}function Tk(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 $k(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qn=Reflect.get:qn=function(o,i,c){var f=Dk(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},qn(e,t,r||e)}function Lt(e){return Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lt(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&&uv(e,t)}function Ek(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ik(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}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 Nk(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){jt(e,o,r[o])})}return e}function Bk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ak(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Bk(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Mk(e,t){return t&&(kk(t)==="object"||typeof t=="function")?t:vn(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function Dk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Lt(e),e!==null););return e}function vP(e){return wk(e)||Ik(e)||jk(e)||Ck()}var kk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jk(e,t){if(!!e){if(typeof e=="string")return iv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iv(e,t)}}function Lk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fk(e){var t=Lk();return function(){var n=Lt(e),o;if(t){var i=Lt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mk(this,o)}}var xk=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Vk=1e4,H=function(t){Sk(n,t);var r=Fk(n);function n(o){Tk(this,n);var i;i=r.call(this,o),jt(vn(i),"controlType","layout"),jt(vn(i),"children",void 0),jt(vn(i),"excludes",void 0),jt(vn(i),"childrenMaxLength",void 0),jt(vn(i),"props",void 0);var c=Ek(this,n)?this.constructor:void 0,f=c.excludes,a=c.childrenMaxLength;return i.props=new G(o==null?void 0:o.props),nt(vn(i),"children",o==null?void 0:o.children),i.excludes=dt(f),i.childrenMaxLength=a,i}return $k(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var c=this.judgeExcludesChildren(i);return c&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,c){var f=this,a=this,l=function(){return qn(Lt(n.prototype),"validate",f)};return Rk(function(){return xk(this,function(s){switch(s.label){case 0:return[4,l().call(a,i,c)];case 1:return s.sent(),[4,Promise.all(a.children.map(function(y){return y.validate(i,c)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,c=qn(Lt(n.prototype),"toDataBindModel",this).call(this),f=c?[c]:[];return this.children.reduce(function(a,l){var s=l.toDataBindModel(i);if(Array.isArray(s)){var y=s.filter(function(v){return!!v});return vP(a).concat(vP(y))}return s&&a.push(s),a},f)}},{key:"toSchema",value:function(){var i=qn(Lt(n.prototype),"toSchema",this).call(this),c=this.children.map(function(f){var a=f.toSchema();return a});return Ak(Nk({},i),{children:c})}}]),n}(k);jt(H,"excludes",!1),jt(H,"childrenMaxLength",Vk);function eo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function Yk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function Gk(e,t){return t&&(Hk(t)==="object"||typeof t=="function")?t:eo(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var Hk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uk(e){var t=qk();return function(){var n=Bi(e),o;if(t){var i=Bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gk(this,o)}}var Q=function(e){Yk(r,e);var t=Uk(r);function r(n){zk(this,r);var o;return o=t.call(this,n),cv(eo(o),"controlType","layout"),cv(eo(o),"children",void 0),cv(eo(o),"props",void 0),o.props=new G(n==null?void 0:n.props),nt(eo(o),"children",n==null?void 0:n.children),o}return r}(W);function av(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function 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&&lv(e,t)}function Qk(e,t){return t&&(Jk(t)==="object"||typeof t=="function")?t:av(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}var 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 ej(e){var t=Zk();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qk(this,o)}}var to=function(e){Xk(r,e);var t=ej(r);function r(n,o){Wk(this,r);var i;return i=t.call(this,o),Kk(av(i),"headers",void 0),nt(av(i),"headers",o==null?void 0:o.headers,n),i}return r}(U);function sv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function tj(e){if(Array.isArray(e))return sv(e)}function Mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dP(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function nj(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){dP(i,n,o,c,f,"next",a)}function f(a){dP(i,n,o,c,f,"throw",a)}c(void 0)})}}function rj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oj(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function Di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Un(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Un=Reflect.get:Un=function(o,i,c){var f=lj(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Un(e,t,r||e)}function Ft(e){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ft(e)}function ij(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function uj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cj(){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 _P(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Di(e,o,r[o])})}return e}function fj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function hP(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fj(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function aj(e,t){return t&&(sj(t)==="object"||typeof t=="function")?t:Mi(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function lj(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ft(e),e!==null););return e}function bP(e){return tj(e)||uj(e)||yj(e)||cj()}var sj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yj(e,t){if(!!e){if(typeof e=="string")return sv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return sv(e,t)}}function vj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dj(e){var t=vj();return function(){var n=Ft(e),o;if(t){var i=Ft(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aj(this,o)}}var pj=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},ki=function(e){ij(r,e);var t=dj(r);function r(n){rj(this,r);var o;return o=t.call(this,n),Di(Mi(o),"controlType","list"),Di(Mi(o),"props",void 0),o.props=new to(Mi(o),n==null?void 0:n.props),o}return oj(r,[{key:"validate",value:function(o,i){var c=this,f=this,a=function(){return Un(Ft(r.prototype),"validate",c)};return nj(function(){return pj(this,function(l){switch(l.label){case 0:return[4,a().call(f,o)];case 1:return l.sent(),[4,Promise.all(f.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Un(Ft(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],c=this.id;return this.props.headers.reduce(function(f,a){var l=a.toDataBindModel(c);if(Array.isArray(l)){var s=l.filter(function(y){return!!y});return bP(f).concat(bP(s))}return l&&f.push(l),f},i)}},{key:"toSchema",value:function(){var o=Un(Ft(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(c){return c.toSchema()});return hP(_P({},o),{props:hP(_P({},this.props),{headers:i})})}}]),r}(k);Di(ki,"controlFieldType",u.FieldTypes.LIST);function Wn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hj(e,t,r){return t&&OP(e.prototype,t),r&&OP(e,r),e}function vv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function 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&&dv(e,t)}function Oj(e,t){return t&&(gj(t)==="object"||typeof t=="function")?t:Wn(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}var gj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pj(e){var t=mj();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oj(this,o)}}var pv=function(e){bj(r,e);var t=Pj(r);function r(n){_j(this,r);var o;return o=t.call(this,n),vv(Wn(o),"controlType","list"),vv(Wn(o),"children",void 0),vv(Wn(o),"props",void 0),o.props=new to(Wn(o),n==null?void 0:n.props),nt(Wn(o),"children",n==null?void 0:n.children),o}return hj(r,[{key:"length",get:function(){return this.children.length}}]),r}(W);function te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function hv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function wj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:te(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}var Rj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ov(e){var t=Tj();return function(){var n=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wj(this,o)}}var Fi=function(e){hv(r,e);var t=Ov(r);function r(n){_v(this,r);var o;return o=t.call(this,n),de(te(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),de(te(o),"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(q),K=function(e){hv(r,e);var t=Ov(r);function r(n){_v(this,r);var o;o=t.call(this,n),de(te(o),"widthType",void 0),de(te(o),"width",void 0),de(te(o),"caption",void 0),de(te(o),"dataBind",void 0),de(te(o),"autoWidth",void 0),de(te(o),"fixed",void 0),de(te(o),"sort",void 0),de(te(o),"align",void 0),de(te(o),"colSpan",void 0),de(te(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"none",o.autoWidth=new By(n==null?void 0:n.autoWidth),o.dataBind=new ke(n==null?void 0:n.dataBind);var a;o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var l;return o.autoHeight=(l=n==null?void 0:n.autoHeight)!==null&&l!==void 0?l:!1,o}return r}(U);de(K,"Rules",Fi);var gv=function(e){hv(r,e);var t=Ov(r);function r(n){_v(this,r);var o;return o=t.call(this,n),de(te(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),de(te(o),"options",[{type:"array",message:p.getMessage("isNotArray")}]),de(te(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),mi.call(te(o),n),o}return r}(Fi);function mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(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&&Pv(e,t)}function Ej(e,t){return t&&(Ij(t)==="object"||typeof t=="function")?t:mv(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}var Ij=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nj(e){var t=Cj();return function(){var n=xi(e),o;if(t){var i=xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ej(this,o)}}var ne=function(e){Sj(r,e);var t=Nj(r);function r(n){$j(this,r);var o;return o=t.call(this,n),gP(mv(o),"controlType","column"),gP(mv(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(k);function wv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(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&&Rv(e,t)}function Mj(e,t){return t&&(Dj(t)==="object"||typeof t=="function")?t:wv(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var Dj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jj(e){var t=kj();return function(){var n=Vi(e),o;if(t){var i=Vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mj(this,o)}}var re=function(e){Aj(r,e);var t=jj(r);function r(n){Bj(this,r);var o;return o=t.call(this,n),mP(wv(o),"controlType","column"),mP(wv(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(W);function PP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fj(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 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&&Tv(e,t)}function Vj(e,t){return t&&(zj(t)==="object"||typeof t=="function")?t:PP(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}var zj=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=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vj(this,o)}}var Yi=function(e){xj(r,e);var t=Gj(r);function r(n){Lj(this,r);var o;return o=t.call(this,n),Fj(PP(o),"dataBind",void 0),o.dataBind=new ke(n==null?void 0:n.dataBind),o}return r}(G);function $v(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 wP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(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&&Sv(e,t)}function Uj(e,t){return t&&(Wj(t)==="object"||typeof t=="function")?t:$v(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}var Wj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xj(e){var t=Kj();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uj(this,o)}}var RP=function(e){qj(r,e);var t=Xj(r);function r(n){Hj(this,r);var o;return o=t.call(this,n),wP($v(o),"controlType","search"),wP($v(o),"props",void 0),o.props=new Yi(n==null?void 0:n.props),o}return r}(H);function Ev(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function 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&&Iv(e,t)}function Zj(e,t){return t&&(eL(t)==="object"||typeof t=="function")?t:Ev(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}var eL=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 nL(e){var t=tL();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zj(this,o)}}var $P=function(e){Jj(r,e);var t=nL(r);function r(n){Qj(this,r);var o;return o=t.call(this,n),TP(Ev(o),"controlType","search"),TP(Ev(o),"props",void 0),o.props=new Yi(n==null?void 0:n.props),o}return r}(Q);function rL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(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&&Cv(e,t)}function uL(e,t){return t&&(cL(t)==="object"||typeof t=="function")?t:rL(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}var cL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aL(e){var t=fL();return function(){var n=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uL(this,o)}}var Nv=function(e){iL(r,e);var t=aL(r);function r(n){return oL(this,r),t.call(this,n)}return r}(G);function Bv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function sL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function yL(e,t){return t&&(vL(t)==="object"||typeof t=="function")?t:Bv(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}var vL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pL(e){var t=dL();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yL(this,o)}}var _L=function(e){sL(r,e);var t=pL(r);function r(n){lL(this,r);var o;return o=t.call(this,n),SP(Bv(o),"controlType","wrap"),SP(Bv(o),"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return r}(H);function Mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function bL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OL(e,t){return t&&(gL(t)==="object"||typeof t=="function")?t:Mv(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}var gL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PL(e){var t=mL();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OL(this,o)}}var wL=function(e){bL(r,e);var t=PL(r);function r(n){hL(this,r);var o;return o=t.call(this,n),EP(Mv(o),"controlType","wrap"),EP(Mv(o),"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return r}(Q);function Kn(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 no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function TL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function $L(e,t){return t&&(SL(t)==="object"||typeof t=="function")?t:Kn(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}var SL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IL(e){var t=EL();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $L(this,o)}}var jv=function(e){TL(r,e);var t=IL(r);function r(n){RL(this,r);var o;o=t.call(this,n),no(Kn(o),"content",void 0),no(Kn(o),"fontSize",void 0),no(Kn(o),"color",void 0),no(Kn(o),"icon",void 0),no(Kn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"#646A73";var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"page-hint";var a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var l;return o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:"\u8BF4\u660E\u6587\u5B57",o}return r}(U);function IP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NL(e,t,r){return t&&CP(e.prototype,t),r&&CP(e,r),e}function NP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function BL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AL(e,t){return t&&(ML(t)==="object"||typeof t=="function")?t:IP(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var ML=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kL(e){var t=DL();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AL(this,o)}}var BP=function(e){BL(r,e);var t=kL(r);function r(n){CL(this,r);var o;return o=t.call(this,n),NP(IP(o),"props",void 0),o.props=new jv(n==null?void 0:n.props),o}return NL(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(k);NP(BP,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function AP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 LL(e,t,r){return t&&MP(e.prototype,t),r&&MP(e,r),e}function FL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function xL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function VL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:AP(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var zL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GL(e){var t=YL();return function(){var n=Qi(e),o;if(t){var i=Qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VL(this,o)}}var HL=function(e){xL(r,e);var t=GL(r);function r(n){jL(this,r);var o;return o=t.call(this,n),FL(AP(o),"props",void 0),o.props=new jv(n==null?void 0:n.props),o}return LL(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(W),DP={Designer:BP,Runtime:HL,Property:jv};function Ji(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function UL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function WL(e,t){return t&&(KL(t)==="object"||typeof t=="function")?t:Ji(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}var KL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QL(e){var t=XL();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WL(this,o)}}var zv=function(e){UL(r,e);var t=QL(r);function r(n){qL(this,r);var o;o=t.call(this,n),xv(Ji(o),"content",void 0),xv(Ji(o),"url",void 0),xv(Ji(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var c;o.url=(c=n==null?void 0:n.url)!==null&&c!==void 0?c:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(U);function kP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZL(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function Yv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function eF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function tF(e,t){return t&&(nF(t)==="object"||typeof t=="function")?t:kP(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}var nF=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 oF(e){var t=rF();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tF(this,o)}}var Hv=function(e){eF(r,e);var t=oF(r);function r(n){JL(this,r);var o;return o=t.call(this,n),Yv(kP(o),"props",void 0),o.props=new zv(n==null?void 0:n.props),o}return ZL(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(k);Yv(Hv,"controlEventKeys",["on_click"]),Yv(Hv,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function LP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iF(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 uF(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function cF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function fF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function aF(e,t){return t&&(lF(t)==="object"||typeof t=="function")?t:LP(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}var lF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yF(e){var t=sF();return function(){var n=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aF(this,o)}}var vF=function(e){fF(r,e);var t=yF(r);function r(n){iF(this,r);var o;return o=t.call(this,n),cF(LP(o),"props",void 0),o.props=new zv(n==null?void 0:n.props),o}return uF(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(W),xP={Designer:Hv,Runtime:vF,Property:zv};function _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function pF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _F(e,t){return t&&(hF(t)==="object"||typeof t=="function")?t:_t(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var hF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OF(e){var t=bF();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _F(this,o)}}var we=function(e){pF(r,e);var t=OF(r);function r(n){dF(this,r);var o;o=t.call(this,n),xt(_t(o),"content",void 0),xt(_t(o),"buttonType",void 0),xt(_t(o),"showType",void 0),xt(_t(o),"color",void 0),xt(_t(o),"icon",void 0),xt(_t(o),"defaultState",void 0),xt(_t(o),"command",void 0),xt(_t(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var v;return o.isLoading=(v=n==null?void 0:n.isLoading)!==null&&v!==void 0?v:!1,o}return r}(U);function VP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mF(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function Wv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function PF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function wF(e,t){return t&&(RF(t)==="object"||typeof t=="function")?t:VP(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}var RF=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 $F(e){var t=TF();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wF(this,o)}}var Re=function(e){PF(r,e);var t=$F(r);function r(n){gF(this,r);var o;return o=t.call(this,n),Wv(VP(o),"props",void 0),o.props=new we(n==null?void 0:n.props),o}return mF(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(k);Wv(Re,"controlEventKeys",["on_click"]),Wv(Re,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function YP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 EF(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}function IF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function CF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NF(e,t){return t&&(BF(t)==="object"||typeof t=="function")?t:YP(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}var BF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MF(e){var t=AF();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NF(this,o)}}var Le=function(e){CF(r,e);var t=MF(r);function r(n){SF(this,r);var o;return o=t.call(this,n),IF(YP(o),"props",void 0),o.props=new we(n==null?void 0:n.props),o}return EF(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(W),HP={Designer:Re,Runtime:Le,Property:we};function ht(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"}(u.TitleConfigEnum||(u.TitleConfigEnum={})),u.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(u.DATE_CONFIG_TYPE||(u.DATE_CONFIG_TYPE={})),u.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(u.DATE_LIMIT_TYPE||(u.DATE_LIMIT_TYPE={}));var iu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:u.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:u.DATE_LIMIT_TYPE.FILE_IN_TIME,id:qe(8),value:["",""]};ht(this,e),$(this,"dateConfigType",void 0),$(this,"dateLimitType",void 0),$(this,"id",void 0),$(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};u.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(u.SCORE_TYPE||(u.SCORE_TYPE={}));var uu=function e(t){ht(this,e),$(this,"id",void 0),$(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:qe();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};u.LINE_STYLE=void 0,function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"}(u.LINE_STYLE||(u.LINE_STYLE={}));var Qv=function e(t){ht(this,e),$(this,"type",void 0),$(this,"person",void 0),$(this,"signatureType",void 0),$(this,"telephone",void 0),$(this,"company",void 0),$(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Gn((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,c;this.telephone=(c=t==null?void 0:t.telephone)!==null&&c!==void 0?c:new Gn((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var f,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Gn((f=t==null?void 0:t.company)!==null&&f!==void 0?f:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},qP=function e(t){ht(this,e);var r;$(this,"fileControl",void 0),$(this,"undersignedList",void 0),$(this,"statusControl",void 0),$(this,"completeControl",void 0),$(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new Qv(a)}))!==null&&o!==void 0?o:[new Qv];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var c;this.completeControl=(c=t==null?void 0:t.completeControl)!==null&&c!==void 0?c:"";var f;this.completeTimeControl=(f=t==null?void 0:t.completeTimeControl)!==null&&f!==void 0?f:""},Jv=function e(t){ht(this,e),$(this,"id",void 0),$(this,"appId",void 0),$(this,"dataCode",void 0),$(this,"svcCode",void 0),$(this,"name",void 0),$(this,"fieldList",void 0),$(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:qe(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var c;this.name=(c=t==null?void 0:t.name)!==null&&c!==void 0?c:"";var f;this.fieldList=(f=t==null?void 0:t.fieldList)!==null&&f!==void 0?f:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},Zv=function e(t){ht(this,e),$(this,"active",void 0),$(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},UP=function e(t){ht(this,e),$(this,"types",void 0),$(this,"history",void 0),$(this,"collaborativeRecord",void 0),$(this,"logicToDelete",void 0),$(this,"watermark",void 0),$(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Zv(t==null?void 0:t.watermark),this.autoRename=new Zv(t==null?void 0:t.autoRename)},WP=480;function ro(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var KP=function e(t){ht(this,e),$(this,"fileId",void 0),$(this,"fileName",void 0),$(this,"ruleName",void 0),$(this,"isDefault",void 0),$(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var c;this.rules=(c=t.rules)!==null&&c!==void 0?c:[]},XP=function e(t){ht(this,e),$(this,"direction",void 0),$(this,"justifyContent",void 0),$(this,"alignItems",void 0);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};u.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(u.EncryptTypeEnum||(u.EncryptTypeEnum={})),u.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(u.OrganizeType||(u.OrganizeType={})),u.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(u.DepartmentType||(u.DepartmentType={})),u.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(u.AssignType||(u.AssignType={})),u.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(u.InternalType||(u.InternalType={}));function ed(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function kF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jF(e,t){return t&&(LF(t)==="object"||typeof t=="function")?t:ed(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}var LF=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 xF(e){var t=FF();return function(){var n=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jF(this,o)}}var nd=function(e){kF(r,e);var t=xF(r);function r(n){DF(this,r);var o;o=t.call(this,n),QP(ed(o),"color",void 0),QP(ed(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var c;return o.lineStyle=(c=n==null?void 0:n.lineStyle)!==null&&c!==void 0?c:u.LINE_STYLE.SOLID,o}return r}(U);function JP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zF(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function ew(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function 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&&rd(e,t)}function GF(e,t){return t&&(HF(t)==="object"||typeof t=="function")?t:JP(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(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=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GF(this,o)}}var tw=function(e){YF(r,e);var t=UF(r);function r(n){VF(this,r);var o;return o=t.call(this,n),ew(JP(o),"props",void 0),o.props=new nd(n==null?void 0:n.props),o}return zF(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(k);ew(tw,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]}]);function nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KF(e,t,r){return t&&rw(e.prototype,t),r&&rw(e,r),e}function XF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(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&&od(e,t)}function JF(e,t){return t&&(ZF(t)==="object"||typeof t=="function")?t:nw(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(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=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JF(this,o)}}var n4=function(e){QF(r,e);var t=t4(r);function r(n){WF(this,r);var o;return o=t.call(this,n),XF(nw(o),"props",void 0),o.props=new nd(n==null?void 0:n.props),o}return KF(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(W),ow={Designer:tw,Runtime:n4,Property:nd};function Vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function uw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function r4(e,t){return t&&(o4(t)==="object"||typeof t=="function")?t:Vt(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var o4=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 cw(e){var t=i4();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r4(this,o)}}var u4=function(e){uw(r,e);var t=cw(r);function r(n){iw(this,r);var o;return o=t.call(this,n),zt(Vt(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),zt(Vt(o),"dataBind",{type:"any"}),zt(Vt(o),"config",{type:"array"}),n.config.includes(u.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")}},message:p.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:p.getMessage("pleaseSelectOneField")}),o}return r}(q),su=function(e){uw(r,e);var t=cw(r);function r(n){iw(this,r);var o;o=t.call(this,n),zt(Vt(o),"dataBind",void 0),zt(Vt(o),"caption",void 0),zt(Vt(o),"config",void 0),zt(Vt(o),"position",void 0),o.dataBind=new ke(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[u.TitleConfigEnum.ShowSubmitUser,u.TitleConfigEnum.ShowSubmitDept,u.TitleConfigEnum.ShowSubmitTime,u.TitleConfigEnum.ShowCurrentApprovar,u.TitleConfigEnum.ShowTitle];var c,f;o.caption=(f=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Xn==null?void 0:Xn.controlName)!==null&&f!==void 0?f:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(U);zt(su,"Rules",u4);function fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 f4(e,t,r){return t&&aw(e.prototype,t),r&&aw(e,r),e}function ud(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function 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&&cd(e,t)}function l4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:fw(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var s4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v4(e){var t=y4();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l4(this,o)}}var Xn=function(e){a4(r,e);var t=v4(r);function r(n){c4(this,r);var o;return o=t.call(this,n),ud(fw(o),"props",void 0),o.props=new su(n==null?void 0:n.props),o}return f4(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(k);ud(Xn,"controlFieldType",u.FieldTypes.AUTO_NUMBER),ud(Xn,"setting",[{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 p4(e,t,r){return t&&sw(e.prototype,t),r&&sw(e,r),e}function _4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function h4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function b4(e,t){return t&&(O4(t)==="object"||typeof t=="function")?t:lw(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var O4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b4(this,o)}}var P4=function(e){h4(r,e);var t=m4(r);function r(n){d4(this,r);var o;return o=t.call(this,n),_4(lw(o),"props",void 0),o.props=new su(n==null?void 0:n.props),o}return p4(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(W),yw={Designer:Xn,Runtime:P4,Property:su};function du(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 pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function 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&&ad(e,t)}function w4(e,t){return t&&(R4(t)==="object"||typeof t=="function")?t:du(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var R4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pw(e){var t=T4();return function(){var n=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w4(this,o)}}var $4=function(e){dw(r,e);var t=pw(r);function r(n){vw(this,r);var o;return o=t.call(this,n),pu(du(o),"formKey",{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return r}(q),hu=function(e){dw(r,e);var t=pw(r);function r(n){vw(this,r);var o;o=t.call(this,n),pu(du(o),"formKey",void 0),pu(du(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:oo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:oo.controlName;var f;o.formKey=(f=n==null?void 0:n.formKey)!==null&&f!==void 0?f:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(we);pu(hu,"Rules",$4);function _w(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S4(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 E4(e,t,r){return t&&hw(e.prototype,t),r&&hw(e,r),e}function ld(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function I4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function C4(e,t){return t&&(N4(t)==="object"||typeof t=="function")?t:_w(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var N4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A4(e){var t=B4();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C4(this,o)}}var oo=function(e){I4(r,e);var t=A4(r);function r(n){S4(this,r);var o;return o=t.call(this,n),ld(_w(o),"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return E4(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}(Re);ld(oo,"controlEventKeys",["on_click","on_click_finish"]),ld(oo,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 D4(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function k4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function 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&&yd(e,t)}function L4(e,t){return t&&(F4(t)==="object"||typeof t=="function")?t:bw(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var F4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V4(e){var t=x4();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L4(this,o)}}var z4=function(e){j4(r,e);var t=V4(r);function r(n){M4(this,r);var o;return o=t.call(this,n),k4(bw(o),"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return D4(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Le),gw={Designer:oo,Runtime:z4,Property:hu};function Qn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function 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&&vd(e,t)}function Y4(e,t){return t&&(G4(t)==="object"||typeof t=="function")?t:Qn(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var G4=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 ww(e){var t=H4();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y4(this,o)}}var q4=function(e){Pw(r,e);var t=ww(r);function r(n){mw(this,r);var o;return o=t.call(this,n),Jn(Qn(o),"processKey",[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}]),o}return r}(q),mu=function(e){Pw(r,e);var t=ww(r);function r(n){mw(this,r);var o;o=t.call(this,n),Jn(Qn(o),"processKey",void 0),Jn(Qn(o),"initiatorMode",void 0),Jn(Qn(o),"fieldCode",void 0),Jn(Qn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:io.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:io.controlName;var f;o.initiatorMode=(f=n==null?void 0:n.initiatorMode)!==null&&f!==void 0?f:"currentInitiator";var a;o.processKey=(a=n==null?void 0:n.processKey)!==null&&a!==void 0?a:"";var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(we);Jn(mu,"Rules",q4);function Rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W4(e,t,r){return t&&Tw(e.prototype,t),r&&Tw(e,r),e}function dd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function K4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function X4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:Rw(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}var Q4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z4(e){var t=J4();return function(){var n=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X4(this,o)}}var io=function(e){K4(r,e);var t=Z4(r);function r(n){U4(this,r);var o;return o=t.call(this,n),dd(Rw(o),"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return W4(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}(Re);dd(io,"controlEventKeys",["on_click","on_click_finish"]),dd(io,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function $w(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 t5(e,t,r){return t&&Sw(e.prototype,t),r&&Sw(e,r),e}function n5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o5(e,t){return t&&(i5(t)==="object"||typeof t=="function")?t:$w(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var i5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c5(e){var t=u5();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o5(this,o)}}var f5=function(e){r5(r,e);var t=c5(r);function r(n){e5(this,r);var o;return o=t.call(this,n),n5($w(o),"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return t5(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Le),Ew={Designer:io,Runtime:f5,Property:mu};function a5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(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&&hd(e,t)}function y5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:a5(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(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 p5(e){var t=d5();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y5(this,o)}}var bd=function(e){s5(r,e);var t=p5(r);function r(n){l5(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:uo.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:uo.controlIcon,o}return r}(we);function Iw(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 Cw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h5(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),e}function Od(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function b5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function O5(e,t){return t&&(g5(t)==="object"||typeof t=="function")?t:Iw(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(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 P5(e){var t=m5();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O5(this,o)}}var uo=function(e){b5(r,e);var t=P5(r);function r(n){_5(this,r);var o;return o=t.call(this,n),Od(Iw(o),"props",void 0),o.props=new bd(n==null?void 0:n.props),o}return h5(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}(Re);Od(uo,"controlEventKeys",["on_click"]),Od(uo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Nw(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 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 R5(e,t,r){return t&&Bw(e.prototype,t),r&&Bw(e,r),e}function T5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function $5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function S5(e,t){return t&&(E5(t)==="object"||typeof t=="function")?t:Nw(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var E5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C5(e){var t=I5();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S5(this,o)}}var N5=function(e){$5(r,e);var t=C5(r);function r(n){w5(this,r);var o;return o=t.call(this,n),T5(Nw(o),"props",void 0),o.props=new bd(n==null?void 0:n.props),o}return R5(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Le),Aw={Designer:uo,Runtime:N5,Property:bd};function Mw(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 A5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function M5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D5(e,t){return t&&(k5(t)==="object"||typeof t=="function")?t:Mw(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var k5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L5(e){var t=j5();return function(){var n=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D5(this,o)}}var wd=function(e){M5(r,e);var t=L5(r);function r(n){B5(this,r);var o,i;o=t.call(this,n),A5(Mw(o),"templateList",void 0);var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:co.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:co.controlName;var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(l){return new Jv(l)}))!==null&&a!==void 0?a:[new Jv({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(we);function Dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 x5(e,t,r){return t&&kw(e.prototype,t),r&&kw(e,r),e}function Rd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function 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&&Td(e,t)}function z5(e,t){return t&&(Y5(t)==="object"||typeof t=="function")?t:Dw(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}var Y5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H5(e){var t=G5();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z5(this,o)}}var co=function(e){V5(r,e);var t=H5(r);function r(n){F5(this,r);var o;return o=t.call(this,n),Rd(Dw(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return x5(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}(Re);Rd(co,"controlEventKeys",["on_click","on_click_finish"]),Rd(co,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function jw(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 Lw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U5(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function W5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function K5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function X5(e,t){return t&&(Q5(t)==="object"||typeof t=="function")?t:jw(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var Q5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z5(e){var t=J5();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X5(this,o)}}var e6=function(e){K5(r,e);var t=Z5(r);function r(n){q5(this,r);var o;return o=t.call(this,n),W5(jw(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return U5(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Le),Fw={Designer:co,Runtime:e6,Property:wd};function t6(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 Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(e)}function r6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function o6(e,t){return t&&(i6(t)==="object"||typeof t=="function")?t:t6(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}var i6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c6(e){var t=u6();return function(){var n=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o6(this,o)}}var Ed=function(e){r6(r,e);var t=c6(r);function r(n){n6(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:fo.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:fo.controlIcon,o}return r}(we);function xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a6(e,t,r){return t&&Vw(e.prototype,t),r&&Vw(e,r),e}function Id(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function l6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:xw(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}var y6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d6(e){var t=v6();return function(){var n=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s6(this,o)}}var fo=function(e){l6(r,e);var t=d6(r);function r(n){f6(this,r);var o;return o=t.call(this,n),Id(xw(o),"props",void 0),o.props=new Ed(n==null?void 0:n.props),o}return a6(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}(Re);Id(fo,"controlEventKeys",["on_click"]),Id(fo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _6(e,t,r){return t&&Yw(e.prototype,t),r&&Yw(e,r),e}function h6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function b6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function O6(e,t){return t&&(g6(t)==="object"||typeof t=="function")?t:zw(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var g6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P6(e){var t=m6();return function(){var n=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O6(this,o)}}var w6=function(e){b6(r,e);var t=P6(r);function r(n){p6(this,r);var o;return o=t.call(this,n),h6(zw(o),"props",void 0),o.props=new Ed(n==null?void 0:n.props),o}return _6(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Le),Gw={Designer:fo,Runtime:w6,Property:Ed};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 Uw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function R6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function T6(e,t){return t&&($6(t)==="object"||typeof t=="function")?t:Hw(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}var $6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E6(e){var t=S6();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T6(this,o)}}var I6=function e(t){qw(this,e),Uw(this,"dataCode",void 0),this.dataCode=t.dataCode},Ad=function(e){R6(r,e);var t=E6(r);function r(n){qw(this,r);var o,i;o=t.call(this,n),Uw(Hw(o),"canImportList",void 0);var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:ao.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:ao.controlIcon;var a;return o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new I6(l)}))!==null&&a!==void 0?a:[],o}return r}(we);function Ww(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 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 N6(e,t,r){return t&&Kw(e.prototype,t),r&&Kw(e,r),e}function Md(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function B6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function A6(e,t){return t&&(M6(t)==="object"||typeof t=="function")?t:Ww(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}var M6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k6(e){var t=D6();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A6(this,o)}}var ao=function(e){B6(r,e);var t=k6(r);function r(n){C6(this,r);var o;return o=t.call(this,n),Md(Ww(o),"props",void 0),o.props=new Ad(n==null?void 0:n.props),o}return N6(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}(Re);Md(ao,"controlEventKeys",["on_click","on_click_finish"]),Md(ao,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}]);function Xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 L6(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(e,r),e}function F6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function x6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function V6(e,t){return t&&(z6(t)==="object"||typeof t=="function")?t:Xw(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}var z6=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 G6(e){var t=Y6();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V6(this,o)}}var H6=function(e){x6(r,e);var t=G6(r);function r(n){j6(this,r);var o;return o=t.call(this,n),F6(Xw(o),"props",void 0),o.props=new Ad(n==null?void 0:n.props),o}return L6(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Le),Jw={Designer:ao,Runtime:H6,Property:Ad};function ku(){return{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}}}}}}function Yt(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 bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function eR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function tR(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){bt(e,o,r[o])})}return e}function q6(e,t){return t&&(U6(t)==="object"||typeof t=="function")?t:Yt(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var U6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nR(e){var t=W6();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q6(this,o)}}var K6=function(e){eR(r,e);var t=nR(r);function r(n){Zw(this,r);var o;return o=t.call(this,n),bt(Yt(o),"fillPayload",{type:"object",fields:tR({},ku())}),bt(Yt(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}}),bt(Yt(o),"fillBack",{type:"object",fields:tR({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},ku())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return r}(q),Lu=function(e){eR(r,e);var t=nR(r);function r(n){Zw(this,r);var o;o=t.call(this,n),bt(Yt(o),"fillPayload",void 0),bt(Yt(o),"formBind",void 0),bt(Yt(o),"fillBack",void 0),bt(Yt(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:lo.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:lo.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new _i(n==null?void 0:n.fillPayload),o.formBind=new O0(n==null?void 0:n.formBind),o.fillBack=new jy(n==null?void 0:n.fillBack),o}return r}(we);bt(Lu,"Rules",K6);function rR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q6(e,t,r){return t&&oR(e.prototype,t),r&&oR(e,r),e}function Ld(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function J6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function Z6(e,t){return t&&(ex(t)==="object"||typeof t=="function")?t:rR(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(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=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z6(this,o)}}var lo=function(e){J6(r,e);var t=nx(r);function r(n){X6(this,r);var o;return o=t.call(this,n),Ld(rR(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return Q6(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}(Re);Ld(lo,"controlEventKeys",["on_click","on_click_finish"]),Ld(lo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function iR(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 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 ox(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function ix(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function 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&&xd(e,t)}function cx(e,t){return t&&(fx(t)==="object"||typeof t=="function")?t:iR(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(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=xu(e),o;if(t){var i=xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cx(this,o)}}var sx=function(e){ux(r,e);var t=lx(r);function r(n){rx(this,r);var o;return o=t.call(this,n),ix(iR(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return ox(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Le),cR={Designer:lo,Runtime:sx,Property:Lu};function dn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function aR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function lR(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){Gt(e,o,r[o])})}return e}function yx(e,t){return t&&(vx(t)==="object"||typeof t=="function")?t:dn(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}var vx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sR(e){var t=dx();return function(){var n=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yx(this,o)}}var px=function(e){aR(r,e);var t=sR(r);function r(n){fR(this,r);var o;return o=t.call(this,n),Gt(dn(o),"fillPayload",{type:"object",fields:lR({},ku())}),Gt(dn(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}),Gt(dn(o),"fillBack",{type:"object",fields:lR({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},ku())}),o}return r}(q),zu=function(e){aR(r,e);var t=sR(r);function r(n){fR(this,r);var o;o=t.call(this,n),Gt(dn(o),"fillPayload",void 0),Gt(dn(o),"listPageBind",void 0),Gt(dn(o),"fillBack",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:so.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:so.controlIcon,o.fillPayload=new _i(n==null?void 0:n.fillPayload),o.listPageBind=new Ay(n==null?void 0:n.listPageBind),o.fillBack=new jy(n==null?void 0:n.fillBack),o}return r}(we);Gt(zu,"Rules",px);function yR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hx(e,t,r){return t&&vR(e.prototype,t),r&&vR(e,r),e}function zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function 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&&Yd(e,t)}function Ox(e,t){return t&&(gx(t)==="object"||typeof t=="function")?t:yR(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}var gx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Px(e){var t=mx();return function(){var n=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ox(this,o)}}var so=function(e){bx(r,e);var t=Px(r);function r(n){_x(this,r);var o;return o=t.call(this,n),zd(yR(o),"props",void 0),o.props=new zu(n==null?void 0:n.props),o}return hx(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}(Re);zd(so,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),zd(so,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function dR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rx(e,t,r){return t&&pR(e.prototype,t),r&&pR(e,r),e}function Tx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function $x(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function Sx(e,t){return t&&(Ex(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 Ex=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ix(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cx(e){var t=Ix();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sx(this,o)}}var Nx=function(e){$x(r,e);var t=Cx(r);function r(n){wx(this,r);var o;return o=t.call(this,n),Tx(dR(o),"props",void 0),o.props=new zu(n==null?void 0:n.props),o}return Rx(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Le),_R={Designer:so,Runtime:Nx,Property:zu};function Bx(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 hR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function qd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function Ax(e,t){return t&&(Mx(t)==="object"||typeof t=="function")?t:Bx(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}var Mx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wd(e){var t=Dx();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ax(this,o)}}var kx=function(e){qd(r,e);var t=Wd(r);function r(n){return Hd(this,r),t.call(this,n)}return r}(q),jx=function(e){qd(r,e);var t=Wd(r);function r(n){return Hd(this,r),t.call(this,n)}return r}(Dt),yo=function(e){qd(r,e);var t=Wd(r);function r(n){return Hd(this,r),t.call(this,n)}return r}(U);hR(yo,"Rules",kx),hR(yo,"RuntimeRules",jx);function bR(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 OR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fx(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function gR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function 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&&Kd(e,t)}function Vx(e,t){return t&&(zx(t)==="object"||typeof t=="function")?t:bR(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}var zx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gx(e){var t=Yx();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vx(this,o)}}var mR=function(e){xx(r,e);var t=Gx(r);function r(n){Lx(this,r);var o;return o=t.call(this,n),gR(bR(o),"props",void 0),o.props=new yo(n==null?void 0:n.props),o}return Fx(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(k);gR(mR,"setting",[]);function PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hx(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 qx(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function Ux(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(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&&Xd(e,t)}function Kx(e,t){return t&&(Xx(t)==="object"||typeof t=="function")?t:PR(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(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=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kx(this,o)}}var Zx=function(e){Wx(r,e);var t=Jx(r);function r(n){Hx(this,r);var o;return o=t.call(this,n),Ux(PR(o),"props",void 0),o.props=new yo(n==null?void 0:n.props),o}return qx(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(W),RR={Designer:mR,Runtime:Zx,Property:yo};function Ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function $R(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qd(e,t)}function e7(e,t){return t&&(t7(t)==="object"||typeof t=="function")?t:Ye(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}var t7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SR(e){var t=n7();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e7(this,o)}}var r7=function(e){$R(r,e);var t=SR(r);function r(n){TR(this,r);var o;return o=t.call(this,n),Ge(Ye(o),"dashboardKey",{type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")}),Ge(Ye(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Ge(Ye(o),"isHideCaption",{type:"boolean"}),Ge(Ye(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ge(Ye(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),Ku=function(e){$R(r,e);var t=SR(r);function r(n){TR(this,r);var o;o=t.call(this,n),Ge(Ye(o),"dashboardKey",void 0),Ge(Ye(o),"caption",void 0),Ge(Ye(o),"isHideCaption",void 0),Ge(Ye(o),"isShowCaptionTip",void 0),Ge(Ye(o),"captionTip",void 0),Ge(Ye(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(U);Ge(Ku,"Rules",r7);function ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o7(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 i7(e,t,r){return t&&IR(e.prototype,t),r&&IR(e,r),e}function CR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function u7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c7(e,t){return t&&(f7(t)==="object"||typeof t=="function")?t:ER(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}var f7=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 l7(e){var t=a7();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c7(this,o)}}var NR=function(e){u7(r,e);var t=l7(r);function r(n){o7(this,r);var o;return o=t.call(this,n),CR(ER(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return i7(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(k);CR(NR,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function BR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 y7(e,t,r){return t&&AR(e.prototype,t),r&&AR(e,r),e}function v7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function d7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p7(e,t){return t&&(_7(t)==="object"||typeof t=="function")?t:BR(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}var _7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b7(e){var t=h7();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p7(this,o)}}var O7=function(e){d7(r,e);var t=b7(r);function r(n){s7(this,r);var o;return o=t.call(this,n),v7(BR(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return y7(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(W),MR={Designer:NR,Runtime:O7,Property:Ku};function vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function kR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g7(e,t){return t&&(m7(t)==="object"||typeof t=="function")?t:vo(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var m7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jR(e){var t=P7();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g7(this,o)}}var w7=function(e){kR(r,e);var t=jR(r);function r(n){DR(this,r);var o;return o=t.call(this,n),po(vo(o),"showType",{type:"enum",enum:["select","tabs"]}),po(vo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:p.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(q),Zu=function(e){kR(r,e);var t=jR(r);function r(n){DR(this,r);var o,i;o=t.call(this,n),po(vo(o),"showType",void 0),po(vo(o),"viewList",void 0);var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"select";var f;return o.viewList=(f=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new L0(a)}))!==null&&f!==void 0?f:[],o}return r}(U);po(Zu,"Rules",w7);function LR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 T7(e,t,r){return t&&FR(e.prototype,t),r&&FR(e,r),e}function xR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function $7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function S7(e,t){return t&&(E7(t)==="object"||typeof t=="function")?t:LR(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}var E7=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 C7(e){var t=I7();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S7(this,o)}}var VR=function(e){$7(r,e);var t=C7(r);function r(n){R7(this,r);var o;return o=t.call(this,n),xR(LR(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return T7(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(k);xR(VR,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function zR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B7(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function A7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function M7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D7(e,t){return t&&(k7(t)==="object"||typeof t=="function")?t:zR(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}var k7=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 L7(e){var t=j7();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D7(this,o)}}var F7=function(e){M7(r,e);var t=L7(r);function r(n){N7(this,r);var o;return o=t.call(this,n),A7(zR(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return B7(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(W),GR={Designer:VR,Runtime:F7,Property:Zu};function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function 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&&rp(e,t)}function x7(e,t){return t&&(V7(t)==="object"||typeof t=="function")?t:Ie(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}var V7=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 UR(e){var t=z7();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x7(this,o)}}var Y7=function(e){qR(r,e);var t=UR(r);function r(n){HR(this,r);var o;return o=t.call(this,n),Ce(Ie(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Ce(Ie(o),"isHideCaption",{type:"boolean"}),Ce(Ie(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ce(Ie(o),"ocrType",{type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")}),Ce(Ie(o),"fillList",{type:"array",validator:function(c,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Ce(Ie(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),rc=function(e){qR(r,e);var t=UR(r);function r(n){HR(this,r);var o,i;o=t.call(this,n),Ce(Ie(o),"caption",void 0),Ce(Ie(o),"isHideCaption",void 0),Ce(Ie(o),"isShowCaptionTip",void 0),Ce(Ie(o),"captionTip",void 0),Ce(Ie(o),"labelPosition",void 0),Ce(Ie(o),"ocrType",void 0),Ce(Ie(o),"fillList",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Zn.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:Zn.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:Zn.controlIcon;var _;o.ocrType=(_=n==null?void 0:n.ocrType)!==null&&_!==void 0?_:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Ee(b)}))!==null&&O!==void 0?O:[],o}return r}(we);Ce(rc,"Rules",Y7);function WR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H7(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function op(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(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&&ip(e,t)}function U7(e,t){return t&&(W7(t)==="object"||typeof t=="function")?t:WR(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(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=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U7(this,o)}}var Zn=function(e){q7(r,e);var t=X7(r);function r(n){G7(this,r);var o;return o=t.call(this,n),op(WR(o),"props",void 0),o.props=new rc(n==null?void 0:n.props),o}return H7(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}(Re);op(Zn,"controlEventKeys",["on_click","on_click_finish"]),op(Zn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function XR(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 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 J7(e,t,r){return t&&QR(e.prototype,t),r&&QR(e,r),e}function Z7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function 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&&up(e,t)}function t8(e,t){return t&&(n8(t)==="object"||typeof t=="function")?t:XR(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(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=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t8(this,o)}}var i8=function(e){e8(r,e);var t=o8(r);function r(n){Q7(this,r);var o;return o=t.call(this,n),Z7(XR(o),"props",void 0),o.props=new rc(n==null?void 0:n.props),o}return J7(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Le),JR={Designer:Zn,Runtime:i8,Property:rc};function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function eT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u8(e,t){return t&&(c8(t)==="object"||typeof t=="function")?t:Ne(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(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 tT(e){var t=f8();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u8(this,o)}}var a8=function(e){eT(r,e);var t=tT(r);function r(n){ZR(this,r);var o;return o=t.call(this,n),Be(Ne(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Be(Ne(o),"isHideCaption",{type:"boolean"}),Be(Ne(o),"labelPosition",{type:"enum",enum:["top","left"]}),Be(Ne(o),"invoiceCheck",{type:"boolean"}),Be(Ne(o),"fillList",{type:"array",validator:function(c,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Be(Ne(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),cc=function(e){eT(r,e);var t=tT(r);function r(n){ZR(this,r);var o,i;o=t.call(this,n),Be(Ne(o),"caption",void 0),Be(Ne(o),"isHideCaption",void 0),Be(Ne(o),"isShowCaptionTip",void 0),Be(Ne(o),"captionTip",void 0),Be(Ne(o),"labelPosition",void 0),Be(Ne(o),"invoiceCheck",void 0),Be(Ne(o),"fillList",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:er.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:er.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:er.controlIcon;var _;o.invoiceCheck=(_=n==null?void 0:n.invoiceCheck)!==null&&_!==void 0?_:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new Ee(b)}))!==null&&O!==void 0?O:[],o}return r}(we);Be(cc,"Rules",a8);function nT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s8(e,t,r){return t&&rT(e.prototype,t),r&&rT(e,r),e}function fp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function 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&&ap(e,t)}function v8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:nT(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}var d8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _8(e){var t=p8();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v8(this,o)}}var er=function(e){y8(r,e);var t=_8(r);function r(n){l8(this,r);var o;return o=t.call(this,n),fp(nT(o),"props",void 0),o.props=new cc(n==null?void 0:n.props),o}return s8(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}(Re);fp(er,"controlEventKeys",["on_click","on_click_finish"]),fp(er,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b8(e,t,r){return t&&iT(e.prototype,t),r&&iT(e,r),e}function O8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function 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&&lp(e,t)}function m8(e,t){return t&&(P8(t)==="object"||typeof t=="function")?t:oT(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}var P8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R8(e){var t=w8();return function(){var n=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m8(this,o)}}var T8=function(e){g8(r,e);var t=R8(r);function r(n){h8(this,r);var o;return o=t.call(this,n),O8(oT(o),"props",void 0),o.props=new cc(n==null?void 0:n.props),o}return b8(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Le),uT={Designer:er,Runtime:T8,Property:cc};function lc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function fT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:lc(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var S8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aT(e){var t=E8();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $8(this,o)}}var I8=function(e){fT(r,e);var t=aT(r);function r(){cT(this,r);var n;return n=t.apply(this,arguments),sc(lc(n),"printTemplates",{type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(q),vc=function(e){fT(r,e);var t=aT(r);function r(n){cT(this,r);var o,i;o=t.call(this,n),sc(lc(o),"printTemplates",void 0),sc(lc(o),"autoSelectTemplate",void 0);var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:_o.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:_o.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new KP(s)}))!==null&&a!==void 0?a:[];var l;return o.autoSelectTemplate=(l=n==null?void 0:n.autoSelectTemplate)!==null&&l!==void 0?l:!1,o}return r}(we);sc(vc,"Rules",I8);function lT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 N8(e,t,r){return t&&sT(e.prototype,t),r&&sT(e,r),e}function yp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function B8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A8(e,t){return t&&(M8(t)==="object"||typeof t=="function")?t:lT(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var M8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=D8();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A8(this,o)}}var _o=function(e){B8(r,e);var t=k8(r);function r(n){C8(this,r);var o;return o=t.call(this,n),yp(lT(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return N8(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}(Re);yp(_o,"controlEventKeys",["on_click","on_click_finish"]),yp(_o,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L8(e,t,r){return t&&vT(e.prototype,t),r&&vT(e,r),e}function F8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function 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&&dp(e,t)}function V8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:yT(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}var z8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G8(e){var t=Y8();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V8(this,o)}}var H8=function(e){x8(r,e);var t=G8(r);function r(n){j8(this,r);var o;return o=t.call(this,n),F8(yT(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return L8(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Le),dT={Designer:_o,Runtime:H8,Property:vc};function q8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function W8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function K8(e,t){return t&&(X8(t)==="object"||typeof t=="function")?t:q8(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}var X8=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 J8(e){var t=Q8();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K8(this,o)}}var _p=function(e){W8(r,e);var t=J8(r);function r(n){U8(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ho.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:ho.controlIcon,o}return r}(we);function pT(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 _T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eV(e,t,r){return t&&_T(e.prototype,t),r&&_T(e,r),e}function hp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function tV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function nV(e,t){return t&&(rV(t)==="object"||typeof t=="function")?t:pT(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(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 iV(e){var t=oV();return function(){var n=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nV(this,o)}}var ho=function(e){tV(r,e);var t=iV(r);function r(n){Z8(this,r);var o;return o=t.call(this,n),hp(pT(o),"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return eV(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}(Re);hp(ho,"controlEventKeys",["on_click"]),hp(ho,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function hT(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 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 cV(e,t,r){return t&&bT(e.prototype,t),r&&bT(e,r),e}function fV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function aV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function lV(e,t){return t&&(sV(t)==="object"||typeof t=="function")?t:hT(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}var sV=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 vV(e){var t=yV();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lV(this,o)}}var dV=function(e){aV(r,e);var t=vV(r);function r(n){uV(this,r);var o;return o=t.call(this,n),fV(hT(o),"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return cV(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Le),OT={Designer:ho,Runtime:dV,Property:_p};function Te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function mT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pV(e,t){return t&&(_V(t)==="object"||typeof t=="function")?t:Te(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}var _V=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PT(e){var t=hV();return function(){var n=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pV(this,o)}}var bV=function(e){mT(r,e);var t=PT(r);function r(n){gT(this,r);var o;return o=t.call(this,n),$e(Te(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return r}(q),gc=function(e){mT(r,e);var t=PT(r);function r(n){gT(this,r);var o;o=t.call(this,n),$e(Te(o),"content",void 0),$e(Te(o),"code",void 0),$e(Te(o),"command",void 0),$e(Te(o),"color",void 0),$e(Te(o),"icon",void 0),$e(Te(o),"formKey",void 0),$e(Te(o),"openType",void 0),$e(Te(o),"needConfirm",void 0),$e(Te(o),"confirmMessage",void 0),$e(Te(o),"options",void 0),$e(Te(o),"defaultState",void 0),$e(Te(o),"priorityProcess",void 0),$e(Te(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var c;o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"custom";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return r}(U);$e(gc,"Rules",bV);function wT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gV(e,t,r){return t&&RT(e.prototype,t),r&&RT(e,r),e}function mp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function mV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function PV(e,t){return t&&(wV(t)==="object"||typeof t=="function")?t:wT(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}var wV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TV(e){var t=RV();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PV(this,o)}}var Pc=function(e){mV(r,e);var t=TV(r);function r(n){OV(this,r);var o;return o=t.call(this,n),mp(wT(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return gV(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(k);mp(Pc,"controlEventKeys",["on_click"]),mp(Pc,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function TT(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 $T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SV(e,t,r){return t&&$T(e.prototype,t),r&&$T(e,r),e}function EV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function IV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function CV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:TT(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}var NV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AV(e){var t=BV();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CV(this,o)}}var MV=function(e){IV(r,e);var t=AV(r);function r(n){$V(this,r);var o;return o=t.call(this,n),EV(TT(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return SV(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(W),bo={Designer:Pc,Runtime:MV,Property:gc};function Ot(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 Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function kV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function jV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:Ot(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var LV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xV(e){var t=FV();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jV(this,o)}}var Tp=function(e){kV(r,e);var t=xV(r);function r(n){DV(this,r);var o;o=t.call(this,n),Ht(Ot(o),"content",void 0),Ht(Ot(o),"buttonType",void 0),Ht(Ot(o),"showType",void 0),Ht(Ot(o),"color",void 0),Ht(Ot(o),"icon",void 0),Ht(Ot(o),"defaultState",void 0),Ht(Ot(o),"command",void 0),Ht(Ot(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Oo.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Oo.controlIcon;var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var v;o.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var _;return o.isLoading=(_=n==null?void 0:n.isLoading)!==null&&_!==void 0?_:!1,o}return r}(U);function ST(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ET(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zV(e,t,r){return t&&ET(e.prototype,t),r&&ET(e,r),e}function $p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function YV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function GV(e,t){return t&&(HV(t)==="object"||typeof t=="function")?t:ST(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}var HV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UV(e){var t=qV();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GV(this,o)}}var Oo=function(e){YV(r,e);var t=UV(r);function r(n){VV(this,r);var o;return o=t.call(this,n),$p(ST(o),"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return zV(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(k);$p(Oo,"controlEventKeys",["on_click"]),$p(Oo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function IT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KV(e,t,r){return t&&CT(e.prototype,t),r&&CT(e,r),e}function XV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&Ep(e,t)}function JV(e,t){return t&&(ZV(t)==="object"||typeof t=="function")?t:IT(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}var ZV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t9(e){var t=e9();return function(){var n=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JV(this,o)}}var n9=function(e){QV(r,e);var t=t9(r);function r(n){WV(this,r);var o;return o=t.call(this,n),XV(IT(o),"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return KV(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(W),NT={Designer:Oo,Runtime:n9,Property:Tp},r9=Object.freeze({__proto__:null,Text:DP,Link:xP,Button:HP,Divider:ow,Title:yw,CreateFormListButton:gw,BatchSubmissionListButton:Ew,SubmissionRecordListButton:Aw,ExportListButton:Fw,ExportRecordListButton:Gw,ImportRecordListButton:Jw,FormSelectButton:cR,ListSelectButton:_R,Pagination:RR,Dashboard:MR,ListViewSelect:GR,TextOcrButton:JR,InvoiceCheckButton:uT,BatchPrintListButton:dT,BatchPrintRecordListButton:OT,OperationButton:bo,BatchDeleteButton:NT});function rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function Cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function o9(e,t){return t&&(i9(t)==="object"||typeof t=="function")?t:rt(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(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 Bp(e){var t=u9();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o9(this,o)}}var c9=function(e){Cp(r,e);var t=Bp(r);function r(n){Ip(this,r);var o;return o=t.call(this,n),Ke(rt(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ke(rt(o),"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ke(rt(o),"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=ro(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ve),f9=function(e){Cp(r,e);var t=Bp(r);function r(n){Ip(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:ro(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(z),tr=function(e){Cp(r,e);var t=Bp(r);function r(n){Ip(this,r);var o;o=t.call(this,n),Ke(rt(o),"maxLength",void 0),Ke(rt(o),"minLength",void 0),Ke(rt(o),"regularRules",void 0),Ke(rt(o),"defaultValue",void 0),Ke(rt(o),"encrypted",void 0),Ke(rt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0,o.regularRules=new Ly(n==null?void 0:n.regularRules);var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:nr.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(B);Ke(tr,"Rules",c9),Ke(tr,"RuntimeRules",f9);function BT(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 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 l9(e,t,r){return t&&AT(e.prototype,t),r&&AT(e,r),e}function Ec(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function 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&&Ap(e,t)}function y9(e,t){return t&&(v9(t)==="object"||typeof t=="function")?t:BT(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(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 p9(e){var t=d9();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y9(this,o)}}var nr=function(e){s9(r,e);var t=p9(r);function r(n){a9(this,r);var o;return o=t.call(this,n),Ec(BT(o),"props",void 0),o.props=new tr(n==null?void 0:n.props),o}return l9(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(A);Ec(nr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ec(nr,"controlFieldType",u.FieldTypes.VARCHAR),Ec(nr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function MT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h9(e,t,r){return t&&DT(e.prototype,t),r&&DT(e,r),e}function kT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function b9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function O9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:MT(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}var g9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P9(e){var t=m9();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O9(this,o)}}var jT=function(e){b9(r,e);var t=P9(r);function r(n){_9(this,r);var o;return o=t.call(this,n),kT(MT(o),"props",void 0),o.props=new tr(n==null?void 0:n.props),o}return h9(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(M);kT(jT,"controlFieldType",u.FieldTypes.VARCHAR);var LT={Designer:nr,Runtime:jT,Property:tr};function pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function kp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 w9(e,t){return t&&(R9(t)==="object"||typeof t=="function")?t:pe(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}var R9=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 Lp(e){var t=T9();return function(){var n=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w9(this,o)}}var $9=function(e){kp(r,e);var t=Lp(r);function r(n){Dp(this,r);var o;o=t.call(this,n),oe(pe(o),"limitMax",{type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var c=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=c(n.limitMin),o}return r}(yn),S9=function(e){kp(r,e);var t=Lp(r);function r(n){Dp(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(z),go=function(e){kp(r,e);var t=Lp(r);function r(n){Dp(this,r);var o;o=t.call(this,n),oe(pe(o),"checkboxMode",void 0),oe(pe(o),"options",void 0),oe(pe(o),"optionsOrder",void 0),oe(pe(o),"limitMax",void 0),oe(pe(o),"limitMin",void 0),oe(pe(o),"otherOption",void 0),oe(pe(o),"optionConfig",void 0),oe(pe(o),"optionsFormat",void 0),oe(pe(o),"defaultShowOptions",void 0),oe(pe(o),"datasourceBind",void 0),oe(pe(o),"multistageFilling",void 0),oe(pe(o),"interreaction",void 0),oe(pe(o),"defaultValue",void 0),oe(pe(o),"openMultistageFilling",void 0);var i;o.options=et((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.checkboxMode=(c=n==null?void 0:n.checkboxMode)!==null&&c!==void 0?c:"horizontal";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom";var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:mo.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!0;var 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(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Ee(m))})),o}return r}(B);oe(go,"Rules",$9),oe(go,"RuntimeRules",S9);function FT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I9(e,t,r){return t&&xT(e.prototype,t),r&&xT(e,r),e}function Bc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function C9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function N9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:FT(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}var B9=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=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N9(this,o)}}var mo=function(e){C9(r,e);var t=M9(r);function r(n){E9(this,r);var o;return o=t.call(this,n),Bc(FT(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return I9(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(A);Bc(mo,"controlEventKeys",["on_change","on_click"]),Bc(mo,"controlFieldType",u.FieldTypes.ARRAY),Bc(mo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function VT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 k9(e,t,r){return t&&zT(e.prototype,t),r&&zT(e,r),e}function YT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function 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&&xp(e,t)}function L9(e,t){return t&&(F9(t)==="object"||typeof t=="function")?t:VT(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}var F9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V9(e){var t=x9();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L9(this,o)}}var GT=function(e){j9(r,e);var t=V9(r);function r(n){D9(this,r);var o;return o=t.call(this,n),YT(VT(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return k9(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(M);YT(GT,"controlFieldType",u.FieldTypes.ARRAY);var HT={Designer:mo,Runtime:GT,Property:go};function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function UT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:Fe(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}var Y9=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 WT(e){var t=G9();return function(){var n=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z9(this,o)}}var H9=function(e){UT(r,e);var t=WT(r);function r(n){return qT(this,r),t.call(this,n)}return r}(yn),kc=function(e){UT(r,e);var t=WT(r);function r(n){qT(this,r);var o;o=t.call(this,n),xe(Fe(o),"radioMode",void 0),xe(Fe(o),"options",void 0),xe(Fe(o),"optionConfig",void 0),xe(Fe(o),"optionsFormat",void 0),xe(Fe(o),"defaultShowOptions",void 0),xe(Fe(o),"otherOption",void 0),xe(Fe(o),"optionsOrder",void 0),xe(Fe(o),"datasourceBind",void 0),xe(Fe(o),"multistageFilling",void 0),xe(Fe(o),"interreaction",void 0),xe(Fe(o),"defaultValue",void 0),xe(Fe(o),"openMultistageFilling",void 0);var i;o.options=et((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.radioMode=(c=n==null?void 0:n.radioMode)!==null&&c!==void 0?c:"horizontal";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom";var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Po.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Ee(g))})),o}return r}(B);xe(kc,"Rules",H9);function KT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U9(e,t,r){return t&&XT(e.prototype,t),r&&XT(e,r),e}function jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function 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&&zp(e,t)}function K9(e,t){return t&&(X9(t)==="object"||typeof t=="function")?t:KT(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}var X9=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 J9(e){var t=Q9();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K9(this,o)}}var Po=function(e){W9(r,e);var t=J9(r);function r(n){q9(this,r);var o;return o=t.call(this,n),jc(KT(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return U9(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(A);jc(Po,"controlEventKeys",["on_change","on_click"]),jc(Po,"controlFieldType",u.FieldTypes.VARCHAR),jc(Po,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function QT(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 JT(e,t){for(var r=0;r<t.length;r++){var 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&&JT(e.prototype,t),r&&JT(e,r),e}function ZT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function tz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:QT(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}var rz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iz(e){var t=oz();return function(){var n=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nz(this,o)}}var e$=function(e){tz(r,e);var t=iz(r);function r(n){Z9(this,r);var o;return o=t.call(this,n),ZT(QT(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return ez(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(M);ZT(e$,"controlFieldType",u.FieldTypes.VARCHAR);var t$={Designer:Po,Runtime:e$,Property:kc};function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function Hp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:Se(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(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 Up(e){var t=fz();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uz(this,o)}}var az=function(e){Hp(r,e);var t=Up(r);function r(n){Gp(this,r);var o;o=t.call(this,n),_e(Se(o),"defaultValue",[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),_e(Se(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=c,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:i,min:c}),c&&i!==void 0&&(o.rangeMax={type:"number",min:c,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=ro(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ve),lz=function(e){Hp(r,e);var t=Up(r);function r(n){Gp(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,c=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:c,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":c===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:c})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:ro(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(z),wo=function(e){Hp(r,e);var t=Up(r);function r(n){Gp(this,r);var o;o=t.call(this,n),_e(Se(o),"rangeMin",void 0),_e(Se(o),"rangeMax",void 0),_e(Se(o),"numberType",void 0),_e(Se(o),"percentageFormat",void 0),_e(Se(o),"micrometer",void 0),_e(Se(o),"precision",void 0),_e(Se(o),"showUpperCase",void 0),_e(Se(o),"isShowUnit",void 0),_e(Se(o),"unitPosition",void 0),_e(Se(o),"unit",void 0),_e(Se(o),"defaultValue",void 0),_e(Se(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var f;o.numberType=(f=n==null?void 0:n.numberType)!==null&&f!==void 0?f:"number";var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s:0;var y;o.showUpperCase=(y=n==null?void 0:n.showUpperCase)!==null&&y!==void 0?y:!1;var v;o.isShowUnit=(v=n==null?void 0:n.isShowUnit)!==null&&v!==void 0?v:!1;var _;o.unitPosition=(_=n==null?void 0:n.unitPosition)!==null&&_!==void 0?_:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Ro.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var d;return o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"",o.regularRules=new Ly(n==null?void 0:n.regularRules),o}return r}(B);_e(wo,"Rules",az),_e(wo,"RuntimeRules",lz);function n$(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 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 yz(e,t,r){return t&&r$(e.prototype,t),r&&r$(e,r),e}function Vc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zc=Reflect.get:zc=function(o,i,c){var f=pz(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},zc(e,t,r||e)}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rr(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&&Wp(e,t)}function dz(e,t){return t&&(_z(t)==="object"||typeof t=="function")?t:n$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function pz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rr(e),e!==null););return e}var _z=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 bz(e){var t=hz();return function(){var n=rr(e),o;if(t){var i=rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dz(this,o)}}var Ro=function(e){vz(r,e);var t=bz(r);function r(n){sz(this,r);var o;return o=t.call(this,n),Vc(n$(o),"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return yz(r,[{key:"toDataBindModel",value:function(o){var i=zc(rr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,a=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(A);Vc(Ro,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Vc(Ro,"controlFieldType",u.FieldTypes.DECIMAL),Vc(Ro,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_UNIT,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function o$(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 i$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gz(e,t,r){return t&&i$(e.prototype,t),r&&i$(e,r),e}function u$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function mz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function Pz(e,t){return t&&(wz(t)==="object"||typeof t=="function")?t:o$(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}var wz=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 Tz(e){var t=Rz();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pz(this,o)}}var c$=function(e){mz(r,e);var t=Tz(r);function r(n){Oz(this,r);var o;return o=t.call(this,n),u$(o$(o),"props",void 0),o.props=new wo(n==null?void 0:n.props),o}return gz(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(M);u$(c$,"controlFieldType",u.FieldTypes.DECIMAL);var f$={Designer:Ro,Runtime:c$,Property:wo};function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function 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&&Xp(e,t)}function Ez(e,t){return t&&(Iz(t)==="object"||typeof t=="function")?t:pn(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(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=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ez(this,o)}}var Qp=function(e){Sz(r,e);var t=Nz(r);function r(n){$z(this,r);var o,i;o=t.call(this,n),or(pn(o),"dateType",void 0),or(pn(o),"setValueType",void 0),or(pn(o),"defaultValue",void 0),or(pn(o),"limitDateList",void 0),or(pn(o),"allowDateRange",void 0),or(pn(o),"filterWeekend",void 0);var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.DateType.DATE;var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:qc.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165\u65E5\u671F";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;o.limitDateList=(y=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(O){return new iu(O)}))!==null&&y!==void 0?y:[];var v;o.allowDateRange=(v=n==null?void 0:n.allowDateRange)!==null&&v!==void 0?v:["",""];var _;return o.filterWeekend=(_=n==null?void 0:n.filterWeekend)!==null&&_!==void 0?_:!1,o}return r}(B);function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Az(e,t,r){return t&&l$(e.prototype,t),r&&l$(e,r),e}function Jp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hc=Reflect.get:Hc=function(o,i,c){var f=kz(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Hc(e,t,r||e)}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function Mz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function Dz(e,t){return t&&(jz(t)==="object"||typeof t=="function")?t:a$(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function kz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ir(e),e!==null););return e}var jz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fz(e){var t=Lz();return function(){var n=ir(e),o;if(t){var i=ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dz(this,o)}}var qc=function(e){Mz(r,e);var t=Fz(r);function r(n){Bz(this,r);var o;return o=t.call(this,n),Jp(a$(o),"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return Az(r,[{key:"toDataBindModel",value:function(o){var i=Hc(ir(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props.dateType;i.props.dateType=c}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(A);Jp(qc,"controlFieldType",u.FieldTypes.TIMESTAMP),Jp(qc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function s$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var r=0;r<t.length;r++){var 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&&y$(e.prototype,t),r&&y$(e,r),e}function v$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(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&&e_(e,t)}function Yz(e,t){return t&&(Gz(t)==="object"||typeof t=="function")?t:s$(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var Gz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qz(e){var t=Hz();return function(){var n=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yz(this,o)}}var d$=function(e){zz(r,e);var t=qz(r);function r(n){xz(this,r);var o;return o=t.call(this,n),v$(s$(o),"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return Vz(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(M);v$(d$,"controlFieldType",u.FieldTypes.TIMESTAMP);var p$={Designer:qc,Runtime:d$,Property:Qp};function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function h$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t_(e,t)}function Uz(e,t){return t&&(Wz(t)==="object"||typeof t=="function")?t:ot(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(e,t)}var 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 b$(e){var t=Kz();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uz(this,o)}}var Xz=function(e){h$(r,e);var t=b$(r);function r(n){_$(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(z),Kc=function(e){h$(r,e);var t=b$(r);function r(n){_$(this,r);var o,i;o=t.call(this,n),it(ot(o),"dataBind",void 0),it(ot(o),"rangeMin",void 0),it(ot(o),"rangeMax",void 0),it(ot(o),"placeholderStart",void 0),it(ot(o),"placeholderEnd",void 0),it(ot(o),"dateType",void 0),it(ot(o),"setValueType",void 0),it(ot(o),"defaultValue",void 0),it(ot(o),"limitDateList",void 0),o.dataBind=new A0(n==null?void 0:n.dataBind),o.defaultValue=new M0(n==null?void 0:n.defaultValue);var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.DateType.DATE;var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var a;o.rangeMin=(a=n==null?void 0:n.rangeMin)!==null&&a!==void 0?a:"";var l;o.rangeMax=(l=n==null?void 0:n.rangeMax)!==null&&l!==void 0?l:"";var s;o.placeholderStart=(s=n==null?void 0:n.placeholderStart)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var y;o.placeholderEnd=(y=n==null?void 0:n.placeholderEnd)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Qc.controlName;var _;return o.limitDateList=(_=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(O){return new iu(O)}))!==null&&_!==void 0?_:[],o}return r}(B);it(Kc,"RuntimeRules",Xz);function O$(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 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 Jz(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function n_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xc=Reflect.get:Xc=function(o,i,c){var f=tY(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Xc(e,t,r||e)}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ur(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&&r_(e,t)}function eY(e,t){return t&&(nY(t)==="object"||typeof t=="function")?t:O$(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}function tY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ur(e),e!==null););return e}var nY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oY(e){var t=rY();return function(){var n=ur(e),o;if(t){var i=ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eY(this,o)}}var Qc=function(e){Zz(r,e);var t=oY(r);function r(n){Qz(this,r);var o;return o=t.call(this,n),n_(O$(o),"props",void 0),o.props=new Kc(n==null?void 0:n.props),o}return Jz(r,[{key:"toDataBindModel",value:function(o){var i=Xc(ur(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props.dateType;i.props.dateType=c}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(A);n_(Qc,"controlFieldType",u.FieldTypes.TIMESCOPE),n_(Qc,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function m$(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 P$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uY(e,t,r){return t&&P$(e.prototype,t),r&&P$(e,r),e}function w$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function 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&&o_(e,t)}function fY(e,t){return t&&(aY(t)==="object"||typeof t=="function")?t:m$(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}var aY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sY(e){var t=lY();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fY(this,o)}}var R$=function(e){cY(r,e);var t=sY(r);function r(n){iY(this,r);var o;return o=t.call(this,n),w$(m$(o),"props",void 0),o.props=new Kc(n==null?void 0:n.props),o}return uY(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(M);w$(R$,"controlFieldType",u.FieldTypes.TIMESCOPE);var T$={Designer:Qc,Runtime:R$,Property:Kc};function qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function u_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function yY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:qt(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var vY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dY();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yY(this,o)}}var pY=function(e){u_(r,e);var t=f_(r);function r(n){i_(this,r);var o;return o=t.call(this,n),gt(qt(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),gt(qt(o),"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),gt(qt(o),"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ve),_Y=function(e){u_(r,e);var t=f_(r);function r(n){i_(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(z),To=function(e){u_(r,e);var t=f_(r);function r(n){i_(this,r);var o;o=t.call(this,n),gt(qt(o),"maxLength",void 0),gt(qt(o),"minLength",void 0),gt(qt(o),"defaultValue",void 0),gt(qt(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0;var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:$o.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;return o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:4,o}return r}(B);gt(To,"Rules",pY),gt(To,"RuntimeRules",_Y);function $$(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 S$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bY(e,t,r){return t&&S$(e.prototype,t),r&&S$(e,r),e}function ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function OY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function gY(e,t){return t&&(mY(t)==="object"||typeof t=="function")?t:$$(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}var mY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wY(e){var t=PY();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gY(this,o)}}var $o=function(e){OY(r,e);var t=wY(r);function r(n){hY(this,r);var o;return o=t.call(this,n),ef($$(o),"props",void 0),o.props=new To(n==null?void 0:n.props),o}return bY(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(A);ef($o,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ef($o,"controlFieldType",u.FieldTypes.TEXT),ef($o,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function E$(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 I$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TY(e,t,r){return t&&I$(e.prototype,t),r&&I$(e,r),e}function C$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function $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&&l_(e,t)}function SY(e,t){return t&&(EY(t)==="object"||typeof t=="function")?t:E$(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}var EY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CY(e){var t=IY();return function(){var n=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SY(this,o)}}var N$=function(e){$Y(r,e);var t=CY(r);function r(n){RY(this,r);var o;return o=t.call(this,n),C$(E$(o),"props",void 0),o.props=new To(n==null?void 0:n.props),o}return TY(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(M);C$(N$,"controlFieldType",u.FieldTypes.TEXT);var B$={Designer:$o,Runtime:N$,Property:To};function _n(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function y_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function NY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:_n(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var BY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d_(e){var t=AY();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NY(this,o)}}var MY=function(e){y_(r,e);var t=d_(r);function r(n){s_(this,r);var o;return o=t.call(this,n),Ut(_n(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ut(_n(o),"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ut(_n(o),"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ve),DY=function(e){y_(r,e);var t=d_(r);function r(n){s_(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(z),So=function(e){y_(r,e);var t=d_(r);function r(n){s_(this,r);var o;o=t.call(this,n),Ut(_n(o),"maxLength",void 0),Ut(_n(o),"minLength",void 0),Ut(_n(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0;var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Eo.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(B);Ut(So,"Rules",MY),Ut(So,"RuntimeRules",DY);function A$(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 M$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jY(e,t,r){return t&&M$(e.prototype,t),r&&M$(e,r),e}function of(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function 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&&p_(e,t)}function FY(e,t){return t&&(xY(t)==="object"||typeof t=="function")?t:A$(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}var xY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zY(e){var t=VY();return function(){var n=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FY(this,o)}}var Eo=function(e){LY(r,e);var t=zY(r);function r(n){kY(this,r);var o;return o=t.call(this,n),of(A$(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return jY(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(A);of(Eo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),of(Eo,"controlFieldType",u.FieldTypes.TEXT),of(Eo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function D$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GY(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}function j$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function HY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:D$(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var UY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KY(e){var t=WY();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qY(this,o)}}var L$=function(e){HY(r,e);var t=KY(r);function r(n){YY(this,r);var o;return o=t.call(this,n),j$(D$(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return GY(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(M);j$(L$,"controlFieldType",u.FieldTypes.TEXT);var F$={Designer:Eo,Runtime:L$,Property:So};function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(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&&h_(e,t)}function XY(e,t){return t&&(QY(t)==="object"||typeof t=="function")?t:mt(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var QY=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 z$(e){var t=JY();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XY(this,o)}}var ZY=function(e){V$(r,e);var t=z$(r);function r(n){return x$(this,r),t.call(this,n)}return r}(yn),af=function(e){V$(r,e);var t=z$(r);function r(n){x$(this,r);var o;o=t.call(this,n),Pt(mt(o),"options",void 0),Pt(mt(o),"defaultShowOptions",void 0),Pt(mt(o),"optionConfig",void 0),Pt(mt(o),"defaultValue",void 0),Pt(mt(o),"datasourceBind",void 0),Pt(mt(o),"multistageFilling",void 0),Pt(mt(o),"allowCopyOptions",void 0),Pt(mt(o),"openMultistageFilling",void 0);var i;o.options=et((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:sf.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1;var 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(_){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Ee(_))})),o}return r}(B);Pt(af,"Rules",ZY);function Y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tG(e,t,r){return t&&G$(e.prototype,t),r&&G$(e,r),e}function b_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function 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&&O_(e,t)}function rG(e,t){return t&&(oG(t)==="object"||typeof t=="function")?t:Y$(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}var oG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uG(e){var t=iG();return function(){var n=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rG(this,o)}}var sf=function(e){nG(r,e);var t=uG(r);function r(n){eG(this,r);var o;return o=t.call(this,n),b_(Y$(o),"props",void 0),o.props=new af(n==null?void 0:n.props),o}return tG(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(A);b_(sf,"controlFieldType",u.FieldTypes.VARCHAR),b_(sf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function H$(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 q$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fG(e,t,r){return t&&q$(e.prototype,t),r&&q$(e,r),e}function U$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function 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&&g_(e,t)}function lG(e,t){return t&&(sG(t)==="object"||typeof t=="function")?t:H$(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var sG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vG(e){var t=yG();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lG(this,o)}}var W$=function(e){aG(r,e);var t=vG(r);function r(n){cG(this,r);var o;return o=t.call(this,n),U$(H$(o),"props",void 0),o.props=new af(n==null?void 0:n.props),o}return fG(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(M);U$(W$,"controlFieldType",u.FieldTypes.VARCHAR);var K$={Designer:sf,Runtime:W$,Property:af};function Wt(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 wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function P_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function dG(e,t){return t&&(pG(t)==="object"||typeof t=="function")?t:Wt(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}var pG=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 R_(e){var t=_G();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dG(this,o)}}var hG=function(e){P_(r,e);var t=R_(r);function r(n){return m_(this,r),t.call(this,n)}return r}(yn),bG=function(e){P_(r,e);var t=R_(r);function r(n){m_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),Io=function(e){P_(r,e);var t=R_(r);function r(n){m_(this,r);var o;o=t.call(this,n),wt(Wt(o),"options",void 0),wt(Wt(o),"defaultShowOptions",void 0),wt(Wt(o),"optionConfig",void 0),wt(Wt(o),"defaultValue",void 0),wt(Wt(o),"datasourceBind",void 0),wt(Wt(o),"multistageFilling",void 0),wt(Wt(o),"openMultistageFilling",void 0);var i;o.options=et((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:pf.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;return o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(v){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new Ee(v))})),o}return r}(B);wt(Io,"Rules",hG),wt(Io,"RuntimeRules",bG);function X$(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 Q$(e,t){for(var r=0;r<t.length;r++){var 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&&Q$(e.prototype,t),r&&Q$(e,r),e}function T_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(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&&$_(e,t)}function PG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:X$(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}var wG=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 TG(e){var t=RG();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PG(this,o)}}var pf=function(e){mG(r,e);var t=TG(r);function r(n){OG(this,r);var o;return o=t.call(this,n),T_(X$(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return gG(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(A);T_(pf,"controlFieldType",u.FieldTypes.ARRAY),T_(pf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function J$(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 Z$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SG(e,t,r){return t&&Z$(e.prototype,t),r&&Z$(e,r),e}function eS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function EG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function IG(e,t){return t&&(CG(t)==="object"||typeof t=="function")?t:J$(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var CG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BG(e){var t=NG();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IG(this,o)}}var tS=function(e){EG(r,e);var t=BG(r);function r(n){$G(this,r);var o;return o=t.call(this,n),eS(J$(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return SG(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(M);eS(tS,"controlFieldType",u.FieldTypes.ARRAY);var nS={Designer:pf,Runtime:tS,Property:Io};function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function oS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AG(e,t){return t&&(MG(t)==="object"||typeof t=="function")?t:Rt(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(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 iS(e){var t=DG();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AG(this,o)}}var kG=function(e){oS(r,e);var t=iS(r);function r(n){rS(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),bf=function(e){oS(r,e);var t=iS(r);function r(n){rS(this,r);var o;o=t.call(this,n),Tt(Rt(o),"showType",void 0),Tt(Rt(o),"range",void 0),Tt(Rt(o),"rangeOptions",void 0),Tt(Rt(o),"multiple",void 0),Tt(Rt(o),"defaultValueType",void 0),Tt(Rt(o),"defaultValue",void 0),Tt(Rt(o),"multistageFilling",void 0),Tt(Rt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:gf.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var _;return o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new Ee(O))})),o}return r}(B);Tt(bf,"RuntimeRules",kG);function uS(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 cS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LG(e,t,r){return t&&cS(e.prototype,t),r&&cS(e,r),e}function I_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function 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&&C_(e,t)}function xG(e,t){return t&&(VG(t)==="object"||typeof t=="function")?t:uS(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var VG=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 YG(e){var t=zG();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xG(this,o)}}var gf=function(e){FG(r,e);var t=YG(r);function r(n){jG(this,r);var o;return o=t.call(this,n),I_(uS(o),"props",void 0),o.props=new bf(n==null?void 0:n.props),o}return LG(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(A);I_(gf,"controlFieldType",u.FieldTypes.EMPLOYEES),I_(gf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function fS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HG(e,t,r){return t&&aS(e.prototype,t),r&&aS(e,r),e}function lS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function 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&&N_(e,t)}function UG(e,t){return t&&(WG(t)==="object"||typeof t=="function")?t:fS(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var WG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XG(e){var t=KG();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UG(this,o)}}var sS=function(e){qG(r,e);var t=XG(r);function r(n){GG(this,r);var o;return o=t.call(this,n),lS(fS(o),"props",void 0),o.props=new bf(n==null?void 0:n.props),o}return HG(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(M);lS(sS,"controlFieldType",u.FieldTypes.EMPLOYEES);var yS={Designer:gf,Runtime:sS,Property:bf};function Kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function A_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M_(e,t)}function QG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:Kt(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}var JG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D_(e){var t=ZG();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QG(this,o)}}var eH=10485760,tH=104857600,nH=1048576e3,rH=function(e){A_(r,e);var t=D_(r);function r(n){B_(this,r);var o;return o=t.call(this,n),$t(Kt(o),"maxSize",{type:"number",min:0,max:nH,message:p.getMessage("attachmentMaxSize")}),o}return r}(ve),oH=function(e){A_(r,e);var t=D_(r);function r(n){B_(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:p.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(z),cr=function(e){A_(r,e);var t=D_(r);function r(n){B_(this,r);var o;o=t.call(this,n),$t(Kt(o),"defaultValue",void 0),$t(Kt(o),"showType",void 0),$t(Kt(o),"attachmentAccept",void 0),$t(Kt(o),"maxLimit",void 0),$t(Kt(o),"minLimit",void 0),$t(Kt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"default";var f;o.attachmentAccept=(f=n==null?void 0:n.attachmentAccept)!==null&&f!==void 0?f:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var s;o.maxSize=(s=n==null?void 0:n.maxSize)!==null&&s!==void 0?s:tH;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:fr.controlName;var v;return o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(B);$t(cr,"Rules",rH),$t(cr,"RuntimeRules",oH);function vS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var r=0;r<t.length;r++){var 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&&dS(e.prototype,t),r&&dS(e,r),e}function wf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function cH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function fH(e,t){return t&&(aH(t)==="object"||typeof t=="function")?t:vS(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var aH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sH(e){var t=lH();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fH(this,o)}}var fr=function(e){cH(r,e);var t=sH(r);function r(n){iH(this,r);var o;return o=t.call(this,n),wf(vS(o),"props",void 0),o.props=new cr(n==null?void 0:n.props),o}return uH(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(A);wf(fr,"controlEventKeys",["on_change"]),wf(fr,"controlFieldType",u.FieldTypes.FILE),wf(fr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function pS(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 _S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vH(e,t,r){return t&&_S(e.prototype,t),r&&_S(e,r),e}function hS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function 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&&j_(e,t)}function pH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:pS(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var _H=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 bH(e){var t=hH();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pH(this,o)}}var L_=function(e){dH(r,e);var t=bH(r);function r(n){yH(this,r);var o;return o=t.call(this,n),hS(pS(o),"props",void 0),o.props=new cr(n==null?void 0:n.props),o}return vH(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(M);hS(L_,"controlFieldType",u.FieldTypes.FILE);var bS={Designer:fr,Runtime:L_,Property:cr};function OH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mH(e,t,r){return t&&OS(e.prototype,t),r&&OS(e,r),e}function gS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function PH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function wH(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:OH(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var RH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=TH();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wH(this,o)}}var x_=function(e){PH(r,e);var t=$H(r);function r(n){gH(this,r);var o,i,c;o=t.call(this,n),o.props.showType="image";var f;o.props.caption=(f=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:r.controlName;var a;return o.props.placeholder=(a=n==null||(c=n.props)===null||c===void 0?void 0:c.placeholder)!==null&&a!==void 0?a:"\u4E0A\u4F20\u56FE\u7247",o}return mH(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(fr);gS(x_,"controlFieldType",u.FieldTypes.IMAGE),gS(x_,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function SH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IH(e,t,r){return t&&mS(e.prototype,t),r&&mS(e,r),e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function CH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function NH(e,t){return t&&(BH(t)==="object"||typeof t=="function")?t:SH(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var BH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MH(e){var t=AH();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NH(this,o)}}var DH=function(e){CH(r,e);var t=MH(r);function r(n){EH(this,r);var o,i,c,f;o=t.call(this,n),o.props.showType="image";var a;o.props.maxLimit=(a=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&a!==void 0?a:9;var l;o.props.caption=(l=n==null||(c=n.props)===null||c===void 0?void 0:c.caption)!==null&&l!==void 0?l:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(f=n.props)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return IH(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(L_);function kH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function LH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function FH(e,t){return t&&(xH(t)==="object"||typeof t=="function")?t:kH(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var xH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zH(e){var t=VH();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FH(this,o)}}var YH=function(e){LH(r,e);var t=zH(r);function r(n){return jH(this,r),t.call(this,n)}return r}(cr),PS={Designer:x_,Runtime:DH,Property:YH};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function G_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H_(e,t)}function GH(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){he(e,o,r[o])})}return e}function HH(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function qH(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):HH(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function UH(e,t){return t&&(WH(t)==="object"||typeof t=="function")?t:Ae(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}var WH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q_(e){var t=KH();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UH(this,o)}}var XH=function(e){G_(r,e);var t=q_(r);function r(n){Y_(this,r);var o;o=t.call(this,n),he(Ae(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}}),he(Ae(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=c,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:i,min:c}),c&&i!==void 0&&(o.rangeMax={type:"number",min:c,message:p.getMessage("numberRangeSetError")}),o}return r}(yn),QH=function(e){G_(r,e);var t=q_(r);function r(n){Y_(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[qH(GH({},o[0]),{type:"number"}),{type:"number",min:c,max:i,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":c===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:c})}],currency:{type:"string"}}}),o}return r}(z),Co=function(e){G_(r,e);var t=q_(r);function r(n){Y_(this,r);var o;o=t.call(this,n),he(Ae(o),"rangeMin",void 0),he(Ae(o),"rangeMax",void 0),he(Ae(o),"showUpperCase",void 0),he(Ae(o),"submitSelectCurrency",void 0),he(Ae(o),"micrometer",void 0),he(Ae(o),"precision",void 0),he(Ae(o),"optionConfig",void 0),he(Ae(o),"dataBind",void 0),he(Ae(o),"datasourceBind",void 0),he(Ae(o),"defaultValue",void 0),he(Ae(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"datasource";var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:2,o.dataBind=new N0(n==null?void 0:n.dataBind);var s;o.datasourceBind=new J((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new pi({value:"name"})]});var y;o.defaultValue=new B0((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:u.AMOUNT_TYPE.CNY}),o.options=et(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:No.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\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}(B);he(Co,"Rules",XH),he(Co,"RuntimeRules",QH);function wS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZH(e,t,r){return t&&RS(e.prototype,t),r&&RS(e,r),e}function Cf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nf=Reflect.get:Nf=function(o,i,c){var f=nq(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Nf(e,t,r||e)}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ar(e)}function eq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function tq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:wS(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function nq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ar(e),e!==null););return e}var rq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iq(e){var t=oq();return function(){var n=ar(e),o;if(t){var i=ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tq(this,o)}}var No=function(e){eq(r,e);var t=iq(r);function r(n){JH(this,r);var o;return o=t.call(this,n),Cf(wS(o),"props",void 0),o.props=new Co(n==null?void 0:n.props),o}return ZH(r,[{key:"toDataBindModel",value:function(o){var i=Nf(ar(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,a=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(A);Cf(No,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Cf(No,"controlFieldType",u.FieldTypes.MONEY),Cf(No,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function TS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cq(e,t,r){return t&&$S(e.prototype,t),r&&$S(e,r),e}function SS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function 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&&W_(e,t)}function aq(e,t){return t&&(lq(t)==="object"||typeof t=="function")?t:TS(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var lq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yq(e){var t=sq();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aq(this,o)}}var ES=function(e){fq(r,e);var t=yq(r);function r(n){uq(this,r);var o;return o=t.call(this,n),SS(TS(o),"props",void 0),o.props=new Co(n==null?void 0:n.props),o}return cq(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(M);SS(ES,"controlFieldType",u.FieldTypes.MONEY);var IS={Designer:No,Runtime:ES,Property:Co};function Xt(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 St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function X_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function vq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:Xt(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var dq=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 J_(e){var t=pq();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vq(this,o)}}var _q=function(e){X_(r,e);var t=J_(r);function r(n){K_(this,r);var o;return o=t.call(this,n),St(Xt(o),"totalScore",[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}]),St(Xt(o),"defaultValue",{type:"number",min:0,max:5,message:p.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(ve),hq=function(e){X_(r,e);var t=J_(r);function r(n){K_(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(z),Bo=function(e){X_(r,e);var t=J_(r);function r(n){K_(this,r);var o,i;o=t.call(this,n),St(Xt(o),"totalScore",void 0),St(Xt(o),"scoreType",void 0),St(Xt(o),"isShowExplain",void 0),St(Xt(o),"explain",void 0),St(Xt(o),"defaultValue",void 0);var c;o.totalScore=(c=n==null?void 0:n.totalScore)!==null&&c!==void 0?c:5;var f;o.scoreType=(f=n==null?void 0:n.scoreType)!==null&&f!==void 0?f:u.SCORE_TYPE.STAR;var a;o.isShowExplain=(a=n==null?void 0:n.isShowExplain)!==null&&a!==void 0?a:!0;var l;o.explain=(l=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(v){return new uu(v)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new uu});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Ao.controlName,o}return r}(B);St(Bo,"Rules",_q),St(Bo,"RuntimeRules",hq);function Z_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function bq(e){if(Array.isArray(e))return Z_(e)}function CS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gq(e,t,r){return t&&NS(e.prototype,t),r&&NS(e,r),e}function Mf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Df=Reflect.get:Df=function(o,i,c){var f=Tq(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Df(e,t,r||e)}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(e)}function mq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function Pq(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wq(){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 Rq(e,t){return t&&(Sq(t)==="object"||typeof t=="function")?t:CS(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function Tq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=lr(e),e!==null););return e}function $q(e){return bq(e)||Pq(e)||Eq(e)||wq()}var Sq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eq(e,t){if(!!e){if(typeof e=="string")return Z_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Z_(e,t)}}function 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=lr(e),o;if(t){var i=lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rq(this,o)}}var Ao=function(e){mq(r,e);var t=Cq(r);function r(n){Oq(this,r);var o;return o=t.call(this,n),Mf(CS(o),"props",void 0),o.props=new Bo(n==null?void 0:n.props),o}return gq(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var c,f=i-this.props.explain.length,a=Array(f).fill(void 0).map(function(){return new uu});(c=this.props.explain).push.apply(c,$q(a))}}Df(lr(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(A);Mf(Ao,"controlEventKeys",["on_change","on_click"]),Mf(Ao,"controlFieldType",u.FieldTypes.DECIMAL),Mf(Ao,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function BS(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 AS(e,t){for(var r=0;r<t.length;r++){var 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&&AS(e.prototype,t),r&&AS(e,r),e}function MS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(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&&th(e,t)}function Mq(e,t){return t&&(Dq(t)==="object"||typeof t=="function")?t:BS(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var Dq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jq(e){var t=kq();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mq(this,o)}}var DS=function(e){Aq(r,e);var t=jq(r);function r(n){Nq(this,r);var o;return o=t.call(this,n),MS(BS(o),"props",void 0),o.props=new Bo(n==null?void 0:n.props),o}return Bq(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(M);MS(DS,"controlFieldType",u.FieldTypes.DECIMAL);var kS={Designer:Ao,Runtime:DS,Property:Bo};function jf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function LS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function Lq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:jf(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var Fq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FS(e){var t=xq();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lq(this,o)}}var Vq=function(e){LS(r,e);var t=FS(r);function r(n){jS(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(z),xf=function(e){LS(r,e);var t=FS(r);function r(n){jS(this,r);var o;o=t.call(this,n),Lf(jf(o),"defaultValueType",void 0),Lf(jf(o),"defaultValue",void 0),Lf(jf(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:zf.controlName;var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"default";var f;o.addressType=(f=n==null?void 0:n.addressType)!==null&&f!==void 0?f:["province","city","district"];var a;o.defaultValue=new D0((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{});var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(B);Lf(xf,"RuntimeRules",Vq);function xS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yq(e,t,r){return t&&VS(e.prototype,t),r&&VS(e,r),e}function rh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function 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&&oh(e,t)}function Hq(e,t){return t&&(qq(t)==="object"||typeof t=="function")?t:xS(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}var qq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wq(e){var t=Uq();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hq(this,o)}}var zf=function(e){Gq(r,e);var t=Wq(r);function r(n){zq(this,r);var o;return o=t.call(this,n),rh(xS(o),"props",void 0),o.props=new xf(n==null?void 0:n.props),o}return Yq(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(A);rh(zf,"controlFieldType",u.FieldTypes.ADDRESS),rh(zf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function zS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xq(e,t,r){return t&&YS(e.prototype,t),r&&YS(e,r),e}function GS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function 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&&ih(e,t)}function Jq(e,t){return t&&(Zq(t)==="object"||typeof t=="function")?t:zS(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var Zq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tU(e){var t=eU();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jq(this,o)}}var HS=function(e){Qq(r,e);var t=tU(r);function r(n){Kq(this,r);var o;return o=t.call(this,n),GS(zS(o),"props",void 0),o.props=new xf(n==null?void 0:n.props),o}return Xq(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(M);GS(HS,"controlFieldType",u.FieldTypes.ADDRESS);var qS={Designer:zf,Runtime:HS,Property:xf};function Xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function US(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function WS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function nU(e,t){return t&&(rU(t)==="object"||typeof t=="function")?t:Xe(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var rU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KS(e){var t=oU();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nU(this,o)}}var iU=function(e){WS(r,e);var t=KS(r);function r(n){US(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),Hf=function(e){WS(r,e);var t=KS(r);function r(n){US(this,r);var o;o=t.call(this,n),Qe(Xe(o),"showType",void 0),Qe(Xe(o),"range",void 0),Qe(Xe(o),"defaultValueType",void 0),Qe(Xe(o),"multiple",void 0),Qe(Xe(o),"rangeOptions",void 0),Qe(Xe(o),"defaultValue",void 0),Qe(Xe(o),"displayLevel",void 0),Qe(Xe(o),"showSubDept",void 0),Qe(Xe(o),"multistageFilling",void 0),Qe(Xe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Uf.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Ee(g))})),o}return r}(B);Qe(Hf,"RuntimeRules",iU);function XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QS(e,t){for(var r=0;r<t.length;r++){var 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&&QS(e.prototype,t),r&&QS(e,r),e}function ch(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qf=Reflect.get:qf=function(o,i,c){var f=lU(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},qf(e,t,r||e)}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(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&&fh(e,t)}function aU(e,t){return t&&(sU(t)==="object"||typeof t=="function")?t:XS(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function lU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=sr(e),e!==null););return e}var sU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vU(e){var t=yU();return function(){var n=sr(e),o;if(t){var i=sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aU(this,o)}}var Uf=function(e){fU(r,e);var t=vU(r);function r(n){uU(this,r);var o;return o=t.call(this,n),ch(XS(o),"props",void 0),o.props=new Hf(n==null?void 0:n.props),o}return cU(r,[{key:"toDataBindModel",value:function(o){var i=qf(sr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,a=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=a}return i}}],[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(A);ch(Uf,"controlFieldType",u.FieldTypes.DEPARTMENTS),ch(Uf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function JS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZS(e,t){for(var r=0;r<t.length;r++){var 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&&ZS(e.prototype,t),r&&ZS(e,r),e}function eE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function _U(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function hU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:JS(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var bU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gU(e){var t=OU();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hU(this,o)}}var tE=function(e){_U(r,e);var t=gU(r);function r(n){dU(this,r);var o;return o=t.call(this,n),eE(JS(o),"props",void 0),o.props=new Hf(n==null?void 0:n.props),o}return pU(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(M);eE(tE,"controlFieldType",u.FieldTypes.DEPARTMENTS);var nE={Designer:Uf,Runtime:tE,Property:Hf};function rE(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 PU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function 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&&lh(e,t)}function RU(e,t){return t&&(TU(t)==="object"||typeof t=="function")?t:rE(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(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=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RU(this,o)}}var sh=function(e){wU(r,e);var t=SU(r);function r(n){mU(this,r);var o;o=t.call(this,n),PU(rE(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Mo.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(B);function oE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IU(e,t,r){return t&&iE(e.prototype,t),r&&iE(e,r),e}function Xf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function 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&&yh(e,t)}function NU(e,t){return t&&(BU(t)==="object"||typeof t=="function")?t:oE(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}var BU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MU(e){var t=AU();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NU(this,o)}}var Mo=function(e){CU(r,e);var t=MU(r);function r(n){EU(this,r);var o;return o=t.call(this,n),Xf(oE(o),"props",void 0),o.props=new sh(n==null?void 0:n.props),o}return IU(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(A);Xf(Mo,"controlEventKeys",["on_change"]),Xf(Mo,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Xf(Mo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function uE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kU(e,t,r){return t&&cE(e.prototype,t),r&&cE(e,r),e}function fE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(e)}function jU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function LU(e,t){return t&&(FU(t)==="object"||typeof t=="function")?t:uE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var FU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VU(e){var t=xU();return function(){var n=Jf(e),o;if(t){var i=Jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LU(this,o)}}var aE=function(e){jU(r,e);var t=VU(r);function r(n){DU(this,r);var o;return o=t.call(this,n),fE(uE(o),"props",void 0),o.props=new sh(n==null?void 0:n.props),o}return kU(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(M);fE(aE,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var lE={Designer:Mo,Runtime:aE,Property:sh};function Qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function ph(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function zU(e,t){return t&&(YU(t)==="object"||typeof t=="function")?t:Qt(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var YU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hh(e){var t=GU();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zU(this,o)}}var HU=function(e){ph(r,e);var t=hh(r);function r(n){dh(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}(ve),qU=function(e){ph(r,e);var t=hh(r);function r(n){dh(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return r}(z),Do=function(e){ph(r,e);var t=hh(r);function r(n){dh(this,r);var o;o=t.call(this,n),Et(Qt(o),"precision",void 0),Et(Qt(o),"micrometer",void 0),Et(Qt(o),"showUpperCase",void 0),Et(Qt(o),"scriptSrc",void 0),Et(Qt(o),"scriptEcho",void 0),Et(Qt(o),"dataBind",void 0),Et(Qt(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1,o.dataBind=new k0(n==null?void 0:n.dataBind),o.defaultValue=new j0(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ko.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var s;o.scriptEcho=(s=n==null?void 0:n.scriptEcho)!==null&&s!==void 0?s:[];var y;return o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"",o}return r}(B);Et(Do,"Rules",HU),Et(Do,"RuntimeRules",qU);function sE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WU(e,t,r){return t&&yE(e.prototype,t),r&&yE(e,r),e}function ea(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ta=Reflect.get:ta=function(o,i,c){var f=QU(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},ta(e,t,r||e)}function yr(e){return yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yr(e)}function KU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function XU(e,t){return t&&(JU(t)==="object"||typeof t=="function")?t:sE(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function QU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yr(e),e!==null););return e}var JU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eW(e){var t=ZU();return function(){var n=yr(e),o;if(t){var i=yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XU(this,o)}}var ko=function(e){KU(r,e);var t=eW(r);function r(n){UU(this,r);var o;return o=t.call(this,n),ea(sE(o),"props",void 0),o.props=new Do(n==null?void 0:n.props),o}return WU(r,[{key:"toDataBindModel",value:function(o){var i=ta(yr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,a=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(A);ea(ko,"controlEventKeys",["on_change"]),ea(ko,"controlFieldType",u.FieldTypes.CALC),ea(ko,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function vE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(e,t){for(var r=0;r<t.length;r++){var 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&&dE(e.prototype,t),r&&dE(e,r),e}function pE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function rW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function oW(e,t){return t&&(iW(t)==="object"||typeof t=="function")?t:vE(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var iW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cW(e){var t=uW();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oW(this,o)}}var _E=function(e){rW(r,e);var t=cW(r);function r(n){tW(this,r);var o;return o=t.call(this,n),pE(vE(o),"props",void 0),o.props=new Do(n==null?void 0:n.props),o}return nW(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(M);pE(_E,"controlFieldType",u.FieldTypes.CALC);var hE={Designer:ko,Runtime:_E,Property:Do};function vr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function OE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function fW(e,t){return t&&(aW(t)==="object"||typeof t=="function")?t:vr(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var aW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gE(e){var t=lW();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fW(this,o)}}var sW=function(e){OE(r,e);var t=gE(r);function r(n){bE(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(c,f){if(n.required){var a=f.every(function(l){return!l});return a?Promise.reject(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(z),oa=function(e){OE(r,e);var t=gE(r);function r(n){bE(this,r);var o;o=t.call(this,n),dr(vr(o),"rangeMin",void 0),dr(vr(o),"rangeMax",void 0),dr(vr(o),"placeholderStart",void 0),dr(vr(o),"placeholderEnd",void 0),dr(vr(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var c;o.rangeMin=(c=n==null?void 0:n.rangeMin)!==null&&c!==void 0?c:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var a;o.placeholderStart=(a=n==null?void 0:n.placeholderStart)!==null&&a!==void 0?a:"\u6700\u5C0F\u503C";var l;o.placeholderEnd=(l=n==null?void 0:n.placeholderEnd)!==null&&l!==void 0?l:"\u6700\u5927\u503C";var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:ua.controlName,o}return r}(B);dr(oa,"RuntimeRules",sW);function mE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vW(e,t,r){return t&&PE(e.prototype,t),r&&PE(e,r),e}function mh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function 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&&Ph(e,t)}function pW(e,t){return t&&(_W(t)==="object"||typeof t=="function")?t:mE(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var _W=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 bW(e){var t=hW();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pW(this,o)}}var ua=function(e){dW(r,e);var t=bW(r);function r(n){yW(this,r);var o;return o=t.call(this,n),mh(mE(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return vW(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(A);mh(ua,"controlFieldType",u.FieldTypes.DECIMAL_RANGE),mh(ua,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function wE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gW(e,t,r){return t&&RE(e.prototype,t),r&&RE(e,r),e}function TE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function mW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:wE(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var wW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TW(e){var t=RW();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PW(this,o)}}var $E=function(e){mW(r,e);var t=TW(r);function r(n){OW(this,r);var o;return o=t.call(this,n),TE(wE(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return gW(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(M);TE($E,"controlFieldType",u.FieldTypes.DECIMAL_RANGE);var SE={Designer:ua,Runtime:$E,Property:oa};function It(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(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&&Rh(e,t)}function $W(e,t){return t&&(SW(t)==="object"||typeof t=="function")?t:It(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(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 CE(e){var t=EW();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $W(this,o)}}var IW=function(e){IE(r,e);var t=CE(r);function r(n){EE(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(z),aa=function(e){IE(r,e);var t=CE(r);function r(n){EE(this,r);var o,i;o=t.call(this,n),Ct(It(o),"rangeMin",void 0),Ct(It(o),"rangeMax",void 0),Ct(It(o),"placeholderStart",void 0),Ct(It(o),"placeholderEnd",void 0),Ct(It(o),"dateType",void 0),Ct(It(o),"setValueType",void 0),Ct(It(o),"defaultValue",void 0),Ct(It(o),"limitDateList",void 0);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:["",""];var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:u.DateType.DATE;var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var s;o.rangeMax=(s=n==null?void 0:n.rangeMax)!==null&&s!==void 0?s:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u5F00\u59CB\u65E5\u671F";var v;o.placeholderEnd=(v=n==null?void 0:n.placeholderEnd)!==null&&v!==void 0?v:"\u7ED3\u675F\u65E5\u671F";var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:sa.controlName;var O;return o.limitDateList=(O=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(b){return new iu(b)}))!==null&&O!==void 0?O:[],o}return r}(B);Ct(aa,"RuntimeRules",IW);function NE(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 BE(e,t){for(var r=0;r<t.length;r++){var 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&&BE(e.prototype,t),r&&BE(e,r),e}function Th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function 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&&$h(e,t)}function AW(e,t){return t&&(MW(t)==="object"||typeof t=="function")?t:NE(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var MW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kW(e){var t=DW();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AW(this,o)}}var sa=function(e){BW(r,e);var t=kW(r);function r(n){CW(this,r);var o;return o=t.call(this,n),Th(NE(o),"props",void 0),o.props=new aa(n==null?void 0:n.props),o}return NW(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(A);Th(sa,"controlFieldType",u.FieldTypes.ARRAY),Th(sa,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function AE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ME(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LW(e,t,r){return t&&ME(e.prototype,t),r&&ME(e,r),e}function DE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function FW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function xW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:AE(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}var VW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YW(e){var t=zW();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xW(this,o)}}var kE=function(e){FW(r,e);var t=YW(r);function r(n){jW(this,r);var o;return o=t.call(this,n),DE(AE(o),"props",void 0),o.props=new aa(n==null?void 0:n.props),o}return LW(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(M);DE(kE,"controlFieldType",u.FieldTypes.ARRAY);var jE={Designer:sa,Runtime:kE,Property:aa};function jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function Ih(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function GW(e,t){return t&&(HW(t)==="object"||typeof t=="function")?t:jo(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}var HW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nh(e){var t=qW();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GW(this,o)}}var UW=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ve),WW=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(z),Lo=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;o=t.call(this,n),pr(jo(o),"controlExportName",void 0),pr(jo(o),"permissions",void 0),pr(jo(o),"defaultValue",void 0),pr(jo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fo.controlName;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:void 0;var f;o.controlExportName=(f=n==null?void 0:n.controlExportName)!==null&&f!==void 0?f:"";var a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return r}(B);pr(Lo,"Rules",UW),pr(Lo,"RuntimeRules",WW);function LE(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 FE(e,t){for(var r=0;r<t.length;r++){var 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&&FE(e.prototype,t),r&&FE(e,r),e}function da(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function QW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function JW(e,t){return t&&(ZW(t)==="object"||typeof t=="function")?t:LE(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var ZW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tK(e){var t=eK();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JW(this,o)}}var Fo=function(e){QW(r,e);var t=tK(r);function r(n){KW(this,r);var o;return o=t.call(this,n),da(LE(o),"props",void 0),o.props=new Lo(n==null?void 0:n.props),o}return XW(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(A);da(Fo,"controlFieldType",u.FieldTypes.ANY),da(Fo,"controlEventKeys",[]),da(Fo,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function xE(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 VE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rK(e,t,r){return t&&VE(e.prototype,t),r&&VE(e,r),e}function zE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function oK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function iK(e,t){return t&&(uK(t)==="object"||typeof t=="function")?t:xE(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}var uK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fK(e){var t=cK();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iK(this,o)}}var YE=function(e){oK(r,e);var t=fK(r);function r(n){nK(this,r);var o;return o=t.call(this,n),zE(xE(o),"props",void 0),o.props=new Lo(n==null?void 0:n.props),o}return rK(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(M);zE(YE,"controlFieldType",u.FieldTypes.ANY);var GE={Designer:Fo,Runtime:YE,Property:Lo};function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function qE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aK(e,t){return t&&(lK(t)==="object"||typeof t=="function")?t:ut(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var lK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UE(e){var t=sK();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aK(this,o)}}var yK=function(e){qE(r,e);var t=UE(r);function r(n){HE(this,r);var o;return o=t.call(this,n),ct(ut(o),"listPageBind",[{type:"object",message:p.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}]}}]),o}return r}(yn),ba=function(e){qE(r,e);var t=UE(r);function r(n){HE(this,r);var o;o=t.call(this,n),ct(ut(o),"options",void 0),ct(ut(o),"optionConfig",void 0),ct(ut(o),"defaultValue",void 0),ct(ut(o),"listPageBind",void 0),ct(ut(o),"datasourceBind",void 0),ct(ut(o),"multistageFilling",void 0),ct(ut(o),"canViewForm",void 0),ct(ut(o),"openMultistageFilling",void 0);var i;o.options=et((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource",o.listPageBind=new Ay(n==null?void 0:n.listPageBind),o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:xo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(v){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new Ee(v))}));var y;return o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1,o}return r}(B);ct(ba,"Rules",yK);function WE(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 KE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dK(e,t,r){return t&&KE(e.prototype,t),r&&KE(e,r),e}function Oa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function 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&&Dh(e,t)}function _K(e,t){return t&&(hK(t)==="object"||typeof t=="function")?t:WE(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}var hK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OK(e){var t=bK();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _K(this,o)}}var xo=function(e){pK(r,e);var t=OK(r);function r(n){vK(this,r);var o;return o=t.call(this,n),Oa(WE(o),"props",void 0),o.props=new ba(n==null?void 0:n.props),o}return dK(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(A);Oa(xo,"controlFieldType",u.FieldTypes.VARCHAR),Oa(xo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}]),Oa(xo,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function XE(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 QE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mK(e,t,r){return t&&QE(e.prototype,t),r&&QE(e,r),e}function JE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function 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&&kh(e,t)}function wK(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:XE(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var RK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $K(e){var t=TK();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wK(this,o)}}var ZE=function(e){PK(r,e);var t=$K(r);function r(n){gK(this,r);var o;return o=t.call(this,n),JE(XE(o),"props",void 0),o.props=new ba(n==null?void 0:n.props),o}return mK(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(M);JE(ZE,"controlFieldType",u.FieldTypes.VARCHAR);var eI={Designer:xo,Runtime:ZE,Property:ba};function SK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function IK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function CK(e,t){return t&&(NK(t)==="object"||typeof t=="function")?t:SK(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var NK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AK(e){var t=BK();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CK(this,o)}}var Lh=function(e){IK(r,e);var t=AK(r);function r(n){return EK(this,r),t.call(this,n)}return r}(tr);function tI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DK(e,t,r){return t&&nI(e.prototype,t),r&&nI(e,r),e}function rI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function 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&&Fh(e,t)}function jK(e,t){return t&&(LK(t)==="object"||typeof t=="function")?t:tI(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}var LK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xK(e){var t=FK();return function(){var n=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jK(this,o)}}var oI=function(e){kK(r,e);var t=xK(r);function r(n){MK(this,r);var o;return o=t.call(this,n),rI(tI(o),"props",void 0),o.props=new Lh(n==null?void 0:n.props),o}return DK(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(nr);rI(oI,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function iI(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 uI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zK(e,t,r){return t&&uI(e.prototype,t),r&&uI(e,r),e}function cI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function YK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function GK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:iI(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}var HK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UK(e){var t=qK();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GK(this,o)}}var fI=function(e){YK(r,e);var t=UK(r);function r(n){VK(this,r);var o;return o=t.call(this,n),cI(iI(o),"props",void 0),o.props=new Lh(n==null?void 0:n.props),o}return zK(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(M);cI(fI,"controlFieldType",u.FieldTypes.VARCHAR);var aI={Designer:oI,Runtime:fI,Property:Lh};function be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function zh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function WK(e,t){return t&&(KK(t)==="object"||typeof t=="function")?t:be(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var KK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gh(e){var t=XK();return function(){var n=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WK(this,o)}}var QK=function(e){zh(r,e);var t=Gh(r);function r(n){Vh(this,r);var o;return o=t.call(this,n),Oe(be(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Pi.call(be(o),n,hn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:p.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:p.getMessage("rootNodeIsRequired")}}}]),o}return r}(ve),JK=function(e){zh(r,e);var t=Gh(r);function r(n){Vh(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),Vo=function(e){zh(r,e);var t=Gh(r);function r(n){Vh(this,r);var o,i;o=t.call(this,n),Oe(be(o),"placeholder",void 0),Oe(be(o),"multiple",void 0),Oe(be(o),"canSearch",void 0),Oe(be(o),"levelType",void 0),Oe(be(o),"optionalLevel",void 0),Oe(be(o),"containsSubNode",void 0),Oe(be(o),"defaultCollapse",void 0),Oe(be(o),"defaultCollapseLevel",void 0),Oe(be(o),"optionConfig","datasource"),Oe(be(o),"datasourceBind",void 0),Oe(be(o),"multistageFilling",void 0),Oe(be(o),"defaultValue",void 0),Oe(be(o),"openMultistageFilling",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:hn.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.canSearch=(l=n==null?void 0:n.canSearch)!==null&&l!==void 0?l:!0;var s;o.levelType=(s=n==null?void 0:n.levelType)!==null&&s!==void 0?s:"all";var y;o.optionalLevel=(y=n==null?void 0:n.optionalLevel)!==null&&y!==void 0?y:1;var v;o.containsSubNode=(v=n==null?void 0:n.containsSubNode)!==null&&v!==void 0?v:!1;var _;o.defaultCollapse=(_=n==null?void 0:n.defaultCollapse)!==null&&_!==void 0?_:"all";var O;o.defaultCollapseLevel=(O=n==null?void 0:n.defaultCollapseLevel)!==null&&O!==void 0?O:1;var b;o.datasourceBind=new E0((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:hn.controlCustomAttributes});var g;o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1;var d;o.multistageFilling=(d=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(w){return new Ee(w)}))!==null&&d!==void 0?d:[];var m;return o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[],o}return r}(B);Oe(Vo,"Rules",QK),Oe(Vo,"RuntimeRules",JK);function lI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eX(e,t,r){return t&&sI(e.prototype,t),r&&sI(e,r),e}function $a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(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&&Hh(e,t)}function nX(e,t){return t&&(rX(t)==="object"||typeof t=="function")?t:lI(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}var rX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iX(e){var t=oX();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nX(this,o)}}var hn=function(e){tX(r,e);var t=iX(r);function r(n){ZK(this,r);var o;return o=t.call(this,n),$a(lI(o),"props",void 0),o.props=new Vo(n==null?void 0:n.props),o}return eX(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(A);$a(hn,"controlEventKeys",["on_change","on_click"]),$a(hn,"controlFieldType",u.FieldTypes.ARRAY),$a(hn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.CAN_SEARCH,u.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function yI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cX(e,t,r){return t&&vI(e.prototype,t),r&&vI(e,r),e}function dI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function fX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function aX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:yI(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}var lX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yX(e){var t=sX();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aX(this,o)}}var pI=function(e){fX(r,e);var t=yX(r);function r(n){uX(this,r);var o;return o=t.call(this,n),dI(yI(o),"props",void 0),o.props=new Vo(n==null?void 0:n.props),o}return cX(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(M);dI(pI,"controlFieldType",u.FieldTypes.ARRAY);var _I={Designer:hn,Runtime:pI,Property:Vo};function ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(e)}function Wh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function vX(e,t){return t&&(dX(t)==="object"||typeof t=="function")?t:ie(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}var dX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xh(e){var t=pX();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vX(this,o)}}var _X=function(e){Wh(r,e);var t=Xh(r);function r(n){Uh(this,r);var o;return o=t.call(this,n),ue(ie(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),ue(ie(o),"externalScope",{type:"any"}),Pi.call(ie(o),n,_r.controlCustomAttributes),n.externalType===u.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return r}(ve),hX=function(e){Wh(r,e);var t=Xh(r);function r(n){Uh(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),zo=function(e){Wh(r,e);var t=Xh(r);function r(n){Uh(this,r);var o;o=t.call(this,n),ue(ie(o),"showType",void 0),ue(ie(o),"range",void 0),ue(ie(o),"rangeOptions",void 0),ue(ie(o),"multiple",void 0),ue(ie(o),"defaultValueType",void 0),ue(ie(o),"defaultValue",void 0),ue(ie(o),"multistageFilling",void 0),ue(ie(o),"datasourceBind",void 0),ue(ie(o),"datasourceType",void 0),ue(ie(o),"insideType",void 0),ue(ie(o),"externalType",void 0),ue(ie(o),"externalScope",void 0),ue(ie(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:_r.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var _;o.datasourceBind=new Kr((_=n==null?void 0:n.datasourceBind)!==null&&_!==void 0?_:{attributes:_r.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:u.OrganizeType.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b:u.InternalType.ADMIN;var g;o.externalType=(g=n==null?void 0:n.externalType)!==null&&g!==void 0?g:u.AssignType.ALL;var d;o.externalScope=(d=n==null?void 0:n.externalScope)!==null&&d!==void 0?d:[];var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Ee(w))})),o}return r}(B);ue(zo,"Rules",_X),ue(zo,"RuntimeRules",hX);function hI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OX(e,t,r){return t&&bI(e.prototype,t),r&&bI(e,r),e}function Qh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function 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&&Jh(e,t)}function mX(e,t){return t&&(PX(t)==="object"||typeof t=="function")?t:hI(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var PX=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 RX(e){var t=wX();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mX(this,o)}}var _r=function(e){gX(r,e);var t=RX(r);function r(n){bX(this,r);var o;return o=t.call(this,n),Qh(hI(o),"props",void 0),o.props=new zo(n==null?void 0:n.props),o}return OX(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);Qh(_r,"controlFieldType",u.FieldTypes.EMPLOYEES),Qh(_r,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function OI(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 gI(e,t){for(var r=0;r<t.length;r++){var 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&&gI(e.prototype,t),r&&gI(e,r),e}function mI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(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&&Zh(e,t)}function EX(e,t){return t&&(IX(t)==="object"||typeof t=="function")?t:OI(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(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=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EX(this,o)}}var PI=function(e){SX(r,e);var t=NX(r);function r(n){TX(this,r);var o;return o=t.call(this,n),mI(OI(o),"props",void 0),o.props=new zo(n==null?void 0:n.props),o}return $X(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(M);mI(PI,"controlFieldType",u.FieldTypes.EMPLOYEES);var wI={Designer:_r,Runtime:PI,Property:zo};function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function TI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function BX(e,t){return t&&(AX(t)==="object"||typeof t=="function")?t:ft(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}var 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 $I(e){var t=MX();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BX(this,o)}}var DX=function(e){TI(r,e);var t=$I(r);function r(n){RI(this,r);var o;return o=t.call(this,n),at(ft(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,c,f){return i[f]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(l,s,y){if(c.type==="public"&&cn(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}y()}},company:{type:"object",required:!0,validator:function(l,s,y){if(c.type==="public"&&c.signatureType.includes("company")&&cn(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(ve),Aa=function(e){TI(r,e);var t=$I(r);function r(n){RI(this,r);var o;o=t.call(this,n),at(ft(o),"buttonType",void 0),at(ft(o),"content",void 0),at(ft(o),"showType",void 0),at(ft(o),"color",void 0),at(ft(o),"icon",void 0),at(ft(o),"command",""),at(ft(o),"isLoading",!1),at(ft(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yo.controlName;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:"\u53D1\u8D77\u7B7E\u7F72";var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new qP(n==null?void 0:n.signatureConfig),o}return r}(B);at(Aa,"Rules",DX);function SI(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 EI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jX(e,t,r){return t&&EI(e.prototype,t),r&&EI(e,r),e}function Ma(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function LX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function FX(e,t){return t&&(xX(t)==="object"||typeof t=="function")?t:SI(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}var xX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zX(e){var t=VX();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FX(this,o)}}var Yo=function(e){LX(r,e);var t=zX(r);function r(n){kX(this,r);var o;return o=t.call(this,n),Ma(SI(o),"props",void 0),o.props=new Aa(n==null?void 0:n.props),o}return jX(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(A);Ma(Yo,"controlEventKeys",["on_click","on_click_finish"]),Ma(Yo,"controlFieldType",u.FieldTypes.VARCHAR),Ma(Yo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function II(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 CI(e,t){for(var r=0;r<t.length;r++){var 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&&CI(e.prototype,t),r&&CI(e,r),e}function NI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(e)}function HX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nb(e,t)}function qX(e,t){return t&&(UX(t)==="object"||typeof t=="function")?t:II(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}var UX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KX(e){var t=WX();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qX(this,o)}}var BI=function(e){HX(r,e);var t=KX(r);function r(n){YX(this,r);var o;return o=t.call(this,n),NI(II(o),"props",void 0),o.props=new Aa(n==null?void 0:n.props),o}return GX(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(M);NI(BI,"controlFieldType",u.FieldTypes.VARCHAR);var AI={Designer:Yo,Runtime:BI,Property:Aa};function ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function ob(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function XX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:ge(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}var QX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ub(e){var t=JX();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XX(this,o)}}var ZX=function(e){ob(r,e);var t=ub(r);function r(n){rb(this,r);var o;return o=t.call(this,n),ce(ge(o),"content",{type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")}),ce(ge(o),"canAdd",void 0),ce(ge(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(c,f,a){if(f.active&&!f.text){a(p.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(c,f,a){if(f.active&&!f.text){a(p.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(c,f,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(p.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(ve),eQ=function(e){ob(r,e);var t=ub(r);function r(n){rb(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),Go=function(e){ob(r,e);var t=ub(r);function r(n){rb(this,r);var o;o=t.call(this,n),ce(ge(o),"content",void 0),ce(ge(o),"canAdd",void 0),ce(ge(o),"addLocal",void 0),ce(ge(o),"addOnline",void 0),ce(ge(o),"canDownload",void 0),ce(ge(o),"canEdit",void 0),ce(ge(o),"canExport",void 0),ce(ge(o),"canDelete",void 0),ce(ge(o),"wpsSetting",void 0),ce(ge(o),"maxSize",void 0),ce(ge(o),"defaultValue",void 0),ce(ge(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ho.controlName;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:"\u65B0\u5EFA\u6587\u6863";var f;o.canAdd=(f=n==null?void 0:n.canAdd)!==null&&f!==void 0?f:!0;var a;o.addLocal=(a=n==null?void 0:n.addLocal)!==null&&a!==void 0?a:!0;var l;o.addOnline=(l=n==null?void 0:n.addOnline)!==null&&l!==void 0?l:!0;var s;o.canEdit=(s=n==null?void 0:n.canEdit)!==null&&s!==void 0?s:!0;var y;o.canDownload=(y=n==null?void 0:n.canDownload)!==null&&y!==void 0?y:!0;var v;o.canExport=(v=n==null?void 0:n.canExport)!==null&&v!==void 0?v:!0;var _;o.canDelete=(_=n==null?void 0:n.canDelete)!==null&&_!==void 0?_:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:eH;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new UP(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}(B);ce(Go,"Rules",ZX),ce(Go,"RuntimeRules",eQ);function MI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nQ(e,t,r){return t&&DI(e.prototype,t),r&&DI(e,r),e}function La(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function rQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function oQ(e,t){return t&&(iQ(t)==="object"||typeof t=="function")?t:MI(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}var iQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cQ(e){var t=uQ();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oQ(this,o)}}var Ho=function(e){rQ(r,e);var t=cQ(r);function r(n){tQ(this,r);var o;return o=t.call(this,n),La(MI(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return nQ(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(A);La(Ho,"controlEventKeys",["on_change","on_wps_open"]),La(Ho,"controlFieldType",u.FieldTypes.FILE),La(Ho,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function kI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aQ(e,t,r){return t&&jI(e.prototype,t),r&&jI(e,r),e}function LI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function lQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function sQ(e,t){return t&&(yQ(t)==="object"||typeof t=="function")?t:kI(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}var yQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dQ(e){var t=vQ();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sQ(this,o)}}var FI=function(e){lQ(r,e);var t=dQ(r);function r(n){fQ(this,r);var o;return o=t.call(this,n),LI(kI(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return aQ(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(M);LI(FI,"controlFieldType",u.FieldTypes.FILE);var xI={Designer:Ho,Runtime:FI,Property:Go};function Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ab(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function lb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function pQ(e,t){return t&&(_Q(t)==="object"||typeof t=="function")?t:Z(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}var _Q=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yb(e){var t=hQ();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pQ(this,o)}}var bQ=function(e){lb(r,e);var t=yb(r);function r(n){ab(this,r);var o;return o=t.call(this,n),ee(Z(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),ee(Z(o),"businessScope",{type:"any"}),Pi.call(Z(o),n,br.controlCustomAttributes),n.businessType===u.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(ve),OQ=function(e){lb(r,e);var t=yb(r);function r(n){ab(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),qo=function(e){lb(r,e);var t=yb(r);function r(n){ab(this,r);var o;o=t.call(this,n),ee(Z(o),"showType",void 0),ee(Z(o),"range",void 0),ee(Z(o),"defaultValueType",void 0),ee(Z(o),"multiple",void 0),ee(Z(o),"rangeOptions",void 0),ee(Z(o),"defaultValue",void 0),ee(Z(o),"displayLevel",void 0),ee(Z(o),"showSubDept",void 0),ee(Z(o),"multistageFilling",void 0),ee(Z(o),"datasourceBind",void 0),ee(Z(o),"datasourceType",void 0),ee(Z(o),"businessType",void 0),ee(Z(o),"businessScope",void 0),ee(Z(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:br.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;o.datasourceBind=new Kr((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:br.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:u.DepartmentType.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var m;o.businessType=(m=n==null?void 0:n.businessType)!==null&&m!==void 0?m:u.AssignType.ALL;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new Ee(P))})),o}return r}(B);ee(qo,"Rules",bQ),ee(qo,"RuntimeRules",OQ);function VI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mQ(e,t,r){return t&&zI(e.prototype,t),r&&zI(e,r),e}function vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?za=Reflect.get:za=function(o,i,c){var f=RQ(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},za(e,t,r||e)}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(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&&db(e,t)}function wQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:VI(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function RQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hr(e),e!==null););return e}var TQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SQ(e){var t=$Q();return function(){var n=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wQ(this,o)}}var br=function(e){PQ(r,e);var t=SQ(r);function r(n){gQ(this,r);var o;return o=t.call(this,n),vb(VI(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return mQ(r,[{key:"toDataBindModel",value:function(o){var i=za(hr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,a=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=a}return i}}],[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);vb(br,"controlFieldType",u.FieldTypes.DEPARTMENTS),vb(br,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function YI(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 GI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IQ(e,t,r){return t&&GI(e.prototype,t),r&&GI(e,r),e}function HI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function CQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function NQ(e,t){return t&&(BQ(t)==="object"||typeof t=="function")?t:YI(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}var BQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MQ(e){var t=AQ();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NQ(this,o)}}var qI=function(e){CQ(r,e);var t=MQ(r);function r(n){EQ(this,r);var o;return o=t.call(this,n),HI(YI(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return IQ(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(M);HI(qI,"controlFieldType",u.FieldTypes.DEPARTMENTS);var UI={Designer:br,Runtime:qI,Property:qo},DQ=Object.freeze({__proto__:null,Input:LT,Checkbox:HT,Radio:t$,Number:f$,DatePicker:p$,DateRange:T$,Textarea:B$,RichText:F$,Select:K$,SelectMultiple:nS,Employee:yS,Image:PS,Attachment:bS,Amount:IS,Score:kS,Address:qS,Department:nE,AutoNumber:lE,Calc:hE,SearchNumberRange:SE,SearchDateRange:jE,VueFormItem:GE,SelectRelation:eI,SearchInput:aI,Tree:_I,Employee2:wI,ElectronicSignature:AI,WPS:xI,Department2:UI});function kQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WI(e,t){for(var r=0;r<t.length;r++){var 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&&WI(e.prototype,t),r&&WI(e,r),e}function FQ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function xQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function VQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:kQ(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}var zQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GQ(e){var t=YQ();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VQ(this,o)}}var KI=function(e){xQ(r,e);var t=GQ(r);function r(n){return jQ(this,r),t.call(this,n)}return LQ(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(H);FQ(KI,"excludes",[u.CONTROL_TYPE.GRID]);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 XI(e,t){for(var r=0;r<t.length;r++){var 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&&XI(e.prototype,t),r&&XI(e,r),e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(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&&hb(e,t)}function KQ(e,t){return t&&(XQ(t)==="object"||typeof t=="function")?t:HQ(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}var XQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JQ(e){var t=QQ();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KQ(this,o)}}var ZQ=function(e){WQ(r,e);var t=JQ(r);function r(n){return qQ(this,r),t.call(this,n)}return UQ(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Q),QI={Designer:KI,Runtime:ZQ,Property:G};function bb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function 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&&Ob(e,t)}function nJ(e,t){return t&&(rJ(t)==="object"||typeof t=="function")?t:bb(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}var 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=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nJ(this,o)}}var uJ=24,bn=function(e){tJ(r,e);var t=iJ(r);function r(n){eJ(this,r);var o;o=t.call(this,n),JI(bb(o),"span",void 0),JI(bb(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:uJ;var c;return o.offset=(c=n==null?void 0:n.offset)!==null&&c!==void 0?c:0,o}return r}(G);function ZI(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 eC(e,t){for(var r=0;r<t.length;r++){var 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&&eC(e.prototype,t),r&&eC(e,r),e}function gb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function 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&&mb(e,t)}function lJ(e,t){return t&&(sJ(t)==="object"||typeof t=="function")?t:ZI(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(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=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lJ(this,o)}}var Uo=function(e){aJ(r,e);var t=vJ(r);function r(n){cJ(this,r);var o;return o=t.call(this,n),gb(ZI(o),"props",void 0),o.props=new bn(n==null?void 0:n.props),o}return fJ(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(H);gb(Uo,"excludes",[u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.DIVIDER]),gb(Uo,"childrenMaxLength",1);function tC(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 nC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pJ(e,t,r){return t&&nC(e.prototype,t),r&&nC(e,r),e}function _J(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(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&&Pb(e,t)}function bJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:tC(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(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=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bJ(this,o)}}var wb=function(e){hJ(r,e);var t=mJ(r);function r(n){dJ(this,r);var o;return o=t.call(this,n),_J(tC(o),"props",void 0),o.props=new bn(n==null?void 0:n.props),o}return pJ(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Q),Ka={Designer:Uo,Runtime:wb,Property:bn};function Rb(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 rC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function 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&&Tb(e,t)}function RJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:Rb(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(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=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RJ(this,o)}}var Qa=function(e){wJ(r,e);var t=SJ(r);function r(n){PJ(this,r);var o;o=t.call(this,n),rC(Rb(o),"layoutMode",void 0),rC(Rb(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var c;return o.gutter=(c=n==null?void 0:n.gutter)!==null&&c!==void 0?c:0,o}return r}(G);function oC(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 iC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IJ(e,t,r){return t&&iC(e.prototype,t),r&&iC(e,r),e}function $b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function CJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function NJ(e,t){return t&&(BJ(t)==="object"||typeof t=="function")?t:oC(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}var BJ=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=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NJ(this,o)}}var Za=function(e){CJ(r,e);var t=MJ(r);function r(n){EJ(this,r);var o;return o=t.call(this,n),$b(oC(o),"props",void 0),o.props=new Qa(n==null?void 0:n.props),o}return IJ(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(H);$b(Za,"excludes",[u.CONTROL_TYPE.ROW]),$b(Za,"setting",[{key:"col-setting",visible:!0}]);function uC(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 cC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kJ(e,t,r){return t&&cC(e.prototype,t),r&&cC(e,r),e}function jJ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function LJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function FJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:uC(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}var xJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zJ(e){var t=VJ();return function(){var n=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FJ(this,o)}}var fC=function(e){LJ(r,e);var t=zJ(r);function r(n){DJ(this,r);var o;return o=t.call(this,n),jJ(uC(o),"props",void 0),o.props=new Qa(n==null?void 0:n.props),o}return kJ(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Q),aC={Designer:Za,Runtime:fC,Property:Qa};function YJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HJ(e,t,r){return t&&lC(e.prototype,t),r&&lC(e,r),e}function Ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function 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&&Cb(e,t)}function UJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:YJ(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}var WJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XJ(e){var t=KJ();return function(){var n=tl(e),o;if(t){var i=tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UJ(this,o)}}var QJ=4,nl=function(e){qJ(r,e);var t=XJ(r);function r(n){return GJ(this,r),t.call(this,n)}return HJ(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(Za);Ib(nl,"excludes",[u.CONTROL_TYPE.GRID_ROW]),Ib(nl,"setting",[]),Ib(nl,"childrenMaxLength",QJ);function JJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sC(e,t){for(var r=0;r<t.length;r++){var 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&&sC(e.prototype,t),r&&sC(e,r),e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function tZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nb(e,t)}function nZ(e,t){return t&&(rZ(t)==="object"||typeof t=="function")?t:JJ(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(e,t)}var rZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iZ(e){var t=oZ();return function(){var n=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nZ(this,o)}}var uZ=function(e){tZ(r,e);var t=iZ(r);function r(n){return ZJ(this,r),t.call(this,n)}return eZ(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(fC);function cZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function aZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bb(e,t)}function lZ(e,t){return t&&(sZ(t)==="object"||typeof t=="function")?t:cZ(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}var sZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vZ(e){var t=yZ();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lZ(this,o)}}var dZ=function(e){aZ(r,e);var t=vZ(r);function r(n){return fZ(this,r),t.call(this,n)}return r}(Qa),Ab={Designer:nl,Runtime:uZ,Property:dZ};function il(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ul(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function vC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function pZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:il(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}var _Z=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 dC(e){var t=hZ();return function(){var n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pZ(this,o)}}var bZ=function(e){vC(r,e);var t=dC(r);function r(){yC(this,r);var n;return n=t.apply(this,arguments),ul(il(n),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),n}return r}(G.Rules),fl=function(e){vC(r,e);var t=dC(r);function r(n){yC(this,r);var o;o=t.call(this,n),ul(il(o),"caption",void 0),ul(il(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(G);ul(fl,"Rules",bZ);function pC(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 _C(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gZ(e,t,r){return t&&_C(e.prototype,t),r&&_C(e,r),e}function Db(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function mZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function PZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:pC(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}var wZ=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 TZ(e){var t=RZ();return function(){var n=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PZ(this,o)}}var jb=function(e){mZ(r,e);var t=TZ(r);function r(n){OZ(this,r);var o;return o=t.call(this,n),Db(pC(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return gZ(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(H);Db(jb,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Db(jb,"excludes",[u.CONTROL_TYPE.CARD_GROUP]);function hC(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 bC(e,t){for(var r=0;r<t.length;r++){var 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&&bC(e.prototype,t),r&&bC(e,r),e}function EZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function 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&&Lb(e,t)}function CZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:hC(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}var NZ=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 AZ(e){var t=BZ();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CZ(this,o)}}var MZ=function(e){IZ(r,e);var t=AZ(r);function r(n){$Z(this,r);var o;return o=t.call(this,n),EZ(hC(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return SZ(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Q),OC={Designer:jb,Runtime:MZ,Property:fl};function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(e)}function mC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function DZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:lt(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}var kZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PC(e){var t=jZ();return function(){var n=sl(e),o;if(t){var i=sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DZ(this,o)}}var LZ=function(e){mC(r,e);var t=PC(r);function r(n){gC(this,r);var o;return o=t.call(this,n),st(lt(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),st(lt(o),"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),st(lt(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),yl=function(e){mC(r,e);var t=PC(r);function r(n){gC(this,r);var o;o=t.call(this,n),st(lt(o),"metaAutoWidth",void 0),st(lt(o),"caption",void 0),st(lt(o),"fixed",void 0),st(lt(o),"isShowCaptionTip",void 0),st(lt(o),"captionTip",void 0),st(lt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,o.metaAutoWidth=new h0(n==null?void 0:n.metaAutoWidth),o}return r}(G);st(yl,"Rules",LZ);function wC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function xZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xb(e,t)}function VZ(e,t){return t&&(zZ(t)==="object"||typeof t=="function")?t:wC(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}var zZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GZ(e){var t=YZ();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VZ(this,o)}}var Je=function(e){xZ(r,e);var t=GZ(r);function r(n){FZ(this,r);var o;return o=t.call(this,n),On(wC(o),"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return r}(H);On(Je,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),On(Je,"controlType","subtable-column"),On(Je,"controlIcon","subtable-column"),On(Je,"childrenMaxLength",1),On(Je,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),On(Je,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function RC(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 TC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function 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&&Vb(e,t)}function UZ(e,t){return t&&(WZ(t)==="object"||typeof t=="function")?t:RC(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(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=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UZ(this,o)}}var $C=function(e){qZ(r,e);var t=XZ(r);function r(n){HZ(this,r);var o;return o=t.call(this,n),TC(RC(o),"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return r}(Q);TC($C,"controlType","subtable-column");var zb={Designer:Je,Runtime:$C,Property:yl};function QZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function eee(e,t){return t&&(tee(t)==="object"||typeof t=="function")?t:QZ(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}var tee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ree(e){var t=nee();return function(){var n=pl(e),o;if(t){var i=pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eee(this,o)}}var Gb=function(e){ZZ(r,e);var t=ree(r);function r(n){return JZ(this,r),t.call(this,n)}return r}(G);function SC(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 gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(e)}function 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&&Hb(e,t)}function uee(e,t){return t&&(cee(t)==="object"||typeof t=="function")?t:SC(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}var cee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aee(e){var t=fee();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uee(this,o)}}var mn=function(e){iee(r,e);var t=aee(r);function r(n){oee(this,r);var o;return o=t.call(this,n),gn(SC(o),"props",void 0),o.props=new Gb(n==null?void 0:n.props),o}return r}(H);gn(mn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),gn(mn,"controlType","subtable-row"),gn(mn,"controlIcon","subtable-row"),gn(mn,"childrenMaxLength",1),gn(mn,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.SUBTABLE_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),gn(mn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function EC(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 IC(e,t){for(var r=0;r<t.length;r++){var 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&&IC(e.prototype,t),r&&IC(e,r),e}function yee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function 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&&qb(e,t)}function dee(e,t){return t&&(pee(t)==="object"||typeof t=="function")?t:EC(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}var pee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hee(e){var t=_ee();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dee(this,o)}}var bee=function(e){vee(r,e);var t=hee(r);function r(n){lee(this,r);var o;return o=t.call(this,n),yee(EC(o),"props",void 0),o.props=new Gb(n==null?void 0:n.props),o}return see(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Q),CC={Designer:mn,Runtime:bee,Property:Gb};function Ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function gee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function mee(e,t){return t&&(Pee(t)==="object"||typeof t=="function")?t:Ve(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}var Pee=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 Ree(e){var t=wee();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mee(this,o)}}var Wb=function(e){gee(r,e);var t=Ree(r);function r(n){Oee(this,r);var o;o=t.call(this,n),He(Ve(o),"widthType",void 0),He(Ve(o),"width",void 0),He(Ve(o),"caption",void 0),He(Ve(o),"fieldCode",void 0),He(Ve(o),"fieldType",void 0),He(Ve(o),"fieldName",void 0),He(Ve(o),"datasourceBind",void 0),He(Ve(o),"fixed",void 0),He(Ve(o),"textCleanFormart",void 0),He(Ve(o),"decimalKeepPrecision",void 0),He(Ve(o),"timestampDateType",void 0),He(Ve(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!1;var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;o.fieldType=(l=n==null?void 0:n.fieldType)!==null&&l!==void 0?l:u.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var v;o.decimalKeepPrecision=(v=n==null?void 0:n.decimalKeepPrecision)!==null&&v!==void 0?v:0;var _;o.timestampDateType=(_=n==null?void 0:n.timestampDateType)!==null&&_!==void 0?_:u.DateType.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(G);function NC(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 Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function $ee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function See(e,t){return t&&(Eee(t)==="object"||typeof t=="function")?t:NC(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}var Eee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Iee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Iee();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return See(this,o)}}var wn=function(e){$ee(r,e);var t=Cee(r);function r(n){Tee(this,r);var o;return o=t.call(this,n),Pn(NC(o),"props",void 0),o.props=new Wb(n==null?void 0:n.props),o}return r}(H);Pn(wn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Pn(wn,"controlType","gridtable-column"),Pn(wn,"controlIcon","gridtable-column"),Pn(wn,"childrenMaxLength",1),Pn(wn,"excludes",[u.CONTROL_TYPE.GRID_TABLE,u.CONTROL_TYPE.GRID_TABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),Pn(wn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function BC(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 AC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function 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&&Xb(e,t)}function Aee(e,t){return t&&(Mee(t)==="object"||typeof t=="function")?t:BC(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}var Mee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kee(e){var t=Dee();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aee(this,o)}}var MC=function(e){Bee(r,e);var t=kee(r);function r(n){Nee(this,r);var o;return o=t.call(this,n),AC(BC(o),"props",void 0),o.props=new Wb(n==null?void 0:n.props),o}return r}(Q);AC(MC,"controlType","gridtable-column");var DC={Designer:wn,Runtime:MC,Property:Wb};function kC(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 Lee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function Fee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qb(e,t)}function xee(e,t){return t&&(Vee(t)==="object"||typeof t=="function")?t:kC(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}var Vee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yee(e){var t=zee();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xee(this,o)}}var Jb=function(e){Fee(r,e);var t=Yee(r);function r(n){jee(this,r);var o;o=t.call(this,n),Lee(kC(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(G);function Zb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tO(e,t)}function Gee(e,t){return t&&(Hee(t)==="object"||typeof t=="function")?t:Zb(e)}function tO(e,t){return tO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tO(e,t)}var Hee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FC(e){var t=qee();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gee(this,o)}}var Uee=function(e){LC(r,e);var t=FC(r);function r(n){jC(this,r);var o;return o=t.call(this,n),eO(Zb(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),o}return r}(q),wl=function(e){LC(r,e);var t=FC(r);function r(n){jC(this,r);var o;o=t.call(this,n),eO(Zb(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ko.controlName,o}return r}(G);eO(wl,"Rules",Uee);function xC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kee(e,t,r){return t&&VC(e.prototype,t),r&&VC(e,r),e}function nO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(e)}function Xee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rO(e,t)}function Qee(e,t){return t&&(Jee(t)==="object"||typeof t=="function")?t:xC(e)}function rO(e,t){return rO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rO(e,t)}var Jee=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 ete(e){var t=Zee();return function(){var n=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qee(this,o)}}var Wo=function(e){Xee(r,e);var t=ete(r);function r(n){Wee(this,r);var o;return o=t.call(this,n),nO(xC(o),"props",void 0),o.props=new wl(n==null?void 0:n.props),o}return Kee(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(H);nO(Wo,"excludes",[u.CONTROL_TYPE.TAB]),nO(Wo,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function zC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nte(e,t,r){return t&&YC(e.prototype,t),r&&YC(e,r),e}function rte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function ote(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oO(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:zC(e)}function oO(e,t){return oO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oO(e,t)}var ute=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fte(e){var t=cte();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ite(this,o)}}var ate=function(e){ote(r,e);var t=fte(r);function r(n){tte(this,r);var o;return o=t.call(this,n),rte(zC(o),"props",void 0),o.props=new wl(n==null?void 0:n.props),o}return nte(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Q),GC={Designer:Wo,Runtime:ate,Property:wl};function HC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ste(e,t,r){return t&&qC(e.prototype,t),r&&qC(e,r),e}function $l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function yte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iO(e,t)}function vte(e,t){return t&&(dte(t)==="object"||typeof t=="function")?t:HC(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}var dte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _te(e){var t=pte();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vte(this,o)}}var Ko=function(e){yte(r,e);var t=_te(r);function r(n){lte(this,r);var o;o=t.call(this,n),$l(HC(o),"props",void 0),o.props=new Jb(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Wo,new Wo],o}return ste(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(H);$l(Ko,"excludes",[u.CONTROL_TYPE.TAB]),$l(Ko,"controlEventKeys",["on_change_tab"]),$l(Ko,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function UC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bte(e,t,r){return t&&WC(e.prototype,t),r&&WC(e,r),e}function Ote(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function gte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uO(e,t)}function mte(e,t){return t&&(Pte(t)==="object"||typeof t=="function")?t:UC(e)}function uO(e,t){return uO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uO(e,t)}var Pte=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 Rte(e){var t=wte();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mte(this,o)}}var Tte=function(e){gte(r,e);var t=Rte(r);function r(n){hte(this,r);var o;return o=t.call(this,n),Ote(UC(o),"props",void 0),o.props=new Jb(n==null?void 0:n.props),o}return bte(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Q),KC={Designer:Ko,Runtime:Tte,Property:Jb};function $te(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 Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function Ete(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cO(e,t)}function Ite(e,t){return t&&(Cte(t)==="object"||typeof t=="function")?t:$te(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cO(e,t)}var Cte=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 Bte(e){var t=Nte();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ite(this,o)}}var XC=function(e){Ete(r,e);var t=Bte(r);function r(n){return Ste(this,r),t.call(this,n)}return r}(G);function QC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ate(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mte(e,t,r){return t&&JC(e.prototype,t),r&&JC(e,r),e}function ZC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function 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&&fO(e,t)}function kte(e,t){return t&&(jte(t)==="object"||typeof t=="function")?t:QC(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fO(e,t)}var jte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fte(e){var t=Lte();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kte(this,o)}}var eN=function(e){Dte(r,e);var t=Fte(r);function r(n){Ate(this,r);var o;return o=t.call(this,n),ZC(QC(o),"props",void 0),o.props=new XC({}),o.children=(n==null?void 0:n.children)||[new Uo({props:new bn({span:12})}),new Uo({props:new bn({span:12})})],o}return Mte(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(H);ZC(eN,"excludes",[u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.GRID,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.TOOLBOX]);function xte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zte(e,t,r){return t&&tN(e.prototype,t),r&&tN(e,r),e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function Yte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aO(e,t)}function Gte(e,t){return t&&(Hte(t)==="object"||typeof t=="function")?t:xte(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(e,t)}var Hte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ute(e){var t=qte();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gte(this,o)}}var Wte=function(e){Yte(r,e);var t=Ute(r);function r(n){Vte(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new wb({props:new bn({span:12})}),new wb({props:new bn({span:12})})],o}return zte(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Q),nN={Designer:eN,Runtime:Wte,Property:XC};function fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function sO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yO(e,t)}function Kte(e,t){return t&&(Xte(t)==="object"||typeof t=="function")?t:fe(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yO(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 vO(e){var t=Qte();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kte(this,o)}}var Al;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Al||(Al={}));var Jte=function(e){sO(r,e);var t=vO(r);function r(n){lO(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Dt),Zte=function(e){sO(r,e);var t=vO(r);function r(n){lO(this,r);var o;if(o=t.call(this,n),ae(fe(o),"triggerFieldCode",{type:"any"}),ae(fe(o),"datasourceBind",{type:"any"}),n.triggerType===Al.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}),mi.call(fe(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(c){return c.type==="object"&&c.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(q),Xo=function(e){sO(r,e);var t=vO(r);function r(n){lO(this,r);var o;o=t.call(this,n),ae(fe(o),"datasourceBind",void 0),ae(fe(o),"isLoading",void 0),ae(fe(o),"isShowSubList",void 0),ae(fe(o),"triggerType",void 0),ae(fe(o),"triggerFieldCode",void 0),ae(fe(o),"sublistPage",void 0),ae(fe(o),"showType",void 0),ae(fe(o),"showFullScreen",void 0),ae(fe(o),"isFixedHeader",void 0),ae(fe(o),"selectionType",void 0),ae(fe(o),"isShowSelection",void 0),ae(fe(o),"isAllLoaded",void 0),ae(fe(o),"countType",void 0),o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:Al.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new w0(n==null?void 0:n.sublistPage);var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"stretch";var s;o.showFullScreen=(s=n==null?void 0:n.showFullScreen)!==null&&s!==void 0?s:!1;var y;o.selectionType=(y=n==null?void 0:n.selectionType)!==null&&y!==void 0?y:"single";var v;o.isFixedHeader=(v=n==null?void 0:n.isFixedHeader)!==null&&v!==void 0?v:!1;var _;o.isShowSelection=(_=n==null?void 0:n.isShowSelection)!==null&&_!==void 0?_:!1;var O;return o.isAllLoaded=(O=n==null?void 0:n.isAllLoaded)!==null&&O!==void 0?O:!0,o.countType=n==null?void 0:n.countType,o}return r}(G);ae(Xo,"Rules",Zte),ae(Xo,"RuntimeRules",Jte);function rN(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 oN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tne(e,t,r){return t&&oN(e.prototype,t),r&&oN(e,r),e}function Ml(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function 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&&dO(e,t)}function rne(e,t){return t&&(one(t)==="object"||typeof t=="function")?t:rN(e)}function dO(e,t){return dO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dO(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=Dl(e),o;if(t){var i=Dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rne(this,o)}}var kl=function(e){nne(r,e);var t=une(r);function r(n){ene(this,r);var o;return o=t.call(this,n),Ml(rN(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return tne(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(H);Ml(kl,"excludes",[u.CONTROL_TYPE.ROW]),Ml(kl,"controlEventKeys",["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"]),Ml(kl,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}]);function iN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uN(e,t){for(var r=0;r<t.length;r++){var 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&&uN(e.prototype,t),r&&uN(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 jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(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&&pO(e,t)}function sne(e,t){return t&&(yne(t)==="object"||typeof t=="function")?t:iN(e)}function pO(e,t){return pO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pO(e,t)}var yne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=vne();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sne(this,o)}}var pne=function(e){lne(r,e);var t=dne(r);function r(n){cne(this,r);var o;return o=t.call(this,n),ane(iN(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return fne(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Q),_O={Designer:kl,Runtime:pne,Property:Xo};function Jt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function fN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hO(e,t)}function _ne(e,t){return t&&(hne(t)==="object"||typeof t=="function")?t:Jt(e)}function hO(e,t){return hO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hO(e,t)}var hne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aN(e){var t=bne();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ne(this,o)}}var One=function(e){fN(r,e);var t=aN(r);function r(n){cN(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Dt),Fl=function(e){fN(r,e);var t=aN(r);function r(n){cN(this,r);var o;o=t.call(this,n),Zt(Jt(o),"save",void 0),Zt(Jt(o),"cancel",void 0),Zt(Jt(o),"saveAs",void 0),Zt(Jt(o),"print",void 0),Zt(Jt(o),"custom",void 0),Zt(Jt(o),"isLoading",void 0),Zt(Jt(o),"datasourceBind",void 0);var i;o.save=new pt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var c;o.cancel=new pt((c=n==null?void 0:n.cancel)!==null&&c!==void 0?c:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new pt((f=n==null?void 0:n.saveAs)!==null&&f!==void 0?f:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var a;o.print=new pt((a=n==null?void 0:n.print)!==null&&a!==void 0?a:{content:"\u6253\u5370",type:"print",isShow:!1});var l;o.custom=((l=n==null?void 0:n.custom)!==null&&l!==void 0?l:[]).map(function(y){return new pt(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new J(n==null?void 0:n.datasourceBind),o}return r}(G);Zt(Fl,"RuntimeRules",One);function lN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mne(e,t,r){return t&&sN(e.prototype,t),r&&sN(e,r),e}function yN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function Pne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bO(e,t)}function wne(e,t){return t&&(Rne(t)==="object"||typeof t=="function")?t:lN(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bO(e,t)}var Rne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ne(e){var t=Tne();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wne(this,o)}}var vN=function(e){Pne(r,e);var t=$ne(r);function r(n){gne(this,r);var o;return o=t.call(this,n),yN(lN(o),"props",void 0),o.props=new Fl(n==null?void 0:n.props),o}return mne(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(H);yN(vN,"excludes",[]);function dN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ene(e,t,r){return t&&pN(e.prototype,t),r&&pN(e,r),e}function Ine(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function Cne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OO(e,t)}function Nne(e,t){return t&&(Bne(t)==="object"||typeof t=="function")?t:dN(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OO(e,t)}var Bne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ane(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mne(e){var t=Ane();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nne(this,o)}}var Dne=function(e){Cne(r,e);var t=Mne(r);function r(n){Sne(this,r);var o;return o=t.call(this,n),Ine(dN(o),"props",void 0),o.props=new Fl(n==null?void 0:n.props),o}return Ene(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Q),gO={Designer:vN,Runtime:Dne,Property:Fl};function kne(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 _N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lne(e,t,r){return t&&_N(e.prototype,t),r&&_N(e,r),e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function Fne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mO(e,t)}function xne(e,t){return t&&(Vne(t)==="object"||typeof t=="function")?t:kne(e)}function mO(e,t){return mO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mO(e,t)}var Vne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yne(e){var t=zne();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xne(this,o)}}var Gne=function(e){Fne(r,e);var t=Yne(r);function r(n){return jne(this,r),t.call(this,n)}return Lne(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(H);function Hne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Une(e,t,r){return t&&hN(e.prototype,t),r&&hN(e,r),e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function Wne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PO(e,t)}function Kne(e,t){return t&&(Xne(t)==="object"||typeof t=="function")?t:Hne(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}var Xne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jne(e){var t=Qne();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kne(this,o)}}var Zne=function(e){Wne(r,e);var t=Jne(r);function r(n){return qne(this,r),t.call(this,n)}return Une(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Q);function Or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ere(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function tre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wO(e,t)}function nre(e,t){return t&&(rre(t)==="object"||typeof t=="function")?t:Or(e)}function wO(e,t){return wO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wO(e,t)}var rre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ore(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ire(e){var t=ore();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nre(this,o)}}var ure=function(e){tre(r,e);var t=ire(r);function r(n){ere(this,r);var o;o=t.call(this,n),Qo(Or(o),"hideHeader",void 0),Qo(Or(o),"background","#fff"),Qo(Or(o),"minWidth",""),Qo(Or(o),"maxWidth",""),Qo(Or(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(G),bN={Designer:Gne,Runtime:Zne,Property:ure};function cre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ON(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function are(e,t,r){return t&&ON(e.prototype,t),r&&ON(e,r),e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(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&&RO(e,t)}function sre(e,t){return t&&(yre(t)==="object"||typeof t=="function")?t:cre(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RO(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=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sre(this,o)}}var pre=function(e){lre(r,e);var t=dre(r);function r(n){return fre(this,r),t.call(this,n)}return are(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(H);function _re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bre(e,t,r){return t&&gN(e.prototype,t),r&&gN(e,r),e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function Ore(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TO(e,t)}function gre(e,t){return t&&(mre(t)==="object"||typeof t=="function")?t:_re(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TO(e,t)}var mre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wre(e){var t=Pre();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gre(this,o)}}var Rre=function(e){Ore(r,e);var t=wre(r);function r(n){return hre(this,r),t.call(this,n)}return bre(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Q);function $O(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 mN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function $re(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SO(e,t)}function Sre(e,t){return t&&(Ere(t)==="object"||typeof t=="function")?t:$O(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SO(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 Cre(e){var t=Ire();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sre(this,o)}}var Nre=function(e){$re(r,e);var t=Cre(r);function r(n){Tre(this,r);var o;return o=t.call(this,n),mN($O(o),"display",void 0),mN($O(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new XP(n==null?void 0:n.flexConfig),o}return r}(G),PN={Designer:pre,Runtime:Rre,Property:Nre};function Bre(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 wN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mre(e,t,r){return t&&wN(e.prototype,t),r&&wN(e,r),e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(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&&EO(e,t)}function kre(e,t){return t&&(jre(t)==="object"||typeof t=="function")?t:Bre(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}var jre=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=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kre(this,o)}}var xre=function(e){Dre(r,e);var t=Fre(r);function r(n){return Are(this,r),t.call(this,n)}return Mre(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(H);function Vre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yre(e,t,r){return t&&RN(e.prototype,t),r&&RN(e,r),e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function Gre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IO(e,t)}function Hre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:Vre(e)}function IO(e,t){return IO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IO(e,t)}var qre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ure(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wre(e){var t=Ure();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hre(this,o)}}var Kre=function(e){Gre(r,e);var t=Wre(r);function r(n){return zre(this,r),t.call(this,n)}return Yre(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Q);function Xre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function 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&&CO(e,t)}function Zre(e,t){return t&&(eoe(t)==="object"||typeof t=="function")?t:Xre(e)}function CO(e,t){return CO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CO(e,t)}var eoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function toe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function noe(e){var t=toe();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zre(this,o)}}var roe=function(e){Jre(r,e);var t=noe(r);function r(n){return Qre(this,r),t.call(this,n)}return r}(G),TN={Designer:xre,Runtime:Kre,Property:roe};function ooe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ioe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uoe(e,t,r){return t&&$N(e.prototype,t),r&&$N(e,r),e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function coe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NO(e,t)}function foe(e,t){return t&&(aoe(t)==="object"||typeof t=="function")?t:ooe(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(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 soe(e){var t=loe();return function(){var n=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return foe(this,o)}}var yoe=function(e){coe(r,e);var t=soe(r);function r(n){return ioe(this,r),t.call(this,n)}return uoe(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(H);function voe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function doe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function poe(e,t,r){return t&&SN(e.prototype,t),r&&SN(e,r),e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function _oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&BO(e,t)}function hoe(e,t){return t&&(boe(t)==="object"||typeof t=="function")?t:voe(e)}function BO(e,t){return BO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BO(e,t)}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=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hoe(this,o)}}var moe=function(e){_oe(r,e);var t=goe(r);function r(n){return doe(this,r),t.call(this,n)}return poe(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Q);function Jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Poe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function woe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AO(e,t)}function Roe(e,t){return t&&(Toe(t)==="object"||typeof t=="function")?t:Jo(e)}function AO(e,t){return AO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AO(e,t)}var 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=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Roe(this,o)}}var Eoe=function(e){woe(r,e);var t=Soe(r);function r(n){Poe(this,r);var o;o=t.call(this,n),Zl(Jo(o),"widthSpan",void 0),Zl(Jo(o),"heightSpan",void 0),Zl(Jo(o),"left",void 0),Zl(Jo(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var c;o.heightSpan=(c=n==null?void 0:n.heightSpan)!==null&&c!==void 0?c:12;var f;o.left=(f=n==null?void 0:n.left)!==null&&f!==void 0?f:0;var a;return o.top=(a=n==null?void 0:n.top)!==null&&a!==void 0?a:0,o}return r}(G),EN={Designer:yoe,Runtime:moe,Property:Eoe},Ioe=Object.freeze({__proto__:null,Grid:QI,Col:Ka,Row:aC,GridRow:Ab,CardGroup:OC,SubTableColumn:zb,SubTableRow:CC,GridTableColumn:DC,Tab:KC,TabPane:GC,Toolbox:nN,ListView:_O,DataView:gO,Page:bN,AdvancedContainer:PN,PositioningContainer:TN,Position:EN});function N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function DO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kO(e,t)}function Coe(e,t){return t&&(Noe(t)==="object"||typeof t=="function")?t:N(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(e,t)}var Noe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Boe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Boe();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Coe(this,o)}}var Aoe=function(e){DO(r,e);var t=jO(r);function r(n){MO(this,r);var o;return o=t.call(this,n),C(N(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),C(N(o),"limitRows",[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}]),C(N(o),"formKey",{type:"string",required:!1,message:p.getMessage("pleaseEnterForm")}),C(N(o),"maxHeight",{type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")}),C(N(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(q),Moe=function(e){DO(r,e);var t=jO(r);function r(n){MO(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:p.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(c,f,a){f.length<n.limitRows&&a(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Dt),Zo=function(e){DO(r,e);var t=jO(r);function r(n,o){MO(this,r);var i;i=t.call(this,n,o),C(N(i),"caption",void 0),C(N(i),"labelPosition",void 0),C(N(i),"isHideCaption",void 0),C(N(i),"isShowCaptionTip",void 0),C(N(i),"captionTip",void 0),C(N(i),"defaultState",void 0),C(N(i),"limitRows",void 0),C(N(i),"maxRows",void 0),C(N(i),"defaultRows",void 0),C(N(i),"datasourceBind",void 0),C(N(i),"printMode",void 0),C(N(i),"openType",void 0),C(N(i),"formKey",void 0),C(N(i),"useCustomHeight",void 0),C(N(i),"maxHeight",void 0),C(N(i),"canAdd",void 0),C(N(i),"canDelete",void 0),C(N(i),"canCheck",void 0),C(N(i),"canEdit",void 0),C(N(i),"canImport",void 0),C(N(i),"canExport",void 0),C(N(i),"canClear",void 0),C(N(i),"mobileShowType",void 0),C(N(i),"mobileDefaultNum",void 0),C(N(i),"dataStorageDoc",void 0),C(N(i),"serverPagination",void 0),C(N(i),"fixedColumn",void 0),C(N(i),"mobileRowCaption",void 0),C(N(i),"mobileIsTile",void 0);var c;i.caption=(c=o==null?void 0:o.caption)!==null&&c!==void 0?c:rs.controlName;var f;i.isHideCaption=(f=o==null?void 0:o.isHideCaption)!==null&&f!==void 0?f:!1;var a;i.defaultState=(a=o==null?void 0:o.defaultState)!==null&&a!==void 0?a:"default";var l;i.labelPosition=(l=o==null?void 0:o.labelPosition)!==null&&l!==void 0?l:"top";var s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"default";var y;i.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var v;i.useCustomHeight=(v=o==null?void 0:o.useCustomHeight)!==null&&v!==void 0?v:!1;var _;i.maxHeight=(_=o==null?void 0:o.maxHeight)!==null&&_!==void 0?_:WP;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;i.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b:1;var g;i.maxRows=(g=o==null?void 0:o.maxRows)!==null&&g!==void 0?g:null;var d;i.defaultRows=(d=o==null?void 0:o.defaultRows)!==null&&d!==void 0?d:1,i.datasourceBind=new J(o==null?void 0:o.datasourceBind);var m;i.canAdd=(m=o==null?void 0:o.canAdd)!==null&&m!==void 0?m:!0;var w;i.canDelete=(w=o==null?void 0:o.canDelete)!==null&&w!==void 0?w:!0;var P;i.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!1;var S;i.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!1;var T;i.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var E;i.canExport=(E=o==null?void 0:o.canExport)!==null&&E!==void 0?E:!1;var L;i.canClear=(L=o==null?void 0:o.canClear)!==null&&L!==void 0?L:!0;var Me;i.serverPagination=(Me=o==null?void 0:o.serverPagination)!==null&&Me!==void 0?Me:!1;var le;i.isShowCaptionTip=(le=o==null?void 0:o.isShowCaptionTip)!==null&&le!==void 0?le:!1;var se;i.captionTip=(se=o==null?void 0:o.captionTip)!==null&&se!==void 0?se:"";var Yr;i.mobileShowType=(Yr=o==null?void 0:o.mobileShowType)!==null&&Yr!==void 0?Yr:"list";var zn;i.mobileDefaultNum=((zn=o==null?void 0:o.mobileDefaultNum)!==null&&zn!==void 0?zn:(o==null?void 0:o.mobileShowType)==="list")?10:5;var yt;i.dataStorageDoc=(yt=o==null?void 0:o.dataStorageDoc)!==null&&yt!==void 0?yt:new b0;var Hm;i.fixedColumn=(Hm=o==null?void 0:o.fixedColumn)!==null&&Hm!==void 0?Hm:[];var qm;i.mobileRowCaption=(qm=o==null?void 0:o.mobileRowCaption)!==null&&qm!==void 0?qm:"\u660E\u7EC6";var Um;return i.mobileIsTile=(Um=o==null?void 0:o.mobileIsTile)!==null&&Um!==void 0?Um:!1,i}return r}(to);C(Zo,"Rules",Aoe),C(Zo,"RuntimeRules",Moe);function LO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Doe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function koe(e,t,r){return t&&IN(e.prototype,t),r&&IN(e,r),e}function FO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function joe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xO(e,t)}function Loe(e,t){return t&&(Foe(t)==="object"||typeof t=="function")?t:LO(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}var Foe=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 Voe(e){var t=xoe();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Loe(this,o)}}var rs=function(e){joe(r,e);var t=Voe(r);function r(n){Doe(this,r);var o,i;return o=t.call(this,n),FO(LO(o),"props",void 0),o.props=new Zo(LO(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new Je,new Je,new Je]),o}return koe(r,[{key:"addColumn",value:function(o,i){var c=o!==void 0&&typeof o!="number"?o:new Je,f=typeof o=="number"?o:i;return f===void 0?this.props.headers.push(c):this.props.headers.splice(f,0,c),c}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(ki);FO(rs,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),FO(rs,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function VO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yoe(e,t,r){return t&&CN(e.prototype,t),r&&CN(e,r),e}function Goe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function 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&&zO(e,t)}function qoe(e,t){return t&&(Uoe(t)==="object"||typeof t=="function")?t:VO(e)}function zO(e,t){return zO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zO(e,t)}var Uoe=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 Koe(e){var t=Woe();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qoe(this,o)}}var Xoe=function(e){Hoe(r,e);var t=Koe(r);function r(n){zoe(this,r);var o;return o=t.call(this,n),Goe(VO(o),"props",void 0),o.props=new Zo(VO(o),n==null?void 0:n.props),o}return Yoe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Mt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(pv),NN={Designer:rs,Runtime:Xoe,Property:Zo};function gr(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 ei(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(e)}function Joe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YO(e,t)}function Zoe(e,t){return t&&(eie(t)==="object"||typeof t=="function")?t:gr(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YO(e,t)}var eie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tie();return function(){var n=is(e),o;if(t){var i=is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zoe(this,o)}}var GO=function(e){Joe(r,e);var t=nie(r);function r(n,o){Qoe(this,r);var i;i=t.call(this,n,o),ei(gr(i),"isFixedHeader",void 0),ei(gr(i),"selectionType",void 0),ei(gr(i),"isShowToolbar",void 0),ei(gr(i),"isShowSelection",void 0),ei(gr(i),"isShowCustomColumns",void 0);var c;i.isFixedHeader=(c=o==null?void 0:o.isFixedHeader)!==null&&c!==void 0?c:!1,i.selectionType=o==null?void 0:o.selectionType;var f;i.isShowToolbar=(f=o==null?void 0:o.isShowToolbar)!==null&&f!==void 0?f:!0;var a;i.isShowSelection=(a=o==null?void 0:o.isShowSelection)!==null&&a!==void 0?a:!1;var l;return i.isShowCustomColumns=(l=o==null?void 0:o.isShowCustomColumns)!==null&&l!==void 0?l:!0,i}return r}(to);function rie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function AN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HO(e,t)}function iie(e,t){return t&&(uie(t)==="object"||typeof t=="function")?t:rie(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HO(e,t)}var uie=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 MN(e){var t=cie();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iie(this,o)}}var fie=function(e){AN(r,e);var t=MN(r);function r(n){BN(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(Fi),cs=function(e){AN(r,e);var t=MN(r);function r(n){BN(this,r);var o,i,c;o=t.call(this,n);var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"left";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Rn.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var y;o.autoWidth.flex=(y=n==null||(c=n.autoWidth)===null||c===void 0?void 0:c.flex)!==null&&y!==void 0?y:.4;var v;return o.widthType=(v=n==null?void 0:n.widthType)!==null&&v!==void 0?v:"px",o}return r}(K);oie(cs,"Rules",fie);function DN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ti(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function lie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qO(e,t)}function sie(e,t){return t&&(yie(t)==="object"||typeof t=="function")?t:DN(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qO(e,t)}var yie=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 die(e){var t=vie();return function(){var n=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sie(this,o)}}var Rn=function(e){lie(r,e);var t=die(r);function r(n){aie(this,r);var o;return o=t.call(this,n),ti(DN(o),"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return r}(ne);ti(Rn,"controlType","order-column"),ti(Rn,"controlName","\u5E8F\u53F7"),ti(Rn,"controlIcon","order-column"),ti(Rn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function kN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function _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&&WO(e,t)}function hie(e,t){return t&&(bie(t)==="object"||typeof t=="function")?t:kN(e)}function WO(e,t){return WO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WO(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=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hie(this,o)}}var KO=function(e){_ie(r,e);var t=gie(r);function r(n){pie(this,r);var o;return o=t.call(this,n),UO(kN(o),"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return r}(re);UO(KO,"controlType","order-column"),UO(KO,"controlFieldType",u.FieldTypes.DECIMAL);var jN={Designer:Rn,Runtime:KO,Property:cs};function XO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function Pie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QO(e,t)}function wie(e,t){return t&&(Rie(t)==="object"||typeof t=="function")?t:XO(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QO(e,t)}var Rie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ie(e){var t=Tie();return function(){var n=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wie(this,o)}}var JO=function(e){Pie(r,e);var t=$ie(r);function r(n){mie(this,r);var o,i;o=t.call(this,n),LN(XO(o),"showType",void 0),LN(XO(o),"limit",void 0);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"right",o.widthType="auto";var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:84;var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:$n.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(K);function ss(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FN(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function Sie(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){FN(i,n,o,c,f,"next",a)}function f(a){FN(i,n,o,c,f,"throw",a)}c(void 0)})}}function Eie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iie(e,t,r){return t&&xN(e.prototype,t),r&&xN(e,r),e}function Tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mr=Reflect.get:mr=function(o,i,c){var f=Die(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},mr(e,t,r||e)}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},en(e)}function Cie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZO(e,t)}function Nie(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){Tn(e,o,r[o])})}return e}function Bie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Aie(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Bie(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Mie(e,t){return t&&(kie(t)==="object"||typeof t=="function")?t:ss(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}function Die(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=en(e),e!==null););return e}var kie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lie(e){var t=jie();return function(){var n=en(e),o;if(t){var i=en(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mie(this,o)}}var Fie=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},$n=function(e){Cie(r,e);var t=Lie(r);function r(n){Eie(this,r);var o;return o=t.call(this,n),Tn(ss(o),"props",void 0),Tn(ss(o),"children",void 0),o.props=new JO(n==null?void 0:n.props),nt(ss(o),"children",n==null?void 0:n.children),o}return Iie(r,[{key:"toDataBindModel",value:function(){var o=mr(en(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Pc.controlType){var c=i;o.props[c.props.command]=c.props}}),o}},{key:"toSchema",value:function(){var o=mr(en(r.prototype),"toSchema",this).call(this);return Aie(Nie({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var c=this,f=this,a=function(){return mr(en(r.prototype),"validate",c)};return Sie(function(){return Fie(this,function(l){switch(l.label){case 0:return[4,a().call(f,o,i)];case 1:return l.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),r}(ne);Tn($n,"controlType","operation-column"),Tn($n,"controlName","\u64CD\u4F5C"),Tn($n,"controlIcon","operation-column"),Tn($n,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function ys(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function Vie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eg(e,t)}function zie(e,t){return t&&(Yie(t)==="object"||typeof t=="function")?t:ys(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eg(e,t)}var Yie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hie(e){var t=Gie();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zie(this,o)}}var tg=function(e){Vie(r,e);var t=Hie(r);function r(n){xie(this,r);var o;return o=t.call(this,n),vs(ys(o),"props",void 0),vs(ys(o),"children",void 0),o.props=new JO(n==null?void 0:n.props),nt(ys(o),"children",n==null?void 0:n.children),o}return r}(re);vs(tg,"controlType","operation-column"),vs(tg,"controlFieldType",u.FieldTypes.FILE);var VN={Designer:$n,Runtime:tg,Property:JO};function ni(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zN(e,t,r,n,o,i,c){try{var f=e[i](c),a=f.value}catch(l){r(l);return}f.done?t(a):Promise.resolve(a).then(n,o)}function qie(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(a){zN(i,n,o,c,f,"next",a)}function f(a){zN(i,n,o,c,f,"throw",a)}c(void 0)})}}function Uie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wie(e,t,r){return t&&YN(e.prototype,t),r&&YN(e,r),e}function ps(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ri(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ri=Reflect.get:ri=function(o,i,c){var f=eue(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},ri(e,t,r||e)}function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sn(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&&ng(e,t)}function Xie(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){ps(e,o,r[o])})}return e}function Qie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Jie(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qie(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Zie(e,t){return t&&(tue(t)==="object"||typeof t=="function")?t:ni(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ng(e,t)}function eue(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sn(e),e!==null););return e}var tue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rue(e){var t=nue();return function(){var n=Sn(e),o;if(t){var i=Sn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zie(this,o)}}var oue=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return c.label++,{value:l[1],done:!1};case 5:c.label++,n=l[1],l=[0];continue;case 7:l=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){c=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){c.label=l[1];break}if(l[0]===6&&c.label<o[1]){c.label=o[1],o=l;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(l);break}o[2]&&c.ops.pop(),c.trys.pop();continue}l=t.call(e,c)}catch(s){l=[6,s],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},GN=function(e){Kie(r,e);var t=rue(r);function r(n){Uie(this,r);var o;return o=t.call(this,n),ps(ni(o),"props",void 0),ps(ni(o),"children",void 0),o.props=new GO(ni(o),n==null?void 0:n.props),nt(ni(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new Rn,new $n]),o}return Wie(r,[{key:"toSchema",value:function(){var o=ri(Sn(r.prototype),"toSchema",this).call(this),i=this.children.map(function(c){return c.toSchema()});return Jie(Xie({},o),{children:i})}},{key:"validate",value:function(o,i){var c=this,f=this,a=function(){return ri(Sn(r.prototype),"validate",c)};return qie(function(){return oue(this,function(l){switch(l.label){case 0:return[4,a().call(f,o,i)];case 1:return l.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(ki);ps(GN,"setting",[{key:"list-fixed-header",visible:!0}]);function rg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uue(e,t,r){return t&&HN(e.prototype,t),r&&HN(e,r),e}function cue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function 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&&og(e,t)}function aue(e,t){return t&&(lue(t)==="object"||typeof t=="function")?t:rg(e)}function og(e,t){return og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},og(e,t)}var 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=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aue(this,o)}}var vue=function(e){fue(r,e);var t=yue(r);function r(n){iue(this,r);var o;return o=t.call(this,n),cue(rg(o),"props",void 0),o.props=new GO(rg(o),n==null?void 0:n.props),o}return uue(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Mt("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}(pv),qN={Designer:GN,Runtime:vue,Property:GO},due=Object.freeze({__proto__:null,SubTable:NN,GridTable:qN});function oi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function WN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ig(e,t)}function pue(e,t){return t&&(_ue(t)==="object"||typeof t=="function")?t:oi(e)}function ig(e,t){return ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ig(e,t)}var _ue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KN(e){var t=hue();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pue(this,o)}}var bue=function(e){WN(r,e);var t=KN(r);function r(n){return UN(this,r),t.call(this,n)}return r}(gv),bs=function(e){WN(r,e);var t=KN(r);function r(n){UN(this,r);var o;o=t.call(this,n),ii(oi(o),"optionConfig",void 0),ii(oi(o),"datasourceBind",void 0),ii(oi(o),"options",void 0),ii(oi(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:En.controlName;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;o.options=et((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(K);ii(bs,"Rules",bue);function XN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(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&&ug(e,t)}function mue(e,t){return t&&(Pue(t)==="object"||typeof t=="function")?t:XN(e)}function ug(e,t){return ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ug(e,t)}var Pue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rue(e){var t=wue();return function(){var n=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mue(this,o)}}var En=function(e){gue(r,e);var t=Rue(r);function r(n){Oue(this,r);var o;return o=t.call(this,n),Pr(XN(o),"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return r}(ne);Pr(En,"controlType","varchar-column"),Pr(En,"controlName","\u77ED\u6587\u672C"),Pr(En,"controlIcon","varchar-column"),Pr(En,"controlFieldType",u.FieldTypes.VARCHAR),Pr(En,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function QN(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 cg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function $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&&fg(e,t)}function Sue(e,t){return t&&(Eue(t)==="object"||typeof t=="function")?t:QN(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}var Eue=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 Cue(e){var t=Iue();return function(){var n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sue(this,o)}}var ag=function(e){$ue(r,e);var t=Cue(r);function r(n){Tue(this,r);var o;return o=t.call(this,n),cg(QN(o),"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return r}(re);cg(ag,"controlType","varchar-column"),cg(ag,"controlFieldType",u.FieldTypes.VARCHAR);var JN={Designer:En,Runtime:ag,Property:bs};function lg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function Bue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function Aue(e,t){return t&&(Mue(t)==="object"||typeof t=="function")?t:lg(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}var Mue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Due(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kue(e){var t=Due();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aue(this,o)}}var yg=function(e){Bue(r,e);var t=kue(r);function r(n){Nue(this,r);var o;o=t.call(this,n),ZN(lg(o),"escapeHTML",void 0),ZN(lg(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:In.controlName;var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return r}(K);function eB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lue(e,t,r){return t&&tB(e.prototype,t),r&&tB(e,r),e}function wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ps(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ps=Reflect.get:Ps=function(o,i,c){var f=Vue(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Ps(e,t,r||e)}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(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&&vg(e,t)}function xue(e,t){return t&&(zue(t)==="object"||typeof t=="function")?t:eB(e)}function vg(e,t){return vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vg(e,t)}function Vue(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rr(e),e!==null););return e}var zue=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 Gue(e){var t=Yue();return function(){var n=Rr(e),o;if(t){var i=Rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xue(this,o)}}var In=function(e){Fue(r,e);var t=Gue(r);function r(n){jue(this,r);var o;return o=t.call(this,n),wr(eB(o),"props",void 0),o.props=new yg(n==null?void 0:n.props),o}return Lue(r,[{key:"toDataBindModel",value:function(o){var i=Ps(Rr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.escapeHTML;i.props.escapeHTML=c}return i}}]),r}(ne);wr(In,"controlType","text-column"),wr(In,"controlName","\u957F\u6587\u672C"),wr(In,"controlIcon","text-column"),wr(In,"controlFieldType",u.FieldTypes.TEXT),wr(In,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function nB(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 dg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(e)}function que(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pg(e,t)}function Uue(e,t){return t&&(Wue(t)==="object"||typeof t=="function")?t:nB(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pg(e,t)}var Wue=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 Xue(e){var t=Kue();return function(){var n=ws(e),o;if(t){var i=ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uue(this,o)}}var _g=function(e){que(r,e);var t=Xue(r);function r(n){Hue(this,r);var o;return o=t.call(this,n),dg(nB(o),"props",void 0),o.props=new yg(n==null?void 0:n.props),o}return r}(re);dg(_g,"controlType","text-column"),dg(_g,"controlFieldType",u.FieldTypes.TEXT);var rB={Designer:In,Runtime:_g,Property:yg};function Cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Que(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function 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&&hg(e,t)}function Zue(e,t){return t&&(ece(t)==="object"||typeof t=="function")?t:Cn(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(e,t)}var ece=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 nce(e){var t=tce();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zue(this,o)}}var bg=function(e){Jue(r,e);var t=nce(r);function r(n){Que(this,r);var o;o=t.call(this,n),Tr(Cn(o),"optionConfig",void 0),Tr(Cn(o),"datasourceBind",void 0),Tr(Cn(o),"options",void 0),Tr(Cn(o),"precision",void 0),Tr(Cn(o),"micrometer",void 0),Tr(Cn(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Nn.controlName;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c:0;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var s;return o.options=et((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]),o}return r}(K);function oB(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 iB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oce(e,t,r){return t&&iB(e.prototype,t),r&&iB(e,r),e}function $r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ts(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ts=Reflect.get:Ts=function(o,i,c){var f=cce(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Ts(e,t,r||e)}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(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&&Og(e,t)}function uce(e,t){return t&&(fce(t)==="object"||typeof t=="function")?t:oB(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(e,t)}function cce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sr(e),e!==null););return e}var fce=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 lce(e){var t=ace();return function(){var n=Sr(e),o;if(t){var i=Sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uce(this,o)}}var Nn=function(e){ice(r,e);var t=lce(r);function r(n){rce(this,r);var o;return o=t.call(this,n),$r(oB(o),"props",void 0),o.props=new bg(n==null?void 0:n.props),o}return oce(r,[{key:"toDataBindModel",value:function(o){var i=Ts(Sr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props,f=c.precision,a=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}]),r}(ne);$r(Nn,"controlType","decimal-column"),$r(Nn,"controlName","\u6570\u503C"),$r(Nn,"controlIcon","decimal-column"),$r(Nn,"controlFieldType",u.FieldTypes.DECIMAL),$r(Nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION,u.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function uB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(e)}function yce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mg(e,t)}function vce(e,t){return t&&(dce(t)==="object"||typeof t=="function")?t:uB(e)}function mg(e,t){return mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mg(e,t)}var dce=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 _ce(e){var t=pce();return function(){var n=$s(e),o;if(t){var i=$s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vce(this,o)}}var Pg=function(e){yce(r,e);var t=_ce(r);function r(n){sce(this,r);var o;return o=t.call(this,n),gg(uB(o),"props",void 0),o.props=new bg(n==null?void 0:n.props),o}return r}(re);gg(Pg,"controlType","decimal-column"),gg(Pg,"controlFieldType",u.FieldTypes.DECIMAL);var cB={Designer:Nn,Runtime:Pg,Property:bg};function fB(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 bce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ss(e)}function 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&&wg(e,t)}function gce(e,t){return t&&(mce(t)==="object"||typeof t=="function")?t:fB(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}var mce=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 wce(e){var t=Pce();return function(){var n=Ss(e),o;if(t){var i=Ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gce(this,o)}}var Rg=function(e){Oce(r,e);var t=wce(r);function r(n){hce(this,r);var o;o=t.call(this,n),bce(fB(o),"dateType",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Bn.controlName,o}return r}(K);function aB(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 lB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tce(e,t,r){return t&&lB(e.prototype,t),r&&lB(e,r),e}function Er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Es(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Es=Reflect.get:Es=function(o,i,c){var f=Ece(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Es(e,t,r||e)}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function $ce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tg(e,t)}function Sce(e,t){return t&&(Ice(t)==="object"||typeof t=="function")?t:aB(e)}function Tg(e,t){return Tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tg(e,t)}function Ece(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}var Ice=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 Nce(e){var t=Cce();return function(){var n=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sce(this,o)}}var Bn=function(e){$ce(r,e);var t=Nce(r);function r(n){Rce(this,r);var o;return o=t.call(this,n),Er(aB(o),"props",void 0),o.props=new Rg(n==null?void 0:n.props),o}return Tce(r,[{key:"toDataBindModel",value:function(o){var i=Es(Ir(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.dateType;i.props.dateType=c}return i}}]),r}(ne);Er(Bn,"controlType","timescope-column"),Er(Bn,"controlName","\u65E5\u671F\u533A\u95F4"),Er(Bn,"controlIcon","timescope-column"),Er(Bn,"controlFieldType",u.FieldTypes.TIMESCOPE),Er(Bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function sB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Is(e)}function Ace(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sg(e,t)}function Mce(e,t){return t&&(Dce(t)==="object"||typeof t=="function")?t:sB(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(e,t)}var Dce=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 jce(e){var t=kce();return function(){var n=Is(e),o;if(t){var i=Is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mce(this,o)}}var Eg=function(e){Ace(r,e);var t=jce(r);function r(n){Bce(this,r);var o;return o=t.call(this,n),$g(sB(o),"props",void 0),o.props=new Rg(n==null?void 0:n.props),o}return r}(re);$g(Eg,"controlType","timescope-column"),$g(Eg,"controlFieldType",u.FieldTypes.TIMESCOPE);var yB={Designer:Bn,Runtime:Eg,Property:Rg};function vB(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 Fce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cs(e)}function xce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ig(e,t)}function Vce(e,t){return t&&(zce(t)==="object"||typeof t=="function")?t:vB(e)}function Ig(e,t){return Ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ig(e,t)}var zce=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=Cs(e),o;if(t){var i=Cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vce(this,o)}}var Cg=function(e){xce(r,e);var t=Gce(r);function r(n){Lce(this,r);var o;o=t.call(this,n),Fce(vB(o),"dateType",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:An.controlName,o}return r}(K);function dB(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 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 qce(e,t,r){return t&&pB(e.prototype,t),r&&pB(e,r),e}function Cr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ns(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ns=Reflect.get:Ns=function(o,i,c){var f=Kce(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},Ns(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(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&&Ng(e,t)}function Wce(e,t){return t&&(Xce(t)==="object"||typeof t=="function")?t:dB(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ng(e,t)}function Kce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}var Xce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Qce();return function(){var n=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wce(this,o)}}var An=function(e){Uce(r,e);var t=Jce(r);function r(n){Hce(this,r);var o;return o=t.call(this,n),Cr(dB(o),"props",void 0),o.props=new Cg(n==null?void 0:n.props),o}return qce(r,[{key:"toDataBindModel",value:function(o){var i=Ns(Nr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.dateType;i.props.dateType=c}return i}}]),r}(ne);Cr(An,"controlType","timestamp-column"),Cr(An,"controlName","\u65E5\u671F"),Cr(An,"controlIcon","timestamp-column"),Cr(An,"controlFieldType",u.FieldTypes.TIMESTAMP),Cr(An,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function _B(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 Bg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bs(e)}function 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&&Ag(e,t)}function tfe(e,t){return t&&(nfe(t)==="object"||typeof t=="function")?t:_B(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ag(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=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tfe(this,o)}}var Mg=function(e){efe(r,e);var t=ofe(r);function r(n){Zce(this,r);var o;return o=t.call(this,n),Bg(_B(o),"props",void 0),o.props=new Cg(n==null?void 0:n.props),o}return r}(re);Bg(Mg,"controlType","timestamp-column"),Bg(Mg,"controlFieldType",u.FieldTypes.TIMESTAMP);var hB={Designer:An,Runtime:Mg,Property:Cg};function As(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ms(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function OB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dg(e,t)}function ife(e,t){return t&&(ufe(t)==="object"||typeof t=="function")?t:As(e)}function Dg(e,t){return Dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dg(e,t)}var ufe=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 gB(e){var t=cfe();return function(){var n=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ife(this,o)}}var ffe=function(e){OB(r,e);var t=gB(r);function r(n){return bB(this,r),t.call(this,n)}return r}(gv),ks=function(e){OB(r,e);var t=gB(r);function r(n){bB(this,r);var o;o=t.call(this,n),Ms(As(o),"optionConfig",void 0),Ms(As(o),"datasourceBind",void 0),Ms(As(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mn.controlName;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;return o.options=et((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(K);Ms(ks,"Rules",ffe);function mB(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 Br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(e)}function lfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kg(e,t)}function sfe(e,t){return t&&(yfe(t)==="object"||typeof t=="function")?t:mB(e)}function kg(e,t){return kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kg(e,t)}var yfe=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 dfe(e){var t=vfe();return function(){var n=js(e),o;if(t){var i=js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sfe(this,o)}}var Mn=function(e){lfe(r,e);var t=dfe(r);function r(n){afe(this,r);var o;return o=t.call(this,n),Br(mB(o),"props",void 0),o.props=new ks(n==null?void 0:n.props),o}return r}(ne);Br(Mn,"controlType","array-column"),Br(Mn,"controlName","\u6570\u7EC4"),Br(Mn,"controlIcon","array-column"),Br(Mn,"controlFieldType",u.FieldTypes.ARRAY),Br(Mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function PB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(e)}function _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&&Lg(e,t)}function hfe(e,t){return t&&(bfe(t)==="object"||typeof t=="function")?t:PB(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}var bfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ofe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gfe(e){var t=Ofe();return function(){var n=Ls(e),o;if(t){var i=Ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hfe(this,o)}}var Fg=function(e){_fe(r,e);var t=gfe(r);function r(n){pfe(this,r);var o;return o=t.call(this,n),jg(PB(o),"props",void 0),o.props=new ks(n==null?void 0:n.props),o}return r}(re);jg(Fg,"controlType","array-column"),jg(Fg,"controlFieldType",u.FieldTypes.ARRAY);var wB={Designer:Mn,Runtime:Fg,Property:ks};function RB(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 Pfe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function wfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xg(e,t)}function Rfe(e,t){return t&&(Tfe(t)==="object"||typeof t=="function")?t:RB(e)}function xg(e,t){return xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xg(e,t)}var Tfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $fe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$fe();return function(){var n=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rfe(this,o)}}var Vg=function(e){wfe(r,e);var t=Sfe(r);function r(n){mfe(this,r);var o;o=t.call(this,n),Pfe(RB(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Dn.controlName;var c;return o.displayLevel=(c=n==null?void 0:n.displayLevel)!==null&&c!==void 0?c:1,o}return r}(K);function TB(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 $B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ife(e,t,r){return t&&$B(e.prototype,t),r&&$B(e,r),e}function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xs(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?xs=Reflect.get:xs=function(o,i,c){var f=Bfe(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},xs(e,t,r||e)}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(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&&zg(e,t)}function Nfe(e,t){return t&&(Afe(t)==="object"||typeof t=="function")?t:TB(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}function Bfe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mr(e),e!==null););return e}var Afe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dfe(e){var t=Mfe();return function(){var n=Mr(e),o;if(t){var i=Mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nfe(this,o)}}var Dn=function(e){Cfe(r,e);var t=Dfe(r);function r(n){Efe(this,r);var o;return o=t.call(this,n),Ar(TB(o),"props",void 0),o.props=new Vg(n==null?void 0:n.props),o}return Ife(r,[{key:"toDataBindModel",value:function(o){var i=xs(Mr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.displayLevel;i.props.displayLevel=c}return i}}]),r}(ne);Ar(Dn,"controlType","department-column"),Ar(Dn,"controlName","\u90E8\u95E8"),Ar(Dn,"controlIcon","department-column"),Ar(Dn,"controlFieldType",u.FieldTypes.DEPARTMENTS),Ar(Dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function SB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(e)}function 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&&Gg(e,t)}function Lfe(e,t){return t&&(Ffe(t)==="object"||typeof t=="function")?t:SB(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gg(e,t)}var Ffe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vfe(e){var t=xfe();return function(){var n=Vs(e),o;if(t){var i=Vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lfe(this,o)}}var Hg=function(e){jfe(r,e);var t=Vfe(r);function r(n){kfe(this,r);var o;return o=t.call(this,n),Yg(SB(o),"props",void 0),o.props=new Vg(n==null?void 0:n.props),o}return r}(re);Yg(Hg,"controlType","department-column"),Yg(Hg,"controlFieldType",u.FieldTypes.DEPARTMENTS);var EB={Designer:Dn,Runtime:Hg,Property:Vg};function zfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zs(e){return zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zs(e)}function Gfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qg(e,t)}function Hfe(e,t){return t&&(qfe(t)==="object"||typeof t=="function")?t:zfe(e)}function qg(e,t){return qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qg(e,t)}var qfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ufe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wfe(e){var t=Ufe();return function(){var n=zs(e),o;if(t){var i=zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hfe(this,o)}}var Ug=function(e){Gfe(r,e);var t=Wfe(r);function r(n){Yfe(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:kn.controlName,o}return r}(K);function IB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ys(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&&Wg(e,t)}function Qfe(e,t){return t&&(Jfe(t)==="object"||typeof t=="function")?t:IB(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wg(e,t)}var Jfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eae(e){var t=Zfe();return function(){var n=Ys(e),o;if(t){var i=Ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qfe(this,o)}}var kn=function(e){Xfe(r,e);var t=eae(r);function r(n){Kfe(this,r);var o;return o=t.call(this,n),Dr(IB(o),"props",void 0),o.props=new Ug(n==null?void 0:n.props),o}return r}(ne);Dr(kn,"controlType","auto-number-column"),Dr(kn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Dr(kn,"controlIcon","auto-number-column"),Dr(kn,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Dr(kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function CB(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 Kg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gs(e)}function 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&&Xg(e,t)}function rae(e,t){return t&&(oae(t)==="object"||typeof t=="function")?t:CB(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xg(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=Gs(e),o;if(t){var i=Gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rae(this,o)}}var Qg=function(e){nae(r,e);var t=uae(r);function r(n){tae(this,r);var o;return o=t.call(this,n),Kg(CB(o),"props",void 0),o.props=new Ug(n==null?void 0:n.props),o}return r}(re);Kg(Qg,"controlType","auto-number-column"),Kg(Qg,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var NB={Designer:kn,Runtime:Qg,Property:Ug};function cae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(e)}function aae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jg(e,t)}function lae(e,t){return t&&(sae(t)==="object"||typeof t=="function")?t:cae(e)}function Jg(e,t){return Jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jg(e,t)}var sae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vae(e){var t=yae();return function(){var n=Hs(e),o;if(t){var i=Hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lae(this,o)}}var Zg=function(e){aae(r,e);var t=vae(r);function r(n){fae(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:jn.controlName,o}return r}(K);function BB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(e)}function pae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&em(e,t)}function _ae(e,t){return t&&(hae(t)==="object"||typeof t=="function")?t:BB(e)}function em(e,t){return em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},em(e,t)}var hae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oae(e){var t=bae();return function(){var n=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ae(this,o)}}var jn=function(e){pae(r,e);var t=Oae(r);function r(n){dae(this,r);var o;return o=t.call(this,n),kr(BB(o),"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return r}(ne);kr(jn,"controlType","file-column"),kr(jn,"controlName","\u9644\u4EF6"),kr(jn,"controlIcon","file-column"),kr(jn,"controlFieldType",u.FieldTypes.FILE),kr(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function AB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Us(e)}function mae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nm(e,t)}function Pae(e,t){return t&&(wae(t)==="object"||typeof t=="function")?t:AB(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nm(e,t)}var wae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tae(e){var t=Rae();return function(){var n=Us(e),o;if(t){var i=Us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pae(this,o)}}var rm=function(e){mae(r,e);var t=Tae(r);function r(n){gae(this,r);var o;return o=t.call(this,n),tm(AB(o),"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return r}(re);tm(rm,"controlType","file-column"),tm(rm,"controlFieldType",u.FieldTypes.FILE);var MB={Designer:jn,Runtime:rm,Property:Zg};function $ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function Eae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&om(e,t)}function Iae(e,t){return t&&(Cae(t)==="object"||typeof t=="function")?t:$ae(e)}function om(e,t){return om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},om(e,t)}var Cae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bae(e){var t=Nae();return function(){var n=Ws(e),o;if(t){var i=Ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iae(this,o)}}var im=function(e){Eae(r,e);var t=Bae(r);function r(n){Sae(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ln.controlName,o}return r}(K);function DB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ks(e)}function Mae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&um(e,t)}function Dae(e,t){return t&&(kae(t)==="object"||typeof t=="function")?t:DB(e)}function um(e,t){return um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},um(e,t)}var kae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lae(e){var t=jae();return function(){var n=Ks(e),o;if(t){var i=Ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dae(this,o)}}var Ln=function(e){Mae(r,e);var t=Lae(r);function r(n){Aae(this,r);var o;return o=t.call(this,n),jr(DB(o),"props",void 0),o.props=new im(n==null?void 0:n.props),o}return r}(ne);jr(Ln,"controlType","image-column"),jr(Ln,"controlName","\u56FE\u7247"),jr(Ln,"controlIcon","image-column"),jr(Ln,"controlFieldType",u.FieldTypes.IMAGE),jr(Ln,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function kB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(e)}function xae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fm(e,t)}function Vae(e,t){return t&&(zae(t)==="object"||typeof t=="function")?t:kB(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}var zae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gae(e){var t=Yae();return function(){var n=Xs(e),o;if(t){var i=Xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vae(this,o)}}var am=function(e){xae(r,e);var t=Gae(r);function r(n){Fae(this,r);var o;return o=t.call(this,n),cm(kB(o),"props",void 0),o.props=new im(n==null?void 0:n.props),o}return r}(re);cm(am,"controlType","image-column"),cm(am,"controlFieldType",u.FieldTypes.IMAGE);var jB={Designer:Ln,Runtime:am,Property:im};function Hae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qs(e)}function Uae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lm(e,t)}function Wae(e,t){return t&&(Kae(t)==="object"||typeof t=="function")?t:Hae(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lm(e,t)}var Kae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qae(e){var t=Xae();return function(){var n=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wae(this,o)}}var sm=function(e){Uae(r,e);var t=Qae(r);function r(n){qae(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fn.controlName,o}return r}(K);function LB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Js(e){return Js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Js(e)}function Zae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ym(e,t)}function ele(e,t){return t&&(tle(t)==="object"||typeof t=="function")?t:LB(e)}function ym(e,t){return ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ym(e,t)}var tle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rle(e){var t=nle();return function(){var n=Js(e),o;if(t){var i=Js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ele(this,o)}}var Fn=function(e){Zae(r,e);var t=rle(r);function r(n){Jae(this,r);var o;return o=t.call(this,n),Lr(LB(o),"props",void 0),o.props=new sm(n==null?void 0:n.props),o}return r}(ne);Lr(Fn,"controlType","people-column"),Lr(Fn,"controlName","\u4EBA\u5458"),Lr(Fn,"controlIcon","people-column"),Lr(Fn,"controlFieldType",u.FieldTypes.EMPLOYEES),Lr(Fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function FB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ole(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zs(e)}function ile(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dm(e,t)}function ule(e,t){return t&&(cle(t)==="object"||typeof t=="function")?t:FB(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}var cle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ale(e){var t=fle();return function(){var n=Zs(e),o;if(t){var i=Zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ule(this,o)}}var pm=function(e){ile(r,e);var t=ale(r);function r(n){ole(this,r);var o;return o=t.call(this,n),vm(FB(o),"props",void 0),o.props=new sm(n==null?void 0:n.props),o}return r}(re);vm(pm,"controlType","people-column"),vm(pm,"controlFieldType",u.FieldTypes.EMPLOYEES);var xB={Designer:Fn,Runtime:pm,Property:sm};function lle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function yle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vle(e,t){return t&&(dle(t)==="object"||typeof t=="function")?t:lle(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}var dle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ple(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _le(e){var t=ple();return function(){var n=ey(e),o;if(t){var i=ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vle(this,o)}}var hm=function(e){yle(r,e);var t=_le(r);function r(n){sle(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xn.controlName,o}return r}(K);function VB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function ble(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bm(e,t)}function Ole(e,t){return t&&(gle(t)==="object"||typeof t=="function")?t:VB(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(e,t)}var gle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ple(e){var t=mle();return function(){var n=ty(e),o;if(t){var i=ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ole(this,o)}}var xn=function(e){ble(r,e);var t=Ple(r);function r(n){hle(this,r);var o;return o=t.call(this,n),Fr(VB(o),"props",void 0),o.props=new hm(n==null?void 0:n.props),o}return r}(ne);Fr(xn,"controlType","location-column"),Fr(xn,"controlName","\u5730\u5740"),Fr(xn,"controlIcon","location-column"),Fr(xn,"controlFieldType",u.FieldTypes.ADDRESS),Fr(xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function zB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ny(e)}function Rle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gm(e,t)}function Tle(e,t){return t&&($le(t)==="object"||typeof t=="function")?t:zB(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}var $le=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ele(e){var t=Sle();return function(){var n=ny(e),o;if(t){var i=ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tle(this,o)}}var mm=function(e){Rle(r,e);var t=Ele(r);function r(n){wle(this,r);var o;return o=t.call(this,n),Om(zB(o),"props",void 0),o.props=new hm(n==null?void 0:n.props),o}return r}(re);Om(mm,"controlType","location-column"),Om(mm,"controlFieldType",u.FieldTypes.ADDRESS);var YB={Designer:xn,Runtime:mm,Property:hm};function GB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ile(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cle(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(e)}function Nle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pm(e,t)}function Ble(e,t){return t&&(Ale(t)==="object"||typeof t=="function")?t:GB(e)}function Pm(e,t){return Pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pm(e,t)}var Ale=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dle(e){var t=Mle();return function(){var n=ry(e),o;if(t){var i=ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ble(this,o)}}var wm=function(e){Nle(r,e);var t=Dle(r);function r(n){Ile(this,r);var o;o=t.call(this,n),Cle(GB(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:tn.controlName;var c;return o.fieldCodeList=(c=n==null?void 0:n.fieldCodeList)!==null&&c!==void 0?c:[],o}return r}(K);function xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kle(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 jle(e,t,r){return t&&HB(e.prototype,t),r&&HB(e,r),e}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ui(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ui=Reflect.get:ui=function(o,i,c){var f=Gle(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(c):a.value}},ui(e,t,r||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(e)}function Lle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rm(e,t)}function Fle(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function xle(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ze(e,o,r[o])})}return e}function Vle(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function zle(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Vle(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Yle(e,t){return t&&(Hle(t)==="object"||typeof t=="function")?t:xr(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rm(e,t)}function Gle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}var Hle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ule(e){var t=qle();return function(){var n=Vn(e),o;if(t){var i=Vn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yle(this,o)}}var Wle=1,tn=function(t){Lle(n,t);var r=Ule(n);function n(o){kle(this,n);var i;i=r.call(this,o),Ze(xr(i),"excludes",void 0),Ze(xr(i),"childrenMaxLength",void 0),Ze(xr(i),"props",void 0),Ze(xr(i),"children",void 0);var c=Fle(this,n)?this.constructor:void 0,f=c.excludes,a=c.childrenMaxLength;return i.props=new wm(o==null?void 0:o.props),nt(xr(i),"children",o==null?void 0:o.children),i.excludes=dt(f),i.childrenMaxLength=a,i}return jle(n,[{key:"judgeJoinChildren",value:function(i){var c=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return c&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var c=ui(Vn(n.prototype),"toDataBindModel",this).call(this,i);if(c){var f=this.props.fieldCodeList;c.props.fieldCodeList=f}return c}},{key:"toSchema",value:function(){var i=ui(Vn(n.prototype),"toSchema",this).call(this);return zle(xle({},i),{children:this.children.map(function(c){return c.toSchema()})})}}]),n}(ne);Ze(tn,"controlType","custom-column"),Ze(tn,"controlName","\u81EA\u5B9A\u4E49"),Ze(tn,"controlIcon","custom-column"),Ze(tn,"excludes",[]),Ze(tn,"childrenMaxLength",Wle),Ze(tn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function oy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(e)}function Xle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qle(e,t){return t&&(Jle(t)==="object"||typeof t=="function")?t:oy(e)}function $m(e,t){return $m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$m(e,t)}var Jle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ese(e){var t=Zle();return function(){var n=iy(e),o;if(t){var i=iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qle(this,o)}}var qB=function(e){Xle(r,e);var t=ese(r);function r(n){Kle(this,r);var o;return o=t.call(this,n),Tm(oy(o),"props",void 0),Tm(oy(o),"children",void 0),o.props=new wm(n==null?void 0:n.props),nt(oy(o),"children",n==null?void 0:n.children),o}return r}(re);Tm(qB,"controlType","custom-column");var UB={Designer:tn,Runtime:qB,Property:wm};function WB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nse(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uy(e){return uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uy(e)}function rse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sm(e,t)}function ose(e,t){return t&&(ise(t)==="object"||typeof t=="function")?t:WB(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(e,t)}var ise=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function use(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cse(e){var t=use();return function(){var n=uy(e),o;if(t){var i=uy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ose(this,o)}}var Em=function(e){rse(r,e);var t=cse(r);function r(n){tse(this,r);var o;o=t.call(this,n),nse(WB(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:nn.controlName;var c;return o.datasourceBind=new Kr((c=n==null?void 0:n.datasourceBind)!==null&&c!==void 0?c:{attributes:nn.controlCustomAttributes}),o}return r}(K);function KB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ase(e,t,r){return t&&XB(e.prototype,t),r&&XB(e,r),e}function Vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function lse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Im(e,t)}function sse(e,t){return t&&(yse(t)==="object"||typeof t=="function")?t:KB(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}var yse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dse(e){var t=vse();return function(){var n=cy(e),o;if(t){var i=cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sse(this,o)}}var nn=function(e){lse(r,e);var t=dse(r);function r(n){fse(this,r);var o;return o=t.call(this,n),Vr(KB(o),"props",void 0),o.props=new Em(n==null?void 0:n.props),o}return ase(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ne);Vr(nn,"controlType","employee-column"),Vr(nn,"controlName","\u4EBA\u5458"),Vr(nn,"controlIcon","employee-column"),Vr(nn,"controlFieldType",u.FieldTypes.EMPLOYEES),Vr(nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function QB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fy(e){return fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fy(e)}function _se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nm(e,t)}function hse(e,t){return t&&(bse(t)==="object"||typeof t=="function")?t:QB(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nm(e,t)}var bse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ose(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gse(e){var t=Ose();return function(){var n=fy(e),o;if(t){var i=fy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hse(this,o)}}var Bm=function(e){_se(r,e);var t=gse(r);function r(n){pse(this,r);var o;return o=t.call(this,n),Cm(QB(o),"props",void 0),o.props=new Em(n==null?void 0:n.props),o}return r}(re);Cm(Bm,"controlType","employee-column"),Cm(Bm,"controlFieldType",u.FieldTypes.EMPLOYEES);var JB={Designer:nn,Runtime:Bm,Property:Em},mse=Object.freeze({__proto__:null,VarcharColumn:JN,TextColumn:rB,DecimalColumn:cB,TimescopeColumn:yB,TimestampColumn:hB,ArrayColumn:wB,DepartmentColumn:EB,AutoNumberColumn:NB,FileColumn:MB,ImageColumn:jB,PeopleColumn:xB,LocationColumn:YB,CustomColumn:UB,OrderColumn:jN,OperationColumn:VN,EmployeeColumn:JB});function Nt(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 Bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(e)}function e1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Am(e,t)}function Pse(e,t){return t&&(wse(t)==="object"||typeof t=="function")?t:Nt(e)}function Am(e,t){return Am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Am(e,t)}var wse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t1(e){var t=Rse();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pse(this,o)}}var Tse=function(e){e1(r,e);var t=t1(r);function r(n){ZB(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Dt),ly=function(e){e1(r,e);var t=t1(r);function r(n){ZB(this,r);var o;o=t.call(this,n),Bt(Nt(o),"search",void 0),Bt(Nt(o),"cancel",void 0),Bt(Nt(o),"searchType",void 0),Bt(Nt(o),"labelPosition",void 0),Bt(Nt(o),"viewType",void 0),Bt(Nt(o),"isLoading",void 0),Bt(Nt(o),"custom",void 0),Bt(Nt(o),"queryTypeMap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;o.viewType=(f=n==null?void 0:n.viewType)!==null&&f!==void 0?f:"mini";var a;o.search=new pt((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new pt((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(_){return new pt(_)});var v;return o.queryTypeMap=(v=n==null?void 0:n.queryTypeMap)!==null&&v!==void 0?v:[],o}return r}(Yi);Bt(ly,"RuntimeRules",Tse);function n1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sy(e){return sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sy(e)}function Sse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dm(e,t)}function Ese(e,t){return t&&(Ise(t)==="object"||typeof t=="function")?t:n1(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(e,t)}var Ise=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nse(e){var t=Cse();return function(){var n=sy(e),o;if(t){var i=sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ese(this,o)}}var km=function(e){Sse(r,e);var t=Nse(r);function r(n){$se(this,r);var o;return o=t.call(this,n),Mm(n1(o),"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return r}(RP);Mm(km,"controlType","simple-search"),Mm(km,"setting",[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function jm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yy(e){return yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yy(e)}function Ase(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function Mse(e,t){return t&&(Dse(t)==="object"||typeof t=="function")?t:jm(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}var Dse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jse(e){var t=kse();return function(){var n=yy(e),o;if(t){var i=yy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mse(this,o)}}var r1=function(e){Ase(r,e);var t=jse(r);function r(n){Bse(this,r);var o;o=t.call(this,n),Lm(jm(o),"props",void 0),Lm(jm(o),"children",void 0),o.props=new ly(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}($P);Lm(r1,"controlType","simple-search");var o1={Designer:km,Runtime:r1,Property:ly},Lse=Object.freeze({__proto__:null,SimpleSearch:o1});function xm(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Fse(e){if(Array.isArray(e))return e}function xse(e){if(Array.isArray(e))return xm(e)}function Vse(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zse(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,c,f;try{for(r=r.call(e);!(o=(c=r.next()).done)&&(n.push(c.value),!(t&&n.length===t));o=!0);}catch(a){i=!0,f=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw f}}return n}}function Yse(){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 Gse(){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 Hse(e,t){return Fse(e)||zse(e,t)||u1(e,t)||Yse()}function i1(e){return xse(e)||Vse(e)||u1(e)||Gse()}function u1(e,t){if(!!e){if(typeof e=="string")return xm(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xm(e,t)}}var qse=function(e,t){var r=Array.isArray(e),n=r?e:[e];oye(t==null?void 0:t.events),Jse(n),Zse(n);var o=Qse(n),i=eye(o,t),c=an(Pe(i,function(f){return Xse(f,t)}));return r?c:c[0]},Use=[u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT,u.CONTROL_TYPE.TITLE,u.CONTROL_TYPE.LINK,u.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],Wse=["subtable","grid-table"],Kse=["simple-search"];function Xse(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":Use.includes(i.type)?i.controlType="base":i.controlType="form",Wse.includes(i.type)&&(i.controlType="list"),Kse.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),ye(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),ye(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),ye(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var c;i.type="attachment",i.props.attachmentAccept=(c=e.attachment_format)===null||c===void 0?void 0:c.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var f;i.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(ye(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ye(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var a,l=i.props.entry_type||i.props.entryType;i.props.openType=l==="subpage"?"modal":"default",((a=i.children[0])===null||a===void 0?void 0:a.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(T,E){var L=new zb.Designer;L.props.caption=ye(T.field_name)?T.field_name.zh:T.field_name;var Me=L.toSchema();Me.id=T.header_id;var le=i.children[0].children[E].children[0];return le&&(Me.children=[le]),Me}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function(T){T.label=ye(T.text)?T.text.zh:T.text,T.id=T.id||T.opt_id||T.optId||T.data_id}),i=e),e.type==="grid-row"){var y=24/i.children.length;i.children=i.children.map(function(T){var E=new Ka.Designer;E.props.span=y;var L=E.toSchema();return L.children.push(T),L})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var v=i==null?void 0:i.children[0],_=i==null?void 0:i.children[1],O={};v&&(c1(i,t),O.result=v.props.data_bind,i.id=v.id,i.props=v.props,i.props.script_src=v.props.script_src,i.props.script_echo=v.props.script_echo,i.props.precision=v.props.precision,i.props.micrometer=v.props.is_show_money,i.props.showUpperCase=v.props.is_show_chn),_&&(O.unit=_.props.data_bind,i.props.default_value={unit:_.props.value}),i.props.dataBind=O,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var b=i==null?void 0:i.children[0],g=i==null?void 0:i.children[1],d={},m={};b&&(c1(i,t),i.id=b.id,d.amount=b.props.data_bind,i.props.range_min=fn(b.props.range_min),i.props.range_max=fn(b.props.range_max),m.amount=fn(b.props.value),i.props.required=b.props.required,i.props.is_hide=b.props.is_hide,i.props.default_state=b.props.default_state,i.props.caption=ye(b.props.caption)?b.props.caption.zh:b.props.caption,i.props.is_hide_caption=b.props.is_hide_caption,i.props.showUpperCase=b.props.is_show_chn),g&&(d.currency=g.props.data_bind,m.currency=g.props.value,i.props.datasourceBind=g.props.datasource_bind,i.props.options=g.props.options.map(function(T){return{label:T.text,value:T.value}})),i.props.dataBind=d,i.props.defaultValue=m,delete i.children}if(e.type==="date-range"){i.controlType="form";var w=i==null?void 0:i.children[0],P=i==null?void 0:i.children[1];i.props.placeholderStart=ye(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=ye(e.props.caption)?e.props.caption.zh:e.props.caption;var S={};w&&(S.min=w.props.data_bind),P&&(S.max=P.props.data_bind),i.props.dataBind=S,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=ye(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=fn(e.props.range_min),i.props.range_max=fn(e.props.range_max),i.props.defaultValue=fn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),iye(i,t==null?void 0:t.control_events),i}function c1(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,c=e.id,f=e.children[0].id;n.forEach(function(a){a.id===c&&(a.id=f);var l=a.show_controls.findIndex(function(y){return y===c}),s=a.hide_controls.findIndex(function(y){return y===c});l>-1&&a.show_controls.splice(l,1,f),s>-1&&a.hide_controls.splice(s,1,f)}),i.forEach(function(a){a.ctrl_id===c&&(a.id=f)})}}function Qse(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new gO.Designer,n=r.toSchema();return n.children=e,[n]}function Jse(e){e.forEach(function(t){t.children&&rye(t.children)})}function Zse(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,c=r[n],f=(o=r[n])===null||o===void 0||(i=o.children)===null||i===void 0?void 0:i[0];c.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&r.splice(n,1,f)}})}function eye(e,t){var r,n,o,i,c;if(!(Array.isArray(e)&&e.length===1))return e;var f=e[0];if(f.type!=="list-page")return e;var a=f.props,l=f.children,s=Hse(l,3),y=s[0],v=s[1],_=s[2];tye(y),_.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,nye(_,v);var O,b=(O=a==null||(n=a.source_config)===null||n===void 0?void 0:n.data_code)!==null&&O!==void 0?O:t==null?void 0:t.dataCode,g,d=((g=a==null||(o=a.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&g!==void 0?g:b)?"".concat(b,"_selectMore"):void 0,m,w=(m=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&m!==void 0?m:[],P=new _O.Designer;P.props.datasourceBind=new J({dataCode:b,svcCode:d,orders:c0(w)}),P.props.isShowSubList=a.is_show_sublist,P.props.triggerType=a.timing_type,P.props.triggerFieldCode=a.ctrl_field_code,a==null||(c=a.sublist_page)===null||c===void 0||c.sublists.forEach(function(T){T.title=ye(T.title)?T.title.zh:T.title}),P.props.sublistPage=a.sublist_page;var S=P.toSchema();return S.children.push(y,_),[S]}function tye(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=ye(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 nye(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:ye(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=ye(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var c;n.props.edit=(c=r.edit)!==null&&c!==void 0?c:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new J({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function rye(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 oye(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 iye(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var c;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(c=t[e.id][i]).push.apply(c,i1(e.props.events[i].map(function(f){return f.name}))))}),!((r=t[e.id])===null||r===void 0)&&r.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,i1(t[e.id].on_blur))}}}var uye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=an(Pe(n,function(i){return cye(i)}));return r?o:o[0]};function cye(e,t){if(e.type===u.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===u.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new ke({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var fye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=an(Pe(n,function(i){return aye(i)}));return r?o:o[0]};function aye(e,t){return[u.CONTROL_TYPE.BUTTON,u.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,u.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,u.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_LIST_BUTTON,u.CONTROL_TYPE.FORM_SELECT_BUTTON,u.CONTROL_TYPE.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===u.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var lye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=an(Pe(n,function(i){return sye(i)}));return r?o:o[0]};function sye(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 yye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=an(Pe(n,function(i){return dye(i)}));return r?o:o[0]},vye=[u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.CARD_GROUP];function dye(e,t){return e.type===u.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(vye.includes(r.type))return r;var n=new Ab.Designer,o=new Ka.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var pye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=an(Pe(n,function(i){return _ye(i)}));return r?o:o[0]};function _ye(e,t){return e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var hye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Pe(n,function(i){return bye(i)});return r?o:o[0]};function bye(e,t){return e.type===u.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Oye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Pe(n,function(i){return gye(i)});return r?o:o[0]};function rn(e,t){e.field_code&&(e.field_type=t)}function gye(e,t){var r,n=(r={},Y(r,u.CONTROL_TYPE.TITLE,u.FieldTypes.AUTO_NUMBER),Y(r,u.CONTROL_TYPE.ADDRESS,u.FieldTypes.ADDRESS),Y(r,u.CONTROL_TYPE.ATTACHMENT,u.FieldTypes.FILE),Y(r,u.CONTROL_TYPE.AUTO_NUMBER,u.FieldTypes.AUTO_NUMBER),Y(r,u.CONTROL_TYPE.CHECKBOX,u.FieldTypes.ARRAY),Y(r,u.CONTROL_TYPE.DATE_PICKER,u.FieldTypes.TIMESTAMP),Y(r,u.CONTROL_TYPE.DEPARTMENT,u.FieldTypes.DEPARTMENTS),Y(r,u.CONTROL_TYPE.EMPLOYEE,u.FieldTypes.EMPLOYEES),Y(r,u.CONTROL_TYPE.EMPLOYEE2,u.FieldTypes.EMPLOYEES),Y(r,u.CONTROL_TYPE.IMAGE,u.FieldTypes.IMAGE),Y(r,u.CONTROL_TYPE.INPUT,u.FieldTypes.VARCHAR),Y(r,u.CONTROL_TYPE.NUMBER,u.FieldTypes.DECIMAL),Y(r,u.CONTROL_TYPE.RADIO,u.FieldTypes.VARCHAR),Y(r,u.CONTROL_TYPE.RICH_TEXT,u.FieldTypes.TEXT),Y(r,u.CONTROL_TYPE.SCORE,u.FieldTypes.DECIMAL),Y(r,u.CONTROL_TYPE.SELECT,u.FieldTypes.VARCHAR),Y(r,u.CONTROL_TYPE.SELECT_MULTIPLE,u.FieldTypes.ARRAY),Y(r,u.CONTROL_TYPE.SELECT_RELATION,u.FieldTypes.VARCHAR),Y(r,u.CONTROL_TYPE.TEXTAREA,u.FieldTypes.TEXT),Y(r,u.CONTROL_TYPE.TREE,u.FieldTypes.ARRAY),Y(r,u.CONTROL_TYPE.SEARCH_DATE_RANGE,u.FieldTypes.ARRAY),Y(r,u.CONTROL_TYPE.SEARCH_INPUT,u.FieldTypes.VARCHAR),Y(r,u.CONTROL_TYPE.SEARCH_NUMBER_RANGE,u.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&rn(e.props.data_bind,n[e.type]),e.type===u.CONTROL_TYPE.AMOUNT&&(rn(e.props.data_bind.amount,u.FieldTypes.DECIMAL),rn(e.props.data_bind.currency,u.FieldTypes.VARCHAR)),e.type===u.CONTROL_TYPE.CALC&&(rn(e.props.data_bind.result,u.FieldTypes.DECIMAL),rn(e.props.data_bind.unit,u.FieldTypes.VARCHAR)),e.type===u.CONTROL_TYPE.DATE_RANGE&&(rn(e.props.data_bind.min,u.FieldTypes.TIMESTAMP),rn(e.props.data_bind.max,u.FieldTypes.TIMESTAMP)),e.type===u.CONTROL_TYPE.VUE_FORM_ITEM){var o;rn(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:u.FieldTypes.ANY)}return e}var mye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Pe(n,function(i){return Pye(i)});return r?o:o[0]};function Pye(e,t){return e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var wye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Pe(n,function(i){return Rye(i)});return r?o:o[0]};function Rye(e,t){return e.type===u.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[u.FieldTypes.VARCHAR,u.FieldTypes.TEXT,u.FieldTypes.AUTO_NUMBER].includes((n=r.props)===null||n===void 0||(o=n.data_bind)===null||o===void 0?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Tye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Pe(n,function(i){return $ye(i)});return r?o:o[0]};function $ye(e,t){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Sye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Pe(n,function(i){return Eye(i)});return r?o:o[0]};function Eye(e,t){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Iye=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Pe(n,function(i){return Cye(i)});return r?o:o[0]};function Cye(e,t){return e.type===u.CONTROL_TYPE.TITLE&&e.props.config.push(u.TitleConfigEnum.ShowTitle),e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===u.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var c;if(r.children=(c=r==null?void 0:r.children)!==null&&c!==void 0?c:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var f,a,l,s,y,v,_=new bo.Designer;Object.defineProperty(_,"id",{value:"listPageCheckBtnId"}),_.props.code="view",_.props.icon="iconliulan1",_.props.command="view",_.props.content=(f=r.props)===null||f===void 0?void 0:f.check.content,_.props.priorityProcess=(a=r.props)===null||a===void 0?void 0:a.check.priority_process,_.props.openType=(l=r.props)===null||l===void 0?void 0:l.check.open_type,_.props.formKey=(s=r.props)===null||s===void 0?void 0:s.check.form_key,!((y=r.props)===null||y===void 0)&&y.check.is_show&&r.children.push(_.toSchema()),(v=r.props)===null||v===void 0||delete v.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var O,b,g,d,m,w,P=new bo.Designer;Object.defineProperty(P,"id",{value:"listPageEditBtnId"}),P.props.code="edit",P.props.icon="iconbianji1",P.props.command="edit",P.props.content=(O=r.props)===null||O===void 0?void 0:O.edit.content,P.props.priorityProcess=(b=r.props)===null||b===void 0?void 0:b.edit.priority_process,P.props.openType=(g=r.props)===null||g===void 0?void 0:g.edit.open_type,P.props.formKey=(d=r.props)===null||d===void 0?void 0:d.edit.form_key,!((m=r.props)===null||m===void 0)&&m.edit.is_show&&r.children.push(P.toSchema()),(w=r.props)===null||w===void 0||delete w.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var S,T,E,L,Me,le,se=new bo.Designer;Object.defineProperty(se,"id",{value:"listPageDeleteBtnId"}),se.props.code="delete",se.props.icon="iconlajitong",se.props.command="delete",se.props.content=(S=r.props)===null||S===void 0?void 0:S.delete.content,se.props.priorityProcess=(T=r.props)===null||T===void 0?void 0:T.delete.priority_process,se.props.openType=(E=r.props)===null||E===void 0?void 0:E.delete.open_type,se.props.formKey=(L=r.props)===null||L===void 0?void 0:L.delete.form_key,se.props.needConfirm=!0,se.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((Me=r.props)===null||Me===void 0)&&Me.delete.is_show&&r.children.push(se.toSchema()),(le=r.props)===null||le===void 0||delete le.delete}}}),[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var f1={"v1.0":qse,"v2.0":uye,"v2.1":fye,"v2.2":lye,"v2.3":yye,"v2.4":pye,"v2.5":hye,"v2.6":Oye,"v2.7":mye,"v2.8":wye,"v2.9":Tye,"v2.10":Sye,"v3.0":Iye,"v3.1":function(){}};const a1=(e,t)=>{const r=l1(e),n=l1(t),o=r.pop(),i=n.pop(),c=v1(r,n);return c!==0?c:o&&i?v1(o.split("."),i.split(".")):o||i?o?-1:1:0},vy=(e,t,r)=>{Mye(r);const n=a1(e,t);return d1[r].includes(n)},Nye=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,l1=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Nye);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},s1=e=>e==="*"||e==="x"||e==="X",y1=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Bye=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Aye=(e,t)=>{if(s1(e)||s1(t))return 0;const[r,n]=Bye(y1(e),y1(t));return r>n?1:r<n?-1:0},v1=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Aye(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},d1={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},p1=Object.keys(d1),Mye=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(p1.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${p1.join("|")}`)};function Dye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kye(e,t,r){return t&&_1(e.prototype,t),r&&_1(e,r),e}function h1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vm(e){return e.replace(/^v/,"")}var zr=Object.keys(f1).map(function(e){return Vm(e)}).sort(a1),ci=zr[zr.length-1],jye=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ci;Dye(this,e),h1(this,"toVersion",void 0),h1(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,vy(r,ci,">")?Mt("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(ci)):(!zr.includes(Vm(r))||!zr.includes(Vm(t)))&&Mt("Version Builder: Please give me a valid version number, The valid version is: ".concat(zr.join(","),", But give me a ").concat(t))}return kye(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(vy(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(c,f,a,l){var s,y=(s=l[a+1])!==null&&s!==void 0?s:o.toVersion;Wr("Version Builder: current version: ".concat(f,", nextVersion: ").concat(y));var v=f1[f],_=c;if(typeof v=="function"){var O=v(c,n);O&&(_=O)}return _},r);return Wr("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return zr.filter(function(n){return vy(n,r.schemaVersion,">=")&&vy(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return ci}}],[{key:"version",get:function(){return ci}}]),e}();const dy=[],zm={exports:{}};let Ym=!1;const Lye=window.module,Fye=window.exports,xye=window.require;function Vye(e){return Ym||(window.module=zm,window.exports=zm.exports,window.require=function(t){return e[t]},Ym=!0),function(){window.module=Lye,window.exports=Fye,window.require=xye,Ym=!1}}function zye(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),c=Vye(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const a=dy.findIndex(l=>l===r);dy.splice(a,1),dy.length===0&&c()};i.onerror=function(a){f(),o(a)},i.onload=function(){n(zm.exports),f()},document.head.appendChild(i)});return dy.push(r),r}function Gm(e){return fetch(e,{mode:"cors",cache:"no-cache",credentials:"same-origin"}).then(t=>{if(t.ok===!1)throw"not found resource:"+e;return t.text()})}function b1(e,t,r={fetch:Gm}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const c={exports:{}};new Function("module","exports","require",i)(c,c.exports,function(f){return t[f]}),n(c.exports)}).catch(i=>{o(i)})})}function py(e,t){return b1(e,t)}function Yye(e,t){return fi(this,null,function*(){return yield Promise.all(e.map(r=>py(r,t)))})}function _y(e,t,r){let n;t==="runtime"?n=class extends W{constructor(a){super(a),this.props={}}static get controlType(){return e}}:n=class extends k{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends U{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:f=>f}}function Gye(e,t,r,n){return fi(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>fi(this,null,function*(){let c=!0,f;try{c=!0;let a="";n.type==="runtime"?a=i.runtime:a=i.designer,a+="?v="+i.version,f=yield py(a,r)}catch(a){c=!1,un("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,a),f=_y(i.id,n.type,n.tipMessage)}if(c){let a="";if(n.type==="runtime"&&i.runtimecss!==void 0){const l=new RegExp(i.id+"-runtime-.*?$");a=i.runtime.replace(l,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const l=new RegExp(i.id+"-designer-.*?$");a=i.designer.replace(l,i.designercss)}if(a!==""){const l=document.createElement("link");l.href=a,l.rel="stylesheet",document.head.appendChild(l)}}O1(n.type,f,o,c,i)}))),e==null||e.map(i=>{const[c,f]=i.split(":");if(o.has(c)===!1){const l=_y(c,n.type,n.tipMessage);O1(n.type,l,o,!1,{fieldType:"",id:c,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function O1(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&un(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&un(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function Hye(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(c=>{const[f,a]=c.split(":");o.props.id===f&&(i=a!=null?a:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function qye(e,t){return fi(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield Gm(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const c=yield py(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(f=>{let a=c.find(l=>t.type==="runtime"?l.Runtime.controlType===f.id:l.Designer.controlType===f.id);a===void 0&&(a=_y(f.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(f.id,{props:f,version:f.version,isLoaded:!0,control:a})})}return n})}u.Address=qS,u.AddressValue=D0,u.AdvancedContainer=PN,u.Amount=IS,u.AmountDataBind=N0,u.AmountValue=B0,u.ArrayColumn=wB,u.Attachment=bS,u.AutoNumber=lE,u.AutoNumberColumn=NB,u.AutoWidth=By,u.BaseControlProperty=B,u.BaseControlPropertyRules=ve,u.BaseControlPropertyRuntimeRules=z,u.BaseStyle=F0,u.BatchDeleteButton=NT,u.BatchPrintListButton=dT,u.BatchPrintRecordListButton=OT,u.BatchSubmissionListButton=Ew,u.Button=HP,u.Calc=hE,u.CalcDataBind=k0,u.CalcScriptEchoItem=t2,u.CalcValue=j0,u.CardGroup=OC,u.Checkbox=HT,u.Col=Ka,u.ColumnControlProperty=K,u.ColumnControlPropertyRules=Fi,u.ColumnOptionAndDataSourcePropertyRules=gv,u.CreateFormListButton=gw,u.CustomAttributeItem=S0,u.CustomColumn=UB,u.CustomPermissionItem=nD,u.DEFAULT_LOCALE=Wm,u.Dashboard=MR,u.DataBind=ke,u.DataSourceBind=J,u.DataSourceDataSetValue=$0,u.DataSourceOrderItem=Dy,u.DataSourceParamItem=Z2,u.DataStorageDoc=b0,u.DataView=gO,u.DatePicker=p$,u.DateRange=T$,u.DecimalColumn=cB,u.Department=nE,u.Department2=UI,u.DepartmentColumn=EB,u.DepartmentEntity=hy,u.DesignerColumnControl=ne,u.DesignerControl=k,u.DesignerFormControl=A,u.DesignerLayoutControl=H,u.DesignerListControl=ki,u.DesignerSearchControl=RP,u.DesignerWrapControl=_L,u.DisplayBoListItem=pi,u.Divider=ow,u.ElectronicSignature=AI,u.ElectronicSignatureConfig=qP,u.Employee=yS,u.Employee2=wI,u.EmployeeColumn=JB,u.EventLogic=v0,u.Explain=uu,u.ExportListButton=Fw,u.ExportRecordListButton=Gw,u.ExportTemplate=Jv,u.FieldBindItem=m0,u.FieldFilterCondition=My,u.FieldFilterConditions=T0,u.FieldTypeToColumnType=r2,u.FileColumn=MB,u.FillBackBind=jy,u.FillPayloadBind=_i,u.FlexStyleConfig=XP,u.FormBind=di,u.FormSelectBind=O0,u.FormSelectButton=cR,u.Grid=QI,u.GridRow=Ab,u.GridTable=qN,u.GridTableColumn=DC,u.Image=PS,u.ImageColumn=jB,u.ImageOptionSetting=C0,u.ImportRecordListButton=Jw,u.Input=LT,u.InvoiceCheckButton=uT,u.JSONCopy=dt,u.Language=eD,u.LayoutControlProperty=G,u.LeftVariable=R0,u.LimitDate=iu,u.Link=xP,u.ListBind=Ay,u.ListControlProperty=to,u.ListSelectButton=_R,u.ListView=_O,u.ListViewSelect=GR,u.LocationColumn=YB,u.MetaAutoWidth=h0,u.MetaWidth=vi,u.MultistageFillingItem=Ee,u.Number=f$,u.ObjectDataBind=hi,u.OperationButton=bo,u.OperationColumn=VN,u.OperationItem=pt,u.OptionAndDataSourcePropertyRules=yn,u.OptionSetting=Fy,u.OrderColumn=jN,u.Page=bN,u.Pagination=RR,u.PeopleColumn=xB,u.Position=EN,u.PositioningContainer=TN,u.PrintTemplate=KP,u.Property=U,u.PropertyRules=q,u.PropertyRuntimeRules=Dt,u.Radio=t$,u.RangeDataBind=A0,u.RangeDateValue=M0,u.RegisterControls=si,u.RegularRules=Ly,u.RichText=F$,u.RightVariable=Gn,u.Row=aC,u.RulesMessage=p,u.RuntimeColumnControl=re,u.RuntimeControl=W,u.RuntimeFormControl=M,u.RuntimeLayoutControl=Q,u.RuntimeListControl=pv,u.RuntimeSearchControl=$P,u.RuntimeWrapControl=wL,u.SUBTABLE_DEFAULT_MAX_HEIGHT=WP,u.Score=kS,u.SearchControlProperty=Yi,u.SearchDateRange=jE,u.SearchInput=aI,u.SearchNumberRange=SE,u.Select=K$,u.SelectMultiple=nS,u.SelectRelation=eI,u.SimpleSearch=o1,u.SubListItem=P0,u.SubListPageConfig=w0,u.SubTable=NN,u.SubTableColumn=zb,u.SubTableRow=CC,u.SubmissionRecordListButton=Aw,u.SuperDataSourceBind=Kr,u.Tab=KC,u.TabPane=GC,u.Text=DP,u.TextColumn=rB,u.TextOcrButton=JR,u.Textarea=B$,u.TimescopeColumn=yB,u.TimestampColumn=hB,u.Title=yw,u.Toolbox=nN,u.Tree=_I,u.TreeDataSourceBind=E0,u.UndersignedPerson=Qv,u.UserEntity=by,u.VarcharColumn=JN,u.VersionBuilder=jye,u.ViewOperationItem=L0,u.VueFormItem=GE,u.WPS=xI,u.WPSSetting=UP,u.Watcher=s0,u.WpsOperationItem=Zv,u.WrapControlProperty=Nv,u.baseControls=r9,u.camelizeKeys=c0,u.columnControls=mse,u.controlHooksEmitter=U0,u.createValidator=q0,u.debounce=A2,u.decamelizeKeys=an,u.defineArrayParent=cP,u.defineControlArrayToProperty=nt,u.defineParent=ov,u.error=Mt,u.formControls=DQ,u.genNonDuplicateId=qe,u.getHackerControl=_y,u.getNotRepeatItems=u0,u.initExpression=ro,u.initImageOptions=tD,u.initOptionAndDataSourceRules=mi,u.initOptions=et,u.initSuperDataSourceRules=Pi,u.isArray=cn,u.isBuiltInControls=D2,u.isFunction=S2,u.isJSONArray=N2,u.isJSONObject=B2,u.isLanguageObject=ye,u.isNumber=Ey,u.isNumberAndEmptyStringArray=C2,u.isNumberArray=I2,u.isObject=$2,u.isPlainObject=Sy,u.isString=i0,u.isStringArray=E2,u.layoutControls=Ioe,u.listControls=due,u.loadRemoteControl=py,u.loadRemoteControls=Yye,u.loadScriptFromFetch=b1,u.loadScriptFromTag=zye,u.log=Wr,u.logerror=e0,u.loop=Pe,u.loopFormSchema=Ry,u.nativeFetch=Gm,u.noop=n2,u.referenceError=wy,u.registerByteluckControls=qye,u.registerCustomControls=Gye,u.searchControls=Lse,u.setPropertyDontEnum=uP,u.toNumberOrEmpty=fn,u.updateValueFromKeys=r0,u.upgradeCustomControlSchema=Hye,u.wait=M2,u.warn=un,Object.defineProperty(u,"__esModule",{value:!0})});
|