@byteluck-fe/model-driven-upgrade 2.5.0-alpha.4 → 2.5.0-alpha.6
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/VersionBuilder.js +7 -7
- package/dist/esm/upgrade/v1_0.js +18 -18
- package/dist/esm/upgrade/v2_6.js +2 -2
- package/dist/index.umd.js +1 -1
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(gn,xr){typeof exports=="object"&&typeof module!="undefined"?xr(exports):typeof define=="function"&&define.amd?define(["exports"],xr):(gn=typeof globalThis!="undefined"?globalThis:gn||self,xr(gn.modelDrivenUpgrade={}))})(this,function(gn){"use strict";var xr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",MS="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",VS="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",zS="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",HS="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",CS="{caption}\u5FC5\u586B",qS="\u8BF7\u8F93\u5165\u6807\u9898",US="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",WS="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",KS="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",GS="\u8BF7\u7ED1\u5B9A\u8868\u5355",XS="\u8BF7\u7ED1\u5B9A\u5217\u8868",QS="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",JS="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ZS="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",YS="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",eE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",tE="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",nE="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",rE="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",oE="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",iE="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",uE="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",cE="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",lE="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",fE="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",aE="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",sE="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",_E="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",yE="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",pE="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",dE="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",vE="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",hE="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",bE="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",gE="\u8BF7\u7ED1\u5B9A\u670D\u52A1",mE="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",OE="\u8BF7\u9009\u62E9\u7701",wE="\u8BF7\u9009\u62E9\u5E02",$E="\u8BF7\u9009\u62E9\u533A",PE="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",RE="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",SE="\u8BF7\u8F93\u5165\u5217\u5BBD",EE="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",TE="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",IE="\u8BF7\u9009\u62E9\u63A7\u4EF6",BE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",AE="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",xE="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",kE="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",DE="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",NE="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",jE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",FE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",LE="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ME="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",VE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",zE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",HE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",CE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",qE="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",UE="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",WE="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",KE="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",GE="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",XE="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",QE="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",JE={isNotNumber:xr,isNotString:MS,isNotObject:VS,isNotArray:zS,isNotBoolean:HS,runtimeRequired:CS,pleaseEnterCaption:qS,pleaseEnterCaptionTip:US,pleaseEnterPlaceholder:WS,pleaseEnterFieldCode:KS,pleaseEnterForm:GS,pleaseEnterList:XS,pleaseEnterProcess:QS,pleaseEnterLabel:JS,pleaseEnterValue:ZS,bizKeyNotBindFiled:YS,pleaseSelectOneField:eE,pleaseEnterNumberRange:tE,pleaseEnterAValueGreaterThanMin:nE,pleaseEnterAValueLessThanMax:rE,numberRangeSetError:oE,stringRangeError:iE,attachmentMaxSize:uE,pleaseEnterTotalScoreSetting:cE,theTotalScoreMustNotBeLessThan1:lE,scoreDefaultValueRange:fE,attachmentLimitError:aE,PleaseReselectTheOptionalQuantity:sE,TheMaximumLengthIsGreaterThanTheMinimumLength:_E,TheMinimumLengthIsGreaterThanTheMaximumLength:yE,PleaseSelectTheCorrectOptionSettings:pE,optionIdIsRepeat:dE,optionIsRequired:vE,pleaseEnterDataCode:hE,pleaseEnterValueFieldCode:bE,pleaseEnterSvcCode:gE,pleaseBindAtLeastOneDisplayValue:mE,pleaseSelectProvince:OE,pleaseSelectCity:wE,pleaseSelectDistrict:$E,limitRowsCannotBeLessThan0:PE,TheNumberOfRowsCannotBeLessThanMinRows:RE,pleaseEnterColumnWidth:SE,pleaseSetTheLogicalRelationshipOfAllRuleConditions:EE,pleaseCompleteAllRulesAndConditions:TE,pleaseSelectControl:IE,pleaseSelectAtLeastOneColumn:BE,pleaseSelectFillBackMode:AE,pleaseSelectDashboard:xE,rootNodeIsRequired:kE,theViewNameCannotBeEmpty:DE,pleaseSelectOcrType:NE,pleaseSelectAtLeastOneFieldToFillIn:jE,pleaseChooseAtLeastOne:FE,pleaseEnterButtonContent:LE,pleaseEnterDataCodeInDataSetting:ME,pleaseEnterValueFieldCodeInDataSetting:VE,pleaseEnterSvcCodeInDataSetting:zE,pleaseBindAtLeastOneDisplayValueInDataSetting:HE,rootNodeIsRequiredInDataSetting:CE,pleaseEnterMaxHeight:qE,pleaseEnter:UE,pleaseEnterWatermark:WE,pleaseEnterFileName:KE,pleaseUploadAtLeastOnePrintTemplate:GE,pleaseAssignBusiness:XE,pleaseAssignExternal:QE},ZE="Please enter a number",YE="Please enter a string",eT="Please enter an object",tT="Please enter an array",nT="Please enter a boolean",rT="{caption} Required",oT="Please enter the title",iT="Please enter the bubble prompt",uT="Please enter the prompt text",cT="Please bind data items",lT="Please bind the form",fT="Please bind the list",aT="Please bind the process",sT="Please enter the displayed value",_T="Please enter the stored value",yT="The document number is not bound to the data item",pT="Please select at least one display field",dT="Please enter a value greater than or equal to {min} and less than or equal to {max}",vT="Please enter a value greater than or equal to {min}",hT="Please enter a value less than or equal to {max}",bT="The value range is set incorrectly",gT="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",mT="The attachment size must be between 0MB and 1000MB",OT="Please fill in the total score setting",wT="The total score cannot be less than 1",$T="The default value must be between {min} and {max}",PT="The number of attachments uploaded must be between {min} and {max}",RT="Please re-select the optional quantity",ST="The maximum length of the control must be greater than the minimum length",ET="The minimum length of the control must be less than the maximum length",TT="Please select the correct option setting",IT="Option ID cannot be repeated",BT="Please enter at least one option",AT="Please bind the data source",xT="Please bind the stored value",kT="Please bind the service",DT="At least one display value must be bound",NT="Please select a province",jT="Please select a city",FT="Please select a district",LT="The minimum number of lines to fill in cannot be less than 0",MT="The number of rows cannot be less than {min} rows",VT="Please enter the column width",zT="Please set the logical relationship of all rule conditions",HT="Please complete all rules and conditions",CT="please select control",qT="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",UT="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",WT="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",KT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",GT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",XT="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",QT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",JT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ZT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",YT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",eI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",tI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",nI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",rI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",oI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",iI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",uI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",cI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",lI={isNotNumber:ZE,isNotString:YE,isNotObject:eT,isNotArray:tT,isNotBoolean:nT,runtimeRequired:rT,pleaseEnterCaption:oT,pleaseEnterCaptionTip:iT,pleaseEnterPlaceholder:uT,pleaseEnterFieldCode:cT,pleaseEnterForm:lT,pleaseEnterList:fT,pleaseEnterProcess:aT,pleaseEnterLabel:sT,pleaseEnterValue:_T,bizKeyNotBindFiled:yT,pleaseSelectOneField:pT,pleaseEnterNumberRange:dT,pleaseEnterAValueGreaterThanMin:vT,pleaseEnterAValueLessThanMax:hT,numberRangeSetError:bT,stringRangeError:gT,attachmentMaxSize:mT,pleaseEnterTotalScoreSetting:OT,theTotalScoreMustNotBeLessThan1:wT,scoreDefaultValueRange:$T,attachmentLimitError:PT,PleaseReselectTheOptionalQuantity:RT,TheMaximumLengthIsGreaterThanTheMinimumLength:ST,TheMinimumLengthIsGreaterThanTheMaximumLength:ET,PleaseSelectTheCorrectOptionSettings:TT,optionIdIsRepeat:IT,optionIsRequired:BT,pleaseEnterDataCode:AT,pleaseEnterValueFieldCode:xT,pleaseEnterSvcCode:kT,pleaseBindAtLeastOneDisplayValue:DT,pleaseSelectProvince:NT,pleaseSelectCity:jT,pleaseSelectDistrict:FT,limitRowsCannotBeLessThan0:LT,TheNumberOfRowsCannotBeLessThanMinRows:MT,pleaseEnterColumnWidth:VT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zT,pleaseCompleteAllRulesAndConditions:HT,pleaseSelectControl:CT,pleaseSelectDashboard:qT,theViewNameCannotBeEmpty:UT,pleaseSelectOcrType:WT,pleaseSelectAtLeastOneFieldToFillIn:KT,pleaseChooseAtLeastOne:GT,pleaseEnterButtonContent:XT,pleaseEnterDataCodeInDataSetting:QT,pleaseEnterValueFieldCodeInDataSetting:JT,pleaseEnterSvcCodeInDataSetting:ZT,pleaseBindAtLeastOneDisplayValueInDataSetting:YT,rootNodeIsRequiredInDataSetting:eI,pleaseEnterMaxHeight:tI,pleaseEnter:nI,pleaseEnterWatermark:rI,pleaseEnterFileName:oI,pleaseUploadAtLeastOnePrintTemplate:iI,pleaseAssignBusiness:uI,pleaseAssignExternal:cI},fI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_I="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pI="{caption}\u5FC5\u9808",dI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",OI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$I="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",PI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",RI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",SI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",TI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",II="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",BI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",AI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",DI="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",NI="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",jI="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",FI="\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",LI="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",MI="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",VI="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",zI="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",HI="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CI="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qI="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",UI="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",WI="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",KI="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",GI="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",XI="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",QI="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",JI="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZI="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",YI="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",e1="please select control",t1="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",n1="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",r1="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",o1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",i1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",u1="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",c1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",l1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",f1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",a1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",s1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",_1="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",y1="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",p1="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",d1="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",v1="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",h1="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",b1="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",g1={isNotNumber:fI,isNotString:aI,isNotObject:sI,isNotArray:_I,isNotBoolean:yI,runtimeRequired:pI,pleaseEnterCaption:dI,pleaseEnterCaptionTip:vI,pleaseEnterPlaceholder:hI,pleaseEnterFieldCode:bI,pleaseEnterForm:gI,pleaseEnterList:mI,pleaseEnterProcess:OI,pleaseEnterLabel:wI,pleaseEnterValue:$I,bizKeyNotBindFiled:PI,pleaseSelectOneField:RI,pleaseEnterNumberRange:SI,pleaseEnterAValueGreaterThanMin:EI,pleaseEnterAValueLessThanMax:TI,numberRangeSetError:II,stringRangeError:BI,attachmentMaxSize:AI,pleaseEnterTotalScoreSetting:xI,theTotalScoreMustNotBeLessThan1:kI,scoreDefaultValueRange:DI,attachmentLimitError:NI,PleaseReselectTheOptionalQuantity:jI,TheMaximumLengthIsGreaterThanTheMinimumLength:FI,TheMinimumLengthIsGreaterThanTheMaximumLength:LI,PleaseSelectTheCorrectOptionSettings:MI,optionIdIsRepeat:VI,optionIsRequired:zI,pleaseEnterDataCode:HI,pleaseEnterValueFieldCode:CI,pleaseEnterSvcCode:qI,pleaseBindAtLeastOneDisplayValue:UI,pleaseSelectProvince:WI,pleaseSelectCity:KI,pleaseSelectDistrict:GI,limitRowsCannotBeLessThan0:XI,TheNumberOfRowsCannotBeLessThanMinRows:QI,pleaseEnterColumnWidth:JI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ZI,pleaseCompleteAllRulesAndConditions:YI,pleaseSelectControl:e1,pleaseSelectDashboard:t1,theViewNameCannotBeEmpty:n1,pleaseSelectOcrType:r1,pleaseSelectAtLeastOneFieldToFillIn:o1,pleaseChooseAtLeastOne:i1,pleaseEnterButtonContent:u1,pleaseEnterDataCodeInDataSetting:c1,pleaseEnterValueFieldCodeInDataSetting:l1,pleaseEnterSvcCodeInDataSetting:f1,pleaseBindAtLeastOneDisplayValueInDataSetting:a1,rootNodeIsRequiredInDataSetting:s1,pleaseEnterMaxHeight:_1,pleaseEnter:y1,pleaseEnterWatermark:p1,pleaseEnterFileName:d1,pleaseUploadAtLeastOnePrintTemplate:v1,pleaseAssignBusiness:h1,pleaseAssignExternal:b1},m1={zhCN:JE,enUS:lI,jaJP:g1},wb;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(wb||(wb={}));var $b;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})($b||($b={}));var O1="zh-CN";function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var mn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(mn||(mn={}));var y;(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"})(y||(y={}));var h;(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"})(h||(h={}));var _e;_e={},Ie(_e,h.ARRAY,y.ARRAY_COLUMN),Ie(_e,h.AUTO_NUMBER,y.AUTO_NUMBER_COLUMN),Ie(_e,h.DECIMAL,y.DECIMAL_COLUMN),Ie(_e,h.DEPARTMENTS,y.DEPARTMENT_COLUMN),Ie(_e,h.FILE,y.FILE_COLUMN),Ie(_e,h.IMAGE,y.IMAGE_COLUMN),Ie(_e,h.ADDRESS,y.LOCATION_COLUMN),Ie(_e,h.EMPLOYEES,y.EMPLOYEE_COLUMN),Ie(_e,h.TEXT,y.TEXT_COLUMN),Ie(_e,h.TIMESCOPE,y.TIMESCOPE_COLUMN),Ie(_e,h.TIMESTAMP,y.TIMESTAMP_COLUMN),Ie(_e,h.VARCHAR,y.VARCHAR_COLUMN),Ie(_e,h.RELATION,y.VARCHAR_COLUMN);var $t;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})($t||($t={}));var Pb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",w1=Pb+"0123456789";function it(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Pb:w1,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function da(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $1(e){if(Array.isArray(e))return da(e)}function P1(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 so(e,t,r){return Tb()?so=Reflect.construct:so=function(o,i,u){var c=[null];c.push.apply(c,i);var f=Function.bind.apply(o,c),l=new f;return u&&Dr(l,u.prototype),l},so.apply(null,arguments)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function Sb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dr(e,t)}function R1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function S1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function E1(){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 T1(e,t){return t&&(I1(t)==="object"||typeof t=="function")?t:P1(e)}function Dr(e,t){return Dr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dr(e,t)}function Eb(e){return $1(e)||S1(e)||B1(e)||E1()}function I1(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B1(e,t){if(!!e){if(typeof e=="string")return da(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return da(e,t)}}function va(e){var t=typeof Map=="function"?new Map:void 0;return va=function(n){if(n===null||!R1(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 so(n,arguments,kr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Dr(o,n)},va(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 Ib(e){var t=Tb();return function(){var n=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T1(this,o)}}var ha=console;function ba(){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=ha).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Eb(o)))}function _o(){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=ha).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Eb(o)))}function A1(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ga=function(e){Sb(r,e);var t=Ib(r);function r(n){Rb(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?A1(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(va(Error)),x1=function(e){Sb(r,e);var t=Ib(r);function r(n){Rb(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(ga);function Nr(e){throw new ga(e)}function Bb(e){throw new x1(e)}function k1(e){ha.error(new ga(e))}var D1=Object.prototype.toString;function Ab(e,t){return D1.call(e)==="[object "+t+"]"}function N1(e){return Ab(e,"String")}function j1(e){return Ab(e,"Promise")}var F1=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();j1(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,c){if(o!==void 0){var f=o[i];if(!(u===c.length-1&&!N1(f)))return f}},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 L1(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 M1(e,t,r){return t&&xb(e.prototype,t),r&&xb(e,r),e}function V1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v=function(){function e(){L1(this,e)}return M1(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]:O1;return new F1({locale:r,messages:m1})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();V1(v,"$i18n",v.resetI18n());function z1(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,f){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){ba("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===f.length-1&&!Object.is(l[u],r)&&(l[u]=r,o=!0),l[u]}},e),o}var H1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ma={exports:{}};(function(e){(function(t){var r=function(d,w,P){if(!l(w)||_(w)||p(w)||g(w)||f(w))return w;var S,B=0,re=0;if(a(w))for(S=[],re=w.length;B<re;B++)S.push(r(d,w[B],P));else{S={};for(var D in w)Object.prototype.hasOwnProperty.call(w,D)&&(S[d(D,P)]=r(d,w[D],P))}return S},n=function(d,w){w=w||{};var P=w.separator||"_",S=w.split||/(?=[A-Z])/;return d.split(S).join(P)},o=function(d){return O(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(w,P){return P?P.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var w=o(d);return w.substr(0,1).toUpperCase()+w.substr(1)},u=function(d,w){return n(d,w).toLowerCase()},c=Object.prototype.toString,f=function(d){return typeof d=="function"},l=function(d){return d===Object(d)},a=function(d){return c.call(d)=="[object Array]"},_=function(d){return c.call(d)=="[object Date]"},p=function(d){return c.call(d)=="[object RegExp]"},g=function(d){return c.call(d)=="[object Boolean]"},O=function(d){return d=d-0,d===d},m=function(d,w){var P=w&&"process"in w?w.process:w;return typeof P!="function"?d:function(S,B){return P(S,d,B)}},$={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(d,w){return r(m(o,w),d)},decamelizeKeys:function(d,w){return r(m(u,w),d,w)},pascalizeKeys:function(d,w){return r(m(i,w),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=$:t.humps=$})(H1)})(ma);var kb={};Object.defineProperty(kb,"__esModule",{value:!0});function Oa(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Oa(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Oa(n)}return t}}var C1=kb.default=Oa;function Pt(e){if(e!==void 0)return typeof e=="object"?C1(e):e}function ye(e){return Db(e)&&"zh"in e}function Db(e){return Object.prototype.toString.call(e)==="[object Object]"}function wa(e){return Array.isArray(e)}function On(e){return isNaN(parseFloat(e))?"":Number(e)}function q1(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function we(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=we(n.children,t)),t(o)})),r}function U1(e){return ma.exports.camelizeKeys(e)}function wn(e){return ma.exports.decamelizeKeys(e)}function $a(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function W1(e){if(Array.isArray(e))return $a(e)}function Nb(e,t,r,n,o,i,u){try{var c=e[i](u),f=c.value}catch(l){r(l);return}c.done?t(f):Promise.resolve(f).then(n,o)}function K1(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){Nb(i,n,o,u,c,"next",f)}function c(f){Nb(i,n,o,u,c,"throw",f)}u(void 0)})}}function G1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X1(e,t,r){return t&&jb(e.prototype,t),r&&jb(e,r),e}function Fb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function J1(){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 W1(e)||Q1(e)||Z1(e)||J1()}function Z1(e,t){if(!!e){if(typeof e=="string")return $a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $a(e,t)}}var Y1=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(a){return f([l,a])}}function f(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(a){l=[6,a],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},eB=function(){function e(){G1(this,e),Fb(this,"_events",new Map),Fb(this,"debug",!1)}return X1(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 u=this;return K1(function(){var c,f,l,a,_,p,g,O,m,$,d,w;return Y1(this,function(P){switch(P.label){case 0:if(c=u._events.get(r),f=[],!c)return[3,10];l=c.slice(),a=!0,_=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),g=l[Symbol.iterator](),P.label=2;case 2:if(a=(O=g.next()).done)return[3,7];if(m=O.value,!c.includes(m))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&_o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Pa(o))),[4,m.apply(null,Pa(o))];case 4:return $=P.sent(),u.debug&&_o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.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),[$])),f.push($),$===!1?[3,7]:[3,6];case 5:return d=P.sent(),k1(String(d)+":"+String(d.stack)),[3,6];case 6:return a=!0,[3,2];case 7:return[3,10];case 8:return w=P.sent(),_=!0,p=w,[3,10];case 9:try{!a&&g.return!=null&&g.return()}finally{if(_)throw p}return[7];case 10:return[2,f]}})})()}},{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 tB(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 nB(e,t,r){return t&&Lb(e.prototype,t),r&&Lb(e,r),e}function rB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oB=[{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"}],iB=function(){function e(){tB(this,e)}return nB(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}();rB(iB,"events",oB);function uB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cB(e,t,r){return t&&Mb(e.prototype,t),r&&Mb(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}var Vb=[],Ra=function(){function e(t){uB(this,e),Yt(this,"registeredControlTypes",new Set),Yt(this,"controlConfigMap",new Map),Yt(this,"_controls",[]),Yt(this,"_type",void 0),this._type=t,this._initControls(t)}return cB(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__||Nr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(ba("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===mn.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===mn.FORM}},{key:"isListControl",value:function(r){return r.controlType===mn.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===mn.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 u=r;if(typeof n=="function"){var c=n(u);c&&(u=c)}var f=new i(u);return f}else Nr("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__)&&Nr("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(u){return u.Designer.controlType===n.controlType});return i>-1&&(ba("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}();Yt(Ra,"staticControls",Vb),Yt(Ra,"staticRegisteredTypes",new Set(Vb.map(function(e){return e.Designer.controlType}))),Yt(Ra,"staticRegisteredConfigs",new Map);function H(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 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 yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yo(e)}function We(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sa(e,t)}function zb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function lB(e,t){return t&&(fB(t)==="object"||typeof t=="function")?t:H(e)}function Sa(e,t){return Sa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sa(e,t)}function fB(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ke(e){var t=aB();return function(){var n=yo(e),o;if(t){var i=yo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lB(this,o)}}var je=function e(t){R(this,e),b(this,"dataCode",void 0),b(this,"fieldCode",void 0),b(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:""},Hb=function e(t){R(this,e),b(this,"minWidth",void 0),b(this,"maxWidth",void 0),b(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},Ea=function(e){We(r,e);var t=Ke(r);function r(n){R(this,r);var o;o=t.call(this,n),b(H(o),"width",void 0),b(H(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(Hb),sB=function e(t){R(this,e),b(this,"pc",void 0),b(this,"mobile",void 0),this.pc=new Ea(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Ea(t==null?void 0:t.mobile):new Ea({width:130,minWidth:180})},_B=function e(t){R(this,e),b(this,"type",void 0),b(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:[]},Ta=function e(t){R(this,e),b(this,"dataCode",void 0),b(this,"formKey",void 0),b(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:""},yB=function(e){We(r,e);var t=Ke(r);function r(n){R(this,r);var o;o=t.call(this,n),b(H(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Ta),Cb=function e(t){R(this,e),b(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},qb=function e(t){R(this,e);var r;b(this,"appId",void 0),b(this,"formKey",void 0),b(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(u){return new Cb(u)}))!==null&&i!==void 0?i:[]},pB=function e(t){R(this,e),b(this,"fieldName",void 0),b(this,"fieldCode",void 0),b(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:h.VARCHAR},dB=function(e){We(r,e);var t=Ke(r);function r(n){R(this,r);var o;o=t.call(this,n),b(H(o),"title",void 0),b(H(o),"svcCode",void 0),b(H(o),"isOpenFilter",void 0),b(H(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var f;return o.filters=(f=n==null?void 0:n.filters)!==null&&f!==void 0?f:[],o}return r}(Ta),vB=function e(t){R(this,e);var r,n;b(this,"type","sublist-page"),b(this,"formBind",void 0),b(this,"displayFields",void 0),b(this,"sublists",void 0),this.formBind=new Ta(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new pB(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new dB(u)}))!==null&&i!==void 0?i:[]},hB=function e(t){R(this,e),b(this,"type",void 0),b(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},jr=function e(t){R(this,e),b(this,"type",void 0),b(this,"value",void 0),b(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:[]},bB=function e(t){var r=this;R(this,e),b(this,"id",void 0),b(this,"ruleId",void 0),b(this,"type","conditions"),b(this,"level",void 0),b(this,"value",void 0),b(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:it();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var f,l=new e(c);(f=r.children)===null||f===void 0||f.push(l)}else{var a,_=new Ub(c);(a=r.children)===null||a===void 0||a.push(_)}}))},Ub=function e(t){R(this,e),b(this,"id",void 0),b(this,"ruleId",void 0),b(this,"type","condition"),b(this,"symbol",void 0),b(this,"checked",void 0),b(this,"describe",void 0),b(this,"leftVariableBo",void 0),b(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:it();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new hB(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new jr(t==null?void 0:t.rightVariableBo)},Be=function e(t){R(this,e),b(this,"controlId",void 0),b(this,"fieldCode",void 0),b(this,"fieldType",void 0),b(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:""},Ia=function e(t){R(this,e),b(this,"type",void 0),b(this,"value",void 0),b(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},gB=function e(t){R(this,e),b(this,"columnName",void 0),b(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};function Ba(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 bB(i):new Ub(i)}))!==null&&r!==void 0?r:[],zb(this,X)||zb(this,Aa)){var n,o;this.orders=(o=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(i){return new gB(i)}))!==null&&o!==void 0?o:[]}}var X=function e(t){var r=this;R(this,e),b(this,"dataCode",void 0),b(this,"valueFieldCode",void 0),b(this,"displayBoList",void 0),b(this,"svcCode",void 0),b(this,"appId",void 0),b(this,"filters",void 0),b(this,"orders",void 0),b(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(f){var l;(l=r.displayBoList)===null||l===void 0||l.push(new Ia(f))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var c;this.svcCode=(c=t==null?void 0:t.svcCode)!==null&&c!==void 0?c:"",Ba.call(this,t)},Rt=function e(t){R(this,e),b(this,"code",void 0),b(this,"color",void 0),b(this,"command",void 0),b(this,"confirmMessage",void 0),b(this,"defaultState",void 0),b(this,"formKey",void 0),b(this,"icon",void 0),b(this,"needConfirm",void 0),b(this,"openType",void 0),b(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0;var f;this.icon=(f=t==null?void 0:t.icon)!==null&&f!==void 0?f:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var a;this.openType=(a=t==null?void 0:t.openType)!==null&&a!==void 0?a:"modal";var _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},mB=function e(t){R(this,e);var r;b(this,"name",void 0),b(this,"key",void 0),b(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(u){return new Ia(u)}))!==null&&i!==void 0?i:[]},po=function(e){We(r,e);var t=Ke(r);function r(n){R(this,r);var o,i;o=t.call(this,n),b(H(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new mB(c)}))!==null&&u!==void 0?u:[],o}return r}(X),OB=function(e){We(r,e);var t=Ke(r);function r(n){R(this,r);var o;return o=t.call(this,n),b(H(o),"rootNode",void 0),o.rootNode=new jr(n==null?void 0:n.rootNode),o}return r}(po),Wb=function e(t){R(this,e);var r;b(this,"dataCode",void 0),b(this,"appId",void 0),b(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(u){return new Be(u)}))!==null&&i!==void 0?i:[]},Aa=function(e){We(r,e);var t=Ke(r);function r(n){R(this,r);var o;return o=t.call(this,n),b(H(o),"filters",void 0),b(H(o),"orders",void 0),Ba.call(H(o),n),o}return r}(Wb),Kb=function(e){We(r,e);var t=Ke(r);function r(n){R(this,r);var o;o=t.call(this,n),b(H(o),"mode",void 0),b(H(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(Wb),Gb=function e(t){R(this,e),b(this,"stencilName",void 0),b(this,"expression",void 0),b(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:""},wB=function e(t){R(this,e),b(this,"id",void 0),b(this,"label",void 0),b(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:it(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};function ut(e){var t;return(t=e==null?void 0:e.map(function(r){return new wB(r)}))!==null&&t!==void 0?t:[]}var xa=function e(){R(this,e)},$B=function(e){We(r,e);var t=Ke(r);function r(n){R(this,r);var o;return o=t.call(this),b(H(o),"amount",void 0),b(H(o),"currency",void 0),o.amount=new je(n==null?void 0:n.amount),o.currency=new je(n==null?void 0:n.currency),o}return r}(xa),PB=function e(t){R(this,e),b(this,"amount",void 0),b(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:vo.CNY},RB=function(e){We(r,e);var t=Ke(r);function r(n){R(this,r);var o;return o=t.call(this),b(H(o),"min",void 0),b(H(o),"max",void 0),o.min=new je(n==null?void 0:n.min),o.max=new je(n==null?void 0:n.max),o}return r}(xa),SB=function e(t){R(this,e),b(this,"min",void 0),b(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:""},EB=function e(t){R(this,e),b(this,"city",void 0),b(this,"cityDisplay",void 0),b(this,"district",void 0),b(this,"districtDisplay",void 0),b(this,"province",void 0),b(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 u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},TB=function(e){We(r,e);var t=Ke(r);function r(n){R(this,r);var o;return o=t.call(this),b(H(o),"result",void 0),b(H(o),"unit",void 0),o.result=new je(n==null?void 0:n.result),o.unit=new je(n==null?void 0:n.unit),o}return r}(xa),IB=function e(t){R(this,e),b(this,"result",void 0),b(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:""},vo;(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"})(vo||(vo={}));var s;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.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"})(s||(s={}));var ka;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(ka||(ka={}));var St=function e(t){R(this,e),b(this,"isShow",void 0),b(this,"priorityProcess",void 0),b(this,"formKey",void 0),b(this,"content",void 0),b(this,"openType",void 0),b(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 u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},BB=function e(t){R(this,e);var r;b(this,"id",void 0),b(this,"title",void 0),b(this,"filters",void 0),b(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:it(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Cb(u)}))!==null&&i!==void 0?i:[],Ba.call(this,t)},AB=function e(t){R(this,e),b(this,"width",void 0),b(this,"height",void 0),b(this,"widthConfig",void 0),b(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 xB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Da(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,r){return Xb()?ho=Reflect.construct:ho=function(o,i,u){var c=[null];c.push.apply(c,i);var f=Function.bind.apply(o,c),l=new f;return u&&Lr(l,u.prototype),l},ho.apply(null,arguments)}function en(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(e)}function kB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lr(e,t)}function DB(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function NB(e,t){return t&&(jB(t)==="object"||typeof t=="function")?t:xB(e)}function Lr(e,t){return Lr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lr(e,t)}function jB(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Na(e){var t=typeof Map=="function"?new Map:void 0;return Na=function(n){if(n===null||!DB(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 ho(n,arguments,Fr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Lr(o,n)},Na(e)}function Xb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FB(e){var t=Xb();return function(){var n=Fr(e),o;if(t){var i=Fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NB(this,o)}}var C=function e(t){Da(this,e),en(this,"isHide",{type:"boolean"})},tn=function(e){kB(r,e);var t=FB(r);function r(n){return Da(this,r),t.call(this)}return r}(Na(Array)),W=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Da(this,e),en(this,"isHide",void 0),en(this,"className",void 0),en(this,"style",void 0),en(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new AB(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};en(W,"Rules",C),en(W,"RuntimeRules",tn);function Ge(){return Ge=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},Ge.apply(this,arguments)}function LB(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 bo(e,t){return bo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bo(e,t)}function MB(){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 go(e,t,r){return MB()?go=Reflect.construct:go=function(o,i,u){var c=[null];c.push.apply(c,i);var f=Function.bind.apply(o,c),l=new f;return u&&bo(l,u.prototype),l},go.apply(null,arguments)}function VB(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Fa(e){var t=typeof Map=="function"?new Map:void 0;return Fa=function(n){if(n===null||!VB(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 go(n,arguments,ja(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),bo(o,n)},Fa(e)}var zB=/%[sdj%]/g,Qb=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Qb=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function La(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 Ae(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(zB,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(f){return"[Circular]"}break;default:return c}});return u}return o}function HB(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function q(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||HB(t)&&typeof e=="string"&&!e)}function CB(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function Jb(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function qB(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Zb=function(e){LB(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}(Fa(Error));function UB(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var g=function($){return n($),$.length?p(new Zb($,La($))):_()},O=qB(e);Jb(O,r,g)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,f=0,l=[],a=new Promise(function(_,p){var g=function(m){if(l.push.apply(l,m),f++,f===c)return n(l),l.length?p(new Zb(l,La(l))):_()};u.length||(n(l),_()),u.forEach(function(O){var m=e[O];i.indexOf(O)!==-1?Jb(m,r,g):CB(m,r,g)})});return a.catch(function(_){return _}),a}function Yb(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 eg(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]=Ge(Ge({},e[r]),n):e[r]=n}}return e}function tg(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||q(t,i||e.type))&&n.push(Ae(o.messages.required,e.fullField))}function WB(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Ae(o.messages.whitespace,e.fullField))}var Ma={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Mr={integer:function(t){return Mr.number(t)&&parseInt(t,10)===t},float:function(t){return Mr.number(t)&&!Mr.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"&&!Mr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ma.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ma.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ma.hex)}};function KB(e,t,r,n,o){if(e.required&&t===void 0){tg(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Mr[u](t)||n.push(Ae(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Ae(o.messages.types[u],e.fullField,e.type))}function GB(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,a=null,_=typeof t=="number",p=typeof t=="string",g=Array.isArray(t);if(_?a="number":p?a="string":g&&(a="array"),!a)return!1;g&&(l=t.length),p&&(l=t.replace(f,"_").length),i?l!==e.len&&n.push(Ae(o.messages[a].len,e.fullField,e.len)):u&&!c&&l<e.min?n.push(Ae(o.messages[a].min,e.fullField,e.min)):c&&!u&&l>e.max?n.push(Ae(o.messages[a].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&n.push(Ae(o.messages[a].range,e.fullField,e.min,e.max))}var $n="enum";function XB(e,t,r,n,o){e[$n]=Array.isArray(e[$n])?e[$n]:[],e[$n].indexOf(t)===-1&&n.push(Ae(o.messages[$n],e.fullField,e[$n].join(", ")))}function QB(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Ae(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(Ae(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:tg,whitespace:WB,type:KB,range:GB,enum:XB,pattern:QB};function JB(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(t,"string")&&!e.required)return r();I.required(e,t,n,i,o,"string"),q(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 ZB(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(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 YB(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),q(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 eA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(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 tA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(t)&&!e.required)return r();I.required(e,t,n,i,o),q(t)||I.type(e,t,n,i,o)}r(i)}function nA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(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 rA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(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 oA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();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 iA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(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 uA="enum";function cA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(t)&&!e.required)return r();I.required(e,t,n,i,o),t!==void 0&&I[uA](e,t,n,i,o)}r(i)}function lA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(t,"string")&&!e.required)return r();I.required(e,t,n,i,o),q(t,"string")||I.pattern(e,t,n,i,o)}r(i)}function fA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(t,"date")&&!e.required)return r();if(I.required(e,t,n,i,o),!q(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),I.type(e,c,n,i,o),c&&I.range(e,c.getTime(),n,i,o)}}r(i)}function aA(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;I.required(e,t,n,i,o,u),r(i)}function Va(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(q(t,i)&&!e.required)return r();I.required(e,t,n,u,o,i),q(t,i)||I.type(e,t,n,u,o)}r(u)}function sA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(q(t)&&!e.required)return r();I.required(e,t,n,i,o)}r(i)}var Vr={string:JB,method:ZB,number:YB,boolean:eA,regexp:tA,integer:nA,float:rA,array:oA,object:iA,enum:cA,pattern:lA,date:fA,url:Va,hex:Va,email:Va,required:aA,any:sA};function za(){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 Ha=za();function Et(e){this.rules=null,this._messages=Ha,this.define(e)}Et.prototype={messages:function(t){return t&&(this._messages=eg(za(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function f(m){var $,d=[],w={};function P(S){if(Array.isArray(S)){var B;d=(B=d).concat.apply(B,S)}else d.push(S)}for($=0;$<m.length;$++)P(m[$]);d.length?w=La(d):(d=null,w=null),c(d,w)}if(u.messages){var l=this.messages();l===Ha&&(l=za()),eg(l,u.messages),u.messages=l}else u.messages=this.messages();var a,_,p={},g=u.keys||Object.keys(this.rules);g.forEach(function(m){a=o.rules[m],_=i[m],a.forEach(function($){var d=$;typeof d.transform=="function"&&(i===t&&(i=Ge({},i)),_=i[m]=d.transform(_)),typeof d=="function"?d={validator:d}:d=Ge({},d),d.validator=o.getValidationMethod(d),d.field=m,d.fullField=d.fullField||m,d.type=o.getType(d),d.validator&&(p[m]=p[m]||[],p[m].push({rule:d,value:_,source:i,field:m}))})});var O={};return UB(p,u,function(m,$){var d=m.rule,w=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");w=w&&(d.required||!d.required&&m.value),d.field=m.field;function P(re,D){return Ge(Ge({},D),{},{fullField:d.fullField+"."+re})}function S(re){re===void 0&&(re=[]);var D=re;if(Array.isArray(D)||(D=[D]),!u.suppressWarning&&D.length&&Et.warning("async-validator:",D),D.length&&d.message!==void 0&&(D=[].concat(d.message)),D=D.map(Yb(d)),u.first&&D.length)return O[d.field]=1,$(D);if(!w)$(D);else{if(d.required&&!m.value)return d.message!==void 0?D=[].concat(d.message).map(Yb(d)):u.error&&(D=[u.error(d,Ae(u.messages.required,d.field))]),$(D);var oe={};if(d.defaultField)for(var E in m.value)m.value.hasOwnProperty(E)&&(oe[E]=d.defaultField);oe=Ge(Ge({},oe),m.rule.fields);for(var ot in oe)if(oe.hasOwnProperty(ot)){var ao=Array.isArray(oe[ot])?oe[ot]:[oe[ot]];oe[ot]=ao.map(P.bind(null,ot))}var Br=new Et(oe);Br.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Br.validate(m.value,m.rule.options||u,function(bn){var Ar=[];D&&D.length&&Ar.push.apply(Ar,D),bn&&bn.length&&Ar.push.apply(Ar,bn),$(Ar.length?Ar:null)})}}var B;d.asyncValidator?B=d.asyncValidator(d,m.value,S,m.source,u):d.validator&&(B=d.validator(d,m.value,S,m.source,u),B===!0?S():B===!1?S(d.message||d.field+" fails"):B instanceof Array?S(B):B instanceof Error&&S(B.message)),B&&B.then&&B.then(function(){return S()},function(re){return S(re)})},function(m){f(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Vr.hasOwnProperty(t.type))throw new Error(Ae("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"?Vr.required:Vr[this.getType(t)]||!1}},Et.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vr[t]=r},Et.warning=Qb,Et.messages=Ha,Et.validators=Vr;var _A={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 yA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Et(e);return r.messages(Object.assign(_A,t)),r}var pA=new eB;function Ca(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dA(e){if(Array.isArray(e))return e}function vA(e){if(Array.isArray(e))return Ca(e)}function ng(e,t,r,n,o,i,u){try{var c=e[i](u),f=c.value}catch(l){r(l);return}c.done?t(f):Promise.resolve(f).then(n,o)}function rg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){ng(i,n,o,u,c,"next",f)}function c(f){ng(i,n,o,u,c,"throw",f)}u(void 0)})}}function hA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function og(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bA(e,t,r){return t&&og(e.prototype,t),r&&og(e,r),e}function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ig(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ug(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gA(){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 mA(){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 cg(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){F(e,o,r[o])})}return e}function OA(e){return dA(e)||ug(e)||lg(e)||gA()}function qa(e){return vA(e)||ug(e)||lg(e)||mA()}function lg(e,t){if(!!e){if(typeof e=="string")return Ca(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ca(e,t)}}var fg=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(a){return f([l,a])}}function f(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(a){l=[6,a],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},L=function(){function t(r){var n=this;hA(this,t),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"updateSetting",sg),F(this,"removeSetting",ag),this._callControlHooks("preInstance",r);var o=ig(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,f=o.controlFieldType,l=o.controlEventKeys,a=o.controlCustomEvents,_=o.name,p=o.setting;i&&u&&c||Bb("The ".concat(_," controlName,controlIcon,controlType is not define"));var g;this.id=(g=r==null?void 0:r.id)!==null&&g!==void 0?g:it(10),this.name=i,this.icon=u;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:c,this.props=new W(r==null?void 0:r.props,(ig(this,t)?this.constructor:void 0).controlName);var m;this.controlType=(m=r==null?void 0:r.controlType)!==null&&m!==void 0?m:"base",this.setting=Pt(p);var $;this.fieldType=($=r==null?void 0:r.fieldType)!==null&&$!==void 0?$:f,this.eventKeys=Pt(l),this.customEvents=Pt(a),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return bA(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 u,c=OA(o),f=c[0],l=c.slice(1);return(u=pA).emit.apply(u,[f,this].concat(qa(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),z1(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return rg(function(){var o,i,u;return fg(this,function(c){switch(c.label){case 0:return o=cg({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return rg(function(){var u,c,f,l;return fg(this,function(a){switch(a.label){case 0:return[4,i.preValidate()];case 1:u=a.sent(),c=u!==void 0?u:cg({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),f=yA(c,n),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,f.validate(i.props)];case 3:return a.sent(),[2,!0];case 4:throw l=a.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,u=this.type,c=this.props,f=c.dataBind,l=c.datasourceBind,a=c.optionConfig,_=c.caption,p=c.required,g=c.maxLength,O=c.options,m=c.encrypted,$=c.encryptedMode;if(!(!o&&!f&&!l)){var d={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(f&&(d.dataBind=f),a){case"datasource":case void 0:l&&(d.datasourceBind=l);break;case"custom":d.props.options=O;break}return p!==void 0&&(d.required=p),g!==void 0&&(d.maxLength=g),m!==void 0&&(d.encrypted=m),$!==void 0&&(d.encryptedMode=$),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Pt(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,qa(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();F(L,"controlName","\u63A7\u4EF6"),F(L,"controlIcon","icon"),F(L,"controlType","control"),F(L,"controlFieldType",void 0),F(L,"controlEventKeys",[]),F(L,"controlCustomEvents",[]),F(L,"setting",[]),F(L,"__is_control__",!0),F(L,"removeSettingItem",ag),F(L,"updateSettingItem",sg);function ag(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o=typeof n!="string",i=t.setting.findIndex(function(f){return f.key===(o?n.key:n)});if(i!==-1){var u,c;o?t.setting[i].showItems=(u=t.setting[i].showItems)===null||u===void 0?void 0:u.filter(function(f){return!n.hideItems.includes(f)}):t.setting.splice(i,1),o&&!(!((c=t.setting[i].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(i,1)}})}function sg(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var f;(f=i.showItems).push.apply(f,qa(t.showItems))}}}})}function wA(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 $A(e,t,r){return t&&_g(e.prototype,t),r&&_g(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 PA(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Tt=function(){function t(r){wA(this,t),Fe(this,"id",void 0),Fe(this,"type",void 0),Fe(this,"controlType",void 0),Fe(this,"props",void 0),Fe(this,"fieldType",void 0),Fe(this,"customEvents",[]),Fe(this,"pageStatus",void 0),Fe(this,"parent",null);var n=PA(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||Bb("The ".concat(u," controlType is not define"));var f;this.id=(f=r==null?void 0:r.id)!==null&&f!==void 0?f:it(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new W(r==null?void 0:r.props),this.customEvents=c;var a;this.controlType=(a=r==null?void 0:r.controlType)!==null&&a!==void 0?a:"base";var _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:ka.UNKNOWN}return $A(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}();Fe(Tt,"controlType","control"),Fe(Tt,"controlFieldType",void 0),Fe(Tt,"__is_control__",!0),Fe(Tt,"controlCustomEvents",[]);function Ua(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:v.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:v.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=q1(i);i.length!==u.length?o(v.getMessage("optionIdIsRepeat")):o()},message:v.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:v.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}])}function Wa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:v.getMessage("isNotString")},key:{type:"string",required:!0,message:v.getMessage("isNotString")},value:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}]}function M(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 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 Oo(e){return Oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oo(e)}function wo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ka(e,t)}function RA(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function SA(e,t){return t&&(EA(t)==="object"||typeof t=="function")?t:M(e)}function Ka(e,t){return Ka=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ka(e,t)}function EA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $o(e){var t=TA();return function(){var n=Oo(e),o;if(t){var i=Oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SA(this,o)}}var pe=function(e){wo(r,e);var t=$o(r);function r(n){mo(this,r);var o;o=t.call(this,n),V(M(o),"dataBind",{}),V(M(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),V(M(o),"isHideCaption",{type:"boolean"}),V(M(o),"labelPosition",{type:"enum",enum:["top","left"]}),V(M(o),"defaultState",{type:"enum",enum:["default","readonly"]}),V(M(o),"required",{type:"boolean"}),V(M(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}};if(RA(n.dataBind,je))o.dataBind={type:"object",required:!0,fields:Pt(i),message:v.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:v.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Pt(i),message:v.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(C),z=function(e){wo(r,e);var t=$o(r);function r(n){mo(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:v.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(tn),x=function(e){wo(r,e);var t=$o(r);function r(n){mo(this,r);var o;o=t.call(this,n),V(M(o),"caption",void 0),V(M(o),"isHideCaption",void 0),V(M(o),"isShowCaptionTip",void 0),V(M(o),"captionTip",void 0),V(M(o),"labelPosition",void 0),V(M(o),"dataBind",void 0),V(M(o),"defaultValue",void 0),V(M(o),"placeholder",void 0),V(M(o),"defaultState",void 0),V(M(o),"required",void 0),V(M(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var g;o.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",o.dataBind=new je(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}(W);V(x,"Rules",pe),V(x,"RuntimeRules",z);var Pn=function(e){wo(r,e);var t=$o(r);function r(n){mo(this,r);var o;return o=t.call(this,n),V(M(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(M(o),"options",[{type:"array",message:v.getMessage("isNotArray")}]),V(M(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),Ua.call(M(o),n),o}return r}(pe);function Ga(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function BA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xa(e,t)}function AA(e,t){return t&&(xA(t)==="object"||typeof t=="function")?t:Ga(e)}function Xa(e,t){return Xa=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xa(e,t)}function xA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DA(e){var t=kA();return function(){var n=Ro(e),o;if(t){var i=Ro(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AA(this,o)}}var N=function(e){BA(r,e);var t=DA(r);function r(n){IA(this,r);var o;return o=t.call(this,n),Po(Ga(o),"controlType","form"),Po(Ga(o),"props",void 0),o.props=new x(n==null?void 0:n.props),o}return r}(L);Po(N,"controlEventKeys",["on_change","on_focus","on_blur"]),Po(N,"controlCustomAttributes",void 0);function So(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 Qa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(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&&Ja(e,t)}function FA(e,t){return t&&(LA(t)==="object"||typeof t=="function")?t:So(e)}function Ja(e,t){return Ja=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ja(e,t)}function LA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VA(e){var t=MA();return function(){var n=Eo(e),o;if(t){var i=Eo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FA(this,o)}}var j=function(e){jA(r,e);var t=VA(r);function r(n){NA(this,r);var o;return o=t.call(this,n),Qa(So(o),"controlType","form"),Qa(So(o),"props",void 0),Qa(So(o),"value",void 0),o.props=new x(n==null?void 0:n.props),o}return r}(Tt);function zA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function CA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Za(e,t)}function qA(e,t){return t&&(UA(t)==="object"||typeof t=="function")?t:zA(e)}function Za(e,t){return Za=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Za(e,t)}function UA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KA(e){var t=WA();return function(){var n=To(e),o;if(t){var i=To(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qA(this,o)}}var de=function(e){CA(r,e);var t=KA(r);function r(n){return HA(this,r),t.call(this,n)}return r}(W);function Ya(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 GA(e){if(Array.isArray(e))return Ya(e)}function XA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function QA(){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 yg(e){return GA(e)||XA(e)||JA(e)||QA()}function JA(e,t){if(!!e){if(typeof e=="string")return Ya(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 Ya(e,t)}}function ZA(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function pg(e,t){e.parent=t,ZA(e,"parent")}function YA(e,t){e.forEach(function(r){pg(r,t)})}var dg=Symbol("targetKey");function vg(e){var t;return(t=e[dg])!==null&&t!==void 0?t:e}function hg(e,t){return YA(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),c=2;c<i;c++)u[c-2]=arguments[c];var f;return o===dg?n:(f=Reflect).get.apply(f,[n,o].concat(yg(u)))},set:function(n,o,i){for(var u=arguments.length,c=new Array(u>3?u-3:0),f=3;f<u;f++)c[f-3]=arguments[f];var l;if(wa(e)&&o==="length"&&i===e.length)return!0;var a=(l=Reflect).set.apply(l,[n,o,i].concat(yg(c)));return Db(i)&&pg(i,t),a}})}function It(e,t,r,n){var o=n!=null?n:e,i=hg(vg(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=hg(vg(c),o)},enumerable:!0})}function es(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 ex(e){if(Array.isArray(e))return es(e)}function nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bg(e,t,r,n,o,i,u){try{var c=e[i](u),f=c.value}catch(l){r(l);return}c.done?t(f):Promise.resolve(f).then(n,o)}function tx(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){bg(i,n,o,u,c,"next",f)}function c(f){bg(i,n,o,u,c,"throw",f)}u(void 0)})}}function nx(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 rx(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),e}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 Rn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Rn=Reflect.get:Rn=function(o,i,u){var c=_x(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},Rn(e,t,r||e)}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},At(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&&ts(e,t)}function ix(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ux(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cx(){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 lx(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 fx(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 ax(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function sx(e,t){return t&&(yx(t)==="object"||typeof t=="function")?t:nn(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ts(e,t)}function _x(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=At(e),e!==null););return e}function mg(e){return ex(e)||ux(e)||px(e)||cx()}function yx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function px(e,t){if(!!e){if(typeof e=="string")return es(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 es(e,t)}}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 vx(e){var t=dx();return function(){var n=At(e),o;if(t){var i=At(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sx(this,o)}}var hx=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(a){return f([l,a])}}function f(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(a){l=[6,a],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},bx=1e4,ve=function(t){ox(n,t);var r=vx(n);function n(o){nx(this,n);var i;i=r.call(this,o),Bt(nn(i),"controlType","layout"),Bt(nn(i),"children",void 0),Bt(nn(i),"excludes",void 0),Bt(nn(i),"childrenMaxLength",void 0),Bt(nn(i),"props",void 0);var u=ix(this,n)?this.constructor:void 0,c=u.excludes,f=u.childrenMaxLength;return i.props=new de(o==null?void 0:o.props),It(nn(i),"children",o==null?void 0:o.children),i.excludes=Pt(c),i.childrenMaxLength=f,i}return rx(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,f=this,l=function(){return Rn(At(n.prototype),"validate",c)};return tx(function(){return hx(this,function(a){switch(a.label){case 0:return[4,l().call(f,i,u)];case 1:return a.sent(),[4,Promise.all(f.children.map(function(_){return _.validate(i,u)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=Rn(At(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(f,l){var a=l.toDataBindModel(i);if(Array.isArray(a)){var _=a.filter(function(p){return!!p});return mg(f).concat(mg(_))}return a&&f.push(a),f},c)}},{key:"toSchema",value:function(){var i=Rn(At(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var f=c.toSchema();return f});return ax(lx({},i),{children:u})}}]),n}(L);Bt(ve,"excludes",!1),Bt(ve,"childrenMaxLength",bx);function zr(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 ns(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Io(e)}function mx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rs(e,t)}function Ox(e,t){return t&&(wx(t)==="object"||typeof t=="function")?t:zr(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rs(e,t)}function wx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Px(e){var t=$x();return function(){var n=Io(e),o;if(t){var i=Io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ox(this,o)}}var rn=function(e){mx(r,e);var t=Px(r);function r(n){gx(this,r);var o;return o=t.call(this,n),ns(zr(o),"controlType","layout"),ns(zr(o),"children",void 0),ns(zr(o),"props",void 0),o.props=new de(n==null?void 0:n.props),It(zr(o),"children",n==null?void 0:n.children),o}return r}(Tt);function os(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 Sx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(e)}function Ex(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function Tx(e,t){return t&&(Ix(t)==="object"||typeof t=="function")?t:os(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}function Ix(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ax(e){var t=Bx();return function(){var n=Bo(e),o;if(t){var i=Bo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tx(this,o)}}var us=function(e){Ex(r,e);var t=Ax(r);function r(n,o){Rx(this,r);var i;return i=t.call(this,o),Sx(os(i),"headers",void 0),It(os(i),"headers",o==null?void 0:o.headers,n),i}return r}(W);function cs(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 xx(e){if(Array.isArray(e))return cs(e)}function Ao(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Og(e,t,r,n,o,i,u){try{var c=e[i](u),f=c.value}catch(l){r(l);return}c.done?t(f):Promise.resolve(f).then(n,o)}function kx(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){Og(i,n,o,u,c,"next",f)}function c(f){Og(i,n,o,u,c,"throw",f)}u(void 0)})}}function Dx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nx(e,t,r){return t&&wg(e.prototype,t),r&&wg(e,r),e}function xo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Sn=Reflect.get:Sn=function(o,i,u){var c=zx(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},Sn(e,t,r||e)}function xt(e){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xt(e)}function jx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lx(){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 $g(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){xo(e,o,r[o])})}return e}function Mx(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 Pg(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Vx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:Ao(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}function zx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=xt(e),e!==null););return e}function Rg(e){return xx(e)||Fx(e)||Cx(e)||Lx()}function Hx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cx(e,t){if(!!e){if(typeof e=="string")return cs(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 cs(e,t)}}function qx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ux(e){var t=qx();return function(){var n=xt(e),o;if(t){var i=xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vx(this,o)}}var Wx=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(a){return f([l,a])}}function f(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(a){l=[6,a],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},fs=function(e){jx(r,e);var t=Ux(r);function r(n){Dx(this,r);var o;return o=t.call(this,n),xo(Ao(o),"controlType","list"),xo(Ao(o),"props",void 0),o.props=new us(Ao(o),n==null?void 0:n.props),o}return Nx(r,[{key:"validate",value:function(o,i){var u=this,c=this,f=function(){return Sn(xt(r.prototype),"validate",u)};return kx(function(){return Wx(this,function(l){switch(l.label){case 0:return[4,f().call(c,o)];case 1:return l.sent(),[4,Promise.all(c.props.headers.map(function(a){return a.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Sn(xt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,f){var l=f.toDataBindModel(u);if(Array.isArray(l)){var a=l.filter(function(_){return!!_});return Rg(c).concat(Rg(a))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o=Sn(xt(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return Pg($g({},o),{props:Pg($g({},this.props),{headers:i})})}}]),r}(L);xo(fs,"controlFieldType",h.LIST);function Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function as(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(e)}function ss(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kx(e,t){return t&&(Gx(t)==="object"||typeof t=="function")?t:Q(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}function Gx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ys(e){var t=Xx();return function(){var n=ko(e),o;if(t){var i=ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kx(this,o)}}var ps=function(e){ss(r,e);var t=ys(r);function r(n){as(this,r);var o;return o=t.call(this,n),ie(Q(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),ie(Q(o),"width",{type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(C),U=function(e){ss(r,e);var t=ys(r);function r(n){as(this,r);var o;o=t.call(this,n),ie(Q(o),"widthType",void 0),ie(Q(o),"width",void 0),ie(Q(o),"caption",void 0),ie(Q(o),"dataBind",void 0),ie(Q(o),"autoWidth",void 0),ie(Q(o),"fixed",void 0),ie(Q(o),"sort",void 0),ie(Q(o),"align",void 0),ie(Q(o),"colSpan",void 0),ie(Q(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 u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new Hb(n==null?void 0:n.autoWidth),o.dataBind=new je(n==null?void 0:n.dataBind);var f;o.sort=(f=n==null?void 0:n.sort)!==null&&f!==void 0?f:!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}(W);ie(U,"Rules",ps);var Sg=function(e){ss(r,e);var t=ys(r);function r(n){as(this,r);var o;return o=t.call(this,n),ie(Q(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")}),ie(Q(o),"options",[{type:"array",message:v.getMessage("isNotArray")}]),ie(Q(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),Ua.call(Q(o),n),o}return r}(ps);function ds(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 Eg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(e)}function Jx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zx(e,t){return t&&(Yx(t)==="object"||typeof t=="function")?t:ds(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}function Yx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t2(e){var t=e2();return function(){var n=Do(e),o;if(t){var i=Do(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zx(this,o)}}var ue=function(e){Jx(r,e);var t=t2(r);function r(n){Qx(this,r);var o;return o=t.call(this,n),Eg(ds(o),"controlType","column"),Eg(ds(o),"props",void 0),o.props=new U(n==null?void 0:n.props),o}return r}(L);function hs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(e)}function r2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o2(e,t){return t&&(i2(t)==="object"||typeof t=="function")?t:hs(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(e,t)}function i2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=u2();return function(){var n=No(e),o;if(t){var i=No(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o2(this,o)}}var ce=function(e){r2(r,e);var t=c2(r);function r(n){n2(this,r);var o;return o=t.call(this,n),Tg(hs(o),"controlType","column"),Tg(hs(o),"props",void 0),o.props=new U(n==null?void 0:n.props),o}return r}(Tt);function Ig(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jo(e)}function a2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gs(e,t)}function s2(e,t){return t&&(_2(t)==="object"||typeof t=="function")?t:Ig(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gs(e,t)}function _2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p2(e){var t=y2();return function(){var n=jo(e),o;if(t){var i=jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s2(this,o)}}var ms=function(e){a2(r,e);var t=p2(r);function r(n){l2(this,r);var o;return o=t.call(this,n),f2(Ig(o),"dataBind",void 0),o.dataBind=new je(n==null?void 0:n.dataBind),o}return r}(de);function Os(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(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&&ws(e,t)}function h2(e,t){return t&&(b2(t)==="object"||typeof t=="function")?t:Os(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ws(e,t)}function b2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m2(e){var t=g2();return function(){var n=Fo(e),o;if(t){var i=Fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h2(this,o)}}var O2=function(e){v2(r,e);var t=m2(r);function r(n){d2(this,r);var o;return o=t.call(this,n),Bg(Os(o),"controlType","search"),Bg(Os(o),"props",void 0),o.props=new ms(n==null?void 0:n.props),o}return r}(ve);function $s(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ag(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 $2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function P2(e,t){return t&&(R2(t)==="object"||typeof t=="function")?t:$s(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(e,t)}function R2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E2(e){var t=S2();return function(){var n=Lo(e),o;if(t){var i=Lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P2(this,o)}}var T2=function(e){$2(r,e);var t=E2(r);function r(n){w2(this,r);var o;return o=t.call(this,n),Ag($s(o),"controlType","search"),Ag($s(o),"props",void 0),o.props=new ms(n==null?void 0:n.props),o}return r}(rn);function En(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(e)}function B2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rs(e,t)}function A2(e,t){return t&&(x2(t)==="object"||typeof t=="function")?t:En(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(e,t)}function x2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D2(e){var t=k2();return function(){var n=Mo(e),o;if(t){var i=Mo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A2(this,o)}}var N2=function(e){B2(r,e);var t=D2(r);function r(n){I2(this,r);var o;o=t.call(this,n),Hr(En(o),"content",void 0),Hr(En(o),"fontSize",void 0),Hr(En(o),"color",void 0),Hr(En(o),"icon",void 0),Hr(En(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var f;o.showState=(f=n==null?void 0:n.showState)!==null&&f!==void 0?f:"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}(W);function xg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F2(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),e}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 Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function L2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ss(e,t)}function M2(e,t){return t&&(V2(t)==="object"||typeof t=="function")?t:xg(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(e,t)}function V2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H2(e){var t=z2();return function(){var n=Vo(e),o;if(t){var i=Vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M2(this,o)}}var C2=function(e){L2(r,e);var t=H2(r);function r(n){j2(this,r);var o;return o=t.call(this,n),Dg(xg(o),"props",void 0),o.props=new N2(n==null?void 0:n.props),o}return F2(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(L);Dg(C2,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function zo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(e)}function U2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 W2(e,t){return t&&(K2(t)==="object"||typeof t=="function")?t:zo(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(e,t)}function K2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X2(e){var t=G2();return function(){var n=Ho(e),o;if(t){var i=Ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W2(this,o)}}var Q2=function(e){U2(r,e);var t=X2(r);function r(n){q2(this,r);var o;o=t.call(this,n),Es(zo(o),"content",void 0),Es(zo(o),"url",void 0),Es(zo(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 u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}(W);function Ng(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J2(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 Z2(e,t,r){return t&&jg(e.prototype,t),r&&jg(e,r),e}function Is(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Co(e)}function Y2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function e3(e,t){return t&&(t3(t)==="object"||typeof t=="function")?t:Ng(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}function t3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r3(e){var t=n3();return function(){var n=Co(e),o;if(t){var i=Co(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e3(this,o)}}var Fg=function(e){Y2(r,e);var t=r3(r);function r(n){J2(this,r);var o;return o=t.call(this,n),Is(Ng(o),"props",void 0),o.props=new Q2(n==null?void 0:n.props),o}return Z2(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(L);Is(Fg,"controlEventKeys",["on_click"]),Is(Fg,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function i3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function u3(e,t){return t&&(c3(t)==="object"||typeof t=="function")?t:ct(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}function c3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f3(e){var t=l3();return function(){var n=qo(e),o;if(t){var i=qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u3(this,o)}}var xe=function(e){i3(r,e);var t=f3(r);function r(n){o3(this,r);var o;o=t.call(this,n),kt(ct(o),"content",void 0),kt(ct(o),"buttonType",void 0),kt(ct(o),"showType",void 0),kt(ct(o),"color",void 0),kt(ct(o),"icon",void 0),kt(ct(o),"defaultState",void 0),kt(ct(o),"command",void 0),kt(ct(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return r}(W);function Lg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a3(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 s3(e,t,r){return t&&Mg(e.prototype,t),r&&Mg(e,r),e}function xs(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 _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&&ks(e,t)}function y3(e,t){return t&&(p3(t)==="object"||typeof t=="function")?t:Lg(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}function p3(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 v3(e){var t=d3();return function(){var n=Uo(e),o;if(t){var i=Uo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y3(this,o)}}var $e=function(e){_3(r,e);var t=v3(r);function r(n){a3(this,r);var o;return o=t.call(this,n),xs(Lg(o),"props",void 0),o.props=new xe(n==null?void 0:n.props),o}return s3(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(L);xs($e,"controlEventKeys",["on_click"]),xs($e,"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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function Dt(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}var lt;(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"})(lt||(lt={}));var Ds;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Ds||(Ds={}));var Ns;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Ns||(Ns={}));var js=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:Ds.UN_SELECT_ABLE_INTERVAL,dateLimitType:Ns.FILE_IN_TIME,id:it(8),value:["",""]};Dt(this,e),T(this,"dateConfigType",void 0),T(this,"dateLimitType",void 0),T(this,"id",void 0),T(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},Fs;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(Fs||(Fs={}));var Ls=function e(t){Dt(this,e),T(this,"id",void 0),T(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:it();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},Ms;(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"})(Ms||(Ms={}));var Vg=function e(t){Dt(this,e),T(this,"type",void 0),T(this,"person",void 0),T(this,"signatureType",void 0),T(this,"telephone",void 0),T(this,"company",void 0),T(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new jr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new jr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,f;this.company=(f=t==null?void 0:t.company)!==null&&f!==void 0?f:new jr((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},h3=function e(t){Dt(this,e);var r;T(this,"fileControl",void 0),T(this,"undersignedList",void 0),T(this,"statusControl",void 0),T(this,"completeControl",void 0),T(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(f){return new Vg(f)}))!==null&&o!==void 0?o:[new Vg];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},zg=function e(t){Dt(this,e),T(this,"id",void 0),T(this,"appId",void 0),T(this,"dataCode",void 0),T(this,"svcCode",void 0),T(this,"name",void 0),T(this,"fieldList",void 0),T(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:it(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var f;this.active=(f=t==null?void 0:t.active)!==null&&f!==void 0?f:!1},Hg=function e(t){Dt(this,e),T(this,"active",void 0),T(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},b3=function e(t){Dt(this,e),T(this,"types",void 0),T(this,"history",void 0),T(this,"collaborativeRecord",void 0),T(this,"logicToDelete",void 0),T(this,"watermark",void 0),T(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Hg(t==null?void 0:t.watermark),this.autoRename=new Hg(t==null?void 0:t.autoRename)},g3=480;function Wo(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var m3=function e(t){Dt(this,e),T(this,"fileId",void 0),T(this,"fileName",void 0),T(this,"ruleName",void 0),T(this,"isDefault",void 0),T(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},Cg;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Cg||(Cg={}));var Vs;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(Vs||(Vs={}));var zs;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(zs||(zs={}));var Tn;(function(e){e.ALL="all",e.ASSIGN="assign"})(Tn||(Tn={}));var Hs;(function(e){e.ALL="all",e.ADMIN="admin"})(Hs||(Hs={}));function Cs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function w3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $3(e,t){return t&&(P3(t)==="object"||typeof t=="function")?t:Cs(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}function P3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S3(e){var t=R3();return function(){var n=Ko(e),o;if(t){var i=Ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $3(this,o)}}var E3=function(e){w3(r,e);var t=S3(r);function r(n){O3(this,r);var o;o=t.call(this,n),qg(Cs(o),"color",void 0),qg(Cs(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:Ms.SOLID,o}return r}(W);function Ug(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I3(e,t,r){return t&&Wg(e.prototype,t),r&&Wg(e,r),e}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 Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(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&&Us(e,t)}function A3(e,t){return t&&(x3(t)==="object"||typeof t=="function")?t:Ug(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}function x3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D3(e){var t=k3();return function(){var n=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A3(this,o)}}var N3=function(e){B3(r,e);var t=D3(r);function r(n){T3(this,r);var o;return o=t.call(this,n),Kg(Ug(o),"props",void 0),o.props=new E3(n==null?void 0:n.props),o}return I3(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(L);Kg(N3,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Nt(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 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 Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(e)}function Xg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function j3(e,t){return t&&(F3(t)==="object"||typeof t=="function")?t:Nt(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}function F3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qg(e){var t=L3();return function(){var n=Xo(e),o;if(t){var i=Xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j3(this,o)}}var M3=function(e){Xg(r,e);var t=Qg(r);function r(n){Gg(this,r);var o;return o=t.call(this,n),jt(Nt(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),jt(Nt(o),"dataBind",{type:"any"}),jt(Nt(o),"config",{type:"array"}),n.config.includes(lt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")}},message:v.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:v.getMessage("pleaseSelectOneField")}),o}return r}(C),Jg=function(e){Xg(r,e);var t=Qg(r);function r(n){Gg(this,r);var o;o=t.call(this,n),jt(Nt(o),"dataBind",void 0),jt(Nt(o),"caption",void 0),jt(Nt(o),"config",void 0),jt(Nt(o),"position",void 0),o.dataBind=new je(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[lt.ShowSubmitUser,lt.ShowSubmitDept,lt.ShowSubmitTime,lt.ShowCurrentApprovar,lt.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Cr==null?void 0:Cr.controlName)!==null&&c!==void 0?c:"";var f;return o.position=(f=n==null?void 0:n.position)!==null&&f!==void 0?f:"top",o}return r}(W);jt(Jg,"Rules",M3);function Zg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 z3(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function Ks(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function H3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function C3(e,t){return t&&(q3(t)==="object"||typeof t=="function")?t:Zg(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}function q3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W3(e){var t=U3();return function(){var n=Qo(e),o;if(t){var i=Qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C3(this,o)}}var Cr=function(e){H3(r,e);var t=W3(r);function r(n){V3(this,r);var o;return o=t.call(this,n),Ks(Zg(o),"props",void 0),o.props=new Jg(n==null?void 0:n.props),o}return z3(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(L);Ks(Cr,"controlFieldType",h.AUTO_NUMBER),Ks(Cr,"setting",[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function Jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function em(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function tm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K3(e,t){return t&&(G3(t)==="object"||typeof t=="function")?t:Jo(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}function G3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nm(e){var t=X3();return function(){var n=Yo(e),o;if(t){var i=Yo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K3(this,o)}}var Q3=function(e){tm(r,e);var t=nm(r);function r(n){em(this,r);var o;return o=t.call(this,n),Zo(Jo(o),"formKey",{type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}),o}return r}(C),rm=function(e){tm(r,e);var t=nm(r);function r(n){em(this,r);var o;o=t.call(this,n),Zo(Jo(o),"formKey",void 0),Zo(Jo(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ti.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:ti.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var f;return o.openType=(f=n==null?void 0:n.openType)!==null&&f!==void 0?f:"modal",o}return r}(xe);Zo(rm,"Rules",Q3);function om(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J3(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 Z3(e,t,r){return t&&im(e.prototype,t),r&&im(e,r),e}function Qs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(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&&Js(e,t)}function ek(e,t){return t&&(tk(t)==="object"||typeof t=="function")?t:om(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}function tk(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 rk(e){var t=nk();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 ek(this,o)}}var ti=function(e){Y3(r,e);var t=rk(r);function r(n){J3(this,r);var o;return o=t.call(this,n),Qs(om(o),"props",void 0),o.props=new rm(n==null?void 0:n.props),o}return Z3(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}($e);Qs(ti,"controlEventKeys",["on_click","on_click_finish"]),Qs(ti,"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 In(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function um(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function cm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function ok(e,t){return t&&(ik(t)==="object"||typeof t=="function")?t:In(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}function ik(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 lm(e){var t=uk();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 ok(this,o)}}var ck=function(e){cm(r,e);var t=lm(r);function r(n){um(this,r);var o;return o=t.call(this,n),Bn(In(o),"processKey",[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterProcess")}]),o}return r}(C),fm=function(e){cm(r,e);var t=lm(r);function r(n){um(this,r);var o;o=t.call(this,n),Bn(In(o),"processKey",void 0),Bn(In(o),"initiatorMode",void 0),Bn(In(o),"fieldCode",void 0),Bn(In(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:oi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:oi.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var f;o.processKey=(f=n==null?void 0:n.processKey)!==null&&f!==void 0?f:"";var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;return o.employeeId=(a=n==null?void 0:n.employeeId)!==null&&a!==void 0?a:"",o}return r}(xe);Bn(fm,"Rules",ck);function am(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 sm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fk(e,t,r){return t&&sm(e.prototype,t),r&&sm(e,r),e}function Ys(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 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&&e_(e,t)}function sk(e,t){return t&&(_k(t)==="object"||typeof t=="function")?t:am(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}function _k(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 pk(e){var t=yk();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 sk(this,o)}}var oi=function(e){ak(r,e);var t=pk(r);function r(n){lk(this,r);var o;return o=t.call(this,n),Ys(am(o),"props",void 0),o.props=new fm(n==null?void 0:n.props),o}return fk(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}($e);Ys(oi,"controlEventKeys",["on_click","on_click_finish"]),Ys(oi,"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 dk(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 ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(e)}function hk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t_(e,t)}function bk(e,t){return t&&(gk(t)==="object"||typeof t=="function")?t:dk(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(e,t)}function gk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ok(e){var t=mk();return function(){var n=ii(e),o;if(t){var i=ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bk(this,o)}}var wk=function(e){hk(r,e);var t=Ok(r);function r(n){vk(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:ci.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ci.controlIcon,o}return r}(xe);function _m(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 ym(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pk(e,t,r){return t&&ym(e.prototype,t),r&&ym(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 ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(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&&r_(e,t)}function Sk(e,t){return t&&(Ek(t)==="object"||typeof t=="function")?t:_m(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}function Ek(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 Ik(e){var t=Tk();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 Sk(this,o)}}var ci=function(e){Rk(r,e);var t=Ik(r);function r(n){$k(this,r);var o;return o=t.call(this,n),n_(_m(o),"props",void 0),o.props=new wk(n==null?void 0:n.props),o}return Pk(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}($e);n_(ci,"controlEventKeys",["on_click"]),n_(ci,"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 pm(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 Ak(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 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&&o_(e,t)}function kk(e,t){return t&&(Dk(t)==="object"||typeof t=="function")?t:pm(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}function Dk(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 jk(e){var t=Nk();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 kk(this,o)}}var Fk=function(e){xk(r,e);var t=jk(r);function r(n){Bk(this,r);var o,i;o=t.call(this,n),Ak(pm(o),"templateList",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ai.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:ai.controlName;var f;return o.templateList=(f=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(l){return new zg(l)}))!==null&&f!==void 0?f:[new zg({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(xe);function dm(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 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 Mk(e,t,r){return t&&vm(e.prototype,t),r&&vm(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 fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function Vk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function zk(e,t){return t&&(Hk(t)==="object"||typeof t=="function")?t:dm(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}function Hk(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 qk(e){var t=Ck();return function(){var n=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zk(this,o)}}var ai=function(e){Vk(r,e);var t=qk(r);function r(n){Lk(this,r);var o;return o=t.call(this,n),i_(dm(o),"props",void 0),o.props=new Fk(n==null?void 0:n.props),o}return Mk(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}($e);i_(ai,"controlEventKeys",["on_click","on_click_finish"]),i_(ai,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Uk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(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&&c_(e,t)}function Gk(e,t){return t&&(Xk(t)==="object"||typeof t=="function")?t:Uk(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function Xk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jk(e){var t=Qk();return function(){var n=si(e),o;if(t){var i=si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gk(this,o)}}var Zk=function(e){Kk(r,e);var t=Jk(r);function r(n){Wk(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:yi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:yi.controlIcon,o}return r}(xe);function hm(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 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 eD(e,t,r){return t&&bm(e.prototype,t),r&&bm(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 _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(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&&f_(e,t)}function nD(e,t){return t&&(rD(t)==="object"||typeof t=="function")?t:hm(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}function rD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iD(e){var t=oD();return function(){var n=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nD(this,o)}}var yi=function(e){tD(r,e);var t=iD(r);function r(n){Yk(this,r);var o;return o=t.call(this,n),l_(hm(o),"props",void 0),o.props=new Zk(n==null?void 0:n.props),o}return eD(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}($e);l_(yi,"controlEventKeys",["on_click"]),l_(yi,"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 gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(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&&a_(e,t)}function cD(e,t){return t&&(lD(t)==="object"||typeof t=="function")?t:gm(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}function lD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aD(e){var t=fD();return function(){var n=pi(e),o;if(t){var i=pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cD(this,o)}}var sD=function e(t){mm(this,e),Om(this,"dataCode",void 0),this.dataCode=t.dataCode},_D=function(e){uD(r,e);var t=aD(r);function r(n){mm(this,r);var o,i;o=t.call(this,n),Om(gm(o),"canImportList",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:vi.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:vi.controlIcon;var f;return o.canImportList=(f=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new sD(l)}))!==null&&f!==void 0?f:[],o}return r}(xe);function wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 pD(e,t,r){return t&&$m(e.prototype,t),r&&$m(e,r),e}function s_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function dD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vD(e,t){return t&&(hD(t)==="object"||typeof t=="function")?t:wm(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function hD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gD(e){var t=bD();return function(){var n=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vD(this,o)}}var vi=function(e){dD(r,e);var t=gD(r);function r(n){yD(this,r);var o;return o=t.call(this,n),s_(wm(o),"props",void 0),o.props=new _D(n==null?void 0:n.props),o}return pD(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}($e);s_(vi,"controlEventKeys",["on_click","on_click_finish"]),s_(vi,"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 hi(){return{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}}}}}}function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function Rm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function Sm(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){ft(e,o,r[o])})}return e}function mD(e,t){return t&&(OD(t)==="object"||typeof t=="function")?t:Ft(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}function OD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Em(e){var t=wD();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 mD(this,o)}}var $D=function(e){Rm(r,e);var t=Em(r);function r(n){Pm(this,r);var o;return o=t.call(this,n),ft(Ft(o),"fillPayload",{type:"object",fields:Sm({},hi())}),ft(Ft(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}}}),ft(Ft(o),"fillBack",{type:"object",fields:Sm({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},hi())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}),o}return r}(C),Tm=function(e){Rm(r,e);var t=Em(r);function r(n){Pm(this,r);var o;o=t.call(this,n),ft(Ft(o),"fillPayload",void 0),ft(Ft(o),"formBind",void 0),ft(Ft(o),"fillBack",void 0),ft(Ft(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:mi.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:mi.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new Aa(n==null?void 0:n.fillPayload),o.formBind=new yB(n==null?void 0:n.formBind),o.fillBack=new Kb(n==null?void 0:n.fillBack),o}return r}(xe);ft(Tm,"Rules",$D);function Im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PD(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 RD(e,t,r){return t&&Bm(e.prototype,t),r&&Bm(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 gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(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&&d_(e,t)}function ED(e,t){return t&&(TD(t)==="object"||typeof t=="function")?t:Im(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}function TD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ID(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BD(e){var t=ID();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 ED(this,o)}}var mi=function(e){SD(r,e);var t=BD(r);function r(n){PD(this,r);var o;return o=t.call(this,n),p_(Im(o),"props",void 0),o.props=new Tm(n==null?void 0:n.props),o}return RD(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}($e);p_(mi,"controlEventKeys",["on_click","on_click_finish"]),p_(mi,"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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function on(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Am(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(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&&v_(e,t)}function km(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){Lt(e,o,r[o])})}return e}function AD(e,t){return t&&(xD(t)==="object"||typeof t=="function")?t:on(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}function xD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dm(e){var t=kD();return function(){var n=Oi(e),o;if(t){var i=Oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AD(this,o)}}var DD=function(e){xm(r,e);var t=Dm(r);function r(n){Am(this,r);var o;return o=t.call(this,n),Lt(on(o),"fillPayload",{type:"object",fields:km({},hi())}),Lt(on(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}),Lt(on(o),"fillBack",{type:"object",fields:km({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},hi())}),o}return r}(C),Nm=function(e){xm(r,e);var t=Dm(r);function r(n){Am(this,r);var o;o=t.call(this,n),Lt(on(o),"fillPayload",void 0),Lt(on(o),"listPageBind",void 0),Lt(on(o),"fillBack",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:$i.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:$i.controlIcon,o.fillPayload=new Aa(n==null?void 0:n.fillPayload),o.listPageBind=new qb(n==null?void 0:n.listPageBind),o.fillBack=new Kb(n==null?void 0:n.fillBack),o}return r}(xe);Lt(Nm,"Rules",DD);function jm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ND(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jD(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(e,r),e}function h_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(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&&b_(e,t)}function LD(e,t){return t&&(MD(t)==="object"||typeof t=="function")?t:jm(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(e,t)}function MD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zD(e){var t=VD();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 LD(this,o)}}var $i=function(e){FD(r,e);var t=zD(r);function r(n){ND(this,r);var o;return o=t.call(this,n),h_(jm(o),"props",void 0),o.props=new Nm(n==null?void 0:n.props),o}return jD(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}($e);h_($i,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),h_($i,"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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function HD(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 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 Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(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&&O_(e,t)}function CD(e,t){return t&&(qD(t)==="object"||typeof t=="function")?t:HD(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}function qD(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 w_(e){var t=UD();return function(){var n=Pi(e),o;if(t){var i=Pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CD(this,o)}}var WD=function(e){m_(r,e);var t=w_(r);function r(n){return g_(this,r),t.call(this,n)}return r}(C),KD=function(e){m_(r,e);var t=w_(r);function r(n){return g_(this,r),t.call(this,n)}return r}(tn),$_=function(e){m_(r,e);var t=w_(r);function r(n){return g_(this,r),t.call(this,n)}return r}(W);Lm($_,"Rules",WD),Lm($_,"RuntimeRules",KD);function Mm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XD(e,t,r){return t&&Vm(e.prototype,t),r&&Vm(e,r),e}function zm(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 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&&P_(e,t)}function JD(e,t){return t&&(ZD(t)==="object"||typeof t=="function")?t:Mm(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function ZD(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 eN(e){var t=YD();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 JD(this,o)}}var tN=function(e){QD(r,e);var t=eN(r);function r(n){GD(this,r);var o;return o=t.call(this,n),zm(Mm(o),"props",void 0),o.props=new $_(n==null?void 0:n.props),o}return XD(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(L);zm(tN,"setting",[]);function Le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}function Cm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R_(e,t)}function nN(e,t){return t&&(rN(t)==="object"||typeof t=="function")?t:Le(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}function rN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qm(e){var t=oN();return function(){var n=Si(e),o;if(t){var i=Si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nN(this,o)}}var iN=function(e){Cm(r,e);var t=qm(r);function r(n){Hm(this,r);var o;return o=t.call(this,n),Me(Le(o),"dashboardKey",{type:"string",required:!0,message:v.getMessage("pleaseSelectDashboard")}),Me(Le(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Me(Le(o),"isHideCaption",{type:"boolean"}),Me(Le(o),"labelPosition",{type:"enum",enum:["top","left"]}),Me(Le(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(C),Um=function(e){Cm(r,e);var t=qm(r);function r(n){Hm(this,r);var o;o=t.call(this,n),Me(Le(o),"dashboardKey",void 0),Me(Le(o),"caption",void 0),Me(Le(o),"isHideCaption",void 0),Me(Le(o),"isShowCaptionTip",void 0),Me(Le(o),"captionTip",void 0),Me(Le(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var 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 l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;return o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top",o}return r}(W);Me(Um,"Rules",iN);function Wm(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 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 cN(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function Gm(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 lN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fN(e,t){return t&&(aN(t)==="object"||typeof t=="function")?t:Wm(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}function aN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _N(e){var t=sN();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 fN(this,o)}}var yN=function(e){lN(r,e);var t=_N(r);function r(n){uN(this,r);var o;return o=t.call(this,n),Gm(Wm(o),"props",void 0),o.props=new Um(n==null?void 0:n.props),o}return cN(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(L);Gm(yN,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{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 Xm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(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&&E_(e,t)}function pN(e,t){return t&&(dN(t)==="object"||typeof t=="function")?t:qr(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function dN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jm(e){var t=vN();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pN(this,o)}}var hN=function(e){Qm(r,e);var t=Jm(r);function r(n){Xm(this,r);var o;return o=t.call(this,n),Ur(qr(o),"showType",{type:"enum",enum:["select","tabs"]}),Ur(qr(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:v.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(C),Zm=function(e){Qm(r,e);var t=Jm(r);function r(n){Xm(this,r);var o,i;o=t.call(this,n),Ur(qr(o),"showType",void 0),Ur(qr(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(f){return new BB(f)}))!==null&&c!==void 0?c:[],o}return r}(W);Ur(Zm,"Rules",hN);function Ym(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 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 gN(e,t,r){return t&&e0(e.prototype,t),r&&e0(e,r),e}function t0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function mN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ON(e,t){return t&&(wN(t)==="object"||typeof t=="function")?t:Ym(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}function wN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $N(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PN(e){var t=$N();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ON(this,o)}}var RN=function(e){mN(r,e);var t=PN(r);function r(n){bN(this,r);var o;return o=t.call(this,n),t0(Ym(o),"props",void 0),o.props=new Zm(n==null?void 0:n.props),o}return gN(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}(L);t0(RN,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function r0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function SN(e,t){return t&&(EN(t)==="object"||typeof t=="function")?t:Pe(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}function EN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o0(e){var t=TN();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 SN(this,o)}}var IN=function(e){r0(r,e);var t=o0(r);function r(n){n0(this,r);var o;return o=t.call(this,n),Re(Pe(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Re(Pe(o),"isHideCaption",{type:"boolean"}),Re(Pe(o),"labelPosition",{type:"enum",enum:["top","left"]}),Re(Pe(o),"ocrType",{type:"string",required:!0,message:v.getMessage("pleaseSelectOcrType")}),Re(Pe(o),"fillList",{type:"array",validator:function(u,c,f){var l=c.every(function(a){return!a.controlId});if(l){f(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}f()}}),Re(Pe(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(C),i0=function(e){r0(r,e);var t=o0(r);function r(n){n0(this,r);var o,i;o=t.call(this,n),Re(Pe(o),"caption",void 0),Re(Pe(o),"isHideCaption",void 0),Re(Pe(o),"isShowCaptionTip",void 0),Re(Pe(o),"captionTip",void 0),Re(Pe(o),"labelPosition",void 0),Re(Pe(o),"ocrType",void 0),Re(Pe(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Wr.controlName;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 l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Wr.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:Wr.controlIcon;var g;o.ocrType=(g=n==null?void 0:n.ocrType)!==null&&g!==void 0?g:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(m){return new Be(m)}))!==null&&O!==void 0?O:[],o}return r}(xe);Re(i0,"Rules",IN);function u0(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 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 AN(e,t,r){return t&&c0(e.prototype,t),r&&c0(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 Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function xN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kN(e,t){return t&&(DN(t)==="object"||typeof t=="function")?t:u0(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}function DN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jN(e){var t=NN();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 kN(this,o)}}var Wr=function(e){xN(r,e);var t=jN(r);function r(n){BN(this,r);var o;return o=t.call(this,n),B_(u0(o),"props",void 0),o.props=new i0(n==null?void 0:n.props),o}return AN(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}($e);B_(Wr,"controlEventKeys",["on_click","on_click_finish"]),B_(Wr,"setting",[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function f0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FN(e,t){return t&&(LN(t)==="object"||typeof t=="function")?t:Se(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function LN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a0(e){var t=MN();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 FN(this,o)}}var VN=function(e){f0(r,e);var t=a0(r);function r(n){l0(this,r);var o;return o=t.call(this,n),Ee(Se(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Ee(Se(o),"isHideCaption",{type:"boolean"}),Ee(Se(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ee(Se(o),"invoiceCheck",{type:"boolean"}),Ee(Se(o),"fillList",{type:"array",validator:function(u,c,f){var l=c.every(function(a){return!a.controlId});if(l){f(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}f()}}),Ee(Se(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(C),s0=function(e){f0(r,e);var t=a0(r);function r(n){l0(this,r);var o,i;o=t.call(this,n),Ee(Se(o),"caption",void 0),Ee(Se(o),"isHideCaption",void 0),Ee(Se(o),"isShowCaptionTip",void 0),Ee(Se(o),"captionTip",void 0),Ee(Se(o),"labelPosition",void 0),Ee(Se(o),"invoiceCheck",void 0),Ee(Se(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Kr.controlName;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 l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;o.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Kr.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:Kr.controlIcon;var g;o.invoiceCheck=(g=n==null?void 0:n.invoiceCheck)!==null&&g!==void 0?g:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(m){return new Be(m)}))!==null&&O!==void 0?O:[],o}return r}(xe);Ee(s0,"Rules",VN);function _0(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 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 HN(e,t,r){return t&&y0(e.prototype,t),r&&y0(e,r),e}function k_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function CN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function qN(e,t){return t&&(UN(t)==="object"||typeof t=="function")?t:_0(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}function UN(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=ki(e),o;if(t){var i=ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qN(this,o)}}var Kr=function(e){CN(r,e);var t=KN(r);function r(n){zN(this,r);var o;return o=t.call(this,n),k_(_0(o),"props",void 0),o.props=new s0(n==null?void 0:n.props),o}return HN(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}($e);k_(Kr,"controlEventKeys",["on_click","on_click_finish"]),k_(Kr,"setting",[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Di(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function d0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GN(e,t){return t&&(XN(t)==="object"||typeof t=="function")?t:Di(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function XN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v0(e){var t=QN();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 GN(this,o)}}var JN=function(e){d0(r,e);var t=v0(r);function r(){p0(this,r);var n;return n=t.apply(this,arguments),Ni(Di(n),"printTemplates",{type:"array",min:1,required:!0,message:v.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(C),h0=function(e){d0(r,e);var t=v0(r);function r(n){p0(this,r);var o,i;o=t.call(this,n),Ni(Di(o),"printTemplates",void 0),Ni(Di(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Li.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Li.controlName;var f;o.printTemplates=(f=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(a){return new m3(a)}))!==null&&f!==void 0?f:[];var l;return o.autoSelectTemplate=(l=n==null?void 0:n.autoSelectTemplate)!==null&&l!==void 0?l:!1,o}return r}(xe);Ni(h0,"Rules",JN);function b0(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 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 YN(e,t,r){return t&&g0(e.prototype,t),r&&g0(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 Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function ej(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function tj(e,t){return t&&(nj(t)==="object"||typeof t=="function")?t:b0(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}function nj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oj(e){var t=rj();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tj(this,o)}}var Li=function(e){ej(r,e);var t=oj(r);function r(n){ZN(this,r);var o;return o=t.call(this,n),j_(b0(o),"props",void 0),o.props=new h0(n==null?void 0:n.props),o}return YN(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}($e);j_(Li,"controlEventKeys",["on_click","on_click_finish"]),j_(Li,"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 ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(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&&L_(e,t)}function lj(e,t){return t&&(fj(t)==="object"||typeof t=="function")?t:ij(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}function fj(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 sj(e){var t=aj();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lj(this,o)}}var _j=function(e){cj(r,e);var t=sj(r);function r(n){uj(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:zi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:zi.controlIcon,o}return r}(xe);function m0(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 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 pj(e,t,r){return t&&O0(e.prototype,t),r&&O0(e,r),e}function M_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function dj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function vj(e,t){return t&&(hj(t)==="object"||typeof t=="function")?t:m0(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}function hj(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 gj(e){var t=bj();return function(){var n=Vi(e),o;if(t){var i=Vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vj(this,o)}}var zi=function(e){dj(r,e);var t=gj(r);function r(n){yj(this,r);var o;return o=t.call(this,n),M_(m0(o),"props",void 0),o.props=new _j(n==null?void 0:n.props),o}return pj(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}($e);M_(zi,"controlEventKeys",["on_click"]),M_(zi,"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 he(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w0(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 Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(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&&z_(e,t)}function mj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:he(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}function Oj(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 P0(e){var t=wj();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 mj(this,o)}}var $j=function(e){$0(r,e);var t=P0(r);function r(n){w0(this,r);var o;return o=t.call(this,n),be(he(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}),o}return r}(C),Ci=function(e){$0(r,e);var t=P0(r);function r(n){w0(this,r);var o;o=t.call(this,n),be(he(o),"content",void 0),be(he(o),"code",void 0),be(he(o),"command",void 0),be(he(o),"color",void 0),be(he(o),"icon",void 0),be(he(o),"formKey",void 0),be(he(o),"openType",void 0),be(he(o),"needConfirm",void 0),be(he(o),"confirmMessage",void 0),be(he(o),"options",void 0),be(he(o),"defaultState",void 0),be(he(o),"priorityProcess",void 0),be(he(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 u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"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 f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"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}(W);be(Ci,"Rules",$j);function R0(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 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 Rj(e,t,r){return t&&S0(e.prototype,t),r&&S0(e,r),e}function H_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(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&&C_(e,t)}function Ej(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:R0(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}function Tj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ij(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bj(e){var t=Ij();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 Ej(this,o)}}var Ui=function(e){Sj(r,e);var t=Bj(r);function r(n){Pj(this,r);var o;return o=t.call(this,n),H_(R0(o),"props",void 0),o.props=new Ci(n==null?void 0:n.props),o}return Rj(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}(L);H_(Ui,"controlEventKeys",["on_click"]),H_(Ui,"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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function E0(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 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 xj(e,t,r){return t&&T0(e.prototype,t),r&&T0(e,r),e}function kj(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 Dj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function Nj(e,t){return t&&(jj(t)==="object"||typeof t=="function")?t:E0(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}function jj(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 Lj(e){var t=Fj();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 Nj(this,o)}}var Mj=function(e){Dj(r,e);var t=Lj(r);function r(n){Aj(this,r);var o;return o=t.call(this,n),kj(E0(o),"props",void 0),o.props=new Ci(n==null?void 0:n.props),o}return xj(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Tt),U_={Designer:Ui,Runtime:Mj,Property:Ci};function at(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 Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function zj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function Hj(e,t){return t&&(Cj(t)==="object"||typeof t=="function")?t:at(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}function Cj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uj(e){var t=qj();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 Hj(this,o)}}var Wj=function(e){zj(r,e);var t=Uj(r);function r(n){Vj(this,r);var o;o=t.call(this,n),Mt(at(o),"content",void 0),Mt(at(o),"buttonType",void 0),Mt(at(o),"showType",void 0),Mt(at(o),"color",void 0),Mt(at(o),"icon",void 0),Mt(at(o),"defaultState",void 0),Mt(at(o),"command",void 0),Mt(at(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Xi.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Xi.controlIcon;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:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"danger";var a;o.isHide=(a=n==null?void 0:n.isHide)!==null&&a!==void 0?a:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var g;return o.isLoading=(g=n==null?void 0:n.isLoading)!==null&&g!==void 0?g:!1,o}return r}(W);function I0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Gj(e,t,r){return t&&B0(e.prototype,t),r&&B0(e,r),e}function K_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(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&&G_(e,t)}function Qj(e,t){return t&&(Jj(t)==="object"||typeof t=="function")?t:I0(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}function Jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yj(e){var t=Zj();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 Qj(this,o)}}var Xi=function(e){Xj(r,e);var t=Yj(r);function r(n){Kj(this,r);var o;return o=t.call(this,n),K_(I0(o),"props",void 0),o.props=new Wj(n==null?void 0:n.props),o}return Gj(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}(L);K_(Xi,"controlEventKeys",["on_click"]),K_(Xi,"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:[s.IS_HIDE]},{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 X_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function Q_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function eF(e,t){return t&&(tF(t)==="object"||typeof t=="function")?t:Xe(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}function tF(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 Z_(e){var t=nF();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 eF(this,o)}}var rF=function(e){Q_(r,e);var t=Z_(r);function r(n){X_(this,r);var o;return o=t.call(this,n),ze(Xe(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ze(Xe(o),"minLength",{type:"number",max:200,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ze(Xe(o),"defaultValue",[{type:"string",max:200,min:0,message:v.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Wo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(pe),oF=function(e){Q_(r,e);var t=Z_(r);function r(n){X_(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:v.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Wo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(z),Gr=function(e){Q_(r,e);var t=Z_(r);function r(n){X_(this,r);var o;o=t.call(this,n),ze(Xe(o),"maxLength",void 0),ze(Xe(o),"minLength",void 0),ze(Xe(o),"regularRules",void 0),ze(Xe(o),"defaultValue",void 0),ze(Xe(o),"encrypted",void 0),ze(Xe(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new Gb(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Xr.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var a;o.encrypted=(a=n==null?void 0:n.encrypted)!==null&&a!==void 0?a:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(x);ze(Gr,"Rules",rF),ze(Gr,"RuntimeRules",oF);function A0(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 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 uF(e,t,r){return t&&x0(e.prototype,t),r&&x0(e,r),e}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 Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(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&&Y_(e,t)}function lF(e,t){return t&&(fF(t)==="object"||typeof t=="function")?t:A0(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}function fF(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 sF(e){var t=aF();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 lF(this,o)}}var Xr=function(e){cF(r,e);var t=sF(r);function r(n){iF(this,r);var o;return o=t.call(this,n),Ji(A0(o),"props",void 0),o.props=new Gr(n==null?void 0:n.props),o}return uF(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);Ji(Xr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ji(Xr,"controlFieldType",h.VARCHAR),Ji(Xr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.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 k0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yF(e,t,r){return t&&D0(e.prototype,t),r&&D0(e,r),e}function N0(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 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&&ey(e,t)}function dF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:k0(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function vF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bF(e){var t=hF();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 dF(this,o)}}var gF=function(e){pF(r,e);var t=bF(r);function r(n){_F(this,r);var o;return o=t.call(this,n),N0(k0(o),"props",void 0),o.props=new Gr(n==null?void 0:n.props),o}return yF(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(j);N0(gF,"controlFieldType",h.VARCHAR);function le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ty(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(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&&ry(e,t)}function mF(e,t){return t&&(OF(t)==="object"||typeof t=="function")?t:le(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}function OF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=wF();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 mF(this,o)}}var $F=function(e){ny(r,e);var t=oy(r);function r(n){ty(this,r);var o;o=t.call(this,n),J(le(o),"limitMax",{type:"number",min:void 0,message:v.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Pn),PF=function(e){ny(r,e);var t=oy(r);function r(n){ty(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),tu=function(e){ny(r,e);var t=oy(r);function r(n){ty(this,r);var o;o=t.call(this,n),J(le(o),"checkboxMode",void 0),J(le(o),"options",void 0),J(le(o),"optionsOrder",void 0),J(le(o),"limitMax",void 0),J(le(o),"limitMin",void 0),J(le(o),"otherOption",void 0),J(le(o),"optionConfig",void 0),J(le(o),"optionsFormat",void 0),J(le(o),"defaultShowOptions",void 0),J(le(o),"datasourceBind",void 0),J(le(o),"multistageFilling",void 0),J(le(o),"interreaction",void 0),J(le(o),"defaultValue",void 0),J(le(o),"openMultistageFilling",void 0);var i;o.options=ut((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var f;o.optionsOrder=(f=n==null?void 0:n.optionsOrder)!==null&&f!==void 0?f:!1;var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var a;o.limitMin=(a=n==null?void 0:n.limitMin)!==null&&a!==void 0?a:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:ou.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var m;o.optionsFormat=(m=n==null?void 0:n.optionsFormat)!==null&&m!==void 0?m:"horizontal";var $;o.defaultShowOptions=($=n==null?void 0:n.defaultShowOptions)!==null&&$!==void 0?$:!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(w){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Be(w))})),o}return r}(x);J(tu,"Rules",$F),J(tu,"RuntimeRules",PF);function j0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 SF(e,t,r){return t&&F0(e.prototype,t),r&&F0(e,r),e}function nu(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 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&&iy(e,t)}function TF(e,t){return t&&(IF(t)==="object"||typeof t=="function")?t:j0(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}function IF(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 AF(e){var t=BF();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 TF(this,o)}}var ou=function(e){EF(r,e);var t=AF(r);function r(n){RF(this,r);var o;return o=t.call(this,n),nu(j0(o),"props",void 0),o.props=new tu(n==null?void 0:n.props),o}return SF(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(N);nu(ou,"controlEventKeys",["on_change","on_click"]),nu(ou,"controlFieldType",h.ARRAY),nu(ou,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 L0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 kF(e,t,r){return t&&M0(e.prototype,t),r&&M0(e,r),e}function V0(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 DF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function NF(e,t){return t&&(jF(t)==="object"||typeof t=="function")?t:L0(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}function jF(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 LF(e){var t=FF();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 NF(this,o)}}var MF=function(e){DF(r,e);var t=LF(r);function r(n){xF(this,r);var o;return o=t.call(this,n),V0(L0(o),"props",void 0),o.props=new tu(n==null?void 0:n.props),o}return kF(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(j);V0(MF,"controlFieldType",h.ARRAY);function ke(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 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 uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function H0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:ke(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}function zF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C0(e){var t=HF();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 VF(this,o)}}var CF=function(e){H0(r,e);var t=C0(r);function r(n){return z0(this,r),t.call(this,n)}return r}(Pn),ly=function(e){H0(r,e);var t=C0(r);function r(n){z0(this,r);var o;o=t.call(this,n),De(ke(o),"radioMode",void 0),De(ke(o),"options",void 0),De(ke(o),"optionConfig",void 0),De(ke(o),"optionsFormat",void 0),De(ke(o),"defaultShowOptions",void 0),De(ke(o),"otherOption",void 0),De(ke(o),"optionsOrder",void 0),De(ke(o),"datasourceBind",void 0),De(ke(o),"multistageFilling",void 0),De(ke(o),"interreaction",void 0),De(ke(o),"defaultValue",void 0),De(ke(o),"openMultistageFilling",void 0);var i;o.options=ut((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var f;o.otherOption=(f=n==null?void 0:n.otherOption)!==null&&f!==void 0?f:!1;var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var a;o.defaultShowOptions=(a=n==null?void 0:n.defaultShowOptions)!==null&&a!==void 0?a:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:fu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";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($){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Be($))})),o}return r}(x);De(ly,"Rules",CF);function q0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UF(e,t,r){return t&&U0(e.prototype,t),r&&U0(e,r),e}function cu(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 WF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KF(e,t){return t&&(GF(t)==="object"||typeof t=="function")?t:q0(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function GF(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=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KF(this,o)}}var fu=function(e){WF(r,e);var t=QF(r);function r(n){qF(this,r);var o;return o=t.call(this,n),cu(q0(o),"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return UF(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(N);cu(fu,"controlEventKeys",["on_change","on_click"]),cu(fu,"controlFieldType",h.VARCHAR),cu(fu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function W0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZF(e,t,r){return t&&K0(e.prototype,t),r&&K0(e,r),e}function G0(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 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&&ay(e,t)}function eL(e,t){return t&&(tL(t)==="object"||typeof t=="function")?t:W0(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}function tL(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 rL(e){var t=nL();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 eL(this,o)}}var oL=function(e){YF(r,e);var t=rL(r);function r(n){JF(this,r);var o;return o=t.call(this,n),G0(W0(o),"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return ZF(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(j);G0(oL,"controlFieldType",h.VARCHAR);function ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(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&&yy(e,t)}function iL(e,t){return t&&(uL(t)==="object"||typeof t=="function")?t:ge(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}function uL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function py(e){var t=cL();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 iL(this,o)}}var lL=function(e){_y(r,e);var t=py(r);function r(n){sy(this,r);var o;o=t.call(this,n),fe(ge(o),"defaultValue",[{type:"number",min:0,max:200,message:v.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),fe(ge(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Wo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(pe),fL=function(e){_y(r,e);var t=py(r);function r(n){sy(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Wo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(z),_u=function(e){_y(r,e);var t=py(r);function r(n){sy(this,r);var o;o=t.call(this,n),fe(ge(o),"rangeMin",void 0),fe(ge(o),"rangeMax",void 0),fe(ge(o),"numberType",void 0),fe(ge(o),"percentageFormat",void 0),fe(ge(o),"micrometer",void 0),fe(ge(o),"precision",void 0),fe(ge(o),"showUpperCase",void 0),fe(ge(o),"isShowUnit",void 0),fe(ge(o),"unitPosition",void 0),fe(ge(o),"unit",void 0),fe(ge(o),"defaultValue",void 0),fe(ge(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var f;o.percentageFormat=(f=n==null?void 0:n.percentageFormat)!==null&&f!==void 0?f:!1;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var g;o.unitPosition=(g=n==null?void 0:n.unitPosition)!==null&&g!==void 0?g:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:du.controlName;var $;o.placeholder=($=n==null?void 0:n.placeholder)!==null&&$!==void 0?$:"\u8BF7\u8F93\u5165";var d;return o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"",o.regularRules=new Gb(n==null?void 0:n.regularRules),o}return r}(x);fe(_u,"Rules",lL),fe(_u,"RuntimeRules",fL);function X0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 sL(e,t,r){return t&&Q0(e.prototype,t),r&&Q0(e,r),e}function yu(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?pu=Reflect.get:pu=function(o,i,u){var c=pL(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},pu(e,t,r||e)}function An(e){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},An(e)}function _L(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function yL(e,t){return t&&(dL(t)==="object"||typeof t=="function")?t:X0(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}function pL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=An(e),e!==null););return e}function dL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hL(e){var t=vL();return function(){var n=An(e),o;if(t){var i=An(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yL(this,o)}}var du=function(e){_L(r,e);var t=hL(r);function r(n){aL(this,r);var o;return o=t.call(this,n),yu(X0(o),"props",void 0),o.props=new _u(n==null?void 0:n.props),o}return sL(r,[{key:"toDataBindModel",value:function(o){var i=pu(An(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,f=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(N);yu(du,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),yu(du,"controlFieldType",h.DECIMAL),yu(du,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.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:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function J0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gL(e,t,r){return t&&Z0(e.prototype,t),r&&Z0(e,r),e}function Y0(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 mL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function OL(e,t){return t&&(wL(t)==="object"||typeof t=="function")?t:J0(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}function wL(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 PL(e){var t=$L();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 OL(this,o)}}var RL=function(e){mL(r,e);var t=PL(r);function r(n){bL(this,r);var o;return o=t.call(this,n),Y0(J0(o),"props",void 0),o.props=new _u(n==null?void 0:n.props),o}return gL(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(j);Y0(RL,"controlFieldType",h.DECIMAL);function un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(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 EL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function TL(e,t){return t&&(IL(t)==="object"||typeof t=="function")?t:un(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}function IL(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 AL(e){var t=BL();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 TL(this,o)}}var eO=function(e){EL(r,e);var t=AL(r);function r(n){SL(this,r);var o,i;o=t.call(this,n),xn(un(o),"dateType",void 0),xn(un(o),"setValueType",void 0),xn(un(o),"defaultValue",void 0),xn(un(o),"limitDateList",void 0),xn(un(o),"allowDateRange",void 0),xn(un(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:$t.DATE;var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:my.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165\u65E5\u671F";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var _;o.limitDateList=(_=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(O){return new js(O)}))!==null&&_!==void 0?_:[];var p;o.allowDateRange=(p=n==null?void 0:n.allowDateRange)!==null&&p!==void 0?p:["",""];var g;return o.filterWeekend=(g=n==null?void 0:n.filterWeekend)!==null&&g!==void 0?g:!1,o}return r}(x);function tO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kL(e,t,r){return t&&nO(e.prototype,t),r&&nO(e,r),e}function by(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?bu=Reflect.get:bu=function(o,i,u){var c=jL(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},bu(e,t,r||e)}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kn(e)}function DL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gy(e,t)}function NL(e,t){return t&&(FL(t)==="object"||typeof t=="function")?t:tO(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gy(e,t)}function jL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kn(e),e!==null););return e}function FL(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 ML(e){var t=LL();return function(){var n=kn(e),o;if(t){var i=kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NL(this,o)}}var my=function(e){DL(r,e);var t=ML(r);function r(n){xL(this,r);var o;return o=t.call(this,n),by(tO(o),"props",void 0),o.props=new eO(n==null?void 0:n.props),o}return kL(r,[{key:"toDataBindModel",value:function(o){var i=bu(kn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(N);by(my,"controlFieldType",h.TIMESTAMP),by(my,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function rO(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 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 zL(e,t,r){return t&&oO(e.prototype,t),r&&oO(e,r),e}function iO(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 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&&Oy(e,t)}function CL(e,t){return t&&(qL(t)==="object"||typeof t=="function")?t:rO(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}function qL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WL(e){var t=UL();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CL(this,o)}}var KL=function(e){HL(r,e);var t=WL(r);function r(n){VL(this,r);var o;return o=t.call(this,n),iO(rO(o),"props",void 0),o.props=new eO(n==null?void 0:n.props),o}return zL(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(j);iO(KL,"controlFieldType",h.TIMESTAMP);function Qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(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&&wy(e,t)}function GL(e,t){return t&&(XL(t)==="object"||typeof t=="function")?t:Qe(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function XL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lO(e){var t=QL();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 GL(this,o)}}var JL=function(e){cO(r,e);var t=lO(r);function r(n){uO(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),$y=function(e){cO(r,e);var t=lO(r);function r(n){uO(this,r);var o,i;o=t.call(this,n),Je(Qe(o),"dataBind",void 0),Je(Qe(o),"rangeMin",void 0),Je(Qe(o),"rangeMax",void 0),Je(Qe(o),"placeholderStart",void 0),Je(Qe(o),"placeholderEnd",void 0),Je(Qe(o),"dateType",void 0),Je(Qe(o),"setValueType",void 0),Je(Qe(o),"defaultValue",void 0),Je(Qe(o),"limitDateList",void 0),o.dataBind=new RB(n==null?void 0:n.dataBind),o.defaultValue=new SB(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:$t.DATE;var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var l;o.rangeMax=(l=n==null?void 0:n.rangeMax)!==null&&l!==void 0?l:"";var a;o.placeholderStart=(a=n==null?void 0:n.placeholderStart)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var _;o.placeholderEnd=(_=n==null?void 0:n.placeholderEnd)!==null&&_!==void 0?_:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Sy.controlName;var g;return o.limitDateList=(g=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(O){return new js(O)}))!==null&&g!==void 0?g:[],o}return r}(x);Je($y,"RuntimeRules",JL);function fO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YL(e,t,r){return t&&aO(e.prototype,t),r&&aO(e,r),e}function Py(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ou=Reflect.get:Ou=function(o,i,u){var c=nM(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},Ou(e,t,r||e)}function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dn(e)}function eM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function tM(e,t){return t&&(rM(t)==="object"||typeof t=="function")?t:fO(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function nM(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dn(e),e!==null););return e}function rM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iM(e){var t=oM();return function(){var n=Dn(e),o;if(t){var i=Dn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tM(this,o)}}var Sy=function(e){eM(r,e);var t=iM(r);function r(n){ZL(this,r);var o;return o=t.call(this,n),Py(fO(o),"props",void 0),o.props=new $y(n==null?void 0:n.props),o}return YL(r,[{key:"toDataBindModel",value:function(o){var i=Ou(Dn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}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}(N);Py(Sy,"controlFieldType",h.TIMESCOPE),Py(Sy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function sO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 cM(e,t,r){return t&&_O(e.prototype,t),r&&_O(e,r),e}function yO(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 lM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function fM(e,t){return t&&(aM(t)==="object"||typeof t=="function")?t:sO(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function aM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _M(e){var t=sM();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 fM(this,o)}}var yM=function(e){lM(r,e);var t=_M(r);function r(n){uM(this,r);var o;return o=t.call(this,n),yO(sO(o),"props",void 0),o.props=new $y(n==null?void 0:n.props),o}return cM(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(j);yO(yM,"controlFieldType",h.TIMESCOPE);function Vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ty(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function Iy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pM(e,t){return t&&(dM(t)==="object"||typeof t=="function")?t:Vt(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}function dM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ay(e){var t=vM();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 pM(this,o)}}var hM=function(e){Iy(r,e);var t=Ay(r);function r(n){Ty(this,r);var o;return o=t.call(this,n),st(Vt(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),st(Vt(o),"minLength",{type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),st(Vt(o),"defaultValue",{type:"string",max:200,min:0,message:v.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(pe),bM=function(e){Iy(r,e);var t=Ay(r);function r(n){Ty(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(z),Pu=function(e){Iy(r,e);var t=Ay(r);function r(n){Ty(this,r);var o;o=t.call(this,n),st(Vt(o),"maxLength",void 0),st(Vt(o),"minLength",void 0),st(Vt(o),"defaultValue",void 0),st(Vt(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Eu.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:4,o}return r}(x);st(Pu,"Rules",hM),st(Pu,"RuntimeRules",bM);function pO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gM(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 mM(e,t,r){return t&&dO(e.prototype,t),r&&dO(e,r),e}function Ru(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 OM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function wM(e,t){return t&&($M(t)==="object"||typeof t=="function")?t:pO(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}function $M(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RM(e){var t=PM();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 wM(this,o)}}var Eu=function(e){OM(r,e);var t=RM(r);function r(n){gM(this,r);var o;return o=t.call(this,n),Ru(pO(o),"props",void 0),o.props=new Pu(n==null?void 0:n.props),o}return mM(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);Ru(Eu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ru(Eu,"controlFieldType",h.TEXT),Ru(Eu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 vO(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 hO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EM(e,t,r){return t&&hO(e.prototype,t),r&&hO(e,r),e}function bO(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 TM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IM(e,t){return t&&(BM(t)==="object"||typeof t=="function")?t:vO(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function BM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xM(e){var t=AM();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 IM(this,o)}}var kM=function(e){TM(r,e);var t=xM(r);function r(n){SM(this,r);var o;return o=t.call(this,n),bO(vO(o),"props",void 0),o.props=new Pu(n==null?void 0:n.props),o}return EM(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(j);bO(kM,"controlFieldType",h.TEXT);function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(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&&jy(e,t)}function DM(e,t){return t&&(NM(t)==="object"||typeof t=="function")?t:cn(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}function NM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fy(e){var t=jM();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 DM(this,o)}}var FM=function(e){Ny(r,e);var t=Fy(r);function r(n){Dy(this,r);var o;return o=t.call(this,n),zt(cn(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),zt(cn(o),"minLength",{type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),zt(cn(o),"defaultValue",{type:"string",max:200,min:0,message:v.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(pe),LM=function(e){Ny(r,e);var t=Fy(r);function r(n){Dy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(z),Bu=function(e){Ny(r,e);var t=Fy(r);function r(n){Dy(this,r);var o;o=t.call(this,n),zt(cn(o),"maxLength",void 0),zt(cn(o),"minLength",void 0),zt(cn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:ku.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(x);zt(Bu,"Rules",FM),zt(Bu,"RuntimeRules",LM);function gO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 VM(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),e}function Au(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 zM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ly(e,t)}function HM(e,t){return t&&(CM(t)==="object"||typeof t=="function")?t:gO(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}function CM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UM(e){var t=qM();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 HM(this,o)}}var ku=function(e){zM(r,e);var t=UM(r);function r(n){MM(this,r);var o;return o=t.call(this,n),Au(gO(o),"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return VM(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);Au(ku,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Au(ku,"controlFieldType",h.TEXT),Au(ku,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 OO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KM(e,t,r){return t&&wO(e.prototype,t),r&&wO(e,r),e}function $O(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 GM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function XM(e,t){return t&&(QM(t)==="object"||typeof t=="function")?t:OO(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function QM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZM(e){var t=JM();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XM(this,o)}}var YM=function(e){GM(r,e);var t=ZM(r);function r(n){WM(this,r);var o;return o=t.call(this,n),$O(OO(o),"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return KM(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(j);$O(YM,"controlFieldType",h.TEXT);function _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function RO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function e5(e,t){return t&&(t5(t)==="object"||typeof t=="function")?t:_t(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}function t5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SO(e){var t=n5();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 e5(this,o)}}var r5=function(e){RO(r,e);var t=SO(r);function r(n){return PO(this,r),t.call(this,n)}return r}(Pn),zy=function(e){RO(r,e);var t=SO(r);function r(n){PO(this,r);var o;o=t.call(this,n),yt(_t(o),"options",void 0),yt(_t(o),"defaultShowOptions",void 0),yt(_t(o),"optionConfig",void 0),yt(_t(o),"defaultValue",void 0),yt(_t(o),"datasourceBind",void 0),yt(_t(o),"multistageFilling",void 0),yt(_t(o),"allowCopyOptions",void 0),yt(_t(o),"openMultistageFilling",void 0);var i;o.options=ut((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:qy.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Be(g))})),o}return r}(x);yt(zy,"Rules",r5);function EO(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 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 i5(e,t,r){return t&&TO(e.prototype,t),r&&TO(e,r),e}function Hy(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 u5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:EO(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}function l5(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=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c5(this,o)}}var qy=function(e){u5(r,e);var t=a5(r);function r(n){o5(this,r);var o;return o=t.call(this,n),Hy(EO(o),"props",void 0),o.props=new zy(n==null?void 0:n.props),o}return i5(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);Hy(qy,"controlFieldType",h.VARCHAR),Hy(qy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function IO(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 BO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _5(e,t,r){return t&&BO(e.prototype,t),r&&BO(e,r),e}function AO(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 y5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}function p5(e,t){return t&&(d5(t)==="object"||typeof t=="function")?t:IO(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}function d5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h5(e){var t=v5();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 p5(this,o)}}var b5=function(e){y5(r,e);var t=h5(r);function r(n){s5(this,r);var o;return o=t.call(this,n),AO(IO(o),"props",void 0),o.props=new zy(n==null?void 0:n.props),o}return _5(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(j);AO(b5,"controlFieldType",h.VARCHAR);function Ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wy(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 Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function Ky(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:Ht(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function m5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xy(e){var t=O5();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 g5(this,o)}}var w5=function(e){Ky(r,e);var t=Xy(r);function r(n){return Wy(this,r),t.call(this,n)}return r}(Pn),$5=function(e){Ky(r,e);var t=Xy(r);function r(n){Wy(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),Mu=function(e){Ky(r,e);var t=Xy(r);function r(n){Wy(this,r);var o;o=t.call(this,n),pt(Ht(o),"options",void 0),pt(Ht(o),"defaultShowOptions",void 0),pt(Ht(o),"optionConfig",void 0),pt(Ht(o),"defaultValue",void 0),pt(Ht(o),"datasourceBind",void 0),pt(Ht(o),"multistageFilling",void 0),pt(Ht(o),"openMultistageFilling",void 0);var i;o.options=ut((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Zy.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];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(p){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Be(p))})),o}return r}(x);pt(Mu,"Rules",w5),pt(Mu,"RuntimeRules",$5);function xO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 R5(e,t,r){return t&&kO(e.prototype,t),r&&kO(e,r),e}function Qy(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 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&&Jy(e,t)}function E5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:xO(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}function T5(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 B5(e){var t=I5();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 E5(this,o)}}var Zy=function(e){S5(r,e);var t=B5(r);function r(n){P5(this,r);var o;return o=t.call(this,n),Qy(xO(o),"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return R5(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);Qy(Zy,"controlFieldType",h.ARRAY),Qy(Zy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function DO(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 NO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x5(e,t,r){return t&&NO(e.prototype,t),r&&NO(e,r),e}function jO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(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&&Yy(e,t)}function D5(e,t){return t&&(N5(t)==="object"||typeof t=="function")?t:DO(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}function N5(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 F5(e){var t=j5();return function(){var n=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D5(this,o)}}var L5=function(e){k5(r,e);var t=F5(r);function r(n){A5(this,r);var o;return o=t.call(this,n),jO(DO(o),"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return x5(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(j);jO(L5,"controlFieldType",h.ARRAY);function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function LO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:dt(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}function V5(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 MO(e){var t=z5();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 M5(this,o)}}var H5=function(e){LO(r,e);var t=MO(r);function r(n){FO(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),tp=function(e){LO(r,e);var t=MO(r);function r(n){FO(this,r);var o;o=t.call(this,n),vt(dt(o),"showType",void 0),vt(dt(o),"range",void 0),vt(dt(o),"rangeOptions",void 0),vt(dt(o),"multiple",void 0),vt(dt(o),"defaultValueType",void 0),vt(dt(o),"defaultValue",void 0),vt(dt(o),"multistageFilling",void 0),vt(dt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:op.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Be(O))})),o}return r}(x);vt(tp,"RuntimeRules",H5);function VO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 q5(e,t,r){return t&&zO(e.prototype,t),r&&zO(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 Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(e)}function U5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 W5(e,t){return t&&(K5(t)==="object"||typeof t=="function")?t:VO(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function K5(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 X5(e){var t=G5();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 W5(this,o)}}var op=function(e){U5(r,e);var t=X5(r);function r(n){C5(this,r);var o;return o=t.call(this,n),np(VO(o),"props",void 0),o.props=new tp(n==null?void 0:n.props),o}return q5(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(N);np(op,"controlFieldType",h.EMPLOYEES),np(op,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 HO(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 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 J5(e,t,r){return t&&CO(e.prototype,t),r&&CO(e,r),e}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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function Z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function Y5(e,t){return t&&(e6(t)==="object"||typeof t=="function")?t:HO(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function e6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n6(e){var t=t6();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 Y5(this,o)}}var r6=function(e){Z5(r,e);var t=n6(r);function r(n){Q5(this,r);var o;return o=t.call(this,n),qO(HO(o),"props",void 0),o.props=new tp(n==null?void 0:n.props),o}return J5(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(j);qO(r6,"controlFieldType",h.EMPLOYEES);function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function up(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(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&&lp(e,t)}function o6(e,t){return t&&(i6(t)==="object"||typeof t=="function")?t:Ct(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function i6(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 fp(e){var t=u6();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 o6(this,o)}}var c6=10485760,l6=104857600,f6=1048576e3,a6=function(e){cp(r,e);var t=fp(r);function r(n){up(this,r);var o;return o=t.call(this,n),ht(Ct(o),"maxSize",{type:"number",min:0,max:f6,message:v.getMessage("attachmentMaxSize")}),o}return r}(pe),s6=function(e){cp(r,e);var t=fp(r);function r(n){up(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:v.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(z),Wu=function(e){cp(r,e);var t=fp(r);function r(n){up(this,r);var o;o=t.call(this,n),ht(Ct(o),"defaultValue",void 0),ht(Ct(o),"showType",void 0),ht(Ct(o),"attachmentAccept",void 0),ht(Ct(o),"maxLimit",void 0),ht(Ct(o),"minLimit",void 0),ht(Ct(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var f;o.maxLimit=(f=n==null?void 0:n.maxLimit)!==null&&f!==void 0?f:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var a;o.maxSize=(a=n==null?void 0:n.maxSize)!==null&&a!==void 0?a:l6;var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Qr.controlName;var p;return o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(x);ht(Wu,"Rules",a6),ht(Wu,"RuntimeRules",s6);function UO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y6(e,t,r){return t&&WO(e.prototype,t),r&&WO(e,r),e}function Ku(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 p6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function d6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:UO(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}function v6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b6(e){var t=h6();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d6(this,o)}}var Qr=function(e){p6(r,e);var t=b6(r);function r(n){_6(this,r);var o;return o=t.call(this,n),Ku(UO(o),"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return y6(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(N);Ku(Qr,"controlEventKeys",["on_change"]),Ku(Qr,"controlFieldType",h.FILE),Ku(Qr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 KO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 m6(e,t,r){return t&&GO(e.prototype,t),r&&GO(e,r),e}function XO(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 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&&sp(e,t)}function w6(e,t){return t&&($6(t)==="object"||typeof t=="function")?t:KO(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function $6(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=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w6(this,o)}}var S6=function(e){O6(r,e);var t=R6(r);function r(n){g6(this,r);var o;return o=t.call(this,n),XO(KO(o),"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return m6(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(j);XO(S6,"controlFieldType",h.FILE);function E6(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 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 I6(e,t,r){return t&&QO(e.prototype,t),r&&QO(e,r),e}function JO(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 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&&_p(e,t)}function A6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:E6(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}function x6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D6(e){var t=k6();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 A6(this,o)}}var ZO=function(e){B6(r,e);var t=D6(r);function r(n){T6(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var f;return o.props.placeholder=(f=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&f!==void 0?f:"\u4E0A\u4F20\u56FE\u7247",o}return I6(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Qr);JO(ZO,"controlFieldType",h.IMAGE),JO(ZO,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function pp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function N6(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){ae(e,o,r[o])})}return e}function j6(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 F6(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):j6(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function L6(e,t){return t&&(M6(t)==="object"||typeof t=="function")?t:Te(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}function M6(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 vp(e){var t=V6();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 L6(this,o)}}var z6=function(e){pp(r,e);var t=vp(r);function r(n){yp(this,r);var o;o=t.call(this,n),ae(Te(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:v.getMessage("pleaseEnterNumberRange")}]}}),ae(Te(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o}return r}(Pn),H6=function(e){pp(r,e);var t=vp(r);function r(n){yp(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[F6(N6({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(z),Zu=function(e){pp(r,e);var t=vp(r);function r(n){yp(this,r);var o;o=t.call(this,n),ae(Te(o),"rangeMin",void 0),ae(Te(o),"rangeMax",void 0),ae(Te(o),"showUpperCase",void 0),ae(Te(o),"submitSelectCurrency",void 0),ae(Te(o),"micrometer",void 0),ae(Te(o),"precision",void 0),ae(Te(o),"optionConfig",void 0),ae(Te(o),"dataBind",void 0),ae(Te(o),"datasourceBind",void 0),ae(Te(o),"defaultValue",void 0),ae(Te(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:2,o.dataBind=new $B(n==null?void 0:n.dataBind);var a;o.datasourceBind=new X((a=n==null?void 0:n.datasourceBind)!==null&&a!==void 0?a:{displayBoList:[new Ia({value:"name"})]});var _;o.defaultValue=new PB((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:vo.CNY}),o.options=ut(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:tc.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var m;return o.showUpperCase=(m=n==null?void 0:n.showUpperCase)!==null&&m!==void 0?m:!1,o}return r}(x);ae(Zu,"Rules",z6),ae(Zu,"RuntimeRules",H6);function YO(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 ew(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q6(e,t,r){return t&&ew(e.prototype,t),r&&ew(e,r),e}function Yu(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?ec=Reflect.get:ec=function(o,i,u){var c=K6(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},ec(e,t,r||e)}function Nn(e){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nn(e)}function U6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function W6(e,t){return t&&(G6(t)==="object"||typeof t=="function")?t:YO(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function K6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nn(e),e!==null););return e}function G6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q6(e){var t=X6();return function(){var n=Nn(e),o;if(t){var i=Nn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W6(this,o)}}var tc=function(e){U6(r,e);var t=Q6(r);function r(n){C6(this,r);var o;return o=t.call(this,n),Yu(YO(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return q6(r,[{key:"toDataBindModel",value:function(o){var i=ec(Nn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,f=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(N);Yu(tc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Yu(tc,"controlFieldType",h.MONEY),Yu(tc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z6(e,t,r){return t&&nw(e.prototype,t),r&&nw(e,r),e}function rw(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 Y6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e7(e,t){return t&&(t7(t)==="object"||typeof t=="function")?t:tw(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function t7(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 r7(e){var t=n7();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 e7(this,o)}}var o7=function(e){Y6(r,e);var t=r7(r);function r(n){J6(this,r);var o;return o=t.call(this,n),rw(tw(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return Z6(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(j);rw(o7,"controlFieldType",h.MONEY);function qt(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 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 rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function mp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function i7(e,t){return t&&(u7(t)==="object"||typeof t=="function")?t:qt(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}function u7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wp(e){var t=c7();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 i7(this,o)}}var l7=function(e){mp(r,e);var t=wp(r);function r(n){gp(this,r);var o;return o=t.call(this,n),bt(qt(o),"totalScore",[{type:"number",required:!0,message:v.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:v.getMessage("theTotalScoreMustNotBeLessThan1")}]),bt(qt(o),"defaultValue",{type:"number",min:0,max:5,message:v.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(pe),f7=function(e){mp(r,e);var t=wp(r);function r(n){gp(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(z),oc=function(e){mp(r,e);var t=wp(r);function r(n){gp(this,r);var o,i;o=t.call(this,n),bt(qt(o),"totalScore",void 0),bt(qt(o),"scoreType",void 0),bt(qt(o),"isShowExplain",void 0),bt(qt(o),"explain",void 0),bt(qt(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:Fs.STAR;var f;o.isShowExplain=(f=n==null?void 0:n.isShowExplain)!==null&&f!==void 0?f:!0;var l;o.explain=(l=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(p){return new Ls(p)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new Ls});var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:cc.controlName,o}return r}(x);bt(oc,"Rules",l7),bt(oc,"RuntimeRules",f7);function $p(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 a7(e){if(Array.isArray(e))return $p(e)}function ow(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 iw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _7(e,t,r){return t&&iw(e.prototype,t),r&&iw(e,r),e}function ic(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?uc=Reflect.get:uc=function(o,i,u){var c=h7(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},uc(e,t,r||e)}function jn(e){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jn(e)}function y7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function p7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function d7(){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 v7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:ow(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}function h7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jn(e),e!==null););return e}function b7(e){return a7(e)||p7(e)||m7(e)||d7()}function g7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m7(e,t){if(!!e){if(typeof e=="string")return $p(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 $p(e,t)}}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 w7(e){var t=O7();return function(){var n=jn(e),o;if(t){var i=jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v7(this,o)}}var cc=function(e){y7(r,e);var t=w7(r);function r(n){s7(this,r);var o;return o=t.call(this,n),ic(ow(o),"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return _7(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 u,c=i-this.props.explain.length,f=Array(c).fill(void 0).map(function(){return new Ls});(u=this.props.explain).push.apply(u,b7(f))}}uc(jn(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}(N);ic(cc,"controlEventKeys",["on_change","on_click"]),ic(cc,"controlFieldType",h.DECIMAL),ic(cc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $7(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 P7(e,t,r){return t&&cw(e.prototype,t),r&&cw(e,r),e}function lw(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 R7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function S7(e,t){return t&&(E7(t)==="object"||typeof t=="function")?t:uw(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function E7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I7(e){var t=T7();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 S7(this,o)}}var B7=function(e){R7(r,e);var t=I7(r);function r(n){$7(this,r);var o;return o=t.call(this,n),lw(uw(o),"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return P7(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(j);lw(B7,"controlFieldType",h.DECIMAL);function fc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function aw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function A7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:fc(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}function x7(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 sw(e){var t=k7();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 A7(this,o)}}var D7=function(e){aw(r,e);var t=sw(r);function r(n){fw(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:v.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:v.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:v.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(z),Ep=function(e){aw(r,e);var t=sw(r);function r(n){fw(this,r);var o;o=t.call(this,n),ac(fc(o),"defaultValueType",void 0),ac(fc(o),"defaultValue",void 0),ac(fc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Bp.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var f;o.defaultValue=new EB((f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:{});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}(x);ac(Ep,"RuntimeRules",D7);function _w(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 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 j7(e,t,r){return t&&yw(e.prototype,t),r&&yw(e,r),e}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 _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(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&&Ip(e,t)}function L7(e,t){return t&&(M7(t)==="object"||typeof t=="function")?t:_w(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}function M7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z7(e){var t=V7();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 L7(this,o)}}var Bp=function(e){F7(r,e);var t=z7(r);function r(n){N7(this,r);var o;return o=t.call(this,n),Tp(_w(o),"props",void 0),o.props=new Ep(n==null?void 0:n.props),o}return j7(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(N);Tp(Bp,"controlFieldType",h.ADDRESS),Tp(Bp,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C7(e,t,r){return t&&dw(e.prototype,t),r&&dw(e,r),e}function vw(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 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&&Ap(e,t)}function U7(e,t){return t&&(W7(t)==="object"||typeof t=="function")?t:pw(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function W7(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 G7(e){var t=K7();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 U7(this,o)}}var X7=function(e){q7(r,e);var t=G7(r);function r(n){H7(this,r);var o;return o=t.call(this,n),vw(pw(o),"props",void 0),o.props=new Ep(n==null?void 0:n.props),o}return C7(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}(j);vw(X7,"controlFieldType",h.ADDRESS);function He(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 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 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&&xp(e,t)}function Q7(e,t){return t&&(J7(t)==="object"||typeof t=="function")?t:He(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function J7(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 gw(e){var t=Z7();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 Q7(this,o)}}var Y7=function(e){bw(r,e);var t=gw(r);function r(n){hw(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),kp=function(e){bw(r,e);var t=gw(r);function r(n){hw(this,r);var o;o=t.call(this,n),Ce(He(o),"showType",void 0),Ce(He(o),"range",void 0),Ce(He(o),"defaultValueType",void 0),Ce(He(o),"multiple",void 0),Ce(He(o),"rangeOptions",void 0),Ce(He(o),"defaultValue",void 0),Ce(He(o),"displayLevel",void 0),Ce(He(o),"showSubDept",void 0),Ce(He(o),"multistageFilling",void 0),Ce(He(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:jp.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";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($){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Be($))})),o}return r}(x);Ce(kp,"RuntimeRules",Y7);function mw(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 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 t8(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function Dp(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?dc=Reflect.get:dc=function(o,i,u){var c=o8(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},dc(e,t,r||e)}function Fn(e){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fn(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&&Np(e,t)}function r8(e,t){return t&&(i8(t)==="object"||typeof t=="function")?t:mw(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function o8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fn(e),e!==null););return e}function i8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c8(e){var t=u8();return function(){var n=Fn(e),o;if(t){var i=Fn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r8(this,o)}}var jp=function(e){n8(r,e);var t=c8(r);function r(n){e8(this,r);var o;return o=t.call(this,n),Dp(mw(o),"props",void 0),o.props=new kp(n==null?void 0:n.props),o}return t8(r,[{key:"toDataBindModel",value:function(o){var i=dc(Fn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,f=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=f}return i}}],[{key:"controlName",get:function(){return"\u90E8\u95E8"}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(N);Dp(jp,"controlFieldType",h.DEPARTMENTS),Dp(jp,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 ww(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 $w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f8(e,t,r){return t&&$w(e.prototype,t),r&&$w(e,r),e}function Pw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function a8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function s8(e,t){return t&&(_8(t)==="object"||typeof t=="function")?t:ww(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function _8(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 p8(e){var t=y8();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s8(this,o)}}var d8=function(e){a8(r,e);var t=p8(r);function r(n){l8(this,r);var o;return o=t.call(this,n),Pw(ww(o),"props",void 0),o.props=new kp(n==null?void 0:n.props),o}return f8(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(j);Pw(d8,"controlFieldType",h.DEPARTMENTS);function Rw(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 h8(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 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&&Lp(e,t)}function g8(e,t){return t&&(m8(t)==="object"||typeof t=="function")?t:Rw(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function m8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w8(e){var t=O8();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 g8(this,o)}}var Sw=function(e){b8(r,e);var t=w8(r);function r(n){v8(this,r);var o;o=t.call(this,n),h8(Rw(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:mc.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(x);function Ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 P8(e,t,r){return t&&Tw(e.prototype,t),r&&Tw(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 gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function R8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function S8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:Ew(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}function E8(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 I8(e){var t=T8();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 S8(this,o)}}var mc=function(e){R8(r,e);var t=I8(r);function r(n){$8(this,r);var o;return o=t.call(this,n),bc(Ew(o),"props",void 0),o.props=new Sw(n==null?void 0:n.props),o}return P8(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);bc(mc,"controlEventKeys",["on_change"]),bc(mc,"controlFieldType",h.AUTO_NUMBER),bc(mc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Iw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 A8(e,t,r){return t&&Bw(e.prototype,t),r&&Bw(e,r),e}function Aw(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 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&&Vp(e,t)}function k8(e,t){return t&&(D8(t)==="object"||typeof t=="function")?t:Iw(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}function D8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j8(e){var t=N8();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 k8(this,o)}}var F8=function(e){x8(r,e);var t=j8(r);function r(n){B8(this,r);var o;return o=t.call(this,n),Aw(Iw(o),"props",void 0),o.props=new Sw(n==null?void 0:n.props),o}return A8(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(j);Aw(F8,"controlFieldType",h.AUTO_NUMBER);function Ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zp(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 wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(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&&Cp(e,t)}function L8(e,t){return t&&(M8(t)==="object"||typeof t=="function")?t:Ut(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function M8(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 qp(e){var t=V8();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 L8(this,o)}}var z8=function(e){Hp(r,e);var t=qp(r);function r(n){zp(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}(pe),H8=function(e){Hp(r,e);var t=qp(r);function r(n){zp(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:v.getMessage("isNotObject"),fields:{result:[{type:"number",message:v.getMessage("isNotNumber")}],unit:{type:"string",message:v.getMessage("isNotString")}}}),o}return r}(z),$c=function(e){Hp(r,e);var t=qp(r);function r(n){zp(this,r);var o;o=t.call(this,n),gt(Ut(o),"precision",void 0),gt(Ut(o),"micrometer",void 0),gt(Ut(o),"showUpperCase",void 0),gt(Ut(o),"scriptSrc",void 0),gt(Ut(o),"scriptEcho",void 0),gt(Ut(o),"dataBind",void 0),gt(Ut(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new TB(n==null?void 0:n.dataBind),o.defaultValue=new IB(n==null?void 0:n.defaultValue);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Sc.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var a;o.scriptEcho=(a=n==null?void 0:n.scriptEcho)!==null&&a!==void 0?a:[];var _;return o.scriptSrc=(_=n==null?void 0:n.scriptSrc)!==null&&_!==void 0?_:"",o}return r}(x);gt($c,"Rules",z8),gt($c,"RuntimeRules",H8);function xw(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 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 q8(e,t,r){return t&&kw(e.prototype,t),r&&kw(e,r),e}function Pc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Rc=Reflect.get:Rc=function(o,i,u){var c=K8(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},Rc(e,t,r||e)}function Ln(e){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ln(e)}function U8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 W8(e,t){return t&&(G8(t)==="object"||typeof t=="function")?t:xw(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function K8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ln(e),e!==null););return e}function G8(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 Q8(e){var t=X8();return function(){var n=Ln(e),o;if(t){var i=Ln(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W8(this,o)}}var Sc=function(e){U8(r,e);var t=Q8(r);function r(n){C8(this,r);var o;return o=t.call(this,n),Pc(xw(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return q8(r,[{key:"toDataBindModel",value:function(o){var i=Rc(Ln(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,f=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=f}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}(N);Pc(Sc,"controlEventKeys",["on_change"]),Pc(Sc,"controlFieldType",h.CALC),Pc(Sc,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function Dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z8(e,t,r){return t&&Nw(e.prototype,t),r&&Nw(e,r),e}function jw(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 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&&Wp(e,t)}function e4(e,t){return t&&(t4(t)==="object"||typeof t=="function")?t:Dw(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function t4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r4(e){var t=n4();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 e4(this,o)}}var o4=function(e){Y8(r,e);var t=r4(r);function r(n){J8(this,r);var o;return o=t.call(this,n),jw(Dw(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return Z8(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(j);jw(o4,"controlFieldType",h.CALC);function Mn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function Lw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function i4(e,t){return t&&(u4(t)==="object"||typeof t=="function")?t:Mn(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function u4(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 Mw(e){var t=c4();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 i4(this,o)}}var l4=function(e){Lw(r,e);var t=Mw(r);function r(n){Fw(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,c){if(n.required){var f=c.every(function(l){return!l});return f?Promise.reject(v.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(z),Gp=function(e){Lw(r,e);var t=Mw(r);function r(n){Fw(this,r);var o;o=t.call(this,n),Vn(Mn(o),"rangeMin",void 0),Vn(Mn(o),"rangeMax",void 0),Vn(Mn(o),"placeholderStart",void 0),Vn(Mn(o),"placeholderEnd",void 0),Vn(Mn(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var f;o.placeholderStart=(f=n==null?void 0:n.placeholderStart)!==null&&f!==void 0?f:"\u6700\u5C0F\u503C";var l;o.placeholderEnd=(l=n==null?void 0:n.placeholderEnd)!==null&&l!==void 0?l:"\u6700\u5927\u503C";var a;return o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Jp.controlName,o}return r}(x);Vn(Gp,"RuntimeRules",l4);function Vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zw(e,t){for(var r=0;r<t.length;r++){var 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&&zw(e.prototype,t),r&&zw(e,r),e}function Xp(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 s4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function _4(e,t){return t&&(y4(t)==="object"||typeof t=="function")?t:Vw(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}function y4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d4(e){var t=p4();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 _4(this,o)}}var Jp=function(e){s4(r,e);var t=d4(r);function r(n){f4(this,r);var o;return o=t.call(this,n),Xp(Vw(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return a4(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);Xp(Jp,"controlFieldType",h.DECIMAL_RANGE),Xp(Jp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Hw(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 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 h4(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),e}function qw(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 b4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function g4(e,t){return t&&(m4(t)==="object"||typeof t=="function")?t:Hw(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function m4(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 w4(e){var t=O4();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 g4(this,o)}}var $4=function(e){b4(r,e);var t=w4(r);function r(n){v4(this,r);var o;return o=t.call(this,n),qw(Hw(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return h4(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(j);qw($4,"controlFieldType",h.DECIMAL_RANGE);function mt(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 Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(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&&Yp(e,t)}function P4(e,t){return t&&(R4(t)==="object"||typeof t=="function")?t:mt(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function R4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kw(e){var t=S4();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 P4(this,o)}}var E4=function(e){Ww(r,e);var t=Kw(r);function r(n){Uw(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),ed=function(e){Ww(r,e);var t=Kw(r);function r(n){Uw(this,r);var o,i;o=t.call(this,n),Ot(mt(o),"rangeMin",void 0),Ot(mt(o),"rangeMax",void 0),Ot(mt(o),"placeholderStart",void 0),Ot(mt(o),"placeholderEnd",void 0),Ot(mt(o),"dateType",void 0),Ot(mt(o),"setValueType",void 0),Ot(mt(o),"defaultValue",void 0),Ot(mt(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:$t.DATE;var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var a;o.rangeMax=(a=n==null?void 0:n.rangeMax)!==null&&a!==void 0?a:"";var _;o.placeholderStart=(_=n==null?void 0:n.placeholderStart)!==null&&_!==void 0?_:"\u5F00\u59CB\u65E5\u671F";var p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:"\u7ED3\u675F\u65E5\u671F";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:rd.controlName;var O;return o.limitDateList=(O=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new js(m)}))!==null&&O!==void 0?O:[],o}return r}(x);Ot(ed,"RuntimeRules",E4);function Gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I4(e,t,r){return t&&Xw(e.prototype,t),r&&Xw(e,r),e}function td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function B4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function A4(e,t){return t&&(x4(t)==="object"||typeof t=="function")?t:Gw(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function x4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D4(e){var t=k4();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 A4(this,o)}}var rd=function(e){B4(r,e);var t=D4(r);function r(n){T4(this,r);var o;return o=t.call(this,n),td(Gw(o),"props",void 0),o.props=new ed(n==null?void 0:n.props),o}return I4(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);td(rd,"controlFieldType",h.ARRAY),td(rd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",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 N4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j4(e,t,r){return t&&Jw(e.prototype,t),r&&Jw(e,r),e}function Zw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function F4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function L4(e,t){return t&&(M4(t)==="object"||typeof t=="function")?t:Qw(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}function M4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z4(e){var t=V4();return function(){var n=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L4(this,o)}}var H4=function(e){F4(r,e);var t=z4(r);function r(n){N4(this,r);var o;return o=t.call(this,n),Zw(Qw(o),"props",void 0),o.props=new ed(n==null?void 0:n.props),o}return j4(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(j);Zw(H4,"controlFieldType",h.ARRAY);function Jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function id(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&cd(e,t)}function C4(e,t){return t&&(q4(t)==="object"||typeof t=="function")?t:Jr(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function q4(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 ld(e){var t=U4();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 C4(this,o)}}var W4=function(e){ud(r,e);var t=ld(r);function r(n){id(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(pe),K4=function(e){ud(r,e);var t=ld(r);function r(n){id(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(z),Nc=function(e){ud(r,e);var t=ld(r);function r(n){id(this,r);var o;o=t.call(this,n),zn(Jr(o),"controlExportName",void 0),zn(Jr(o),"permissions",void 0),zn(Jr(o),"defaultValue",void 0),zn(Jr(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Lc.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var f;o.permissions=(f=n==null?void 0:n.permissions)!==null&&f!==void 0?f:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return r}(x);zn(Nc,"Rules",W4),zn(Nc,"RuntimeRules",K4);function Yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X4(e,t,r){return t&&e$(e.prototype,t),r&&e$(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 Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function Q4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function J4(e,t){return t&&(Z4(t)==="object"||typeof t=="function")?t:Yw(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function Z4(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 e9(e){var t=Y4();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 J4(this,o)}}var Lc=function(e){Q4(r,e);var t=e9(r);function r(n){G4(this,r);var o;return o=t.call(this,n),jc(Yw(o),"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return X4(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);jc(Lc,"controlFieldType",h.ANY),jc(Lc,"controlEventKeys",[]),jc(Lc,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t9(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 n9(e,t,r){return t&&n$(e.prototype,t),r&&n$(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 Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function r9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ad(e,t)}function o9(e,t){return t&&(i9(t)==="object"||typeof t=="function")?t:t$(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}function i9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c9(e){var t=u9();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o9(this,o)}}var l9=function(e){r9(r,e);var t=c9(r);function r(n){t9(this,r);var o;return o=t.call(this,n),r$(t$(o),"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return n9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(j);r$(l9,"controlFieldType",h.ANY);function Ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function i$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function f9(e,t){return t&&(a9(t)==="object"||typeof t=="function")?t:Ze(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function a9(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 u$(e){var t=s9();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f9(this,o)}}var _9=function(e){i$(r,e);var t=u$(r);function r(n){o$(this,r);var o;return o=t.call(this,n),Ye(Ze(o),"listPageBind",[{type:"object",message:v.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}]}}]),o}return r}(Pn),_d=function(e){i$(r,e);var t=u$(r);function r(n){o$(this,r);var o;o=t.call(this,n),Ye(Ze(o),"options",void 0),Ye(Ze(o),"optionConfig",void 0),Ye(Ze(o),"defaultValue",void 0),Ye(Ze(o),"listPageBind",void 0),Ye(Ze(o),"datasourceBind",void 0),Ye(Ze(o),"multistageFilling",void 0),Ye(Ze(o),"canViewForm",void 0),Ye(Ze(o),"openMultistageFilling",void 0);var i;o.options=ut((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new qb(n==null?void 0:n.listPageBind),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Cc.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var a;o.openMultistageFilling=(a=n==null?void 0:n.openMultistageFilling)!==null&&a!==void 0?a:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Be(p))}));var _;return o.canViewForm=(_=n==null?void 0:n.canViewForm)!==null&&_!==void 0?_:!1,o}return r}(x);Ye(_d,"Rules",_9);function c$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 p9(e,t,r){return t&&l$(e.prototype,t),r&&l$(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 Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function d9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 v9(e,t){return t&&(h9(t)==="object"||typeof t=="function")?t:c$(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function h9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g9(e){var t=b9();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 v9(this,o)}}var Cc=function(e){d9(r,e);var t=g9(r);function r(n){y9(this,r);var o;return o=t.call(this,n),zc(c$(o),"props",void 0),o.props=new _d(n==null?void 0:n.props),o}return p9(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);zc(Cc,"controlFieldType",h.VARCHAR),zc(Cc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}]),zc(Cc,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function f$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O9(e,t,r){return t&&a$(e.prototype,t),r&&a$(e,r),e}function s$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(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&&pd(e,t)}function $9(e,t){return t&&(P9(t)==="object"||typeof t=="function")?t:f$(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}function P9(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 S9(e){var t=R9();return function(){var n=qc(e),o;if(t){var i=qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $9(this,o)}}var E9=function(e){w9(r,e);var t=S9(r);function r(n){m9(this,r);var o;return o=t.call(this,n),s$(f$(o),"props",void 0),o.props=new _d(n==null?void 0:n.props),o}return O9(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(j);s$(E9,"controlFieldType",h.VARCHAR);function T9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(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&&dd(e,t)}function A9(e,t){return t&&(x9(t)==="object"||typeof t=="function")?t:T9(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}function x9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D9(e){var t=k9();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 A9(this,o)}}var _$=function(e){B9(r,e);var t=D9(r);function r(n){return I9(this,r),t.call(this,n)}return r}(Gr);function y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 j9(e,t,r){return t&&p$(e.prototype,t),r&&p$(e,r),e}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}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function F9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function L9(e,t){return t&&(M9(t)==="object"||typeof t=="function")?t:y$(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function M9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z9(e){var t=V9();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 L9(this,o)}}var H9=function(e){F9(r,e);var t=z9(r);function r(n){N9(this,r);var o;return o=t.call(this,n),d$(y$(o),"props",void 0),o.props=new _$(n==null?void 0:n.props),o}return j9(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(Xr);d$(H9,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}]);function v$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q9(e,t,r){return t&&h$(e.prototype,t),r&&h$(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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function U9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function W9(e,t){return t&&(K9(t)==="object"||typeof t=="function")?t:v$(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}function K9(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 X9(e){var t=G9();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W9(this,o)}}var Q9=function(e){U9(r,e);var t=X9(r);function r(n){C9(this,r);var o;return o=t.call(this,n),b$(v$(o),"props",void 0),o.props=new _$(n==null?void 0:n.props),o}return q9(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(j);b$(Q9,"controlFieldType",h.VARCHAR);function Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function gd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 J9(e,t){return t&&(Z9(t)==="object"||typeof t=="function")?t:Z(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function Z9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Od(e){var t=Y9();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 J9(this,o)}}var eV=function(e){gd(r,e);var t=Od(r);function r(n){bd(this,r);var o;return o=t.call(this,n),Y(Z(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),Wa.call(Z(o),n,Hn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:v.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:v.getMessage("rootNodeIsRequired")}}}]),o}return r}(pe),tV=function(e){gd(r,e);var t=Od(r);function r(n){bd(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),Xc=function(e){gd(r,e);var t=Od(r);function r(n){bd(this,r);var o,i;o=t.call(this,n),Y(Z(o),"placeholder",void 0),Y(Z(o),"multiple",void 0),Y(Z(o),"canSearch",void 0),Y(Z(o),"levelType",void 0),Y(Z(o),"optionalLevel",void 0),Y(Z(o),"containsSubNode",void 0),Y(Z(o),"defaultDisplay",void 0),Y(Z(o),"defaultCollapse",void 0),Y(Z(o),"defaultCollapseLevel",void 0),Y(Z(o),"optionConfig","datasource"),Y(Z(o),"datasourceBind",void 0),Y(Z(o),"multistageFilling",void 0),Y(Z(o),"defaultValue",void 0),Y(Z(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Hn.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var l;o.canSearch=(l=n==null?void 0:n.canSearch)!==null&&l!==void 0?l:!0;var a;o.levelType=(a=n==null?void 0:n.levelType)!==null&&a!==void 0?a:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var g;o.defaultCollapse=(g=n==null?void 0:n.defaultCollapse)!==null&&g!==void 0?g:"all";var O;o.defaultCollapseLevel=(O=n==null?void 0:n.defaultCollapseLevel)!==null&&O!==void 0?O:1;var m;o.datasourceBind=new OB((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:Hn.controlCustomAttributes});var $;o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1;var d;o.defaultDisplay=(d=n==null?void 0:n.defaultDisplay)!==null&&d!==void 0?d:!0;var w;o.multistageFilling=(w=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(S){return new Be(S)}))!==null&&w!==void 0?w:[];var P;return o.defaultValue=(P=n==null?void 0:n.defaultValue)!==null&&P!==void 0?P:[],o}return r}(x);Y(Xc,"Rules",eV),Y(Xc,"RuntimeRules",tV);function g$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rV(e,t,r){return t&&m$(e.prototype,t),r&&m$(e,r),e}function Qc(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 oV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iV(e,t){return t&&(uV(t)==="object"||typeof t=="function")?t:g$(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}function uV(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 lV(e){var t=cV();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 iV(this,o)}}var Hn=function(e){oV(r,e);var t=lV(r);function r(n){nV(this,r);var o;return o=t.call(this,n),Qc(g$(o),"props",void 0),o.props=new Xc(n==null?void 0:n.props),o}return rV(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);Qc(Hn,"controlEventKeys",["on_change","on_click"]),Qc(Hn,"controlFieldType",h.ARRAY),Qc(Hn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.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 O$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aV(e,t,r){return t&&w$(e.prototype,t),r&&w$(e,r),e}function $$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function sV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function _V(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:O$(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}function yV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dV(e){var t=pV();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 _V(this,o)}}var vV=function(e){sV(r,e);var t=dV(r);function r(n){fV(this,r);var o;return o=t.call(this,n),$$(O$(o),"props",void 0),o.props=new Xc(n==null?void 0:n.props),o}return aV(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(j);$$(vV,"controlFieldType",h.ARRAY);function ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(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&&Sd(e,t)}function hV(e,t){return t&&(bV(t)==="object"||typeof t=="function")?t:ee(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function bV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ed(e){var t=gV();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 hV(this,o)}}var mV=function(e){Rd(r,e);var t=Ed(r);function r(n){Pd(this,r);var o;return o=t.call(this,n),te(ee(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),te(ee(o),"externalScope",{type:"any"}),Wa.call(ee(o),n,Zr.controlCustomAttributes),n.externalType===Tn.ASSIGN&&(o.externalScope={type:"array",required:!0,message:v.getMessage("pleaseAssignExternal")}),o}return r}(pe),OV=function(e){Rd(r,e);var t=Ed(r);function r(n){Pd(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),el=function(e){Rd(r,e);var t=Ed(r);function r(n){Pd(this,r);var o;o=t.call(this,n),te(ee(o),"showType",void 0),te(ee(o),"range",void 0),te(ee(o),"rangeOptions",void 0),te(ee(o),"multiple",void 0),te(ee(o),"defaultValueType",void 0),te(ee(o),"defaultValue",void 0),te(ee(o),"multistageFilling",void 0),te(ee(o),"datasourceBind",void 0),te(ee(o),"datasourceType",void 0),te(ee(o),"insideType",void 0),te(ee(o),"externalType",void 0),te(ee(o),"externalScope",void 0),te(ee(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Zr.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var g;o.datasourceBind=new po((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:Zr.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:Vs.INTERNAL;var m;o.insideType=(m=n==null?void 0:n.insideType)!==null&&m!==void 0?m:Hs.ADMIN;var $;o.externalType=($=n==null?void 0:n.externalType)!==null&&$!==void 0?$:Tn.ALL;var d;o.externalScope=(d=n==null?void 0:n.externalScope)!==null&&d!==void 0?d:[];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 Be(P))})),o}return r}(x);te(el,"Rules",mV),te(el,"RuntimeRules",OV);function P$(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 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 $V(e,t,r){return t&&R$(e.prototype,t),r&&R$(e,r),e}function Td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function PV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Id(e,t)}function RV(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:P$(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function SV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TV(e){var t=EV();return function(){var n=tl(e),o;if(t){var i=tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RV(this,o)}}var Zr=function(e){PV(r,e);var t=TV(r);function r(n){wV(this,r);var o;return o=t.call(this,n),Td(P$(o),"props",void 0),o.props=new el(n==null?void 0:n.props),o}return $V(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);Td(Zr,"controlFieldType",h.EMPLOYEES),Td(Zr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 S$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BV(e,t,r){return t&&E$(e.prototype,t),r&&E$(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 nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(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&&Bd(e,t)}function xV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:S$(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function kV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NV(e){var t=DV();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 xV(this,o)}}var jV=function(e){AV(r,e);var t=NV(r);function r(n){IV(this,r);var o;return o=t.call(this,n),T$(S$(o),"props",void 0),o.props=new el(n==null?void 0:n.props),o}return BV(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(j);T$(jV,"controlFieldType",h.EMPLOYEES);function et(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 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 rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function B$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function FV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:et(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function LV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A$(e){var t=MV();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 FV(this,o)}}var VV=function(e){B$(r,e);var t=A$(r);function r(n){I$(this,r);var o;return o=t.call(this,n),tt(et(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,u,c){return i[c]={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,a,_){if(u.type==="public"&&wa(a.value)&&a.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(l,a,_){if(u.type==="public"&&u.signatureType.includes("company")&&wa(a.value)&&a.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(pe),xd=function(e){B$(r,e);var t=A$(r);function r(n){I$(this,r);var o;o=t.call(this,n),tt(et(o),"buttonType",void 0),tt(et(o),"content",void 0),tt(et(o),"showType",void 0),tt(et(o),"color",void 0),tt(et(o),"icon",void 0),tt(et(o),"command",""),tt(et(o),"isLoading",!1),tt(et(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ul.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";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 l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var a;return o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2",o.signatureConfig=new h3(n==null?void 0:n.signatureConfig),o}return r}(x);tt(xd,"Rules",VV);function x$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HV(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}function ol(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function CV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function qV(e,t){return t&&(UV(t)==="object"||typeof t=="function")?t:x$(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function UV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KV(e){var t=WV();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qV(this,o)}}var ul=function(e){CV(r,e);var t=KV(r);function r(n){zV(this,r);var o;return o=t.call(this,n),ol(x$(o),"props",void 0),o.props=new xd(n==null?void 0:n.props),o}return HV(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);ol(ul,"controlEventKeys",["on_click","on_click_finish"]),ol(ul,"controlFieldType",h.VARCHAR),ol(ul,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.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 D$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XV(e,t,r){return t&&N$(e.prototype,t),r&&N$(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 cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(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&&Dd(e,t)}function JV(e,t){return t&&(ZV(t)==="object"||typeof t=="function")?t:D$(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}function ZV(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 ez(e){var t=YV();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 JV(this,o)}}var tz=function(e){QV(r,e);var t=ez(r);function r(n){GV(this,r);var o;return o=t.call(this,n),j$(D$(o),"props",void 0),o.props=new xd(n==null?void 0:n.props),o}return XV(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(j);j$(tz,"controlFieldType",h.VARCHAR);function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function jd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:se(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function rz(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 Ld(e){var t=oz();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 nz(this,o)}}var iz=function(e){jd(r,e);var t=Ld(r);function r(n){Nd(this,r);var o;return o=t.call(this,n),ne(se(o),"content",{type:"string",required:!0,message:v.getMessage("pleaseEnterButtonContent")}),ne(se(o),"canAdd",void 0),ne(se(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,f){if(c.active&&!c.text){f(v.getMessage("pleaseEnterWatermark"));return}f()}},autoRename:{type:"object",validator:function(u,c,f){if(c.active&&!c.text){f(v.getMessage("pleaseEnterFileName"));return}f()}}}}),o.canAdd={type:"boolean",validator:function(u,c,f){if(n.canAdd&&!n.addLocal&&!n.addOnline){f(v.getMessage("pleaseChooseAtLeastOne"));return}f()}},o}return r}(pe),uz=function(e){jd(r,e);var t=Ld(r);function r(n){Nd(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),fl=function(e){jd(r,e);var t=Ld(r);function r(n){Nd(this,r);var o;o=t.call(this,n),ne(se(o),"content",void 0),ne(se(o),"canAdd",void 0),ne(se(o),"addLocal",void 0),ne(se(o),"addOnline",void 0),ne(se(o),"canDownload",void 0),ne(se(o),"canEdit",void 0),ne(se(o),"canExport",void 0),ne(se(o),"canDelete",void 0),ne(se(o),"wpsSetting",void 0),ne(se(o),"maxSize",void 0),ne(se(o),"defaultValue",void 0),ne(se(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_l.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var f;o.addLocal=(f=n==null?void 0:n.addLocal)!==null&&f!==void 0?f:!0;var l;o.addOnline=(l=n==null?void 0:n.addOnline)!==null&&l!==void 0?l:!0;var a;o.canEdit=(a=n==null?void 0:n.canEdit)!==null&&a!==void 0?a:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var g;o.canDelete=(g=n==null?void 0:n.canDelete)!==null&&g!==void 0?g:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:c6;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[],o.wpsSetting=new b3(n==null?void 0:n.wpsSetting);var $;return o.revisionsMode=($=n==null?void 0:n.revisionsMode)!==null&&$!==void 0?$:!1,o}return r}(x);ne(fl,"Rules",iz),ne(fl,"RuntimeRules",uz);function F$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lz(e,t,r){return t&&L$(e.prototype,t),r&&L$(e,r),e}function al(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 fz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 az(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:F$(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function sz(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 yz(e){var t=_z();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 az(this,o)}}var _l=function(e){fz(r,e);var t=yz(r);function r(n){cz(this,r);var o;return o=t.call(this,n),al(F$(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return lz(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);al(_l,"controlEventKeys",["on_change","on_wps_open"]),al(_l,"controlFieldType",h.FILE),al(_l,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.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 M$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dz(e,t,r){return t&&V$(e.prototype,t),r&&V$(e,r),e}function z$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(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&&Vd(e,t)}function hz(e,t){return t&&(bz(t)==="object"||typeof t=="function")?t:M$(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function bz(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=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hz(this,o)}}var Oz=function(e){vz(r,e);var t=mz(r);function r(n){pz(this,r);var o;return o=t.call(this,n),z$(M$(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return dz(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(j);z$(Oz,"controlFieldType",h.FILE);function K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function Hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function wz(e,t){return t&&($z(t)==="object"||typeof t=="function")?t:K(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}function $z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qd(e){var t=Pz();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 wz(this,o)}}var Rz=function(e){Hd(r,e);var t=qd(r);function r(n){zd(this,r);var o;return o=t.call(this,n),G(K(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),G(K(o),"businessScope",{type:"any"}),Wa.call(K(o),n,Yr.controlCustomAttributes),n.businessType===Tn.ASSIGN&&(o.businessScope={type:"array",required:!0,message:v.getMessage("pleaseAssignBusiness")}),o}return r}(pe),Sz=function(e){Hd(r,e);var t=qd(r);function r(n){zd(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(z),dl=function(e){Hd(r,e);var t=qd(r);function r(n){zd(this,r);var o;o=t.call(this,n),G(K(o),"showType",void 0),G(K(o),"range",void 0),G(K(o),"defaultValueType",void 0),G(K(o),"multiple",void 0),G(K(o),"rangeOptions",void 0),G(K(o),"defaultValue",void 0),G(K(o),"displayLevel",void 0),G(K(o),"showSubDept",void 0),G(K(o),"multistageFilling",void 0),G(K(o),"datasourceBind",void 0),G(K(o),"datasourceType",void 0),G(K(o),"businessType",void 0),G(K(o),"businessScope",void 0),G(K(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Yr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var m;o.datasourceBind=new po((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:Yr.controlCustomAttributes});var $;o.datasourceType=($=n==null?void 0:n.datasourceType)!==null&&$!==void 0?$:zs.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var w;o.businessType=(w=n==null?void 0:n.businessType)!==null&&w!==void 0?w:Tn.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(S){var B;(B=o.multistageFilling)===null||B===void 0||B.push(new Be(S))})),o}return r}(x);G(dl,"Rules",Rz),G(dl,"RuntimeRules",Sz);function H$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Tz(e,t,r){return t&&C$(e.prototype,t),r&&C$(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 vl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?vl=Reflect.get:vl=function(o,i,u){var c=Az(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},vl(e,t,r||e)}function Cn(e){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cn(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&&Wd(e,t)}function Bz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:H$(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function Az(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cn(e),e!==null););return e}function xz(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 Dz(e){var t=kz();return function(){var n=Cn(e),o;if(t){var i=Cn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bz(this,o)}}var Yr=function(e){Iz(r,e);var t=Dz(r);function r(n){Ez(this,r);var o;return o=t.call(this,n),Ud(H$(o),"props",void 0),o.props=new dl(n==null?void 0:n.props),o}return Tz(r,[{key:"toDataBindModel",value:function(o){var i=vl(Cn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,f=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=f}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}(N);Ud(Yr,"controlFieldType",h.DEPARTMENTS),Ud(Yr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 q$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jz(e,t,r){return t&&U$(e.prototype,t),r&&U$(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 hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function Fz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lz(e,t){return t&&(Mz(t)==="object"||typeof t=="function")?t:q$(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function Mz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zz(e){var t=Vz();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lz(this,o)}}var Hz=function(e){Fz(r,e);var t=zz(r);function r(n){Nz(this,r);var o;return o=t.call(this,n),W$(q$(o),"props",void 0),o.props=new dl(n==null?void 0:n.props),o}return jz(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(j);W$(Hz,"controlFieldType",h.DEPARTMENTS);function Cz(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 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 Uz(e,t,r){return t&&K$(e.prototype,t),r&&K$(e,r),e}function Wz(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 Kz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function Gz(e,t){return t&&(Xz(t)==="object"||typeof t=="function")?t:Cz(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}function Xz(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 Jz(e){var t=Qz();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 Gz(this,o)}}var Zz=function(e){Kz(r,e);var t=Jz(r);function r(n){return qz(this,r),t.call(this,n)}return Uz(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ve);Wz(Zz,"excludes",[y.GRID]);function Xd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function eH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qd(e,t)}function tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:Xd(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function nH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oH(e){var t=rH();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tH(this,o)}}var iH=24,eo=function(e){eH(r,e);var t=oH(r);function r(n){Yz(this,r);var o;o=t.call(this,n),G$(Xd(o),"span",void 0),G$(Xd(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:iH;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(de);function X$(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 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 cH(e,t,r){return t&&Q$(e.prototype,t),r&&Q$(e,r),e}function Jd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(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&&Zd(e,t)}function fH(e,t){return t&&(aH(t)==="object"||typeof t=="function")?t:X$(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function aH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _H(e){var t=sH();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 fH(this,o)}}var to=function(e){lH(r,e);var t=_H(r);function r(n){uH(this,r);var o;return o=t.call(this,n),Jd(X$(o),"props",void 0),o.props=new eo(n==null?void 0:n.props),o}return cH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ve);Jd(to,"excludes",[y.COL,y.CARD_GROUP,y.SUBTABLE,y.SUBTABLE_COLUMN,y.DIVIDER]),Jd(to,"childrenMaxLength",1);function J$(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 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 pH(e,t,r){return t&&Z$(e.prototype,t),r&&Z$(e,r),e}function dH(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 vH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:J$(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}function bH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mH(e){var t=gH();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 hH(this,o)}}var OH=function(e){vH(r,e);var t=mH(r);function r(n){yH(this,r);var o;return o=t.call(this,n),dH(J$(o),"props",void 0),o.props=new eo(n==null?void 0:n.props),o}return pH(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(rn),Y$={Designer:to,Runtime:OH,Property:eo};function ev(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(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&&tv(e,t)}function PH(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:ev(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function RH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EH(e){var t=SH();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PH(this,o)}}var nv=function(e){$H(r,e);var t=EH(r);function r(n){wH(this,r);var o;o=t.call(this,n),eP(ev(o),"layoutMode",void 0),eP(ev(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(de);function tP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 IH(e,t,r){return t&&nP(e.prototype,t),r&&nP(e,r),e}function rv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function BH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function AH(e,t){return t&&(xH(t)==="object"||typeof t=="function")?t:tP(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function xH(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 DH(e){var t=kH();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 AH(this,o)}}var iv=function(e){BH(r,e);var t=DH(r);function r(n){TH(this,r);var o;return o=t.call(this,n),rv(tP(o),"props",void 0),o.props=new nv(n==null?void 0:n.props),o}return IH(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ve);rv(iv,"excludes",[y.ROW]),rv(iv,"setting",[{key:"col-setting",visible:!0}]);function rP(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 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 jH(e,t,r){return t&&oP(e.prototype,t),r&&oP(e,r),e}function FH(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 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&&uv(e,t)}function MH(e,t){return t&&(VH(t)==="object"||typeof t=="function")?t:rP(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function VH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HH(e){var t=zH();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 MH(this,o)}}var CH=function(e){LH(r,e);var t=HH(r);function r(n){NH(this,r);var o;return o=t.call(this,n),FH(rP(o),"props",void 0),o.props=new nv(n==null?void 0:n.props),o}return jH(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(rn);function qH(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 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 WH(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}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 Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(e)}function KH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GH(e,t){return t&&(XH(t)==="object"||typeof t=="function")?t:qH(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function XH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JH(e){var t=QH();return function(){var n=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GH(this,o)}}var ZH=4,Sl=function(e){KH(r,e);var t=JH(r);function r(n){return UH(this,r),t.call(this,n)}return WH(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}(iv);cv(Sl,"excludes",[y.GRID_ROW]),cv(Sl,"setting",[]),cv(Sl,"childrenMaxLength",ZH);function YH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eC(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 tC(e,t,r){return t&&uP(e.prototype,t),r&&uP(e,r),e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function nC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function rC(e,t){return t&&(oC(t)==="object"||typeof t=="function")?t:YH(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function oC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uC(e){var t=iC();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 rC(this,o)}}var cC=function(e){nC(r,e);var t=uC(r);function r(n){return eC(this,r),t.call(this,n)}return tC(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(CH);function lC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function aC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function sC(e,t){return t&&(_C(t)==="object"||typeof t=="function")?t:lC(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function _C(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pC(e){var t=yC();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 sC(this,o)}}var dC=function(e){aC(r,e);var t=pC(r);function r(n){return fC(this,r),t.call(this,n)}return r}(nv),vC={Designer:Sl,Runtime:cC,Property:dC};function Il(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bl(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 lP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hC(e,t){return t&&(bC(t)==="object"||typeof t=="function")?t:Il(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}function bC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fP(e){var t=gC();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 hC(this,o)}}var mC=function(e){lP(r,e);var t=fP(r);function r(){cP(this,r);var n;return n=t.apply(this,arguments),Bl(Il(n),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),n}return r}(de.Rules),aP=function(e){lP(r,e);var t=fP(r);function r(n){cP(this,r);var o;o=t.call(this,n),Bl(Il(o),"caption",void 0),Bl(Il(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(de);Bl(aP,"Rules",mC);function sP(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 _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 wC(e,t,r){return t&&_P(e.prototype,t),r&&_P(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 xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function $C(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function PC(e,t){return t&&(RC(t)==="object"||typeof t=="function")?t:sP(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function RC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EC(e){var t=SC();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PC(this,o)}}var yP=function(e){$C(r,e);var t=EC(r);function r(n){OC(this,r);var o;return o=t.call(this,n),_v(sP(o),"props",void 0),o.props=new aP(n==null?void 0:n.props),o}return wC(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(ve);_v(yP,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),_v(yP,"excludes",[y.CARD_GROUP]);function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(e)}function dP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TC(e,t){return t&&(IC(t)==="object"||typeof t=="function")?t:nt(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}function IC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vP(e){var t=BC();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 TC(this,o)}}var AC=function(e){dP(r,e);var t=vP(r);function r(n){pP(this,r);var o;return o=t.call(this,n),rt(nt(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),rt(nt(o),"width",{type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")}),rt(nt(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(C),Dl=function(e){dP(r,e);var t=vP(r);function r(n){pP(this,r);var o;o=t.call(this,n),rt(nt(o),"metaAutoWidth",void 0),rt(nt(o),"caption",void 0),rt(nt(o),"fixed",void 0),rt(nt(o),"isShowCaptionTip",void 0),rt(nt(o),"captionTip",void 0),rt(nt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var l;return o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,o.metaAutoWidth=new sB(n==null?void 0:n.metaAutoWidth),o}return r}(de);rt(Dl,"Rules",AC);function hP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xC(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 Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function kC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function DC(e,t){return t&&(NC(t)==="object"||typeof t=="function")?t:hP(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function NC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FC(e){var t=jC();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 DC(this,o)}}var qe=function(e){kC(r,e);var t=FC(r);function r(n){xC(this,r);var o;return o=t.call(this,n),ln(hP(o),"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return r}(ve);ln(qe,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),ln(qe,"controlType","subtable-column"),ln(qe,"controlIcon","subtable-column"),ln(qe,"childrenMaxLength",1),ln(qe,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),ln(qe,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function bP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LC(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 jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(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&&vv(e,t)}function VC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:bP(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function zC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CC(e){var t=HC();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 VC(this,o)}}var mP=function(e){MC(r,e);var t=CC(r);function r(n){LC(this,r);var o;return o=t.call(this,n),gP(bP(o),"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return r}(rn);gP(mP,"controlType","subtable-column");var qC={Designer:qe,Runtime:mP,Property:Dl};function UC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(e)}function KC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hv(e,t)}function GC(e,t){return t&&(XC(t)==="object"||typeof t=="function")?t:UC(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}function XC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JC(e){var t=QC();return function(){var n=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GC(this,o)}}var ZC=function(e){KC(r,e);var t=JC(r);function r(n){return WC(this,r),t.call(this,n)}return r}(de);function OP(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 fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(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&&bv(e,t)}function tq(e,t){return t&&(nq(t)==="object"||typeof t=="function")?t:OP(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}function nq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oq(e){var t=rq();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tq(this,o)}}var qn=function(e){eq(r,e);var t=oq(r);function r(n){YC(this,r);var o;return o=t.call(this,n),fn(OP(o),"props",void 0),o.props=new ZC(n==null?void 0:n.props),o}return r}(ve);fn(qn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),fn(qn,"controlType","subtable-row"),fn(qn,"controlIcon","subtable-row"),fn(qn,"childrenMaxLength",1),fn(qn,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),fn(qn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(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 uq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function cq(e,t){return t&&(lq(t)==="object"||typeof t=="function")?t:Ne(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function lq(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=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cq(this,o)}}var wP=function(e){uq(r,e);var t=aq(r);function r(n){iq(this,r);var o;o=t.call(this,n),Ve(Ne(o),"widthType",void 0),Ve(Ne(o),"width",void 0),Ve(Ne(o),"caption",void 0),Ve(Ne(o),"fieldCode",void 0),Ve(Ne(o),"fieldType",void 0),Ve(Ne(o),"fieldName",void 0),Ve(Ne(o),"datasourceBind",void 0),Ve(Ne(o),"fixed",void 0),Ve(Ne(o),"textCleanFormart",void 0),Ve(Ne(o),"decimalKeepPrecision",void 0),Ve(Ne(o),"timestampDateType",void 0),Ve(Ne(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 u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var f;o.fieldCode=(f=n==null?void 0:n.fieldCode)!==null&&f!==void 0?f:"";var l;o.fieldType=(l=n==null?void 0:n.fieldType)!==null&&l!==void 0?l:h.VARCHAR;var a;o.fieldName=(a=n==null?void 0:n.fieldName)!==null&&a!==void 0?a:"",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var g;o.timestampDateType=(g=n==null?void 0:n.timestampDateType)!==null&&g!==void 0?g:$t.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(de);function $P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function an(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 _q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function yq(e,t){return t&&(pq(t)==="object"||typeof t=="function")?t:$P(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function pq(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 vq(e){var t=dq();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 yq(this,o)}}var Un=function(e){_q(r,e);var t=vq(r);function r(n){sq(this,r);var o;return o=t.call(this,n),an($P(o),"props",void 0),o.props=new wP(n==null?void 0:n.props),o}return r}(ve);an(Un,"controlName","\u5217\u8868\u5355\u5143\u683C"),an(Un,"controlType","gridtable-column"),an(Un,"controlIcon","gridtable-column"),an(Un,"childrenMaxLength",1),an(Un,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),an(Un,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function PP(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 RP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function bq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function gq(e,t){return t&&(mq(t)==="object"||typeof t=="function")?t:PP(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function mq(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 wq(e){var t=Oq();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 gq(this,o)}}var $q=function(e){bq(r,e);var t=wq(r);function r(n){hq(this,r);var o;return o=t.call(this,n),RP(PP(o),"props",void 0),o.props=new wP(n==null?void 0:n.props),o}return r}(rn);RP($q,"controlType","gridtable-column");function Pq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function Sq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function Eq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:Pq(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function Tq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bq(e){var t=Iq();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 Eq(this,o)}}var Aq=function(e){Sq(r,e);var t=Bq(r);function r(n){return Rq(this,r),t.call(this,n)}return r}(de);function $v(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pv(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 EP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function xq(e,t){return t&&(kq(t)==="object"||typeof t=="function")?t:$v(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function kq(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 TP(e){var t=Dq();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 xq(this,o)}}var Nq=function(e){EP(r,e);var t=TP(r);function r(n){SP(this,r);var o;return o=t.call(this,n),Pv($v(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),o}return r}(C),IP=function(e){EP(r,e);var t=TP(r);function r(n){SP(this,r);var o;o=t.call(this,n),Pv($v(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Gl.controlName,o}return r}(de);Pv(IP,"Rules",Nq);function BP(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 AP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fq(e,t,r){return t&&AP(e.prototype,t),r&&AP(e,r),e}function Sv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(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&&Ev(e,t)}function Mq(e,t){return t&&(Vq(t)==="object"||typeof t=="function")?t:BP(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function Vq(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 Hq(e){var t=zq();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 Mq(this,o)}}var Ul=function(e){Lq(r,e);var t=Hq(r);function r(n){jq(this,r);var o;return o=t.call(this,n),Sv(BP(o),"props",void 0),o.props=new IP(n==null?void 0:n.props),o}return Fq(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}(ve);Sv(Ul,"excludes",[y.TAB]),Sv(Ul,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function xP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cq(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 qq(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function Wl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function Uq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function Wq(e,t){return t&&(Kq(t)==="object"||typeof t=="function")?t:xP(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}function Kq(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 Xq(e){var t=Gq();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 Wq(this,o)}}var Gl=function(e){Uq(r,e);var t=Xq(r);function r(n){Cq(this,r);var o;o=t.call(this,n),Wl(xP(o),"props",void 0),o.props=new Aq(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Ul,new Ul],o}return qq(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(ve);Wl(Gl,"excludes",[y.TAB]),Wl(Gl,"controlEventKeys",["on_change_tab"]),Wl(Gl,"setting",[{key:"super-setting",visible:!0}]);function Qq(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 Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(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&&Iv(e,t)}function Yq(e,t){return t&&(eU(t)==="object"||typeof t=="function")?t:Qq(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}function eU(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 nU(e){var t=tU();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 Yq(this,o)}}var rU=function(e){Zq(r,e);var t=nU(r);function r(n){return Jq(this,r),t.call(this,n)}return r}(de);function DP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oU(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 iU(e,t,r){return t&&NP(e.prototype,t),r&&NP(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 Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function uU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function cU(e,t){return t&&(lU(t)==="object"||typeof t=="function")?t:DP(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function lU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aU(e){var t=fU();return function(){var n=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cU(this,o)}}var sU=function(e){uU(r,e);var t=aU(r);function r(n){oU(this,r);var o;return o=t.call(this,n),jP(DP(o),"props",void 0),o.props=new rU({}),o.children=(n==null?void 0:n.children)||[new to({props:new eo({span:12})}),new to({props:new eo({span:12})})],o}return iU(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ve);jP(sU,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Av(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(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&&kv(e,t)}function _U(e,t){return t&&(yU(t)==="object"||typeof t=="function")?t:me(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function yU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dv(e){var t=pU();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 _U(this,o)}}var Zl;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Zl||(Zl={}));var dU=function(e){xv(r,e);var t=Dv(r);function r(n){Av(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(tn),vU=function(e){xv(r,e);var t=Dv(r);function r(n){Av(this,r);var o;if(o=t.call(this,n),Oe(me(o),"triggerFieldCode",{type:"any"}),Oe(me(o),"datasourceBind",{type:"any"}),n.triggerType===Zl.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}),Ua.call(me(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(C),no=function(e){xv(r,e);var t=Dv(r);function r(n){Av(this,r);var o;o=t.call(this,n),Oe(me(o),"datasourceBind",void 0),Oe(me(o),"isLoading",void 0),Oe(me(o),"isShowSubList",void 0),Oe(me(o),"triggerType",void 0),Oe(me(o),"triggerFieldCode",void 0),Oe(me(o),"sublistPage",void 0),Oe(me(o),"showType",void 0),Oe(me(o),"showFullScreen",void 0),Oe(me(o),"isFixedHeader",void 0),Oe(me(o),"isAllLoaded",void 0),Oe(me(o),"countType",void 0),o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:Zl.CLICK_ROW;var f;o.triggerFieldCode=(f=n==null?void 0:n.triggerFieldCode)!==null&&f!==void 0?f:"",o.sublistPage=new vB(n==null?void 0:n.sublistPage);var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"stretch";var a;o.showFullScreen=(a=n==null?void 0:n.showFullScreen)!==null&&a!==void 0?a:!1;var _;o.isFixedHeader=(_=n==null?void 0:n.isFixedHeader)!==null&&_!==void 0?_:!1;var p;return o.isAllLoaded=(p=n==null?void 0:n.isAllLoaded)!==null&&p!==void 0?p:!0,o.countType=n==null?void 0:n.countType,o}return r}(de);Oe(no,"Rules",vU),Oe(no,"RuntimeRules",dU);function FP(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 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 bU(e,t,r){return t&&LP(e.prototype,t),r&&LP(e,r),e}function Yl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function gU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function mU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:FP(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}function OU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $U(e){var t=wU();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 mU(this,o)}}var tf=function(e){gU(r,e);var t=$U(r);function r(n){hU(this,r);var o;return o=t.call(this,n),Yl(FP(o),"props",void 0),o.props=new no(n==null?void 0:n.props),o}return bU(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}(ve);Yl(tf,"excludes",[y.ROW]),Yl(tf,"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"]),Yl(tf,"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 MP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RU(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function SU(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 EU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function TU(e,t){return t&&(IU(t)==="object"||typeof t=="function")?t:MP(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function IU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AU(e){var t=BU();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 TU(this,o)}}var xU=function(e){EU(r,e);var t=AU(r);function r(n){PU(this,r);var o;return o=t.call(this,n),SU(MP(o),"props",void 0),o.props=new no(n==null?void 0:n.props),o}return RU(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(rn),kU={Designer:tf,Runtime:xU,Property:no};function Wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(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&&Fv(e,t)}function DU(e,t){return t&&(NU(t)==="object"||typeof t=="function")?t:Wt(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function NU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CP(e){var t=jU();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 DU(this,o)}}var FU=function(e){HP(r,e);var t=CP(r);function r(n){zP(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(tn),of=function(e){HP(r,e);var t=CP(r);function r(n){zP(this,r);var o;o=t.call(this,n),Kt(Wt(o),"save",void 0),Kt(Wt(o),"cancel",void 0),Kt(Wt(o),"saveAs",void 0),Kt(Wt(o),"print",void 0),Kt(Wt(o),"custom",void 0),Kt(Wt(o),"isLoading",void 0),Kt(Wt(o),"datasourceBind",void 0);var i;o.save=new St((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new St((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new St((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var f;o.print=new St((f=n==null?void 0:n.print)!==null&&f!==void 0?f:{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(_){return new St(_)});var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o.datasourceBind=new X(n==null?void 0:n.datasourceBind),o}return r}(de);Kt(of,"RuntimeRules",FU);function qP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 MU(e,t,r){return t&&UP(e.prototype,t),r&&UP(e,r),e}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 uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function VU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function zU(e,t){return t&&(HU(t)==="object"||typeof t=="function")?t:qP(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function HU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qU(e){var t=CU();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 zU(this,o)}}var KP=function(e){VU(r,e);var t=qU(r);function r(n){LU(this,r);var o;return o=t.call(this,n),WP(qP(o),"props",void 0),o.props=new of(n==null?void 0:n.props),o}return MU(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ve);WP(KP,"excludes",[]);function GP(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 XP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WU(e,t,r){return t&&XP(e.prototype,t),r&&XP(e,r),e}function KU(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 GU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function XU(e,t){return t&&(QU(t)==="object"||typeof t=="function")?t:GP(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function QU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZU(e){var t=JU();return function(){var n=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XU(this,o)}}var YU=function(e){GU(r,e);var t=ZU(r);function r(n){UU(this,r);var o;return o=t.call(this,n),KU(GP(o),"props",void 0),o.props=new of(n==null?void 0:n.props),o}return WU(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(rn),eW={Designer:KP,Runtime:YU,Property:of};function k(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 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 lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function zv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function tW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:k(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function nW(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 Cv(e){var t=rW();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 tW(this,o)}}var oW=function(e){zv(r,e);var t=Cv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),A(k(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),A(k(o),"limitRows",[{type:"number",required:!0,message:v.getMessage("isNotNumber")},{type:"number",min:0,message:v.getMessage("limitRowsCannotBeLessThan0")}]),A(k(o),"formKey",{type:"string",required:!1,message:v.getMessage("pleaseEnterForm")}),A(k(o),"maxHeight",{type:"number",required:!0,message:v.getMessage("pleaseEnterMaxHeight")}),A(k(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(C),iW=function(e){zv(r,e);var t=Cv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:v.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,f){c.length<n.limitRows&&f(v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),f()},message:v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(tn),qv=function(e){zv(r,e);var t=Cv(r);function r(n,o){Vv(this,r);var i;i=t.call(this,n,o),A(k(i),"caption",void 0),A(k(i),"labelPosition",void 0),A(k(i),"isHideCaption",void 0),A(k(i),"isShowCaptionTip",void 0),A(k(i),"captionTip",void 0),A(k(i),"defaultState",void 0),A(k(i),"limitRows",void 0),A(k(i),"defaultRows",void 0),A(k(i),"datasourceBind",void 0),A(k(i),"printMode",void 0),A(k(i),"openType",void 0),A(k(i),"formKey",void 0),A(k(i),"useCustomHeight",void 0),A(k(i),"maxHeight",void 0),A(k(i),"canAdd",void 0),A(k(i),"canDelete",void 0),A(k(i),"canCheck",void 0),A(k(i),"canEdit",void 0),A(k(i),"canImport",void 0),A(k(i),"canExport",void 0),A(k(i),"canClear",void 0),A(k(i),"mobileShowType",void 0),A(k(i),"dataStorageDoc",void 0),A(k(i),"serverPagination",void 0),A(k(i),"fixedColumn",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Gv.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var f;i.defaultState=(f=o==null?void 0:o.defaultState)!==null&&f!==void 0?f:"default";var l;i.labelPosition=(l=o==null?void 0:o.labelPosition)!==null&&l!==void 0?l:"top";var a;i.openType=(a=o==null?void 0:o.openType)!==null&&a!==void 0?a:"default";var _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var g;i.maxHeight=(g=o==null?void 0:o.maxHeight)!==null&&g!==void 0?g:g3;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var m;i.limitRows=(m=o==null?void 0:o.limitRows)!==null&&m!==void 0?m:1;var $;i.defaultRows=($=o==null?void 0:o.defaultRows)!==null&&$!==void 0?$:1,i.datasourceBind=new X(o==null?void 0:o.datasourceBind);var d;i.canAdd=(d=o==null?void 0:o.canAdd)!==null&&d!==void 0?d:!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 B;i.canImport=(B=o==null?void 0:o.canImport)!==null&&B!==void 0?B:!1;var re;i.canExport=(re=o==null?void 0:o.canExport)!==null&&re!==void 0?re:!1;var D;i.canClear=(D=o==null?void 0:o.canClear)!==null&&D!==void 0?D:!0;var oe;i.serverPagination=(oe=o==null?void 0:o.serverPagination)!==null&&oe!==void 0?oe:!1;var E;i.isShowCaptionTip=(E=o==null?void 0:o.isShowCaptionTip)!==null&&E!==void 0?E:!1;var ot;i.captionTip=(ot=o==null?void 0:o.captionTip)!==null&&ot!==void 0?ot:"";var ao;i.mobileShowType=(ao=o==null?void 0:o.mobileShowType)!==null&&ao!==void 0?ao:"list";var Br;i.dataStorageDoc=(Br=o==null?void 0:o.dataStorageDoc)!==null&&Br!==void 0?Br:new _B;var bn;return i.fixedColumn=(bn=o==null?void 0:o.fixedColumn)!==null&&bn!==void 0?bn:[],i}return r}(us);A(qv,"Rules",oW),A(qv,"RuntimeRules",iW);function Uv(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 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 cW(e,t,r){return t&&QP(e.prototype,t),r&&QP(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 ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function lW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function fW(e,t){return t&&(aW(t)==="object"||typeof t=="function")?t:Uv(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}function aW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _W(e){var t=sW();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 fW(this,o)}}var Gv=function(e){lW(r,e);var t=_W(r);function r(n){uW(this,r);var o,i;return o=t.call(this,n),Wv(Uv(o),"props",void 0),o.props=new qv(Uv(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 qe,new qe,new qe]),o}return cW(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new qe,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(fs);Wv(Gv,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Wv(Gv,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.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 Wn(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 ro(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 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&&Xv(e,t)}function dW(e,t){return t&&(vW(t)==="object"||typeof t=="function")?t:Wn(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function vW(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=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dW(this,o)}}var gW=function(e){pW(r,e);var t=bW(r);function r(n,o){yW(this,r);var i;i=t.call(this,n,o),ro(Wn(i),"isFixedHeader",void 0),ro(Wn(i),"selectionType",void 0),ro(Wn(i),"isShowToolbar",void 0),ro(Wn(i),"isShowSelection",void 0),ro(Wn(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var f;i.isShowSelection=(f=o==null?void 0:o.isShowSelection)!==null&&f!==void 0?f:!1;var l;return i.isShowCustomColumns=(l=o==null?void 0:o.isShowCustomColumns)!==null&&l!==void 0?l:!0,i}return r}(us);function mW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function ZP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function wW(e,t){return t&&($W(t)==="object"||typeof t=="function")?t:mW(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function $W(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YP(e){var t=PW();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 wW(this,o)}}var RW=function(e){ZP(r,e);var t=YP(r);function r(n){JP(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(ps),Jv=function(e){ZP(r,e);var t=YP(r);function r(n){JP(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Kn.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l:60;var a;o.autoWidth.minWidth=(a=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&a!==void 0?a:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(U);OW(Jv,"Rules",RW);function eR(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 oo(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 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&&Zv(e,t)}function TW(e,t){return t&&(IW(t)==="object"||typeof t=="function")?t:eR(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function IW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AW(e){var t=BW();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 TW(this,o)}}var Kn=function(e){EW(r,e);var t=AW(r);function r(n){SW(this,r);var o;return o=t.call(this,n),oo(eR(o),"props",void 0),o.props=new Jv(n==null?void 0:n.props),o}return r}(ue);oo(Kn,"controlType","order-column"),oo(Kn,"controlName","\u5E8F\u53F7"),oo(Kn,"controlIcon","order-column"),oo(Kn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function kW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function DW(e,t){return t&&(NW(t)==="object"||typeof t=="function")?t:tR(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function NW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FW(e){var t=jW();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 DW(this,o)}}var nR=function(e){kW(r,e);var t=FW(r);function r(n){xW(this,r);var o;return o=t.call(this,n),Yv(tR(o),"props",void 0),o.props=new Jv(n==null?void 0:n.props),o}return r}(ce);Yv(nR,"controlType","order-column"),Yv(nR,"controlFieldType",h.DECIMAL);function th(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 rR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(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&&nh(e,t)}function VW(e,t){return t&&(zW(t)==="object"||typeof t=="function")?t:th(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function zW(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 CW(e){var t=HW();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 VW(this,o)}}var oR=function(e){MW(r,e);var t=CW(r);function r(n){LW(this,r);var o,i;o=t.call(this,n),rR(th(o),"showType",void 0),rR(th(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Xn.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var a;return o.limit=(a=n==null?void 0:n.limit)!==null&&a!==void 0?a:3,o}return r}(U);function df(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iR(e,t,r,n,o,i,u){try{var c=e[i](u),f=c.value}catch(l){r(l);return}c.done?t(f):Promise.resolve(f).then(n,o)}function qW(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){iR(i,n,o,u,c,"next",f)}function c(f){iR(i,n,o,u,c,"throw",f)}u(void 0)})}}function UW(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 WW(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}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 Gn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Gn=Reflect.get:Gn=function(o,i,u){var c=ZW(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},Gn(e,t,r||e)}function Gt(e){return Gt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gt(e)}function KW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function GW(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){sn(e,o,r[o])})}return e}function XW(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 QW(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):XW(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function JW(e,t){return t&&(YW(t)==="object"||typeof t=="function")?t:df(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function ZW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gt(e),e!==null););return e}function YW(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=Gt(e),o;if(t){var i=Gt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JW(this,o)}}var nK=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(a){return f([l,a])}}function f(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(a){l=[6,a],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Xn=function(e){KW(r,e);var t=tK(r);function r(n){UW(this,r);var o;return o=t.call(this,n),sn(df(o),"props",void 0),sn(df(o),"children",void 0),o.props=new oR(n==null?void 0:n.props),It(df(o),"children",n==null?void 0:n.children),o}return WW(r,[{key:"toDataBindModel",value:function(){var o=Gn(Gt(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Ui.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=Gn(Gt(r.prototype),"toSchema",this).call(this);return QW(GW({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,f=function(){return Gn(Gt(r.prototype),"validate",u)};return qW(function(){return nK(this,function(l){switch(l.label){case 0:return[4,f().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(a){return a.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),r}(ue);sn(Xn,"controlType","operation-column"),sn(Xn,"controlName","\u64CD\u4F5C"),sn(Xn,"controlIcon","operation-column"),sn(Xn,"setting",[{key:"caption",showItems:[s.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 vf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hf(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 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&&oh(e,t)}function iK(e,t){return t&&(uK(t)==="object"||typeof t=="function")?t:vf(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function uK(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 lK(e){var t=cK();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 iK(this,o)}}var cR=function(e){oK(r,e);var t=lK(r);function r(n){rK(this,r);var o;return o=t.call(this,n),hf(vf(o),"props",void 0),hf(vf(o),"children",void 0),o.props=new oR(n==null?void 0:n.props),It(vf(o),"children",n==null?void 0:n.children),o}return r}(ce);hf(cR,"controlType","operation-column"),hf(cR,"controlFieldType",h.FILE);function io(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lR(e,t,r,n,o,i,u){try{var c=e[i](u),f=c.value}catch(l){r(l);return}c.done?t(f):Promise.resolve(f).then(n,o)}function fK(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){lR(i,n,o,u,c,"next",f)}function c(f){lR(i,n,o,u,c,"throw",f)}u(void 0)})}}function aK(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 sK(e,t,r){return t&&fR(e.prototype,t),r&&fR(e,r),e}function gf(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?uo=Reflect.get:uo=function(o,i,u){var c=hK(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},uo(e,t,r||e)}function _n(e){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_n(e)}function _K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function yK(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){gf(e,o,r[o])})}return e}function pK(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 dK(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pK(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function vK(e,t){return t&&(bK(t)==="object"||typeof t=="function")?t:io(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function hK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_n(e),e!==null););return e}function bK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mK(e){var t=gK();return function(){var n=_n(e),o;if(t){var i=_n(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vK(this,o)}}var OK=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(a){return f([l,a])}}function f(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(a){l=[6,a],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},wK=function(e){_K(r,e);var t=mK(r);function r(n){aK(this,r);var o;return o=t.call(this,n),gf(io(o),"props",void 0),gf(io(o),"children",void 0),o.props=new gW(io(o),n==null?void 0:n.props),It(io(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new Kn,new Xn]),o}return sK(r,[{key:"toSchema",value:function(){var o=uo(_n(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return dK(yK({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,f=function(){return uo(_n(r.prototype),"validate",u)};return fK(function(){return OK(this,function(l){switch(l.label){case 0:return[4,f().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(a){return a.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}(fs);gf(wK,"setting",[{key:"list-fixed-header",visible:!0}]);function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function sR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $K(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:yn(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function PK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _R(e){var t=RK();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 $K(this,o)}}var SK=function(e){sR(r,e);var t=_R(r);function r(n){return aR(this,r),t.call(this,n)}return r}(Sg),ch=function(e){sR(r,e);var t=_R(r);function r(n){aR(this,r);var o;o=t.call(this,n),pn(yn(o),"optionConfig",void 0),pn(yn(o),"datasourceBind",void 0),pn(yn(o),"showLinkOperation",void 0),pn(yn(o),"linkOperationOption",void 0),pn(yn(o),"options",void 0),pn(yn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.options=ut((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var f;o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(U);pn(ch,"Rules",SK);function yR(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 Qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(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&&lh(e,t)}function IK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:yR(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function BK(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 xK(e){var t=AK();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 IK(this,o)}}var Jn=function(e){TK(r,e);var t=xK(r);function r(n){EK(this,r);var o;return o=t.call(this,n),Qn(yR(o),"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return r}(ue);Qn(Jn,"controlType","varchar-column"),Qn(Jn,"controlName","\u77ED\u6587\u672C"),Qn(Jn,"controlIcon","varchar-column"),Qn(Jn,"controlFieldType",h.VARCHAR),Qn(Jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function pR(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 fh(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 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&&ah(e,t)}function NK(e,t){return t&&(jK(t)==="object"||typeof t=="function")?t:pR(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function jK(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 LK(e){var t=FK();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 NK(this,o)}}var dR=function(e){DK(r,e);var t=LK(r);function r(n){kK(this,r);var o;return o=t.call(this,n),fh(pR(o),"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return r}(ce);fh(dR,"controlType","varchar-column"),fh(dR,"controlFieldType",h.VARCHAR);function co(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 $f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function VK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function zK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:co(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function HK(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 qK(e){var t=CK();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 zK(this,o)}}var vR=function(e){VK(r,e);var t=qK(r);function r(n){MK(this,r);var o;o=t.call(this,n),$f(co(o),"escapeHTML",void 0),$f(co(o),"showLinkOperation",void 0),$f(co(o),"linkOperationOption",void 0),$f(co(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:er.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption),o}return r}(U);function hR(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 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 WK(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}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 Rf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Rf=Reflect.get:Rf=function(o,i,u){var c=XK(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},Rf(e,t,r||e)}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yn(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&&_h(e,t)}function GK(e,t){return t&&(QK(t)==="object"||typeof t=="function")?t:hR(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function XK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yn(e),e!==null););return e}function QK(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 ZK(e){var t=JK();return function(){var n=Yn(e),o;if(t){var i=Yn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GK(this,o)}}var er=function(e){KK(r,e);var t=ZK(r);function r(n){UK(this,r);var o;return o=t.call(this,n),Zn(hR(o),"props",void 0),o.props=new vR(n==null?void 0:n.props),o}return WK(r,[{key:"toDataBindModel",value:function(o){var i=Rf(Yn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ue);Zn(er,"controlType","text-column"),Zn(er,"controlName","\u957F\u6587\u672C"),Zn(er,"controlIcon","text-column"),Zn(er,"controlFieldType",h.TEXT),Zn(er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function gR(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 yh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(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&&ph(e,t)}function tG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:gR(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function nG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oG(e){var t=rG();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tG(this,o)}}var mR=function(e){eG(r,e);var t=oG(r);function r(n){YK(this,r);var o;return o=t.call(this,n),yh(gR(o),"props",void 0),o.props=new vR(n==null?void 0:n.props),o}return r}(ce);yh(mR,"controlType","text-column"),yh(mR,"controlFieldType",h.TEXT);function wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function uG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function cG(e,t){return t&&(lG(t)==="object"||typeof t=="function")?t:wt(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function lG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aG(e){var t=fG();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cG(this,o)}}var OR=function(e){uG(r,e);var t=aG(r);function r(n){iG(this,r);var o;o=t.call(this,n),Xt(wt(o),"optionConfig",void 0),Xt(wt(o),"datasourceBind",void 0),Xt(wt(o),"showLinkOperation",void 0),Xt(wt(o),"linkOperationOption",void 0),Xt(wt(o),"options",void 0),Xt(wt(o),"precision",void 0),Xt(wt(o),"micrometer",void 0),Xt(wt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:rr.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var f;o.percentageFormat=(f=n==null?void 0:n.percentageFormat)!==null&&f!==void 0?f:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var a;o.options=ut((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption),o}return r}(U);function wR(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 $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 _G(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}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 Tf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Tf=Reflect.get:Tf=function(o,i,u){var c=dG(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},Tf(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(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&&vh(e,t)}function pG(e,t){return t&&(vG(t)==="object"||typeof t=="function")?t:wR(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function dG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}function vG(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 bG(e){var t=hG();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 pG(this,o)}}var rr=function(e){yG(r,e);var t=bG(r);function r(n){sG(this,r);var o;return o=t.call(this,n),tr(wR(o),"props",void 0),o.props=new OR(n==null?void 0:n.props),o}return _G(r,[{key:"toDataBindModel",value:function(o){var i=Tf(nr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,f=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=f}return i}}]),r}(ue);tr(rr,"controlType","decimal-column"),tr(rr,"controlName","\u6570\u503C"),tr(rr,"controlIcon","decimal-column"),tr(rr,"controlFieldType",h.DECIMAL),tr(rr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function PR(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 hh(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 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&&bh(e,t)}function OG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:PR(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function wG(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 PG(e){var t=$G();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 OG(this,o)}}var RR=function(e){mG(r,e);var t=PG(r);function r(n){gG(this,r);var o;return o=t.call(this,n),hh(PR(o),"props",void 0),o.props=new OR(n==null?void 0:n.props),o}return r}(ce);hh(RR,"controlType","decimal-column"),hh(RR,"controlFieldType",h.DECIMAL);function Bf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gh(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 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&&mh(e,t)}function EG(e,t){return t&&(TG(t)==="object"||typeof t=="function")?t:Bf(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function TG(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 BG(e){var t=IG();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 EG(this,o)}}var SR=function(e){SG(r,e);var t=BG(r);function r(n){RG(this,r);var o;o=t.call(this,n),gh(Bf(o),"dateType",void 0),gh(Bf(o),"showLinkOperation",void 0),gh(Bf(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:$t.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ur.controlName,o}return r}(U);function ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xG(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}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 xf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?xf=Reflect.get:xf=function(o,i,u){var c=NG(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},xf(e,t,r||e)}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(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&&Oh(e,t)}function DG(e,t){return t&&(jG(t)==="object"||typeof t=="function")?t:ER(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function NG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ir(e),e!==null););return e}function jG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LG(e){var t=FG();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 DG(this,o)}}var ur=function(e){kG(r,e);var t=LG(r);function r(n){AG(this,r);var o;return o=t.call(this,n),or(ER(o),"props",void 0),o.props=new SR(n==null?void 0:n.props),o}return xG(r,[{key:"toDataBindModel",value:function(o){var i=xf(ir(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ue);or(ur,"controlType","timescope-column"),or(ur,"controlName","\u65E5\u671F\u533A\u95F4"),or(ur,"controlIcon","timescope-column"),or(ur,"controlFieldType",h.TIMESCOPE),or(ur,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wh(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 VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function zG(e,t){return t&&(HG(t)==="object"||typeof t=="function")?t:IR(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function HG(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 qG(e){var t=CG();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 zG(this,o)}}var BR=function(e){VG(r,e);var t=qG(r);function r(n){MG(this,r);var o;return o=t.call(this,n),wh(IR(o),"props",void 0),o.props=new SR(n==null?void 0:n.props),o}return r}(ce);wh(BR,"controlType","timescope-column"),wh(BR,"controlFieldType",h.TIMESCOPE);function Df(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ph(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 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&&Rh(e,t)}function KG(e,t){return t&&(GG(t)==="object"||typeof t=="function")?t:Df(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function GG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QG(e){var t=XG();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 KG(this,o)}}var AR=function(e){WG(r,e);var t=QG(r);function r(n){UG(this,r);var o;o=t.call(this,n),Ph(Df(o),"dateType",void 0),Ph(Df(o),"showLinkOperation",void 0),Ph(Df(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:$t.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:fr.controlName,o}return r}(U);function xR(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 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 ZG(e,t,r){return t&&kR(e.prototype,t),r&&kR(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 jf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jf=Reflect.get:jf=function(o,i,u){var c=tX(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},jf(e,t,r||e)}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(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&&Sh(e,t)}function eX(e,t){return t&&(nX(t)==="object"||typeof t=="function")?t:xR(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function tX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=lr(e),e!==null););return e}function nX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oX(e){var t=rX();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 eX(this,o)}}var fr=function(e){YG(r,e);var t=oX(r);function r(n){JG(this,r);var o;return o=t.call(this,n),cr(xR(o),"props",void 0),o.props=new AR(n==null?void 0:n.props),o}return ZG(r,[{key:"toDataBindModel",value:function(o){var i=jf(lr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ue);cr(fr,"controlType","timestamp-column"),cr(fr,"controlName","\u65E5\u671F"),cr(fr,"controlIcon","timestamp-column"),cr(fr,"controlFieldType",h.TIMESTAMP),cr(fr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function DR(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 Eh(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 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&&Th(e,t)}function cX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:DR(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}function lX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aX(e){var t=fX();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 cX(this,o)}}var NR=function(e){uX(r,e);var t=aX(r);function r(n){iX(this,r);var o;return o=t.call(this,n),Eh(DR(o),"props",void 0),o.props=new AR(n==null?void 0:n.props),o}return r}(ce);Eh(NR,"controlType","timestamp-column"),Eh(NR,"controlFieldType",h.TIMESTAMP);function ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function FR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sX(e,t){return t&&(_X(t)==="object"||typeof t=="function")?t:ar(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function _X(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 LR(e){var t=yX();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 sX(this,o)}}var pX=function(e){FR(r,e);var t=LR(r);function r(n){return jR(this,r),t.call(this,n)}return r}(Sg),Bh=function(e){FR(r,e);var t=LR(r);function r(n){jR(this,r);var o;o=t.call(this,n),sr(ar(o),"optionConfig",void 0),sr(ar(o),"datasourceBind",void 0),sr(ar(o),"showLinkOperation",void 0),sr(ar(o),"linkOperationOption",void 0),sr(ar(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:yr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new X(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var f;return o.options=ut((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(U);sr(Bh,"Rules",pX);function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function vX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function hX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:MR(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function bX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mX(e){var t=gX();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hX(this,o)}}var yr=function(e){vX(r,e);var t=mX(r);function r(n){dX(this,r);var o;return o=t.call(this,n),_r(MR(o),"props",void 0),o.props=new Bh(n==null?void 0:n.props),o}return r}(ue);_r(yr,"controlType","array-column"),_r(yr,"controlName","\u6570\u7EC4"),_r(yr,"controlIcon","array-column"),_r(yr,"controlFieldType",h.ARRAY),_r(yr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function VR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xh(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 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&&kh(e,t)}function $X(e,t){return t&&(PX(t)==="object"||typeof t=="function")?t:VR(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}function PX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=RX();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 $X(this,o)}}var zR=function(e){wX(r,e);var t=SX(r);function r(n){OX(this,r);var o;return o=t.call(this,n),xh(VR(o),"props",void 0),o.props=new Bh(n==null?void 0:n.props),o}return r}(ce);xh(zR,"controlType","array-column"),xh(zR,"controlFieldType",h.ARRAY);function HR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function IX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function BX(e,t){return t&&(AX(t)==="object"||typeof t=="function")?t:HR(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function AX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kX(e){var t=xX();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 BX(this,o)}}var CR=function(e){IX(r,e);var t=kX(r);function r(n){EX(this,r);var o;o=t.call(this,n),TX(HR(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:vr.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(U);function qR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DX(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 NX(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hf=Reflect.get:Hf=function(o,i,u){var c=LX(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},Hf(e,t,r||e)}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function jX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FX(e,t){return t&&(MX(t)==="object"||typeof t=="function")?t:qR(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function LX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dr(e),e!==null););return e}function MX(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=dr(e),o;if(t){var i=dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FX(this,o)}}var vr=function(e){jX(r,e);var t=zX(r);function r(n){DX(this,r);var o;return o=t.call(this,n),pr(qR(o),"props",void 0),o.props=new CR(n==null?void 0:n.props),o}return NX(r,[{key:"toDataBindModel",value:function(o){var i=Hf(dr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ue);pr(vr,"controlType","department-column"),pr(vr,"controlName","\u90E8\u95E8"),pr(vr,"controlIcon","department-column"),pr(vr,"controlFieldType",h.DEPARTMENTS),pr(vr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function WR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jh(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 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&&Fh(e,t)}function qX(e,t){return t&&(UX(t)==="object"||typeof t=="function")?t:WR(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function UX(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=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qX(this,o)}}var KR=function(e){CX(r,e);var t=KX(r);function r(n){HX(this,r);var o;return o=t.call(this,n),jh(WR(o),"props",void 0),o.props=new CR(n==null?void 0:n.props),o}return r}(ce);jh(KR,"controlType","department-column"),jh(KR,"controlFieldType",h.DEPARTMENTS);function Lh(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 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 qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(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&&Mh(e,t)}function QX(e,t){return t&&(JX(t)==="object"||typeof t=="function")?t:Lh(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function JX(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 YX(e){var t=ZX();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 QX(this,o)}}var XR=function(e){XX(r,e);var t=YX(r);function r(n){GX(this,r);var o;o=t.call(this,n),GR(Lh(o),"showLinkOperation",void 0),GR(Lh(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:br.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption),o}return r}(U);function QR(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 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 Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(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&&Vh(e,t)}function nQ(e,t){return t&&(rQ(t)==="object"||typeof t=="function")?t:QR(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function rQ(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=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nQ(this,o)}}var br=function(e){tQ(r,e);var t=iQ(r);function r(n){eQ(this,r);var o;return o=t.call(this,n),hr(QR(o),"props",void 0),o.props=new XR(n==null?void 0:n.props),o}return r}(ue);hr(br,"controlType","auto-number-column"),hr(br,"controlName","\u81EA\u52A8\u7F16\u53F7"),hr(br,"controlIcon","auto-number-column"),hr(br,"controlFieldType",h.AUTO_NUMBER),hr(br,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function JR(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 zh(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 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&&Hh(e,t)}function lQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:JR(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function fQ(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 sQ(e){var t=aQ();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 lQ(this,o)}}var ZR=function(e){cQ(r,e);var t=sQ(r);function r(n){uQ(this,r);var o;return o=t.call(this,n),zh(JR(o),"props",void 0),o.props=new XR(n==null?void 0:n.props),o}return r}(ce);zh(ZR,"controlType","auto-number-column"),zh(ZR,"controlFieldType",h.AUTO_NUMBER);function _Q(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 Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(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&&Ch(e,t)}function dQ(e,t){return t&&(vQ(t)==="object"||typeof t=="function")?t:_Q(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}function vQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bQ(e){var t=hQ();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dQ(this,o)}}var YR=function(e){pQ(r,e);var t=bQ(r);function r(n){yQ(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:mr.controlName,o}return r}(U);function eS(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 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 Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(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&&qh(e,t)}function OQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:eS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function wQ(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 PQ(e){var t=$Q();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 OQ(this,o)}}var mr=function(e){mQ(r,e);var t=PQ(r);function r(n){gQ(this,r);var o;return o=t.call(this,n),gr(eS(o),"props",void 0),o.props=new YR(n==null?void 0:n.props),o}return r}(ue);gr(mr,"controlType","file-column"),gr(mr,"controlName","\u9644\u4EF6"),gr(mr,"controlIcon","file-column"),gr(mr,"controlFieldType",h.FILE),gr(mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",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 RQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function SQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function EQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:tS(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function TQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BQ(e){var t=IQ();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EQ(this,o)}}var nS=function(e){SQ(r,e);var t=BQ(r);function r(n){RQ(this,r);var o;return o=t.call(this,n),Uh(tS(o),"props",void 0),o.props=new YR(n==null?void 0:n.props),o}return r}(ce);Uh(nS,"controlType","file-column"),Uh(nS,"controlFieldType",h.FILE);function AQ(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 Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function kQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function DQ(e,t){return t&&(NQ(t)==="object"||typeof t=="function")?t:AQ(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function NQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FQ(e){var t=jQ();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 DQ(this,o)}}var rS=function(e){kQ(r,e);var t=FQ(r);function r(n){xQ(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:wr.controlName,o}return r}(U);function oS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(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&&Gh(e,t)}function VQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:oS(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function zQ(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 CQ(e){var t=HQ();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 VQ(this,o)}}var wr=function(e){MQ(r,e);var t=CQ(r);function r(n){LQ(this,r);var o;return o=t.call(this,n),Or(oS(o),"props",void 0),o.props=new rS(n==null?void 0:n.props),o}return r}(ue);Or(wr,"controlType","image-column"),Or(wr,"controlName","\u56FE\u7247"),Or(wr,"controlIcon","image-column"),Or(wr,"controlFieldType",h.IMAGE),Or(wr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function iS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xh(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 UQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function WQ(e,t){return t&&(KQ(t)==="object"||typeof t=="function")?t:iS(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function KQ(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 XQ(e){var t=GQ();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 WQ(this,o)}}var uS=function(e){UQ(r,e);var t=XQ(r);function r(n){qQ(this,r);var o;return o=t.call(this,n),Xh(iS(o),"props",void 0),o.props=new rS(n==null?void 0:n.props),o}return r}(ce);Xh(uS,"controlType","image-column"),Xh(uS,"controlFieldType",h.IMAGE);function QQ(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 Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(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&&Jh(e,t)}function YQ(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:QQ(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function eJ(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 nJ(e){var t=tJ();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 YQ(this,o)}}var cS=function(e){ZQ(r,e);var t=nJ(r);function r(n){JQ(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:Pr.controlName,o}return r}(U);function lS(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 $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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function oJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function iJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:lS(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}function uJ(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 lJ(e){var t=cJ();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 iJ(this,o)}}var Pr=function(e){oJ(r,e);var t=lJ(r);function r(n){rJ(this,r);var o;return o=t.call(this,n),$r(lS(o),"props",void 0),o.props=new cS(n==null?void 0:n.props),o}return r}(ue);$r(Pr,"controlType","people-column"),$r(Pr,"controlName","\u4EBA\u5458"),$r(Pr,"controlIcon","people-column"),$r(Pr,"controlFieldType",h.EMPLOYEES),$r(Pr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",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 fJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yh(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 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&&eb(e,t)}function sJ(e,t){return t&&(_J(t)==="object"||typeof t=="function")?t:fS(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function _J(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 pJ(e){var t=yJ();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 sJ(this,o)}}var aS=function(e){aJ(r,e);var t=pJ(r);function r(n){fJ(this,r);var o;return o=t.call(this,n),Yh(fS(o),"props",void 0),o.props=new cS(n==null?void 0:n.props),o}return r}(ce);Yh(aS,"controlType","people-column"),Yh(aS,"controlFieldType",h.EMPLOYEES);function tb(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 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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(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&&nb(e,t)}function hJ(e,t){return t&&(bJ(t)==="object"||typeof t=="function")?t:tb(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function bJ(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=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hJ(this,o)}}var _S=function(e){vJ(r,e);var t=mJ(r);function r(n){dJ(this,r);var o;o=t.call(this,n),sS(tb(o),"showLinkOperation",void 0),sS(tb(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Sr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption),o}return r}(U);function yS(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 Rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(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&&rb(e,t)}function $J(e,t){return t&&(PJ(t)==="object"||typeof t=="function")?t:yS(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function PJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SJ(e){var t=RJ();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 $J(this,o)}}var Sr=function(e){wJ(r,e);var t=SJ(r);function r(n){OJ(this,r);var o;return o=t.call(this,n),Rr(yS(o),"props",void 0),o.props=new _S(n==null?void 0:n.props),o}return r}(ue);Rr(Sr,"controlType","location-column"),Rr(Sr,"controlName","\u5730\u5740"),Rr(Sr,"controlIcon","location-column"),Rr(Sr,"controlFieldType",h.ADDRESS),Rr(Sr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function pS(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 ob(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(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&&ib(e,t)}function IJ(e,t){return t&&(BJ(t)==="object"||typeof t=="function")?t:pS(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function BJ(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 xJ(e){var t=AJ();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IJ(this,o)}}var dS=function(e){TJ(r,e);var t=xJ(r);function r(n){EJ(this,r);var o;return o=t.call(this,n),ob(pS(o),"props",void 0),o.props=new _S(n==null?void 0:n.props),o}return r}(ce);ob(dS,"controlType","location-column"),ob(dS,"controlFieldType",h.ADDRESS);function vS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DJ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function NJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ub(e,t)}function jJ(e,t){return t&&(FJ(t)==="object"||typeof t=="function")?t:vS(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function FJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MJ(e){var t=LJ();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 jJ(this,o)}}var hS=function(e){NJ(r,e);var t=MJ(r);function r(n){kJ(this,r);var o;o=t.call(this,n),DJ(vS(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:vn.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(U);function Er(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 bS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zJ(e,t,r){return t&&bS(e.prototype,t),r&&bS(e,r),e}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 lo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?lo=Reflect.get:lo=function(o,i,u){var c=GJ(o,i);if(!!c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(u||o):f.value}},lo(e,t,r||e)}function dn(e){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dn(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&&cb(e,t)}function CJ(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function qJ(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){Ue(e,o,r[o])})}return e}function UJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function WJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):UJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function KJ(e,t){return t&&(XJ(t)==="object"||typeof t=="function")?t:Er(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function GJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dn(e),e!==null););return e}function XJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JJ(e){var t=QJ();return function(){var n=dn(e),o;if(t){var i=dn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KJ(this,o)}}var ZJ=1,vn=function(t){HJ(n,t);var r=JJ(n);function n(o){VJ(this,n);var i;i=r.call(this,o),Ue(Er(i),"excludes",void 0),Ue(Er(i),"childrenMaxLength",void 0),Ue(Er(i),"props",void 0),Ue(Er(i),"children",void 0);var u=CJ(this,n)?this.constructor:void 0,c=u.excludes,f=u.childrenMaxLength;return i.props=new hS(o==null?void 0:o.props),It(Er(i),"children",o==null?void 0:o.children),i.excludes=Pt(c),i.childrenMaxLength=f,i}return zJ(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=lo(dn(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}},{key:"toSchema",value:function(){var i=lo(dn(n.prototype),"toSchema",this).call(this);return WJ(qJ({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ue);Ue(vn,"controlType","custom-column"),Ue(vn,"controlName","\u81EA\u5B9A\u4E49"),Ue(vn,"controlIcon","custom-column"),Ue(vn,"excludes",[]),Ue(vn,"childrenMaxLength",ZJ),Ue(vn,"setting",[{key:"caption",showItems:[s.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 ua(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 lb(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 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&&fb(e,t)}function tZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:ua(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function nZ(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=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tZ(this,o)}}var iZ=function(e){eZ(r,e);var t=oZ(r);function r(n){YJ(this,r);var o;return o=t.call(this,n),lb(ua(o),"props",void 0),lb(ua(o),"children",void 0),o.props=new hS(n==null?void 0:n.props),It(ua(o),"children",n==null?void 0:n.children),o}return r}(ce);lb(iZ,"controlType","custom-column");function gS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cZ(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 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&&ab(e,t)}function fZ(e,t){return t&&(aZ(t)==="object"||typeof t=="function")?t:gS(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function aZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Z(e){var t=sZ();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 fZ(this,o)}}var mS=function(e){lZ(r,e);var t=_Z(r);function r(n){uZ(this,r);var o;o=t.call(this,n),cZ(gS(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hn.controlName;var u;return o.datasourceBind=new po((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:hn.controlCustomAttributes}),o}return r}(U);function OS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pZ(e,t,r){return t&&wS(e.prototype,t),r&&wS(e,r),e}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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(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&&sb(e,t)}function vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:OS(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function hZ(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 gZ(e){var t=bZ();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 vZ(this,o)}}var hn=function(e){dZ(r,e);var t=gZ(r);function r(n){yZ(this,r);var o;return o=t.call(this,n),Tr(OS(o),"props",void 0),o.props=new mS(n==null?void 0:n.props),o}return pZ(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ue);Tr(hn,"controlType","employee-column"),Tr(hn,"controlName","\u4EBA\u5458"),Tr(hn,"controlIcon","employee-column"),Tr(hn,"controlFieldType",h.EMPLOYEES),Tr(hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",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 mZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function OZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yb(e,t)}function wZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:$S(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}function $Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RZ(e){var t=PZ();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wZ(this,o)}}var PS=function(e){OZ(r,e);var t=RZ(r);function r(n){mZ(this,r);var o;return o=t.call(this,n),_b($S(o),"props",void 0),o.props=new mS(n==null?void 0:n.props),o}return r}(ce);_b(PS,"controlType","employee-column"),_b(PS,"controlFieldType",h.EMPLOYEES);function Qt(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 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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function SS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:Qt(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function EZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ES(e){var t=TZ();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 SZ(this,o)}}var IZ=function(e){SS(r,e);var t=ES(r);function r(n){RS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(tn),db=function(e){SS(r,e);var t=ES(r);function r(n){RS(this,r);var o;o=t.call(this,n),Jt(Qt(o),"search",void 0),Jt(Qt(o),"cancel",void 0),Jt(Qt(o),"labelPosition",void 0),Jt(Qt(o),"viewType",void 0),Jt(Qt(o),"isLoading",void 0),Jt(Qt(o),"custom",void 0),Jt(Qt(o),"queryTypeMap",void 0);var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new St((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var f;o.cancel=new St((f=n==null?void 0:n.cancel)!==null&&f!==void 0?f:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(p){return new St(p)});var _;return o.queryTypeMap=(_=n==null?void 0:n.queryTypeMap)!==null&&_!==void 0?_:[],o}return r}(ms);Jt(db,"RuntimeRules",IZ);function TS(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 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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(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&&hb(e,t)}function xZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:TS(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function kZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NZ(e){var t=DZ();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 xZ(this,o)}}var IS=function(e){AZ(r,e);var t=NZ(r);function r(n){BZ(this,r);var o;return o=t.call(this,n),vb(TS(o),"props",void 0),o.props=new db(n==null?void 0:n.props),o}return r}(O2);vb(IS,"controlType","simple-search"),vb(IS,"setting",[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}]);function bb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function FZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LZ(e,t){return t&&(MZ(t)==="object"||typeof t=="function")?t:bb(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function MZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zZ(e){var t=VZ();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LZ(this,o)}}var HZ=function(e){FZ(r,e);var t=zZ(r);function r(n){jZ(this,r);var o;o=t.call(this,n),gb(bb(o),"props",void 0),gb(bb(o),"children",void 0),o.props=new db(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}(T2);gb(HZ,"controlType","simple-search");const CZ=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];tY(t==null?void 0:t.events),XZ(n),QZ(n);const o=GZ(n),i=JZ(o,t);let u=wn(we(i,c=>KZ(c,t)));return r?u:u[0]},qZ=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],UZ=["subtable","grid-table"],WZ=["simple-search"];function KZ(e,t){var o,i,u,c,f,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":qZ.includes(r.type)?r.controlType="base":r.controlType="form",UZ.includes(r.type)&&(r.controlType="list"),WZ.includes(r.type)&&(r.controlType="search-view")),delete r.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((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),ye((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),ye((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(f=e.attachment_format)==null?void 0:f.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(ye(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ye(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const a=r.props.entry_type||r.props.entryType;r.props.openType=a==="subpage"?"modal":"default",((l=r.children[0])==null?void 0:l.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((_,p)=>{const g=new qC.Designer;g.props.caption=ye(_.field_name)?_.field_name.zh:_.field_name;const O=g.toSchema();O.id=_.header_id;const m=r.children[0].children[p].children[0];return m&&(O.children=[m]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(a=>{a.label=ye(a.text)?a.text.zh:a.text,a.id=a.id||a.opt_id||a.optId||a.data_id}),r=e),e.type==="grid-row"){const a=24/r.children.length;r.children=r.children.map(_=>{const p=new Y$.Designer;p.props.span=a;const g=p.toSchema();return g.children.push(_),g})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const a=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={};a&&(BS(r,t),p.result=a.props.data_bind,r.id=a.id,r.props=a.props,r.props.script_src=a.props.script_src,r.props.script_echo=a.props.script_echo,r.props.precision=a.props.precision,r.props.micrometer=a.props.is_show_money,r.props.showUpperCase=a.props.is_show_chn),_&&(p.unit=_.props.data_bind,r.props.default_value={unit:_.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const a=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={},g={};a&&(BS(r,t),r.id=a.id,p.amount=a.props.data_bind,r.props.range_min=On(a.props.range_min),r.props.range_max=On(a.props.range_max),g.amount=On(a.props.value),r.props.required=a.props.required,r.props.is_hide=a.props.is_hide,r.props.default_state=a.props.default_state,r.props.caption=ye(a.props.caption)?a.props.caption.zh:a.props.caption,r.props.is_hide_caption=a.props.is_hide_caption,r.props.showUpperCase=a.props.is_show_chn),_&&(p.currency=_.props.data_bind,g.currency=_.props.value,r.props.datasourceBind=_.props.datasource_bind,r.props.options=_.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=p,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const a=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1];r.props.placeholderStart=ye(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=ye(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};a&&(p.min=a.props.data_bind),_&&(p.max=_.props.data_bind),r.props.dataBind=p,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=ye(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=On(e.props.range_min),r.props.range_max=On(e.props.range_max),r.props.defaultValue=On(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),nY(r,t==null?void 0:t.control_events),r}function BS(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(l=>l===o),f=u.hide_controls.findIndex(l=>l===o);c>-1&&u.show_controls.splice(c,1,i),f>-1&&u.hide_controls.splice(f,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function GZ(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new eW.Designer().toSchema();return n.children=e,[n]}function XZ(e){e.forEach(t=>{t.children&&eY(t.children)})}function QZ(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function JZ(e,t){var g,O,m,$,d,w,P,S;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;ZZ(i),c.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,YZ(c,u);const f=(m=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?m:t==null?void 0:t.dataCode,l=((d=($=n==null?void 0:n.source_config)==null?void 0:$.svc_code)!=null?d:f)?`${f}_selectMore`:void 0,a=(P=(w=n==null?void 0:n.source_config)==null?void 0:w.orders)!=null?P:[],_=new kU.Designer;_.props.datasourceBind=new X({dataCode:f,svcCode:l,orders:U1(a)}),_.props.isShowSubList=n.is_show_sublist,_.props.triggerType=n.timing_type,_.props.triggerFieldCode=n.ctrl_field_code,(S=n==null?void 0:n.sublist_page)==null||S.sublists.forEach(B=>{B.title=ye(B.title)?B.title.zh:B.title}),_.props.sublistPage=n.sublist_page;const p=_.toSchema();return p.children.push(i,c),[p]}function ZZ(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=ye(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function YZ(e,t){e.children=t.children.filter(r=>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(r=>{var o,i,u;let 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}};return 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):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new X({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 eY(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function tY(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function nY(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const rY=(e,t)=>{const r=Array.isArray(e);let o=wn(we(r?e:[e],i=>oY(i)));return r?o:o[0]};function oY(e,t){return e.type===y.LIST_VIEW&&e.children.find(n=>n.type===y.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new je({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const iY=(e,t)=>{const r=Array.isArray(e);let o=wn(we(r?e:[e],i=>uY(i)));return r?o:o[0]};function uY(e,t){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.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===y.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===y.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const cY=(e,t)=>{const r=Array.isArray(e);let o=wn(we(r?e:[e],i=>lY(i)));return r?o:o[0]};function lY(e,t){if(e.props.icon){let 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}const fY=(e,t)=>{const r=Array.isArray(e);let o=wn(we(r?e:[e],i=>sY(i)));return r?o:o[0]},aY=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function sY(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(aY.includes(r.type))return r;const n=new vC.Designer,o=new Y$.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const _Y=(e,t)=>{const r=Array.isArray(e);let o=wn(we(r?e:[e],i=>yY(i)));return r?o:o[0]};function yY(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===y.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const pY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>dY(i));return r?o:o[0]};function dY(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const vY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>hY(i));return r?o:o[0]};function Zt(e,t){e.field_code&&(e.field_type=t)}function hY(e,t){var n;const r={[y.TITLE]:h.AUTO_NUMBER,[y.ADDRESS]:h.ADDRESS,[y.ATTACHMENT]:h.FILE,[y.AUTO_NUMBER]:h.AUTO_NUMBER,[y.CHECKBOX]:h.ARRAY,[y.DATE_PICKER]:h.TIMESTAMP,[y.DEPARTMENT]:h.DEPARTMENTS,[y.EMPLOYEE]:h.EMPLOYEES,[y.EMPLOYEE2]:h.EMPLOYEES,[y.IMAGE]:h.IMAGE,[y.INPUT]:h.VARCHAR,[y.NUMBER]:h.DECIMAL,[y.RADIO]:h.VARCHAR,[y.RICH_TEXT]:h.TEXT,[y.SCORE]:h.DECIMAL,[y.SELECT]:h.VARCHAR,[y.SELECT_MULTIPLE]:h.ARRAY,[y.SELECT_RELATION]:h.VARCHAR,[y.TEXTAREA]:h.TEXT,[y.TREE]:h.ARRAY,[y.SEARCH_DATE_RANGE]:h.ARRAY,[y.SEARCH_INPUT]:h.VARCHAR,[y.SEARCH_NUMBER_RANGE]:h.ARRAY};return r.hasOwnProperty(e.type)&&Zt(e.props.data_bind,r[e.type]),e.type===y.AMOUNT&&(Zt(e.props.data_bind.amount,h.DECIMAL),Zt(e.props.data_bind.currency,h.VARCHAR)),e.type===y.CALC&&(Zt(e.props.data_bind.result,h.DECIMAL),Zt(e.props.data_bind.unit,h.VARCHAR)),e.type===y.DATE_RANGE&&(Zt(e.props.data_bind.min,h.TIMESTAMP),Zt(e.props.data_bind.max,h.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&Zt(e.props.data_bind,(n=e.field_type)!=null?n:h.ANY),e}const bY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>gY(i));return r?o:o[0]};function gY(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===y.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const mY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>OY(i));return r?o:o[0]};function OY(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[h.VARCHAR,h.TEXT,h.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const wY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>$Y(i));return r?o:o[0]};function $Y(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const PY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>RY(i));return r?o:o[0]};function RY(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const SY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>EY(i));return r?o:o[0]};function EY(e,t){return e.type===y.TITLE&&e.props.config.push(lt.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,f,l,a,_,p,g,O,m,$,d,w,P,S,B,re,D,oe;if(r.type===y.OPERATION_COLUMN){if(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",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const E=new U_.Designer;Object.defineProperty(E,"id",{value:"listPageCheckBtnId"}),E.props.code="view",E.props.icon="iconliulan1",E.props.command="view",E.props.content=(i=r.props)==null?void 0:i.check.content,E.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,E.props.openType=(c=r.props)==null?void 0:c.check.open_type,E.props.formKey=(f=r.props)==null?void 0:f.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(E.toSchema()),(a=r.props)==null||delete a.check}if(((_=r.props)==null?void 0:_.edit)!==void 0){const E=new U_.Designer;Object.defineProperty(E,"id",{value:"listPageEditBtnId"}),E.props.code="edit",E.props.icon="iconbianji1",E.props.command="edit",E.props.content=(p=r.props)==null?void 0:p.edit.content,E.props.priorityProcess=(g=r.props)==null?void 0:g.edit.priority_process,E.props.openType=(O=r.props)==null?void 0:O.edit.open_type,E.props.formKey=(m=r.props)==null?void 0:m.edit.form_key,($=r.props)!=null&&$.edit.is_show&&r.children.push(E.toSchema()),(d=r.props)==null||delete d.edit}if(((w=r.props)==null?void 0:w.delete)!==void 0){const E=new U_.Designer;Object.defineProperty(E,"id",{value:"listPageDeleteBtnId"}),E.props.code="delete",E.props.icon="iconlajitong",E.props.command="delete",E.props.content=(P=r.props)==null?void 0:P.delete.content,E.props.priorityProcess=(S=r.props)==null?void 0:S.delete.priority_process,E.props.openType=(B=r.props)==null?void 0:B.delete.open_type,E.props.formKey=(re=r.props)==null?void 0:re.delete.form_key,E.props.needConfirm=!0,E.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(D=r.props)!=null&&D.delete.is_show&&r.children.push(E.toSchema()),(oe=r.props)==null||delete oe.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.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 AS={"v1.0":CZ,"v2.0":rY,"v2.1":iY,"v2.2":cY,"v2.3":fY,"v2.4":_Y,"v2.5":pY,"v2.6":vY,"v2.7":bY,"v2.8":mY,"v2.9":wY,"v2.10":PY,"v3.0":SY,"v3.1":()=>{}};const xS=(e,t)=>{const r=kS(e),n=kS(t),o=r.pop(),i=n.pop(),u=jS(r,n);return u!==0?u:o&&i?jS(o.split("."),i.split(".")):o||i?o?-1:1:0},pa=(e,t,r)=>{AY(r);const n=xS(e,t);return FS[r].includes(n)},TY=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,kS=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(TY);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},DS=e=>e==="*"||e==="x"||e==="X",NS=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},IY=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],BY=(e,t)=>{if(DS(e)||DS(t))return 0;const[r,n]=IY(NS(e),NS(t));return r>n?1:r<n?-1:0},jS=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=BY(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},FS={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},LS=Object.keys(FS),AY=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(LS.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${LS.join("|")}`)};function Ob(e){return e.replace(/^v/,"")}const Ir=Object.keys(AS).map(e=>Ob(e)).sort(xS),fo=Ir[Ir.length-1];class xY{constructor(t,r=fo){this.schemaVersion=t,this.toVersion=r,pa(r,fo,">")?Nr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${fo}`):(!Ir.includes(Ob(r))||!Ir.includes(Ob(t)))&&Nr(`Version Builder: Please give me a valid version number, The valid version is: ${Ir.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(pa(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var _;const f=(_=c[u+1])!=null?_:this.toVersion;_o(`Version Builder: current version: ${i}, nextVersion: ${f}`);const l=AS[i];let a=o;if(typeof l=="function"){const p=l(o,r);p&&(a=p)}return a},t);return _o(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return Ir.filter(t=>pa(t,this.schemaVersion,">=")&&pa(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return fo}static get version(){return fo}}gn.VersionBuilder=xY,Object.defineProperty(gn,"__esModule",{value:!0})});
|
|
1
|
+
(function(wn,xr){typeof exports=="object"&&typeof module!="undefined"?xr(exports):typeof define=="function"&&define.amd?define(["exports"],xr):(wn=typeof globalThis!="undefined"?globalThis:wn||self,xr(wn.modelDrivenUpgrade={}))})(this,function(wn){"use strict";var xr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",rE="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",oE="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",iE="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",uE="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",cE="{caption}\u5FC5\u586B",lE="\u8BF7\u8F93\u5165\u6807\u9898",aE="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",fE="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",sE="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",yE="\u8BF7\u7ED1\u5B9A\u8868\u5355",pE="\u8BF7\u7ED1\u5B9A\u5217\u8868",dE="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",vE="\u8BF7\u8F93\u5165\u663E\u793A\u503C",_E="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",hE="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",bE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",gE="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",mE="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",OE="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",wE="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",PE="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",RE="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",$E="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",SE="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",EE="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",TE="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",IE="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",BE="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",CE="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",AE="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",xE="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",NE="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",kE="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",DE="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",jE="\u8BF7\u7ED1\u5B9A\u670D\u52A1",LE="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",FE="\u8BF7\u9009\u62E9\u7701",ME="\u8BF7\u9009\u62E9\u5E02",VE="\u8BF7\u9009\u62E9\u533A",zE="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",HE="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",qE="\u8BF7\u8F93\u5165\u5217\u5BBD",UE="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",WE="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",KE="\u8BF7\u9009\u62E9\u63A7\u4EF6",GE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",XE="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",QE="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",JE="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ZE="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",YE="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",eT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",tT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",nT="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",rT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",oT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",iT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",uT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",cT="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",lT="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",aT="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",fT="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",sT="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",yT="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",pT="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",dT="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",vT={isNotNumber:xr,isNotString:rE,isNotObject:oE,isNotArray:iE,isNotBoolean:uE,runtimeRequired:cE,pleaseEnterCaption:lE,pleaseEnterCaptionTip:aE,pleaseEnterPlaceholder:fE,pleaseEnterFieldCode:sE,pleaseEnterForm:yE,pleaseEnterList:pE,pleaseEnterProcess:dE,pleaseEnterLabel:vE,pleaseEnterValue:_E,bizKeyNotBindFiled:hE,pleaseSelectOneField:bE,pleaseEnterNumberRange:gE,pleaseEnterAValueGreaterThanMin:mE,pleaseEnterAValueLessThanMax:OE,numberRangeSetError:wE,stringRangeError:PE,attachmentMaxSize:RE,pleaseEnterTotalScoreSetting:$E,theTotalScoreMustNotBeLessThan1:SE,scoreDefaultValueRange:EE,attachmentLimitError:TE,PleaseReselectTheOptionalQuantity:IE,TheMaximumLengthIsGreaterThanTheMinimumLength:BE,TheMinimumLengthIsGreaterThanTheMaximumLength:CE,PleaseSelectTheCorrectOptionSettings:AE,optionIdIsRepeat:xE,optionIsRequired:NE,pleaseEnterDataCode:kE,pleaseEnterValueFieldCode:DE,pleaseEnterSvcCode:jE,pleaseBindAtLeastOneDisplayValue:LE,pleaseSelectProvince:FE,pleaseSelectCity:ME,pleaseSelectDistrict:VE,limitRowsCannotBeLessThan0:zE,TheNumberOfRowsCannotBeLessThanMinRows:HE,pleaseEnterColumnWidth:qE,pleaseSetTheLogicalRelationshipOfAllRuleConditions:UE,pleaseCompleteAllRulesAndConditions:WE,pleaseSelectControl:KE,pleaseSelectAtLeastOneColumn:GE,pleaseSelectFillBackMode:XE,pleaseSelectDashboard:QE,rootNodeIsRequired:JE,theViewNameCannotBeEmpty:ZE,pleaseSelectOcrType:YE,pleaseSelectAtLeastOneFieldToFillIn:eT,pleaseChooseAtLeastOne:tT,pleaseEnterButtonContent:nT,pleaseEnterDataCodeInDataSetting:rT,pleaseEnterValueFieldCodeInDataSetting:oT,pleaseEnterSvcCodeInDataSetting:iT,pleaseBindAtLeastOneDisplayValueInDataSetting:uT,rootNodeIsRequiredInDataSetting:cT,pleaseEnterMaxHeight:lT,pleaseEnter:aT,pleaseEnterWatermark:fT,pleaseEnterFileName:sT,pleaseUploadAtLeastOnePrintTemplate:yT,pleaseAssignBusiness:pT,pleaseAssignExternal:dT},_T="Please enter a number",hT="Please enter a string",bT="Please enter an object",gT="Please enter an array",mT="Please enter a boolean",OT="{caption} Required",wT="Please enter the title",PT="Please enter the bubble prompt",RT="Please enter the prompt text",$T="Please bind data items",ST="Please bind the form",ET="Please bind the list",TT="Please bind the process",IT="Please enter the displayed value",BT="Please enter the stored value",CT="The document number is not bound to the data item",AT="Please select at least one display field",xT="Please enter a value greater than or equal to {min} and less than or equal to {max}",NT="Please enter a value greater than or equal to {min}",kT="Please enter a value less than or equal to {max}",DT="The value range is set incorrectly",jT="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",LT="The attachment size must be between 0MB and 1000MB",FT="Please fill in the total score setting",MT="The total score cannot be less than 1",VT="The default value must be between {min} and {max}",zT="The number of attachments uploaded must be between {min} and {max}",HT="Please re-select the optional quantity",qT="The maximum length of the control must be greater than the minimum length",UT="The minimum length of the control must be less than the maximum length",WT="Please select the correct option setting",KT="Option ID cannot be repeated",GT="Please enter at least one option",XT="Please bind the data source",QT="Please bind the stored value",JT="Please bind the service",ZT="At least one display value must be bound",YT="Please select a province",eI="Please select a city",tI="Please select a district",nI="The minimum number of lines to fill in cannot be less than 0",rI="The number of rows cannot be less than {min} rows",oI="Please enter the column width",iI="Please set the logical relationship of all rule conditions",uI="Please complete all rules and conditions",cI="please select control",lI="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",aI="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fI="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",sI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",yI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",pI="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",dI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",vI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",_I="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",hI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",bI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",gI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",mI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",OI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",wI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",PI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",RI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$I="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",SI={isNotNumber:_T,isNotString:hT,isNotObject:bT,isNotArray:gT,isNotBoolean:mT,runtimeRequired:OT,pleaseEnterCaption:wT,pleaseEnterCaptionTip:PT,pleaseEnterPlaceholder:RT,pleaseEnterFieldCode:$T,pleaseEnterForm:ST,pleaseEnterList:ET,pleaseEnterProcess:TT,pleaseEnterLabel:IT,pleaseEnterValue:BT,bizKeyNotBindFiled:CT,pleaseSelectOneField:AT,pleaseEnterNumberRange:xT,pleaseEnterAValueGreaterThanMin:NT,pleaseEnterAValueLessThanMax:kT,numberRangeSetError:DT,stringRangeError:jT,attachmentMaxSize:LT,pleaseEnterTotalScoreSetting:FT,theTotalScoreMustNotBeLessThan1:MT,scoreDefaultValueRange:VT,attachmentLimitError:zT,PleaseReselectTheOptionalQuantity:HT,TheMaximumLengthIsGreaterThanTheMinimumLength:qT,TheMinimumLengthIsGreaterThanTheMaximumLength:UT,PleaseSelectTheCorrectOptionSettings:WT,optionIdIsRepeat:KT,optionIsRequired:GT,pleaseEnterDataCode:XT,pleaseEnterValueFieldCode:QT,pleaseEnterSvcCode:JT,pleaseBindAtLeastOneDisplayValue:ZT,pleaseSelectProvince:YT,pleaseSelectCity:eI,pleaseSelectDistrict:tI,limitRowsCannotBeLessThan0:nI,TheNumberOfRowsCannotBeLessThanMinRows:rI,pleaseEnterColumnWidth:oI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:iI,pleaseCompleteAllRulesAndConditions:uI,pleaseSelectControl:cI,pleaseSelectDashboard:lI,theViewNameCannotBeEmpty:aI,pleaseSelectOcrType:fI,pleaseSelectAtLeastOneFieldToFillIn:sI,pleaseChooseAtLeastOne:yI,pleaseEnterButtonContent:pI,pleaseEnterDataCodeInDataSetting:dI,pleaseEnterValueFieldCodeInDataSetting:vI,pleaseEnterSvcCodeInDataSetting:_I,pleaseBindAtLeastOneDisplayValueInDataSetting:hI,rootNodeIsRequiredInDataSetting:bI,pleaseEnterMaxHeight:gI,pleaseEnter:mI,pleaseEnterWatermark:OI,pleaseEnterFileName:wI,pleaseUploadAtLeastOnePrintTemplate:PI,pleaseAssignBusiness:RI,pleaseAssignExternal:$I},EI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",TI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",II="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",BI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AI="{caption}\u5FC5\u9808",xI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",NI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",DI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",LI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",FI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",MI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",HI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",UI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",KI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",GI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",XI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",QI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",JI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ZI="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",YI="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",eB="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tB="\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",nB="\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",rB="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oB="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",iB="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uB="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cB="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lB="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aB="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",fB="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sB="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yB="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pB="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dB="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",vB="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_B="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hB="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",bB="please select control",gB="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",mB="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",OB="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",PB="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",RB="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",$B="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",SB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",EB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",TB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",IB="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",BB="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",CB="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",AB="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xB="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",NB="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",kB="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",DB="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jB={isNotNumber:EI,isNotString:TI,isNotObject:II,isNotArray:BI,isNotBoolean:CI,runtimeRequired:AI,pleaseEnterCaption:xI,pleaseEnterCaptionTip:NI,pleaseEnterPlaceholder:kI,pleaseEnterFieldCode:DI,pleaseEnterForm:jI,pleaseEnterList:LI,pleaseEnterProcess:FI,pleaseEnterLabel:MI,pleaseEnterValue:VI,bizKeyNotBindFiled:zI,pleaseSelectOneField:HI,pleaseEnterNumberRange:qI,pleaseEnterAValueGreaterThanMin:UI,pleaseEnterAValueLessThanMax:WI,numberRangeSetError:KI,stringRangeError:GI,attachmentMaxSize:XI,pleaseEnterTotalScoreSetting:QI,theTotalScoreMustNotBeLessThan1:JI,scoreDefaultValueRange:ZI,attachmentLimitError:YI,PleaseReselectTheOptionalQuantity:eB,TheMaximumLengthIsGreaterThanTheMinimumLength:tB,TheMinimumLengthIsGreaterThanTheMaximumLength:nB,PleaseSelectTheCorrectOptionSettings:rB,optionIdIsRepeat:oB,optionIsRequired:iB,pleaseEnterDataCode:uB,pleaseEnterValueFieldCode:cB,pleaseEnterSvcCode:lB,pleaseBindAtLeastOneDisplayValue:aB,pleaseSelectProvince:fB,pleaseSelectCity:sB,pleaseSelectDistrict:yB,limitRowsCannotBeLessThan0:pB,TheNumberOfRowsCannotBeLessThanMinRows:dB,pleaseEnterColumnWidth:vB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:_B,pleaseCompleteAllRulesAndConditions:hB,pleaseSelectControl:bB,pleaseSelectDashboard:gB,theViewNameCannotBeEmpty:mB,pleaseSelectOcrType:OB,pleaseSelectAtLeastOneFieldToFillIn:wB,pleaseChooseAtLeastOne:PB,pleaseEnterButtonContent:RB,pleaseEnterDataCodeInDataSetting:$B,pleaseEnterValueFieldCodeInDataSetting:SB,pleaseEnterSvcCodeInDataSetting:EB,pleaseBindAtLeastOneDisplayValueInDataSetting:TB,rootNodeIsRequiredInDataSetting:IB,pleaseEnterMaxHeight:BB,pleaseEnter:CB,pleaseEnterWatermark:AB,pleaseEnterFileName:xB,pleaseUploadAtLeastOnePrintTemplate:NB,pleaseAssignBusiness:kB,pleaseAssignExternal:DB},LB={zhCN:vT,enUS:SI,jaJP:jB},Cb;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Cb||(Cb={}));var Ab;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Ab||(Ab={}));var FB="zh-CN";function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Pn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Pn||(Pn={}));var p;(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"})(p||(p={}));var h;(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"})(h||(h={}));var ye;ye={},Ie(ye,h.ARRAY,p.ARRAY_COLUMN),Ie(ye,h.AUTO_NUMBER,p.AUTO_NUMBER_COLUMN),Ie(ye,h.DECIMAL,p.DECIMAL_COLUMN),Ie(ye,h.DEPARTMENTS,p.DEPARTMENT_COLUMN),Ie(ye,h.FILE,p.FILE_COLUMN),Ie(ye,h.IMAGE,p.IMAGE_COLUMN),Ie(ye,h.ADDRESS,p.LOCATION_COLUMN),Ie(ye,h.EMPLOYEES,p.EMPLOYEE_COLUMN),Ie(ye,h.TEXT,p.TEXT_COLUMN),Ie(ye,h.TIMESCOPE,p.TIMESCOPE_COLUMN),Ie(ye,h.TIMESTAMP,p.TIMESTAMP_COLUMN),Ie(ye,h.VARCHAR,p.VARCHAR_COLUMN),Ie(ye,h.RELATION,p.VARCHAR_COLUMN);var $t;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})($t||($t={}));var xb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",MB=xb+"0123456789";function ut(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?xb:MB,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Of(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 VB(e){if(Array.isArray(e))return Of(e)}function zB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HB(){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 vo(e,t,r){return HB()?vo=Reflect.construct:vo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&kr(l,u.prototype),l},vo.apply(null,arguments)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function kb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kr(e,t)}function qB(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function UB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function WB(){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 KB(e,t){return t&&(GB(t)==="object"||typeof t=="function")?t:zB(e)}function kr(e,t){return kr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kr(e,t)}function Db(e){return VB(e)||UB(e)||XB(e)||WB()}var GB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XB(e,t){if(!!e){if(typeof e=="string")return Of(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 Of(e,t)}}function wf(e){var t=typeof Map=="function"?new Map:void 0;return wf=function(n){if(n===null||!qB(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 vo(n,arguments,Nr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),kr(o,n)},wf(e)}function QB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jb(e){var t=QB();return function(){var n=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KB(this,o)}}var Pf=console;function Rf(){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=Pf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Db(o)))}function _o(){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=Pf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Db(o)))}function JB(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var $f=function(e){kb(r,e);var t=jb(r);function r(n){Nb(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?JB(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(wf(Error)),ZB=function(e){kb(r,e);var t=jb(r);function r(n){Nb(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}($f);function Dr(e){throw new $f(e)}function Lb(e){throw new ZB(e)}function YB(e){Pf.error(new $f(e))}var e1=Object.prototype.toString;function Fb(e,t){return e1.call(e)==="[object "+t+"]"}function t1(e){return Fb(e,"String")}function n1(e){return Fb(e,"Promise")}var r1=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();n1(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,c){if(o!==void 0){var a=o[i];if(!(u===c.length-1&&!t1(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 o1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i1(e,t,r){return t&&Mb(e.prototype,t),r&&Mb(e,r),e}function u1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _=function(){function e(){o1(this,e)}return i1(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]:FB;return new r1({locale:r,messages:LB})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();u1(_,"$i18n",_.resetI18n());function c1(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Rf("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],r)&&(l[u]=r,o=!0),l[u]}},e),o}var l1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Sf={exports:{}};(function(e){(function(t){var r=function(v,w,R){if(!l(w)||y(w)||d(w)||g(w)||a(w))return w;var $,E=0,H=0;if(f(w))for($=[],H=w.length;E<H;E++)$.push(r(v,w[E],R));else{$={};for(var C in w)Object.prototype.hasOwnProperty.call(w,C)&&($[v(C,R)]=r(v,w[C],R))}return $},n=function(v,w){w=w||{};var R=w.separator||"_",$=w.split||/(?=[A-Z])/;return v.split($).join(R)},o=function(v){return O(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(w,R){return R?R.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var w=o(v);return w.substr(0,1).toUpperCase()+w.substr(1)},u=function(v,w){return n(v,w).toLowerCase()},c=Object.prototype.toString,a=function(v){return typeof v=="function"},l=function(v){return v===Object(v)},f=function(v){return c.call(v)=="[object Array]"},y=function(v){return c.call(v)=="[object Date]"},d=function(v){return c.call(v)=="[object RegExp]"},g=function(v){return c.call(v)=="[object Boolean]"},O=function(v){return v=v-0,v===v},m=function(v,w){var R=w&&"process"in w?w.process:w;return typeof R!="function"?v:function($,E){return R($,v,E)}},P={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,w){return r(m(o,w),v)},decamelizeKeys:function(v,w){return r(m(u,w),v,w)},pascalizeKeys:function(v,w){return r(m(i,w),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=P:t.humps=P})(l1)})(Sf);var Vb={};Object.defineProperty(Vb,"__esModule",{value:!0});function Ef(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ef(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Ef(n)}return t}}var a1=Vb.default=Ef;function St(e){if(e!==void 0)return typeof e=="object"?a1(e):e}function pe(e){return zb(e)&&"zh"in e}function zb(e){return Object.prototype.toString.call(e)==="[object Object]"}function Tf(e){return Array.isArray(e)}function Rn(e){return isNaN(parseFloat(e))?"":Number(e)}function f1(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function we(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=we(n.children,t)),t(o)})),r}function s1(e){return Sf.exports.camelizeKeys(e)}function $n(e){return Sf.exports.decamelizeKeys(e)}function If(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 y1(e){if(Array.isArray(e))return If(e)}function Hb(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function p1(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Hb(i,n,o,u,c,"next",a)}function c(a){Hb(i,n,o,u,c,"throw",a)}u(void 0)})}}function d1(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 v1(e,t,r){return t&&qb(e.prototype,t),r&&qb(e,r),e}function Ub(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _1(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function h1(){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 Bf(e){return y1(e)||_1(e)||b1(e)||h1()}function b1(e,t){if(!!e){if(typeof e=="string")return If(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 If(e,t)}}var g1=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},m1=function(){function e(){d1(this,e),Ub(this,"_events",new Map),Ub(this,"debug",!1)}return v1(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 u=this;return p1(function(){var c,a,l,f,y,d,g,O,m,P,v,w;return g1(this,function(R){switch(R.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];l=c.slice(),f=!0,y=!1,d=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),g=l[Symbol.iterator](),R.label=2;case 2:if(f=(O=g.next()).done)return[3,7];if(m=O.value,!c.includes(m))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),u.debug&&_o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Bf(o))),[4,m.apply(null,Bf(o))];case 4:return P=R.sent(),u.debug&&_o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.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(Bf(o),[P])),a.push(P),P===!1?[3,7]:[3,6];case 5:return v=R.sent(),YB(String(v)+":"+String(v.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return w=R.sent(),y=!0,d=w,[3,10];case 9:try{!f&&g.return!=null&&g.return()}finally{if(y)throw d}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 O1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wb(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w1(e,t,r){return t&&Wb(e.prototype,t),r&&Wb(e,r),e}function P1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var R1=[{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"}],$1=function(){function e(){O1(this,e)}return w1(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}();P1($1,"events",R1);function S1(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 E1(e,t,r){return t&&Kb(e.prototype,t),r&&Kb(e,r),e}function en(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Gb=[],Cf=function(){function e(t){S1(this,e),en(this,"registeredControlTypes",new Set),en(this,"controlConfigMap",new Map),en(this,"_controls",[]),en(this,"_type",void 0),this._type=t,this._initControls(t)}return E1(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__||Dr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Rf("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===Pn.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===Pn.FORM}},{key:"isListControl",value:function(r){return r.controlType===Pn.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===Pn.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 u=r;if(typeof n=="function"){var c=n(u);c&&(u=c)}var a=new i(u);return a}else Dr("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__)&&Dr("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(u){return u.Designer.controlType===n.controlType});return i>-1&&(Rf("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}();en(Cf,"staticControls",Gb),en(Cf,"staticRegisteredTypes",new Set(Gb.map(function(e){return e.Designer.controlType}))),en(Cf,"staticRegisteredConfigs",new Map);function z(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 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 ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(e)}function We(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Af(e,t)}function Xb(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function T1(e,t){return t&&(I1(t)==="object"||typeof t=="function")?t:z(e)}function Af(e,t){return Af=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Af(e,t)}var I1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ke(e){var t=B1();return function(){var n=ho(e),o;if(t){var i=ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T1(this,o)}}var De=function e(t){S(this,e),b(this,"dataCode",void 0),b(this,"fieldCode",void 0),b(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:""},Qb=function e(t){S(this,e),b(this,"minWidth",void 0),b(this,"maxWidth",void 0),b(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},xf=function(e){We(r,e);var t=Ke(r);function r(n){S(this,r);var o;o=t.call(this,n),b(z(o),"width",void 0),b(z(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(Qb),C1=function e(t){S(this,e),b(this,"pc",void 0),b(this,"mobile",void 0),this.pc=new xf(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new xf(t==null?void 0:t.mobile):new xf({width:130,minWidth:180})},A1=function e(t){S(this,e),b(this,"type",void 0),b(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:[]},Nf=function e(t){S(this,e),b(this,"dataCode",void 0),b(this,"formKey",void 0),b(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:""},x1=function(e){We(r,e);var t=Ke(r);function r(n){S(this,r);var o;o=t.call(this,n),b(z(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Nf),Jb=function e(t){S(this,e),b(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Zb=function e(t){S(this,e);var r;b(this,"appId",void 0),b(this,"formKey",void 0),b(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(u){return new Jb(u)}))!==null&&i!==void 0?i:[]},N1=function e(t){S(this,e),b(this,"fieldName",void 0),b(this,"fieldCode",void 0),b(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:h.VARCHAR},k1=function(e){We(r,e);var t=Ke(r);function r(n){S(this,r);var o;o=t.call(this,n),b(z(o),"title",void 0),b(z(o),"svcCode",void 0),b(z(o),"isOpenFilter",void 0),b(z(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(Nf),D1=function e(t){S(this,e);var r,n;b(this,"type","sublist-page"),b(this,"formBind",void 0),b(this,"displayFields",void 0),b(this,"sublists",void 0),this.formBind=new Nf(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new N1(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new k1(u)}))!==null&&i!==void 0?i:[]},j1=function e(t){S(this,e),b(this,"type",void 0),b(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},jr=function e(t){S(this,e),b(this,"type",void 0),b(this,"value",void 0),b(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:[]},L1=function e(t){var r=this;S(this,e),b(this,"id",void 0),b(this,"ruleId",void 0),b(this,"type","conditions"),b(this,"level",void 0),b(this,"value",void 0),b(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ut();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var a,l=new e(c);(a=r.children)===null||a===void 0||a.push(l)}else{var f,y=new Yb(c);(f=r.children)===null||f===void 0||f.push(y)}}))},Yb=function e(t){S(this,e),b(this,"id",void 0),b(this,"ruleId",void 0),b(this,"type","condition"),b(this,"symbol",void 0),b(this,"checked",void 0),b(this,"describe",void 0),b(this,"leftVariableBo",void 0),b(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ut();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new j1(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new jr(t==null?void 0:t.rightVariableBo)},Be=function e(t){S(this,e),b(this,"controlId",void 0),b(this,"fieldCode",void 0),b(this,"fieldType",void 0),b(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:""},kf=function e(t){S(this,e),b(this,"type",void 0),b(this,"value",void 0),b(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},F1=function e(t){S(this,e),b(this,"columnName",void 0),b(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};function Df(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 L1(i):new Yb(i)}))!==null&&r!==void 0?r:[],Xb(this,Z)||Xb(this,jf)){var n,o;this.orders=(o=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(i){return new F1(i)}))!==null&&o!==void 0?o:[]}}var Z=function e(t){var r=this;S(this,e),b(this,"dataCode",void 0),b(this,"valueFieldCode",void 0),b(this,"displayBoList",void 0),b(this,"svcCode",void 0),b(this,"appId",void 0),b(this,"filters",void 0),b(this,"orders",void 0),b(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[],Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(a){var l;(l=r.displayBoList)===null||l===void 0||l.push(new kf(a))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var c;this.svcCode=(c=t==null?void 0:t.svcCode)!==null&&c!==void 0?c:"",Df.call(this,t)},tn=function e(t){S(this,e),b(this,"code",void 0),b(this,"color",void 0),b(this,"command",void 0),b(this,"confirmMessage",void 0),b(this,"defaultState",void 0),b(this,"formKey",void 0),b(this,"icon",void 0),b(this,"needConfirm",void 0),b(this,"openType",void 0),b(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},M1=function e(t){S(this,e);var r;b(this,"name",void 0),b(this,"key",void 0),b(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(u){return new kf(u)}))!==null&&i!==void 0?i:[]},bo=function(e){We(r,e);var t=Ke(r);function r(n){S(this,r);var o,i;o=t.call(this,n),b(z(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new M1(c)}))!==null&&u!==void 0?u:[],o}return r}(Z),eg=function(e){We(r,e);var t=Ke(r);function r(n){S(this,r);var o;return o=t.call(this,n),b(z(o),"rootNode",void 0),o.rootNode=new jr(n==null?void 0:n.rootNode),o}return r}(bo),tg=function e(t){S(this,e);var r;b(this,"dataCode",void 0),b(this,"appId",void 0),b(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(u){return new Be(u)}))!==null&&i!==void 0?i:[]},jf=function(e){We(r,e);var t=Ke(r);function r(n){S(this,r);var o;return o=t.call(this,n),b(z(o),"filters",void 0),b(z(o),"orders",void 0),Df.call(z(o),n),o}return r}(tg),ng=function(e){We(r,e);var t=Ke(r);function r(n){S(this,r);var o;o=t.call(this,n),b(z(o),"mode",void 0),b(z(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(tg),rg=function e(t){S(this,e),b(this,"stencilName",void 0),b(this,"expression",void 0),b(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:""},V1=function e(t){S(this,e),b(this,"id",void 0),b(this,"label",void 0),b(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ut(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};function ct(e){var t;return(t=e==null?void 0:e.map(function(r){return new V1(r)}))!==null&&t!==void 0?t:[]}var Lf=function e(){S(this,e)},z1=function(e){We(r,e);var t=Ke(r);function r(n){S(this,r);var o;return o=t.call(this),b(z(o),"amount",void 0),b(z(o),"currency",void 0),o.amount=new De(n==null?void 0:n.amount),o.currency=new De(n==null?void 0:n.currency),o}return r}(Lf),H1=function e(t){S(this,e),b(this,"amount",void 0),b(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:go.CNY},q1=function(e){We(r,e);var t=Ke(r);function r(n){S(this,r);var o;return o=t.call(this),b(z(o),"min",void 0),b(z(o),"max",void 0),o.min=new De(n==null?void 0:n.min),o.max=new De(n==null?void 0:n.max),o}return r}(Lf),U1=function e(t){S(this,e),b(this,"min",void 0),b(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:""},W1=function e(t){S(this,e),b(this,"city",void 0),b(this,"cityDisplay",void 0),b(this,"district",void 0),b(this,"districtDisplay",void 0),b(this,"province",void 0),b(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 u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},K1=function(e){We(r,e);var t=Ke(r);function r(n){S(this,r);var o;return o=t.call(this),b(z(o),"result",void 0),b(z(o),"unit",void 0),o.result=new De(n==null?void 0:n.result),o.unit=new De(n==null?void 0:n.unit),o}return r}(Lf),G1=function e(t){S(this,e),b(this,"result",void 0),b(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:""},go;(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"})(go||(go={}));var s;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.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"})(s||(s={}));var Ff;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Ff||(Ff={}));var Et=function e(t){S(this,e),b(this,"isShow",void 0),b(this,"priorityProcess",void 0),b(this,"formKey",void 0),b(this,"content",void 0),b(this,"openType",void 0),b(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 u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},X1=function e(t){S(this,e);var r;b(this,"id",void 0),b(this,"title",void 0),b(this,"filters",void 0),b(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ut(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Jb(u)}))!==null&&i!==void 0?i:[],Df.call(this,t)},Q1=function e(t){S(this,e),b(this,"width",void 0),b(this,"height",void 0),b(this,"widthConfig",void 0),b(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 J1(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 Z1(){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 mo(e,t,r){return Z1()?mo=Reflect.construct:mo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Fr(l,u.prototype),l},mo.apply(null,arguments)}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(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&&Fr(e,t)}function eC(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function tC(e,t){return t&&(nC(t)==="object"||typeof t=="function")?t:J1(e)}function Fr(e,t){return Fr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fr(e,t)}var nC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vf(e){var t=typeof Map=="function"?new Map:void 0;return Vf=function(n){if(n===null||!eC(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 mo(n,arguments,Lr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Fr(o,n)},Vf(e)}function rC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oC(e){var t=rC();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 tC(this,o)}}var W=function e(t){Mf(this,e),nn(this,"isHide",{type:"boolean"})},rn=function(e){Y1(r,e);var t=oC(r);function r(n){return Mf(this,r),t.call(this)}return r}(Vf(Array)),X=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Mf(this,e),nn(this,"isHide",void 0),nn(this,"className",void 0),nn(this,"style",void 0),nn(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new Q1(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};nn(X,"Rules",W),nn(X,"RuntimeRules",rn);function Ge(){return Ge=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},Ge.apply(this,arguments)}function iC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function Oo(e,t){return Oo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oo(e,t)}function uC(){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 wo(e,t,r){return uC()?wo=Reflect.construct:wo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Oo(l,u.prototype),l},wo.apply(null,arguments)}function cC(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Hf(e){var t=typeof Map=="function"?new Map:void 0;return Hf=function(n){if(n===null||!cC(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 wo(n,arguments,zf(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Oo(o,n)},Hf(e)}var lC=/%[sdj%]/g,og=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(og=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function qf(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 Ce(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(lC,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){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 c}});return u}return o}function aC(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function K(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||aC(t)&&typeof e=="string"&&!e)}function fC(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function ig(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function sC(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var ug=function(e){iC(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}(Hf(Error));function yC(e,t,r,n){if(t.first){var o=new Promise(function(y,d){var g=function(P){return n(P),P.length?d(new ug(P,qf(P))):y()},O=sC(e);ig(O,r,g)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,a=0,l=[],f=new Promise(function(y,d){var g=function(m){if(l.push.apply(l,m),a++,a===c)return n(l),l.length?d(new ug(l,qf(l))):y()};u.length||(n(l),y()),u.forEach(function(O){var m=e[O];i.indexOf(O)!==-1?ig(m,r,g):fC(m,r,g)})});return f.catch(function(y){return y}),f}function cg(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 lg(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]=Ge(Ge({},e[r]),n):e[r]=n}}return e}function ag(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||K(t,i||e.type))&&n.push(Ce(o.messages.required,e.fullField))}function pC(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Ce(o.messages.whitespace,e.fullField))}var Uf={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},Mr={integer:function(t){return Mr.number(t)&&parseInt(t,10)===t},float:function(t){return Mr.number(t)&&!Mr.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"&&!Mr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Uf.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Uf.url)},hex:function(t){return typeof t=="string"&&!!t.match(Uf.hex)}};function dC(e,t,r,n,o){if(e.required&&t===void 0){ag(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Mr[u](t)||n.push(Ce(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Ce(o.messages.types[u],e.fullField,e.type))}function vC(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,f=null,y=typeof t=="number",d=typeof t=="string",g=Array.isArray(t);if(y?f="number":d?f="string":g&&(f="array"),!f)return!1;g&&(l=t.length),d&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(Ce(o.messages[f].len,e.fullField,e.len)):u&&!c&&l<e.min?n.push(Ce(o.messages[f].min,e.fullField,e.min)):c&&!u&&l>e.max?n.push(Ce(o.messages[f].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&n.push(Ce(o.messages[f].range,e.fullField,e.min,e.max))}var Sn="enum";function _C(e,t,r,n,o){e[Sn]=Array.isArray(e[Sn])?e[Sn]:[],e[Sn].indexOf(t)===-1&&n.push(Ce(o.messages[Sn],e.fullField,e[Sn].join(", ")))}function hC(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Ce(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(Ce(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var B={required:ag,whitespace:pC,type:dC,range:vC,enum:_C,pattern:hC};function bC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t,"string")&&!e.required)return r();B.required(e,t,n,i,o,"string"),K(t,"string")||(B.type(e,t,n,i,o),B.range(e,t,n,i,o),B.pattern(e,t,n,i,o),e.whitespace===!0&&B.whitespace(e,t,n,i,o))}r(i)}function gC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return r();B.required(e,t,n,i,o),t!==void 0&&B.type(e,t,n,i,o)}r(i)}function mC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),K(t)&&!e.required)return r();B.required(e,t,n,i,o),t!==void 0&&(B.type(e,t,n,i,o),B.range(e,t,n,i,o))}r(i)}function OC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return r();B.required(e,t,n,i,o),t!==void 0&&B.type(e,t,n,i,o)}r(i)}function wC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return r();B.required(e,t,n,i,o),K(t)||B.type(e,t,n,i,o)}r(i)}function PC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return r();B.required(e,t,n,i,o),t!==void 0&&(B.type(e,t,n,i,o),B.range(e,t,n,i,o))}r(i)}function RC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return r();B.required(e,t,n,i,o),t!==void 0&&(B.type(e,t,n,i,o),B.range(e,t,n,i,o))}r(i)}function $C(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();B.required(e,t,n,i,o,"array"),t!=null&&(B.type(e,t,n,i,o),B.range(e,t,n,i,o))}r(i)}function SC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return r();B.required(e,t,n,i,o),t!==void 0&&B.type(e,t,n,i,o)}r(i)}var EC="enum";function TC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return r();B.required(e,t,n,i,o),t!==void 0&&B[EC](e,t,n,i,o)}r(i)}function IC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t,"string")&&!e.required)return r();B.required(e,t,n,i,o),K(t,"string")||B.pattern(e,t,n,i,o)}r(i)}function BC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t,"date")&&!e.required)return r();if(B.required(e,t,n,i,o),!K(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),B.type(e,c,n,i,o),c&&B.range(e,c.getTime(),n,i,o)}}r(i)}function CC(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;B.required(e,t,n,i,o,u),r(i)}function Wf(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(K(t,i)&&!e.required)return r();B.required(e,t,n,u,o,i),K(t,i)||B.type(e,t,n,u,o)}r(u)}function AC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return r();B.required(e,t,n,i,o)}r(i)}var Vr={string:bC,method:gC,number:mC,boolean:OC,regexp:wC,integer:PC,float:RC,array:$C,object:SC,enum:TC,pattern:IC,date:BC,url:Wf,hex:Wf,email:Wf,required:CC,any:AC};function Kf(){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 Gf=Kf();function Tt(e){this.rules=null,this._messages=Gf,this.define(e)}Tt.prototype={messages:function(t){return t&&(this._messages=lg(Kf(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(m){var P,v=[],w={};function R($){if(Array.isArray($)){var E;v=(E=v).concat.apply(E,$)}else v.push($)}for(P=0;P<m.length;P++)R(m[P]);v.length?w=qf(v):(v=null,w=null),c(v,w)}if(u.messages){var l=this.messages();l===Gf&&(l=Kf()),lg(l,u.messages),u.messages=l}else u.messages=this.messages();var f,y,d={},g=u.keys||Object.keys(this.rules);g.forEach(function(m){f=o.rules[m],y=i[m],f.forEach(function(P){var v=P;typeof v.transform=="function"&&(i===t&&(i=Ge({},i)),y=i[m]=v.transform(y)),typeof v=="function"?v={validator:v}:v=Ge({},v),v.validator=o.getValidationMethod(v),v.field=m,v.fullField=v.fullField||m,v.type=o.getType(v),v.validator&&(d[m]=d[m]||[],d[m].push({rule:v,value:y,source:i,field:m}))})});var O={};return yC(d,u,function(m,P){var v=m.rule,w=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");w=w&&(v.required||!v.required&&m.value),v.field=m.field;function R(H,C){return Ge(Ge({},C),{},{fullField:v.fullField+"."+H})}function $(H){H===void 0&&(H=[]);var C=H;if(Array.isArray(C)||(C=[C]),!u.suppressWarning&&C.length&&Tt.warning("async-validator:",C),C.length&&v.message!==void 0&&(C=[].concat(v.message)),C=C.map(cg(v)),u.first&&C.length)return O[v.field]=1,P(C);if(!w)P(C);else{if(v.required&&!m.value)return v.message!==void 0?C=[].concat(v.message).map(cg(v)):u.error&&(C=[u.error(v,Ce(u.messages.required,v.field))]),P(C);var oe={};if(v.defaultField)for(var T in m.value)m.value.hasOwnProperty(T)&&(oe[T]=v.defaultField);oe=Ge(Ge({},oe),m.rule.fields);for(var it in oe)if(oe.hasOwnProperty(it)){var po=Array.isArray(oe[it])?oe[it]:[oe[it]];oe[it]=po.map(R.bind(null,it))}var Cr=new Tt(oe);Cr.messages(u.messages),m.rule.options&&(m.rule.options.messages=u.messages,m.rule.options.error=u.error),Cr.validate(m.value,m.rule.options||u,function(On){var Ar=[];C&&C.length&&Ar.push.apply(Ar,C),On&&On.length&&Ar.push.apply(Ar,On),P(Ar.length?Ar:null)})}}var E;v.asyncValidator?E=v.asyncValidator(v,m.value,$,m.source,u):v.validator&&(E=v.validator(v,m.value,$,m.source,u),E===!0?$():E===!1?$(v.message||v.field+" fails"):E instanceof Array?$(E):E instanceof Error&&$(E.message)),E&&E.then&&E.then(function(){return $()},function(H){return $(H)})},function(m){a(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Vr.hasOwnProperty(t.type))throw new Error(Ce("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"?Vr.required:Vr[this.getType(t)]||!1}},Tt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vr[t]=r},Tt.warning=og,Tt.messages=Gf,Tt.validators=Vr;var xC={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 NC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Tt(e);return r.messages(Object.assign(xC,t)),r}var kC=new m1;function Xf(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 e}function jC(e){if(Array.isArray(e))return Xf(e)}function fg(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function sg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){fg(i,n,o,u,c,"next",a)}function c(a){fg(i,n,o,u,c,"throw",a)}u(void 0)})}}function LC(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 FC(e,t,r){return t&&yg(e.prototype,t),r&&yg(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 pg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function dg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function MC(){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 VC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){j(e,o,r[o])})}return e}function zC(e){return DC(e)||dg(e)||_g(e)||MC()}function Qf(e){return jC(e)||dg(e)||_g(e)||VC()}function _g(e,t){if(!!e){if(typeof e=="string")return Xf(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 Xf(e,t)}}var hg=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},L=function(){function t(r){var n=this;LC(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",gg),j(this,"removeSetting",bg),this._callControlHooks("preInstance",r);var o=pg(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,a=o.controlFieldType,l=o.controlEventKeys,f=o.controlCustomEvents,y=o.name,d=o.setting;i&&u&&c||Lb("The ".concat(y," controlName,controlIcon,controlType is not define"));var g;this.id=(g=r==null?void 0:r.id)!==null&&g!==void 0?g:ut(10),this.name=i,this.icon=u;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:c,this.props=new X(r==null?void 0:r.props,(pg(this,t)?this.constructor:void 0).controlName);var m;this.controlType=(m=r==null?void 0:r.controlType)!==null&&m!==void 0?m:"base",this.setting=St(d);var P;this.fieldType=(P=r==null?void 0:r.fieldType)!==null&&P!==void 0?P:a,this.eventKeys=St(l),this.customEvents=St(f),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return FC(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 u,c=zC(o),a=c[0],l=c.slice(1);return(u=kC).emit.apply(u,[a,this].concat(Qf(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),c1(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return sg(function(){var o,i,u;return hg(this,function(c){switch(c.label){case 0:return o=vg({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return sg(function(){var u,c,a,l;return hg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:vg({},i.rules),Array.isArray(o)&&o.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),a=NC(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw l=f.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,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,f=c.optionConfig,y=c.caption,d=c.required,g=c.maxLength,O=c.options,m=c.encrypted,P=c.encryptedMode;if(!(!o&&!a&&!l)){var v={parentId:n,fieldType:o,controlId:i,caption:y,type:u,props:{}};switch(a&&(v.dataBind=a),f){case"datasource":case void 0:l&&(v.datasourceBind=l);break;case"custom":v.props.options=O;break}return d!==void 0&&(v.required=d),g!==void 0&&(v.maxLength=g),m!==void 0&&(v.encrypted=m),P!==void 0&&(v.encryptedMode=P),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:St(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,Qf(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();j(L,"controlName","\u63A7\u4EF6"),j(L,"controlIcon","icon"),j(L,"controlType","control"),j(L,"controlFieldType",void 0),j(L,"controlEventKeys",[]),j(L,"controlCustomEvents",[]),j(L,"setting",[]),j(L,"__is_control__",!0),j(L,"removeSettingItem",bg),j(L,"updateSettingItem",gg);function bg(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o=typeof n!="string",i=t.setting.findIndex(function(a){return a.key===(o?n.key:n)});if(i!==-1){var u,c;o?t.setting[i].showItems=(u=t.setting[i].showItems)===null||u===void 0?void 0:u.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(i,1),o&&!(!((c=t.setting[i].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(i,1)}})}function gg(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Qf(t.showItems))}}}})}function HC(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 qC(e,t,r){return t&&mg(e.prototype,t),r&&mg(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 UC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var It=function(){function t(r){HC(this,t),je(this,"id",void 0),je(this,"type",void 0),je(this,"controlType",void 0),je(this,"props",void 0),je(this,"fieldType",void 0),je(this,"customEvents",[]),je(this,"pageStatus",void 0),je(this,"parent",null);var n=UC(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||Lb("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:ut(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new X(r==null?void 0:r.props),this.customEvents=c;var f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var d;this.pageStatus=(d=r==null?void 0:r.pageStatus)!==null&&d!==void 0?d:Ff.UNKNOWN}return qC(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}();je(It,"controlType","control"),je(It,"controlFieldType",void 0),je(It,"__is_control__",!0),je(It,"controlCustomEvents",[]);function Jf(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 i=n.map(function(c){return c.value}),u=f1(i);i.length!==u.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 Zf(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,i,u){i.length===0&&u(_.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},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 F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Po(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function $o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yf(e,t)}function WC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function KC(e,t){return t&&(GC(t)==="object"||typeof t=="function")?t:F(e)}function Yf(e,t){return Yf=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yf(e,t)}var GC=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 So(e){var t=XC();return function(){var n=Ro(e),o;if(t){var i=Ro(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KC(this,o)}}var de=function(e){$o(r,e);var t=So(r);function r(n){Po(this,r);var o;o=t.call(this,n),M(F(o),"dataBind",{}),M(F(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),M(F(o),"isHideCaption",{type:"boolean"}),M(F(o),"labelPosition",{type:"enum",enum:["top","left"]}),M(F(o),"defaultState",{type:"enum",enum:["default","readonly"]}),M(F(o),"required",{type:"boolean"}),M(F(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}};if(WC(n.dataBind,De))o.dataBind={type:"object",required:!0,fields:St(i),message:_.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:_.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:St(i),message:_.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(W),V=function(e){$o(r,e);var t=So(r);function r(n){Po(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}(rn),x=function(e){$o(r,e);var t=So(r);function r(n){Po(this,r);var o;o=t.call(this,n),M(F(o),"caption",void 0),M(F(o),"isHideCaption",void 0),M(F(o),"isShowCaptionTip",void 0),M(F(o),"captionTip",void 0),M(F(o),"labelPosition",void 0),M(F(o),"dataBind",void 0),M(F(o),"defaultValue",void 0),M(F(o),"placeholder",void 0),M(F(o),"defaultState",void 0),M(F(o),"required",void 0),M(F(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!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 f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"";var d;o.required=(d=n==null?void 0:n.required)!==null&&d!==void 0?d:!1;var g;o.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",o.dataBind=new De(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(X);M(x,"Rules",de),M(x,"RuntimeRules",V);var En=function(e){$o(r,e);var t=So(r);function r(n){Po(this,r);var o;return o=t.call(this,n),M(F(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:_.getMessage("PleaseSelectTheCorrectOptionSettings")}),M(F(o),"options",[{type:"array",message:_.getMessage("isNotArray")}]),M(F(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),Jf.call(F(o),n),o}return r}(de);function es(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QC(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 To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function JC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZC(e,t){return t&&(YC(t)==="object"||typeof t=="function")?t:es(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ts(e,t)}var YC=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tA(e){var t=eA();return function(){var n=To(e),o;if(t){var i=To(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZC(this,o)}}var k=function(e){JC(r,e);var t=tA(r);function r(n){QC(this,r);var o;return o=t.call(this,n),Eo(es(o),"controlType","form"),Eo(es(o),"props",void 0),o.props=new x(n==null?void 0:n.props),o}return r}(L);Eo(k,"controlEventKeys",["on_change","on_focus","on_blur"]),Eo(k,"controlCustomAttributes",void 0);function Io(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 ns(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(e)}function rA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oA(e,t){return t&&(iA(t)==="object"||typeof t=="function")?t:Io(e)}function rs(e,t){return rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rs(e,t)}var iA=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 cA(e){var t=uA();return function(){var n=Bo(e),o;if(t){var i=Bo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oA(this,o)}}var D=function(e){rA(r,e);var t=cA(r);function r(n){nA(this,r);var o;return o=t.call(this,n),ns(Io(o),"controlType","form"),ns(Io(o),"props",void 0),ns(Io(o),"value",void 0),o.props=new x(n==null?void 0:n.props),o}return r}(It);function lA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Co(e)}function fA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&os(e,t)}function sA(e,t){return t&&(yA(t)==="object"||typeof t=="function")?t:lA(e)}function os(e,t){return os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},os(e,t)}var yA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dA(e){var t=pA();return function(){var n=Co(e),o;if(t){var i=Co(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sA(this,o)}}var ve=function(e){fA(r,e);var t=dA(r);function r(n){return aA(this,r),t.call(this,n)}return r}(X);function is(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 vA(e){if(Array.isArray(e))return is(e)}function _A(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hA(){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 Og(e){return vA(e)||_A(e)||bA(e)||hA()}function bA(e,t){if(!!e){if(typeof e=="string")return is(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 is(e,t)}}function gA(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function wg(e,t){e.parent=t,gA(e,"parent")}function mA(e,t){e.forEach(function(r){wg(r,t)})}var Pg=Symbol("targetKey");function Rg(e){var t;return(t=e[Pg])!==null&&t!==void 0?t:e}function $g(e,t){return mA(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),c=2;c<i;c++)u[c-2]=arguments[c];var a;return o===Pg?n:(a=Reflect).get.apply(a,[n,o].concat(Og(u)))},set:function(n,o,i){for(var u=arguments.length,c=new Array(u>3?u-3:0),a=3;a<u;a++)c[a-3]=arguments[a];var l;if(Tf(e)&&o==="length"&&i===e.length)return!0;var f=(l=Reflect).set.apply(l,[n,o,i].concat(Og(c)));return zb(i)&&wg(i,t),f}})}function Bt(e,t,r,n){var o=n!=null?n:e,i=$g(Rg(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=$g(Rg(c),o)},enumerable:!0})}function us(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 OA(e){if(Array.isArray(e))return us(e)}function on(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sg(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function wA(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Sg(i,n,o,u,c,"next",a)}function c(a){Sg(i,n,o,u,c,"throw",a)}u(void 0)})}}function PA(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 RA(e,t,r){return t&&Eg(e.prototype,t),r&&Eg(e,r),e}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 Tn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Tn=Reflect.get:Tn=function(o,i,u){var c=xA(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Tn(e,t,r||e)}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},At(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&&cs(e,t)}function SA(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function EA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function TA(){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 IA(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){Ct(e,o,r[o])})}return e}function BA(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 CA(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):BA(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function AA(e,t){return t&&(NA(t)==="object"||typeof t=="function")?t:on(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}function xA(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=At(e),e!==null););return e}function Tg(e){return OA(e)||EA(e)||kA(e)||TA()}var NA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kA(e,t){if(!!e){if(typeof e=="string")return us(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 us(e,t)}}function DA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jA(e){var t=DA();return function(){var n=At(e),o;if(t){var i=At(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AA(this,o)}}var LA=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},FA=1e4,_e=function(t){$A(n,t);var r=jA(n);function n(o){PA(this,n);var i;i=r.call(this,o),Ct(on(i),"controlType","layout"),Ct(on(i),"children",void 0),Ct(on(i),"excludes",void 0),Ct(on(i),"childrenMaxLength",void 0),Ct(on(i),"props",void 0);var u=SA(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new ve(o==null?void 0:o.props),Bt(on(i),"children",o==null?void 0:o.children),i.excludes=St(c),i.childrenMaxLength=a,i}return RA(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,a=this,l=function(){return Tn(At(n.prototype),"validate",c)};return wA(function(){return LA(this,function(f){switch(f.label){case 0:return[4,l().call(a,i,u)];case 1:return f.sent(),[4,Promise.all(a.children.map(function(y){return y.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=Tn(At(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(a,l){var f=l.toDataBindModel(i);if(Array.isArray(f)){var y=f.filter(function(d){return!!d});return Tg(a).concat(Tg(y))}return f&&a.push(f),a},c)}},{key:"toSchema",value:function(){var i=Tn(At(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return CA(IA({},i),{children:u})}}]),n}(L);Ct(_e,"excludes",!1),Ct(_e,"childrenMaxLength",FA);function zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(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&&as(e,t)}function zA(e,t){return t&&(HA(t)==="object"||typeof t=="function")?t:zr(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var HA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UA(e){var t=qA();return function(){var n=Ao(e),o;if(t){var i=Ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zA(this,o)}}var un=function(e){VA(r,e);var t=UA(r);function r(n){MA(this,r);var o;return o=t.call(this,n),ls(zr(o),"controlType","layout"),ls(zr(o),"children",void 0),ls(zr(o),"props",void 0),o.props=new ve(n==null?void 0:n.props),Bt(zr(o),"children",n==null?void 0:n.children),o}return r}(It);function fs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(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&&ss(e,t)}function XA(e,t){return t&&(QA(t)==="object"||typeof t=="function")?t:fs(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var QA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZA(e){var t=JA();return function(){var n=xo(e),o;if(t){var i=xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XA(this,o)}}var ys=function(e){GA(r,e);var t=ZA(r);function r(n,o){WA(this,r);var i;return i=t.call(this,o),KA(fs(i),"headers",void 0),Bt(fs(i),"headers",o==null?void 0:o.headers,n),i}return r}(X);function ps(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 YA(e){if(Array.isArray(e))return ps(e)}function No(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ig(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function ex(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Ig(i,n,o,u,c,"next",a)}function c(a){Ig(i,n,o,u,c,"throw",a)}u(void 0)})}}function tx(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 nx(e,t,r){return t&&Bg(e.prototype,t),r&&Bg(e,r),e}function ko(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function In(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?In=Reflect.get:In=function(o,i,u){var c=lx(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},In(e,t,r||e)}function xt(e){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xt(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&&ds(e,t)}function ox(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ix(){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 Cg(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){ko(e,o,r[o])})}return e}function ux(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 Ag(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ux(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function cx(e,t){return t&&(ax(t)==="object"||typeof t=="function")?t:No(e)}function ds(e,t){return ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ds(e,t)}function lx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=xt(e),e!==null););return e}function xg(e){return YA(e)||ox(e)||fx(e)||ix()}var ax=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fx(e,t){if(!!e){if(typeof e=="string")return ps(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 ps(e,t)}}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=xt(e),o;if(t){var i=xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cx(this,o)}}var px=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},vs=function(e){rx(r,e);var t=yx(r);function r(n){tx(this,r);var o;return o=t.call(this,n),ko(No(o),"controlType","list"),ko(No(o),"props",void 0),o.props=new ys(No(o),n==null?void 0:n.props),o}return nx(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return In(xt(r.prototype),"validate",u)};return ex(function(){return px(this,function(l){switch(l.label){case 0:return[4,a().call(c,o)];case 1:return l.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=In(xt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,a){var l=a.toDataBindModel(u);if(Array.isArray(l)){var f=l.filter(function(y){return!!y});return xg(c).concat(xg(f))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o=In(xt(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return Ag(Cg({},o),{props:Ag(Cg({},this.props),{headers:i})})}}]),r}(L);ko(vs,"controlFieldType",h.LIST);function Y(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 ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(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&&bs(e,t)}function dx(e,t){return t&&(vx(t)==="object"||typeof t=="function")?t:Y(e)}function bs(e,t){return bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bs(e,t)}var vx=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 gs(e){var t=_x();return function(){var n=Do(e),o;if(t){var i=Do(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dx(this,o)}}var lt=function(e){hs(r,e);var t=gs(r);function r(n){_s(this,r);var o;return o=t.call(this,n),ie(Y(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),ie(Y(o),"width",{type:"number",required:!1,message:_.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(W),G=function(e){hs(r,e);var t=gs(r);function r(n){_s(this,r);var o;o=t.call(this,n),ie(Y(o),"widthType",void 0),ie(Y(o),"width",void 0),ie(Y(o),"caption",void 0),ie(Y(o),"dataBind",void 0),ie(Y(o),"autoWidth",void 0),ie(Y(o),"fixed",void 0),ie(Y(o),"sort",void 0),ie(Y(o),"align",void 0),ie(Y(o),"colSpan",void 0),ie(Y(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 u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new Qb(n==null?void 0:n.autoWidth),o.dataBind=new De(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}(X);ie(G,"Rules",lt);var Ng=function(e){hs(r,e);var t=gs(r);function r(n){_s(this,r);var o;return o=t.call(this,n),ie(Y(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:_.getMessage("PleaseSelectTheCorrectOptionSettings")}),ie(Y(o),"options",[{type:"array",message:_.getMessage("isNotArray")}]),ie(Y(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),Jf.call(Y(o),n),o}return r}(lt);function ms(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 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 jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jo(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&&Os(e,t)}function gx(e,t){return t&&(mx(t)==="object"||typeof t=="function")?t:ms(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var mx=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 wx(e){var t=Ox();return function(){var n=jo(e),o;if(t){var i=jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gx(this,o)}}var ue=function(e){bx(r,e);var t=wx(r);function r(n){hx(this,r);var o;return o=t.call(this,n),kg(ms(o),"controlType","column"),kg(ms(o),"props",void 0),o.props=new G(n==null?void 0:n.props),o}return r}(L);function ws(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(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&&Ps(e,t)}function $x(e,t){return t&&(Sx(t)==="object"||typeof t=="function")?t:ws(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(e,t)}var Sx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ex(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tx(e){var t=Ex();return function(){var n=Lo(e),o;if(t){var i=Lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $x(this,o)}}var ce=function(e){Rx(r,e);var t=Tx(r);function r(n){Px(this,r);var o;return o=t.call(this,n),Dg(ws(o),"controlType","column"),Dg(ws(o),"props",void 0),o.props=new G(n==null?void 0:n.props),o}return r}(It);function jg(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 Bx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(e)}function 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&&Rs(e,t)}function Ax(e,t){return t&&(xx(t)==="object"||typeof t=="function")?t:jg(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(e,t)}var xx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kx(e){var t=Nx();return function(){var n=Fo(e),o;if(t){var i=Fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ax(this,o)}}var $s=function(e){Cx(r,e);var t=kx(r);function r(n){Ix(this,r);var o;return o=t.call(this,n),Bx(jg(o),"dataBind",void 0),o.dataBind=new De(n==null?void 0:n.dataBind),o}return r}(ve);function Ss(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(e)}function jx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:Ss(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Es(e,t)}var Fx=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 Vx(e){var t=Mx();return function(){var n=Mo(e),o;if(t){var i=Mo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lx(this,o)}}var zx=function(e){jx(r,e);var t=Vx(r);function r(n){Dx(this,r);var o;return o=t.call(this,n),Lg(Ss(o),"controlType","search"),Lg(Ss(o),"props",void 0),o.props=new $s(n==null?void 0:n.props),o}return r}(_e);function Ts(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 Fg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function qx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Is(e,t)}function Ux(e,t){return t&&(Wx(t)==="object"||typeof t=="function")?t:Ts(e)}function Is(e,t){return Is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Is(e,t)}var Wx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gx(e){var t=Kx();return function(){var n=Vo(e),o;if(t){var i=Vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ux(this,o)}}var Xx=function(e){qx(r,e);var t=Gx(r);function r(n){Hx(this,r);var o;return o=t.call(this,n),Fg(Ts(o),"controlType","search"),Fg(Ts(o),"props",void 0),o.props=new $s(n==null?void 0:n.props),o}return r}(un);function cn(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}}}])}function Bn(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 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 zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zo(e)}function Jx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zx(e,t){return t&&(Yx(t)==="object"||typeof t=="function")?t:Bn(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}var Yx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t2(e){var t=e2();return function(){var n=zo(e),o;if(t){var i=zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zx(this,o)}}var n2=function(e){Jx(r,e);var t=t2(r);function r(n){Qx(this,r);var o;o=t.call(this,n),Hr(Bn(o),"content",void 0),Hr(Bn(o),"fontSize",void 0),Hr(Bn(o),"color",void 0),Hr(Bn(o),"icon",void 0),Hr(Bn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"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}(X);function Mg(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 Vg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o2(e,t,r){return t&&Vg(e.prototype,t),r&&Vg(e,r),e}function zg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(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&&Cs(e,t)}function u2(e,t){return t&&(c2(t)==="object"||typeof t=="function")?t:Mg(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}var c2=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 a2(e){var t=l2();return function(){var n=Ho(e),o;if(t){var i=Ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u2(this,o)}}var f2=function(e){i2(r,e);var t=a2(r);function r(n){r2(this,r);var o;return o=t.call(this,n),zg(Mg(o),"props",void 0),o.props=new n2(n==null?void 0:n.props),o}return o2(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(L);zg(f2,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function qo(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 As(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 y2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xs(e,t)}function p2(e,t){return t&&(d2(t)==="object"||typeof t=="function")?t:qo(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(e,t)}var d2=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 _2(e){var t=v2();return function(){var n=Uo(e),o;if(t){var i=Uo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p2(this,o)}}var h2=function(e){y2(r,e);var t=_2(r);function r(n){s2(this,r);var o;o=t.call(this,n),As(qo(o),"content",void 0),As(qo(o),"url",void 0),As(qo(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 u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}(X);function Hg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b2(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 g2(e,t,r){return t&&qg(e.prototype,t),r&&qg(e,r),e}function Ns(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(e)}function m2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ks(e,t)}function O2(e,t){return t&&(w2(t)==="object"||typeof t=="function")?t:Hg(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}var w2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R2(e){var t=P2();return function(){var n=Wo(e),o;if(t){var i=Wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O2(this,o)}}var Ug=function(e){m2(r,e);var t=R2(r);function r(n){b2(this,r);var o;return o=t.call(this,n),Ns(Hg(o),"props",void 0),o.props=new h2(n==null?void 0:n.props),o}return g2(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(L);Ns(Ug,"controlEventKeys",["on_click"]),Ns(Ug,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(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&&Ds(e,t)}function E2(e,t){return t&&(T2(t)==="object"||typeof t=="function")?t:at(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var T2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B2(e){var t=I2();return function(){var n=Ko(e),o;if(t){var i=Ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E2(this,o)}}var Ae=function(e){S2(r,e);var t=B2(r);function r(n){$2(this,r);var o;o=t.call(this,n),Nt(at(o),"content",void 0),Nt(at(o),"buttonType",void 0),Nt(at(o),"showType",void 0),Nt(at(o),"color",void 0),Nt(at(o),"icon",void 0),Nt(at(o),"defaultState",void 0),Nt(at(o),"command",void 0),Nt(at(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"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 f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return r}(X);function Wg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A2(e,t,r){return t&&Kg(e.prototype,t),r&&Kg(e,r),e}function js(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function x2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 N2(e,t){return t&&(k2(t)==="object"||typeof t=="function")?t:Wg(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}var k2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j2(e){var t=D2();return function(){var n=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N2(this,o)}}var Pe=function(e){x2(r,e);var t=j2(r);function r(n){C2(this,r);var o;return o=t.call(this,n),js(Wg(o),"props",void 0),o.props=new Ae(n==null?void 0:n.props),o}return A2(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(L);js(Pe,"controlEventKeys",["on_click"]),js(Pe,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}var ft;(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"})(ft||(ft={}));var Fs;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Fs||(Fs={}));var Ms;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Ms||(Ms={}));var Vs=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:Fs.UN_SELECT_ABLE_INTERVAL,dateLimitType:Ms.FILE_IN_TIME,id:ut(8),value:["",""]};kt(this,e),I(this,"dateConfigType",void 0),I(this,"dateLimitType",void 0),I(this,"id",void 0),I(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},zs;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(zs||(zs={}));var Hs=function e(t){kt(this,e),I(this,"id",void 0),I(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ut();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},qs;(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"})(qs||(qs={}));var Gg=function e(t){kt(this,e),I(this,"type",void 0),I(this,"person",void 0),I(this,"signatureType",void 0),I(this,"telephone",void 0),I(this,"company",void 0),I(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 jr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new jr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new jr((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},L2=function e(t){kt(this,e);var r;I(this,"fileControl",void 0),I(this,"undersignedList",void 0),I(this,"statusControl",void 0),I(this,"completeControl",void 0),I(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 Gg(a)}))!==null&&o!==void 0?o:[new Gg];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},Xg=function e(t){kt(this,e),I(this,"id",void 0),I(this,"appId",void 0),I(this,"dataCode",void 0),I(this,"svcCode",void 0),I(this,"name",void 0),I(this,"fieldList",void 0),I(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ut(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},Qg=function e(t){kt(this,e),I(this,"active",void 0),I(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:""},F2=function e(t){kt(this,e),I(this,"types",void 0),I(this,"history",void 0),I(this,"collaborativeRecord",void 0),I(this,"logicToDelete",void 0),I(this,"watermark",void 0),I(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 Qg(t==null?void 0:t.watermark),this.autoRename=new Qg(t==null?void 0:t.autoRename)},M2=480;function Xo(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var V2=function e(t){kt(this,e),I(this,"fileId",void 0),I(this,"fileName",void 0),I(this,"ruleName",void 0),I(this,"isDefault",void 0),I(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 u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},Jg;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Jg||(Jg={}));var Us;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(Us||(Us={}));var Ws;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(Ws||(Ws={}));var Cn;(function(e){e.ALL="all",e.ASSIGN="assign"})(Cn||(Cn={}));var Ks;(function(e){e.ALL="all",e.ADMIN="admin"})(Ks||(Ks={}));function Gs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function H2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function q2(e,t){return t&&(U2(t)==="object"||typeof t=="function")?t:Gs(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}var U2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K2(e){var t=W2();return function(){var n=Qo(e),o;if(t){var i=Qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q2(this,o)}}var G2=function(e){H2(r,e);var t=K2(r);function r(n){z2(this,r);var o;o=t.call(this,n),Zg(Gs(o),"color",void 0),Zg(Gs(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:qs.SOLID,o}return r}(X);function Yg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X2(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 Q2(e,t,r){return t&&em(e.prototype,t),r&&em(e,r),e}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 Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function J2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Z2(e,t){return t&&(Y2(t)==="object"||typeof t=="function")?t:Yg(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}var Y2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t3(e){var t=e3();return function(){var n=Jo(e),o;if(t){var i=Jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z2(this,o)}}var n3=function(e){J2(r,e);var t=t3(r);function r(n){X2(this,r);var o;return o=t.call(this,n),tm(Yg(o),"props",void 0),o.props=new G2(n==null?void 0:n.props),o}return Q2(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(L);tm(n3,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function rm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function r3(e,t){return t&&(o3(t)==="object"||typeof t=="function")?t:Dt(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(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 om(e){var t=i3();return function(){var n=Zo(e),o;if(t){var i=Zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r3(this,o)}}var u3=function(e){rm(r,e);var t=om(r);function r(n){nm(this,r);var o;return o=t.call(this,n),jt(Dt(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),jt(Dt(o),"dataBind",{type:"any"}),jt(Dt(o),"config",{type:"array"}),n.config.includes(ft.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}(W),im=function(e){rm(r,e);var t=om(r);function r(n){nm(this,r);var o;o=t.call(this,n),jt(Dt(o),"dataBind",void 0),jt(Dt(o),"caption",void 0),jt(Dt(o),"config",void 0),jt(Dt(o),"position",void 0),o.dataBind=new De(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[ft.ShowSubmitUser,ft.ShowSubmitDept,ft.ShowSubmitTime,ft.ShowCurrentApprovar,ft.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:qr==null?void 0:qr.controlName)!==null&&c!==void 0?c:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(X);jt(im,"Rules",u3);function um(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 l3(e,t,r){return t&&cm(e.prototype,t),r&&cm(e,r),e}function Zs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function a3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 f3(e,t){return t&&(s3(t)==="object"||typeof t=="function")?t:um(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}var s3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=y3();return function(){var n=Yo(e),o;if(t){var i=Yo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f3(this,o)}}var qr=function(e){a3(r,e);var t=p3(r);function r(n){c3(this,r);var o;return o=t.call(this,n),Zs(um(o),"props",void 0),o.props=new im(n==null?void 0:n.props),o}return l3(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(L);Zs(qr,"controlFieldType",h.AUTO_NUMBER),Zs(qr,"setting",[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function ei(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,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function am(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ey(e,t)}function d3(e,t){return t&&(v3(t)==="object"||typeof t=="function")?t:ei(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}var v3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fm(e){var t=_3();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 d3(this,o)}}var h3=function(e){am(r,e);var t=fm(r);function r(n){lm(this,r);var o;return o=t.call(this,n),ti(ei(o),"formKey",{type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}),o}return r}(W),sm=function(e){am(r,e);var t=fm(r);function r(n){lm(this,r);var o;o=t.call(this,n),ti(ei(o),"formKey",void 0),ti(ei(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:oi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:oi.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(Ae);ti(sm,"Rules",h3);function ym(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 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 g3(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function ty(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 m3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function O3(e,t){return t&&(w3(t)==="object"||typeof t=="function")?t:ym(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var w3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R3(e){var t=P3();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 O3(this,o)}}var oi=function(e){m3(r,e);var t=R3(r);function r(n){b3(this,r);var o;return o=t.call(this,n),ty(ym(o),"props",void 0),o.props=new sm(n==null?void 0:n.props),o}return g3(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Pe);ty(oi,"controlEventKeys",["on_click","on_click_finish"]),ty(oi,"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 An(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(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&&ry(e,t)}function $3(e,t){return t&&(S3(t)==="object"||typeof t=="function")?t:An(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var S3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _m(e){var t=E3();return function(){var n=ii(e),o;if(t){var i=ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $3(this,o)}}var T3=function(e){vm(r,e);var t=_m(r);function r(n){dm(this,r);var o;return o=t.call(this,n),xn(An(o),"processKey",[{type:"string",message:_.getMessage("isNotString")},{type:"string",required:!0,message:_.getMessage("pleaseEnterProcess")}]),o}return r}(W),hm=function(e){vm(r,e);var t=_m(r);function r(n){dm(this,r);var o;o=t.call(this,n),xn(An(o),"processKey",void 0),xn(An(o),"initiatorMode",void 0),xn(An(o),"fieldCode",void 0),xn(An(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ci.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:ci.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"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 f;return o.employeeId=(f=n==null?void 0:n.employeeId)!==null&&f!==void 0?f:"",o}return r}(Ae);xn(hm,"Rules",T3);function bm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 B3(e,t,r){return t&&gm(e.prototype,t),r&&gm(e,r),e}function oy(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 C3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function A3(e,t){return t&&(x3(t)==="object"||typeof t=="function")?t:bm(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}var x3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k3(e){var t=N3();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 A3(this,o)}}var ci=function(e){C3(r,e);var t=k3(r);function r(n){I3(this,r);var o;return o=t.call(this,n),oy(bm(o),"props",void 0),o.props=new hm(n==null?void 0:n.props),o}return B3(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Pe);oy(ci,"controlEventKeys",["on_click","on_click_finish"]),oy(ci,"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 D3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function 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&&uy(e,t)}function F3(e,t){return t&&(M3(t)==="object"||typeof t=="function")?t:D3(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}var M3=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 z3(e){var t=V3();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 F3(this,o)}}var H3=function(e){L3(r,e);var t=z3(r);function r(n){j3(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:fi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:fi.controlIcon,o}return r}(Ae);function mm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U3(e,t,r){return t&&Om(e.prototype,t),r&&Om(e,r),e}function cy(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 W3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function K3(e,t){return t&&(G3(t)==="object"||typeof t=="function")?t:mm(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var G3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q3(e){var t=X3();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 K3(this,o)}}var fi=function(e){W3(r,e);var t=Q3(r);function r(n){q3(this,r);var o;return o=t.call(this,n),cy(mm(o),"props",void 0),o.props=new H3(n==null?void 0:n.props),o}return U3(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Pe);cy(fi,"controlEventKeys",["on_click"]),cy(fi,"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 wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(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&&ay(e,t)}function eN(e,t){return t&&(tN(t)==="object"||typeof t=="function")?t:wm(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}var tN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rN(e){var t=nN();return function(){var n=si(e),o;if(t){var i=si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eN(this,o)}}var oN=function(e){Y3(r,e);var t=rN(r);function r(n){J3(this,r);var o,i;o=t.call(this,n),Z3(wm(o),"templateList",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:pi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:pi.controlName;var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(l){return new Xg(l)}))!==null&&a!==void 0?a:[new Xg({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Ae);function Pm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iN(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 uN(e,t,r){return t&&Rm(e.prototype,t),r&&Rm(e,r),e}function fy(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 cN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function lN(e,t){return t&&(aN(t)==="object"||typeof t=="function")?t:Pm(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}var aN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sN(e){var t=fN();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 lN(this,o)}}var pi=function(e){cN(r,e);var t=sN(r);function r(n){iN(this,r);var o;return o=t.call(this,n),fy(Pm(o),"props",void 0),o.props=new oN(n==null?void 0:n.props),o}return uN(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Pe);fy(pi,"controlEventKeys",["on_click","on_click_finish"]),fy(pi,"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 yN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function dN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vN(e,t){return t&&(_N(t)==="object"||typeof t=="function")?t:yN(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}var _N=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bN(e){var t=hN();return function(){var n=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vN(this,o)}}var gN=function(e){dN(r,e);var t=bN(r);function r(n){pN(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:_i.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:_i.controlIcon,o}return r}(Ae);function $m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ON(e,t,r){return t&&Sm(e.prototype,t),r&&Sm(e,r),e}function py(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 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&&dy(e,t)}function PN(e,t){return t&&(RN(t)==="object"||typeof t=="function")?t:$m(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}var RN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $N(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SN(e){var t=$N();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 PN(this,o)}}var _i=function(e){wN(r,e);var t=SN(r);function r(n){mN(this,r);var o;return o=t.call(this,n),py($m(o),"props",void 0),o.props=new gN(n==null?void 0:n.props),o}return ON(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Pe);py(_i,"controlEventKeys",["on_click"]),py(_i,"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 Em(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function EN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function TN(e,t){return t&&(IN(t)==="object"||typeof t=="function")?t:Em(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}var IN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CN(e){var t=BN();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 TN(this,o)}}var AN=function e(t){Tm(this,e),Im(this,"dataCode",void 0),this.dataCode=t.dataCode},xN=function(e){EN(r,e);var t=CN(r);function r(n){Tm(this,r);var o,i;o=t.call(this,n),Im(Em(o),"canImportList",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:gi.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:gi.controlIcon;var a;return o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(l){return new AN(l)}))!==null&&a!==void 0?a:[],o}return r}(Ae);function Bm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NN(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 kN(e,t,r){return t&&Cm(e.prototype,t),r&&Cm(e,r),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}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function DN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jN(e,t){return t&&(LN(t)==="object"||typeof t=="function")?t:Bm(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}var LN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MN(e){var t=FN();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 jN(this,o)}}var gi=function(e){DN(r,e);var t=MN(r);function r(n){NN(this,r);var o;return o=t.call(this,n),_y(Bm(o),"props",void 0),o.props=new xN(n==null?void 0:n.props),o}return kN(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Pe);_y(gi,"controlEventKeys",["on_click","on_click_finish"]),_y(gi,"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 mi(){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 Lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Am(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 Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(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 Nm(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){st(e,o,r[o])})}return e}function VN(e,t){return t&&(zN(t)==="object"||typeof t=="function")?t:Lt(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}var zN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function km(e){var t=HN();return function(){var n=Oi(e),o;if(t){var i=Oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VN(this,o)}}var qN=function(e){xm(r,e);var t=km(r);function r(n){Am(this,r);var o;return o=t.call(this,n),st(Lt(o),"fillPayload",{type:"object",fields:Nm({},mi())}),st(Lt(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")}}}),st(Lt(o),"fillBack",{type:"object",fields:Nm({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},mi())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:_.getMessage("pleaseSelectControl")}),o}return r}(W),Dm=function(e){xm(r,e);var t=km(r);function r(n){Am(this,r);var o;o=t.call(this,n),st(Lt(o),"fillPayload",void 0),st(Lt(o),"formBind",void 0),st(Lt(o),"fillBack",void 0),st(Lt(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Pi.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Pi.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new jf(n==null?void 0:n.fillPayload),o.formBind=new x1(n==null?void 0:n.formBind),o.fillBack=new ng(n==null?void 0:n.fillBack),o}return r}(Ae);st(Dm,"Rules",qN);function jm(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 Lm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WN(e,t,r){return t&&Lm(e.prototype,t),r&&Lm(e,r),e}function gy(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 KN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function GN(e,t){return t&&(XN(t)==="object"||typeof t=="function")?t:jm(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}var XN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JN(e){var t=QN();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 GN(this,o)}}var Pi=function(e){KN(r,e);var t=JN(r);function r(n){UN(this,r);var o;return o=t.call(this,n),gy(jm(o),"props",void 0),o.props=new Dm(n==null?void 0:n.props),o}return WN(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Pe);gy(Pi,"controlEventKeys",["on_click","on_click_finish"]),gy(Pi,"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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(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&&Oy(e,t)}function Vm(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){Ft(e,o,r[o])})}return e}function ZN(e,t){return t&&(YN(t)==="object"||typeof t=="function")?t:ln(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var YN=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 zm(e){var t=ek();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 ZN(this,o)}}var tk=function(e){Mm(r,e);var t=zm(r);function r(n){Fm(this,r);var o;return o=t.call(this,n),Ft(ln(o),"fillPayload",{type:"object",fields:Vm({},mi())}),Ft(ln(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:_.getMessage("pleaseSelectAtLeastOneColumn")}}}),Ft(ln(o),"fillBack",{type:"object",fields:Vm({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},mi())}),o}return r}(W),Hm=function(e){Mm(r,e);var t=zm(r);function r(n){Fm(this,r);var o;o=t.call(this,n),Ft(ln(o),"fillPayload",void 0),Ft(ln(o),"listPageBind",void 0),Ft(ln(o),"fillBack",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Si.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Si.controlIcon,o.fillPayload=new jf(n==null?void 0:n.fillPayload),o.listPageBind=new Zb(n==null?void 0:n.listPageBind),o.fillBack=new ng(n==null?void 0:n.fillBack),o}return r}(Ae);Ft(Hm,"Rules",tk);function qm(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 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 rk(e,t,r){return t&&Um(e.prototype,t),r&&Um(e,r),e}function wy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(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&&Py(e,t)}function ik(e,t){return t&&(uk(t)==="object"||typeof t=="function")?t:qm(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(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 lk(e){var t=ck();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ik(this,o)}}var Si=function(e){ok(r,e);var t=lk(r);function r(n){nk(this,r);var o;return o=t.call(this,n),wy(qm(o),"props",void 0),o.props=new Hm(n==null?void 0:n.props),o}return rk(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Pe);wy(Si,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),wy(Si,"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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function ak(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 Wm(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 $y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sy(e,t)}function fk(e,t){return t&&(sk(t)==="object"||typeof t=="function")?t:ak(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}var sk=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 Ey(e){var t=yk();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 fk(this,o)}}var pk=function(e){$y(r,e);var t=Ey(r);function r(n){return Ry(this,r),t.call(this,n)}return r}(W),dk=function(e){$y(r,e);var t=Ey(r);function r(n){return Ry(this,r),t.call(this,n)}return r}(rn),Ty=function(e){$y(r,e);var t=Ey(r);function r(n){return Ry(this,r),t.call(this,n)}return r}(X);Wm(Ty,"Rules",pk),Wm(Ty,"RuntimeRules",dk);function Km(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 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 _k(e,t,r){return t&&Gm(e.prototype,t),r&&Gm(e,r),e}function Xm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function hk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function bk(e,t){return t&&(gk(t)==="object"||typeof t=="function")?t:Km(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}var gk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ok(e){var t=mk();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bk(this,o)}}var wk=function(e){hk(r,e);var t=Ok(r);function r(n){vk(this,r);var o;return o=t.call(this,n),Xm(Km(o),"props",void 0),o.props=new Ty(n==null?void 0:n.props),o}return _k(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(L);Xm(wk,"setting",[]);function Le(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 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 Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(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&&By(e,t)}function Pk(e,t){return t&&(Rk(t)==="object"||typeof t=="function")?t:Le(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}var Rk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $k(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zm(e){var t=$k();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pk(this,o)}}var Sk=function(e){Jm(r,e);var t=Zm(r);function r(n){Qm(this,r);var o;return o=t.call(this,n),Fe(Le(o),"dashboardKey",{type:"string",required:!0,message:_.getMessage("pleaseSelectDashboard")}),Fe(Le(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),Fe(Le(o),"isHideCaption",{type:"boolean"}),Fe(Le(o),"labelPosition",{type:"enum",enum:["top","left"]}),Fe(Le(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(W),Ym=function(e){Jm(r,e);var t=Zm(r);function r(n){Qm(this,r);var o;o=t.call(this,n),Fe(Le(o),"dashboardKey",void 0),Fe(Le(o),"caption",void 0),Fe(Le(o),"isHideCaption",void 0),Fe(Le(o),"isShowCaptionTip",void 0),Fe(Le(o),"captionTip",void 0),Fe(Le(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!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 f;return o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top",o}return r}(X);Fe(Ym,"Rules",Sk);function e0(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 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 Tk(e,t,r){return t&&t0(e.prototype,t),r&&t0(e,r),e}function n0(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 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&&Cy(e,t)}function Bk(e,t){return t&&(Ck(t)==="object"||typeof t=="function")?t:e0(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}var Ck=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 xk(e){var t=Ak();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 Bk(this,o)}}var Nk=function(e){Ik(r,e);var t=xk(r);function r(n){Ek(this,r);var o;return o=t.call(this,n),n0(e0(o),"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return Tk(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(L);n0(Nk,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function o0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}function kk(e,t){return t&&(Dk(t)==="object"||typeof t=="function")?t:Ur(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}var Dk=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 i0(e){var t=jk();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 kk(this,o)}}var Lk=function(e){o0(r,e);var t=i0(r);function r(n){r0(this,r);var o;return o=t.call(this,n),Wr(Ur(o),"showType",{type:"enum",enum:["select","tabs"]}),Wr(Ur(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}(W),u0=function(e){o0(r,e);var t=i0(r);function r(n){r0(this,r);var o,i;o=t.call(this,n),Wr(Ur(o),"showType",void 0),Wr(Ur(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new X1(a)}))!==null&&c!==void 0?c:[],o}return r}(X);Wr(u0,"Rules",Lk);function c0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mk(e,t,r){return t&&l0(e.prototype,t),r&&l0(e,r),e}function a0(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 Vk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function zk(e,t){return t&&(Hk(t)==="object"||typeof t=="function")?t:c0(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(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=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zk(this,o)}}var Wk=function(e){Vk(r,e);var t=Uk(r);function r(n){Fk(this,r);var o;return o=t.call(this,n),a0(c0(o),"props",void 0),o.props=new u0(n==null?void 0:n.props),o}return Mk(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}(L);a0(Wk,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f0(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 xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(e)}function s0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function Kk(e,t){return t&&(Gk(t)==="object"||typeof t=="function")?t:Re(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}var Gk=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 y0(e){var t=Xk();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 Kk(this,o)}}var Qk=function(e){s0(r,e);var t=y0(r);function r(n){f0(this,r);var o;return o=t.call(this,n),$e(Re(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),$e(Re(o),"isHideCaption",{type:"boolean"}),$e(Re(o),"labelPosition",{type:"enum",enum:["top","left"]}),$e(Re(o),"ocrType",{type:"string",required:!0,message:_.getMessage("pleaseSelectOcrType")}),$e(Re(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(_.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),$e(Re(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(W),p0=function(e){s0(r,e);var t=y0(r);function r(n){f0(this,r);var o,i;o=t.call(this,n),$e(Re(o),"caption",void 0),$e(Re(o),"isHideCaption",void 0),$e(Re(o),"isShowCaptionTip",void 0),$e(Re(o),"captionTip",void 0),$e(Re(o),"labelPosition",void 0),$e(Re(o),"ocrType",void 0),$e(Re(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Kr.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!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 f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:Kr.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:Kr.controlIcon;var g;o.ocrType=(g=n==null?void 0:n.ocrType)!==null&&g!==void 0?g:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(m){return new Be(m)}))!==null&&O!==void 0?O:[],o}return r}(Ae);$e(p0,"Rules",Qk);function d0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zk(e,t,r){return t&&v0(e.prototype,t),r&&v0(e,r),e}function ky(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(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&&Dy(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:d0(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}var tD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rD(e){var t=nD();return function(){var n=Ni(e),o;if(t){var i=Ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eD(this,o)}}var Kr=function(e){Yk(r,e);var t=rD(r);function r(n){Jk(this,r);var o;return o=t.call(this,n),ky(d0(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return Zk(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Pe);ky(Kr,"controlEventKeys",["on_click","on_click_finish"]),ky(Kr,"setting",[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _0(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 ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function h0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oD(e,t){return t&&(iD(t)==="object"||typeof t=="function")?t:Se(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(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 b0(e){var t=uD();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 oD(this,o)}}var cD=function(e){h0(r,e);var t=b0(r);function r(n){_0(this,r);var o;return o=t.call(this,n),Ee(Se(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),Ee(Se(o),"isHideCaption",{type:"boolean"}),Ee(Se(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ee(Se(o),"invoiceCheck",{type:"boolean"}),Ee(Se(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(_.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Ee(Se(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(W),g0=function(e){h0(r,e);var t=b0(r);function r(n){_0(this,r);var o,i;o=t.call(this,n),Ee(Se(o),"caption",void 0),Ee(Se(o),"isHideCaption",void 0),Ee(Se(o),"isShowCaptionTip",void 0),Ee(Se(o),"captionTip",void 0),Ee(Se(o),"labelPosition",void 0),Ee(Se(o),"invoiceCheck",void 0),Ee(Se(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Gr.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!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 f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:Gr.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:Gr.controlIcon;var g;o.invoiceCheck=(g=n==null?void 0:n.invoiceCheck)!==null&&g!==void 0?g:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(m){return new Be(m)}))!==null&&O!==void 0?O:[],o}return r}(Ae);Ee(g0,"Rules",cD);function m0(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 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 aD(e,t,r){return t&&O0(e.prototype,t),r&&O0(e,r),e}function Ly(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(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&&Fy(e,t)}function sD(e,t){return t&&(yD(t)==="object"||typeof t=="function")?t:m0(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}var yD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dD(e){var t=pD();return function(){var n=Di(e),o;if(t){var i=Di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sD(this,o)}}var Gr=function(e){fD(r,e);var t=dD(r);function r(n){lD(this,r);var o;return o=t.call(this,n),Ly(m0(o),"props",void 0),o.props=new g0(n==null?void 0:n.props),o}return aD(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Pe);Ly(Gr,"controlEventKeys",["on_click","on_click_finish"]),Ly(Gr,"setting",[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function ji(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function P0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function vD(e,t){return t&&(_D(t)==="object"||typeof t=="function")?t:ji(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}var _D=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R0(e){var t=hD();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vD(this,o)}}var bD=function(e){P0(r,e);var t=R0(r);function r(){w0(this,r);var n;return n=t.apply(this,arguments),Li(ji(n),"printTemplates",{type:"array",min:1,required:!0,message:_.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(W),$0=function(e){P0(r,e);var t=R0(r);function r(n){w0(this,r);var o,i;o=t.call(this,n),Li(ji(o),"printTemplates",void 0),Li(ji(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Vi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Vi.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new V2(f)}))!==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}(Ae);Li($0,"Rules",bD);function S0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mD(e,t,r){return t&&E0(e.prototype,t),r&&E0(e,r),e}function Vy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function OD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wD(e,t){return t&&(PD(t)==="object"||typeof t=="function")?t:S0(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}var PD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=RD();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wD(this,o)}}var Vi=function(e){OD(r,e);var t=$D(r);function r(n){gD(this,r);var o;return o=t.call(this,n),Vy(S0(o),"props",void 0),o.props=new $0(n==null?void 0:n.props),o}return mD(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Pe);Vy(Vi,"controlEventKeys",["on_click","on_click_finish"]),Vy(Vi,"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 SD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ED(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(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&&Hy(e,t)}function ID(e,t){return t&&(BD(t)==="object"||typeof t=="function")?t:SD(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}var BD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AD(e){var t=CD();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 ID(this,o)}}var xD=function(e){TD(r,e);var t=AD(r);function r(n){ED(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:qi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:qi.controlIcon,o}return r}(Ae);function T0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ND(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 kD(e,t,r){return t&&I0(e.prototype,t),r&&I0(e,r),e}function qy(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 DD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jD(e,t){return t&&(LD(t)==="object"||typeof t=="function")?t:T0(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}var LD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MD(e){var t=FD();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 jD(this,o)}}var qi=function(e){DD(r,e);var t=MD(r);function r(n){ND(this,r);var o;return o=t.call(this,n),qy(T0(o),"props",void 0),o.props=new xD(n==null?void 0:n.props),o}return kD(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Pe);qy(qi,"controlEventKeys",["on_click"]),qy(qi,"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 he(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 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 Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function C0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function VD(e,t){return t&&(zD(t)==="object"||typeof t=="function")?t:he(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}var zD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A0(e){var t=HD();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 VD(this,o)}}var qD=function(e){C0(r,e);var t=A0(r);function r(n){B0(this,r);var o;return o=t.call(this,n),be(he(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}),o}return r}(W),Wi=function(e){C0(r,e);var t=A0(r);function r(n){B0(this,r);var o;o=t.call(this,n),be(he(o),"content",void 0),be(he(o),"code",void 0),be(he(o),"command",void 0),be(he(o),"color",void 0),be(he(o),"icon",void 0),be(he(o),"formKey",void 0),be(he(o),"openType",void 0),be(he(o),"needConfirm",void 0),be(he(o),"confirmMessage",void 0),be(he(o),"options",void 0),be(he(o),"defaultState",void 0),be(he(o),"priorityProcess",void 0),be(he(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 u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"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}(X);be(Wi,"Rules",qD);function x0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 WD(e,t,r){return t&&N0(e.prototype,t),r&&N0(e,r),e}function Ky(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 KD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function GD(e,t){return t&&(XD(t)==="object"||typeof t=="function")?t:x0(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}var XD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JD(e){var t=QD();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 GD(this,o)}}var Gi=function(e){KD(r,e);var t=JD(r);function r(n){UD(this,r);var o;return o=t.call(this,n),Ky(x0(o),"props",void 0),o.props=new Wi(n==null?void 0:n.props),o}return WD(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}(L);Ky(Gi,"controlEventKeys",["on_click"]),Ky(Gi,"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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function k0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 YD(e,t,r){return t&&D0(e.prototype,t),r&&D0(e,r),e}function ej(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 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&&Xy(e,t)}function nj(e,t){return t&&(rj(t)==="object"||typeof t=="function")?t:k0(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(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=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nj(this,o)}}var uj=function(e){tj(r,e);var t=ij(r);function r(n){ZD(this,r);var o;return o=t.call(this,n),ej(k0(o),"props",void 0),o.props=new Wi(n==null?void 0:n.props),o}return YD(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(It),Qy={Designer:Gi,Runtime:uj,Property:Wi};function yt(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 Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(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&&Jy(e,t)}function aj(e,t){return t&&(fj(t)==="object"||typeof t=="function")?t:yt(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}var fj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yj(e){var t=sj();return function(){var n=Qi(e),o;if(t){var i=Qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aj(this,o)}}var pj=function(e){lj(r,e);var t=yj(r);function r(n){cj(this,r);var o;o=t.call(this,n),Mt(yt(o),"content",void 0),Mt(yt(o),"buttonType",void 0),Mt(yt(o),"showType",void 0),Mt(yt(o),"color",void 0),Mt(yt(o),"icon",void 0),Mt(yt(o),"defaultState",void 0),Mt(yt(o),"command",void 0),Mt(yt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Zi.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Zi.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"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 f;o.isHide=(f=n==null?void 0:n.isHide)!==null&&f!==void 0?f:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var d;o.command=(d=n==null?void 0:n.command)!==null&&d!==void 0?d:"custom";var g;return o.isLoading=(g=n==null?void 0:n.isLoading)!==null&&g!==void 0?g:!1,o}return r}(X);function j0(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 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 vj(e,t,r){return t&&L0(e.prototype,t),r&&L0(e,r),e}function Zy(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 _j(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yy(e,t)}function hj(e,t){return t&&(bj(t)==="object"||typeof t=="function")?t:j0(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}var bj=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=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hj(this,o)}}var Zi=function(e){_j(r,e);var t=mj(r);function r(n){dj(this,r);var o;return o=t.call(this,n),Zy(j0(o),"props",void 0),o.props=new pj(n==null?void 0:n.props),o}return vj(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}(L);Zy(Zi,"controlEventKeys",["on_click"]),Zy(Zi,"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:[s.IS_HIDE]},{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 ep(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(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 tp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function Oj(e,t){return t&&(wj(t)==="object"||typeof t=="function")?t:Xe(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}var wj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rp(e){var t=Pj();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 Oj(this,o)}}var Rj=function(e){tp(r,e);var t=rp(r);function r(n){ep(this,r);var o;return o=t.call(this,n),Ve(Xe(o),"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ve(Xe(o),"minLength",{type:"number",max:200,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ve(Xe(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=Xo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(de),$j=function(e){tp(r,e);var t=rp(r);function r(n){ep(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:Xo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(V),Xr=function(e){tp(r,e);var t=rp(r);function r(n){ep(this,r);var o;o=t.call(this,n),Ve(Xe(o),"maxLength",void 0),Ve(Xe(o),"minLength",void 0),Ve(Xe(o),"regularRules",void 0),Ve(Xe(o),"defaultValue",void 0),Ve(Xe(o),"encrypted",void 0),Ve(Xe(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new rg(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Qr.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(x);Ve(Xr,"Rules",Rj),Ve(Xr,"RuntimeRules",$j);function F0(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 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 Ej(e,t,r){return t&&M0(e.prototype,t),r&&M0(e,r),e}function eu(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 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&&op(e,t)}function Ij(e,t){return t&&(Bj(t)==="object"||typeof t=="function")?t:F0(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}var Bj=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 Aj(e){var t=Cj();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 Ij(this,o)}}var Qr=function(e){Tj(r,e);var t=Aj(r);function r(n){Sj(this,r);var o;return o=t.call(this,n),eu(F0(o),"props",void 0),o.props=new Xr(n==null?void 0:n.props),o}return Ej(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}(k);eu(Qr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),eu(Qr,"controlFieldType",h.VARCHAR),eu(Qr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.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 V0(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 z0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nj(e,t,r){return t&&z0(e.prototype,t),r&&z0(e,r),e}function H0(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 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&&ip(e,t)}function Dj(e,t){return t&&(jj(t)==="object"||typeof t=="function")?t:V0(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var jj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fj(e){var t=Lj();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dj(this,o)}}var Mj=function(e){kj(r,e);var t=Fj(r);function r(n){xj(this,r);var o;return o=t.call(this,n),H0(V0(o),"props",void 0),o.props=new Xr(n==null?void 0:n.props),o}return Nj(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(D);H0(Mj,"controlFieldType",h.VARCHAR);function le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function up(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(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&&lp(e,t)}function Vj(e,t){return t&&(zj(t)==="object"||typeof t=="function")?t:le(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}var zj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ap(e){var t=Hj();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 Vj(this,o)}}var qj=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;o=t.call(this,n),ee(le(o),"limitMax",{type:"number",min:void 0,message:_.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(En),Uj=function(e){cp(r,e);var t=ap(r);function r(n){up(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}(V),ou=function(e){cp(r,e);var t=ap(r);function r(n){up(this,r);var o;o=t.call(this,n),ee(le(o),"checkboxMode",void 0),ee(le(o),"options",void 0),ee(le(o),"optionsOrder",void 0),ee(le(o),"limitMax",void 0),ee(le(o),"limitMin",void 0),ee(le(o),"otherOption",void 0),ee(le(o),"optionConfig",void 0),ee(le(o),"optionsFormat",void 0),ee(le(o),"defaultShowOptions",void 0),ee(le(o),"datasourceBind",void 0),ee(le(o),"multistageFilling",void 0),ee(le(o),"interreaction",void 0),ee(le(o),"defaultValue",void 0),ee(le(o),"openMultistageFilling",void 0);var i;o.options=ct((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"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 f;o.limitMin=(f=n==null?void 0:n.limitMin)!==null&&f!==void 0?f:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:cu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var m;o.optionsFormat=(m=n==null?void 0:n.optionsFormat)!==null&&m!==void 0?m:"horizontal";var P;o.defaultShowOptions=(P=n==null?void 0:n.defaultShowOptions)!==null&&P!==void 0?P:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var R;(R=o.multistageFilling)===null||R===void 0||R.push(new Be(w))})),o}return r}(x);ee(ou,"Rules",qj),ee(ou,"RuntimeRules",Uj);function q0(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 U0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kj(e,t,r){return t&&U0(e.prototype,t),r&&U0(e,r),e}function iu(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 Gj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function Xj(e,t){return t&&(Qj(t)==="object"||typeof t=="function")?t:q0(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(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=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xj(this,o)}}var cu=function(e){Gj(r,e);var t=Zj(r);function r(n){Wj(this,r);var o;return o=t.call(this,n),iu(q0(o),"props",void 0),o.props=new ou(n==null?void 0:n.props),o}return Kj(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(k);iu(cu,"controlEventKeys",["on_change","on_click"]),iu(cu,"controlFieldType",h.ARRAY),iu(cu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 W0(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 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 eL(e,t,r){return t&&K0(e.prototype,t),r&&K0(e,r),e}function G0(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 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&&sp(e,t)}function nL(e,t){return t&&(rL(t)==="object"||typeof t=="function")?t:W0(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var rL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iL(e){var t=oL();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nL(this,o)}}var uL=function(e){tL(r,e);var t=iL(r);function r(n){Yj(this,r);var o;return o=t.call(this,n),G0(W0(o),"props",void 0),o.props=new ou(n==null?void 0:n.props),o}return eL(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(D);G0(uL,"controlFieldType",h.ARRAY);function xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function Q0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function cL(e,t){return t&&(lL(t)==="object"||typeof t=="function")?t:xe(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}var lL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J0(e){var t=aL();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 cL(this,o)}}var fL=function(e){Q0(r,e);var t=J0(r);function r(n){return X0(this,r),t.call(this,n)}return r}(En),pp=function(e){Q0(r,e);var t=J0(r);function r(n){X0(this,r);var o;o=t.call(this,n),Ne(xe(o),"radioMode",void 0),Ne(xe(o),"options",void 0),Ne(xe(o),"optionConfig",void 0),Ne(xe(o),"optionsFormat",void 0),Ne(xe(o),"defaultShowOptions",void 0),Ne(xe(o),"otherOption",void 0),Ne(xe(o),"optionsOrder",void 0),Ne(xe(o),"datasourceBind",void 0),Ne(xe(o),"multistageFilling",void 0),Ne(xe(o),"interreaction",void 0),Ne(xe(o),"defaultValue",void 0),Ne(xe(o),"openMultistageFilling",void 0);var i;o.options=ct((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"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 f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:yu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";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 v;(v=o.multistageFilling)===null||v===void 0||v.push(new Be(P))})),o}return r}(x);Ne(pp,"Rules",fL);function Z0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yL(e,t,r){return t&&Y0(e.prototype,t),r&&Y0(e,r),e}function fu(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 pL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function dL(e,t){return t&&(vL(t)==="object"||typeof t=="function")?t:Z0(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}var vL=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 hL(e){var t=_L();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 dL(this,o)}}var yu=function(e){pL(r,e);var t=hL(r);function r(n){sL(this,r);var o;return o=t.call(this,n),fu(Z0(o),"props",void 0),o.props=new pp(n==null?void 0:n.props),o}return yL(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(k);fu(yu,"controlEventKeys",["on_change","on_click"]),fu(yu,"controlFieldType",h.VARCHAR),fu(yu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function eO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bL(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 gL(e,t,r){return t&&tO(e.prototype,t),r&&tO(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 pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function mL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function OL(e,t){return t&&(wL(t)==="object"||typeof t=="function")?t:eO(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var wL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RL(e){var t=PL();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 OL(this,o)}}var $L=function(e){mL(r,e);var t=RL(r);function r(n){bL(this,r);var o;return o=t.call(this,n),nO(eO(o),"props",void 0),o.props=new pp(n==null?void 0:n.props),o}return gL(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(D);nO($L,"controlFieldType",h.VARCHAR);function ge(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 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 du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(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&&bp(e,t)}function SL(e,t){return t&&(EL(t)==="object"||typeof t=="function")?t:ge(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(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 gp(e){var t=TL();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 SL(this,o)}}var IL=function(e){hp(r,e);var t=gp(r);function r(n){_p(this,r);var o;o=t.call(this,n),ae(ge(o),"defaultValue",[{type:"number",min:0,max:200,message:_.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ae(ge(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=_.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:_.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Xo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(de),BL=function(e){hp(r,e);var t=gp(r);function r(n){_p(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:_.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Xo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(V),vu=function(e){hp(r,e);var t=gp(r);function r(n){_p(this,r);var o;o=t.call(this,n),ae(ge(o),"rangeMin",void 0),ae(ge(o),"rangeMax",void 0),ae(ge(o),"numberType",void 0),ae(ge(o),"percentageFormat",void 0),ae(ge(o),"micrometer",void 0),ae(ge(o),"precision",void 0),ae(ge(o),"showUpperCase",void 0),ae(ge(o),"isShowUnit",void 0),ae(ge(o),"unitPosition",void 0),ae(ge(o),"unit",void 0),ae(ge(o),"defaultValue",void 0),ae(ge(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"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 f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var y;o.showUpperCase=(y=n==null?void 0:n.showUpperCase)!==null&&y!==void 0?y:!1;var d;o.isShowUnit=(d=n==null?void 0:n.isShowUnit)!==null&&d!==void 0?d:!1;var g;o.unitPosition=(g=n==null?void 0:n.unitPosition)!==null&&g!==void 0?g:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:bu.controlName;var P;o.placeholder=(P=n==null?void 0:n.placeholder)!==null&&P!==void 0?P:"\u8BF7\u8F93\u5165";var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new rg(n==null?void 0:n.regularRules),o}return r}(x);ae(vu,"Rules",IL),ae(vu,"RuntimeRules",BL);function rO(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 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 AL(e,t,r){return t&&oO(e.prototype,t),r&&oO(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 hu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?hu=Reflect.get:hu=function(o,i,u){var c=kL(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},hu(e,t,r||e)}function Nn(e){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nn(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&&mp(e,t)}function NL(e,t){return t&&(DL(t)==="object"||typeof t=="function")?t:rO(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function kL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nn(e),e!==null););return e}var DL=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 LL(e){var t=jL();return function(){var n=Nn(e),o;if(t){var i=Nn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NL(this,o)}}var bu=function(e){xL(r,e);var t=LL(r);function r(n){CL(this,r);var o;return o=t.call(this,n),_u(rO(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return AL(r,[{key:"toDataBindModel",value:function(o){var i=hu(Nn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),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}(k);_u(bu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),_u(bu,"controlFieldType",h.DECIMAL),_u(bu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.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:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function iO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FL(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 ML(e,t,r){return t&&uO(e.prototype,t),r&&uO(e,r),e}function cO(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 VL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function zL(e,t){return t&&(HL(t)==="object"||typeof t=="function")?t:iO(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}var HL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UL(e){var t=qL();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zL(this,o)}}var WL=function(e){VL(r,e);var t=UL(r);function r(n){FL(this,r);var o;return o=t.call(this,n),cO(iO(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return ML(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(D);cO(WL,"controlFieldType",h.DECIMAL);function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function GL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function XL(e,t){return t&&(QL(t)==="object"||typeof t=="function")?t:an(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}var QL=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 ZL(e){var t=JL();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 XL(this,o)}}var lO=function(e){GL(r,e);var t=ZL(r);function r(n){KL(this,r);var o,i;o=t.call(this,n),kn(an(o),"dateType",void 0),kn(an(o),"setValueType",void 0),kn(an(o),"defaultValue",void 0),kn(an(o),"limitDateList",void 0),kn(an(o),"allowDateRange",void 0),kn(an(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:$t.DATE;var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"custom";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:$p.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165\u65E5\u671F";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var y;o.limitDateList=(y=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(O){return new Vs(O)}))!==null&&y!==void 0?y:[];var d;o.allowDateRange=(d=n==null?void 0:n.allowDateRange)!==null&&d!==void 0?d:["",""];var g;return o.filterWeekend=(g=n==null?void 0:n.filterWeekend)!==null&&g!==void 0?g:!1,o}return r}(x);function aO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 eF(e,t,r){return t&&fO(e.prototype,t),r&&fO(e,r),e}function Pp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ou=Reflect.get:Ou=function(o,i,u){var c=rF(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Ou(e,t,r||e)}function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dn(e)}function tF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function nF(e,t){return t&&(oF(t)==="object"||typeof t=="function")?t:aO(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function rF(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dn(e),e!==null););return e}var oF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uF(e){var t=iF();return function(){var n=Dn(e),o;if(t){var i=Dn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nF(this,o)}}var $p=function(e){tF(r,e);var t=uF(r);function r(n){YL(this,r);var o;return o=t.call(this,n),Pp(aO(o),"props",void 0),o.props=new lO(n==null?void 0:n.props),o}return eF(r,[{key:"toDataBindModel",value:function(o){var i=Ou(Dn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(k);Pp($p,"controlFieldType",h.TIMESTAMP),Pp($p,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function sO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cF(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 lF(e,t,r){return t&&yO(e.prototype,t),r&&yO(e,r),e}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 wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function aF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function fF(e,t){return t&&(sF(t)==="object"||typeof t=="function")?t:sO(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}var sF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pF(e){var t=yF();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 fF(this,o)}}var dF=function(e){aF(r,e);var t=pF(r);function r(n){cF(this,r);var o;return o=t.call(this,n),pO(sO(o),"props",void 0),o.props=new lO(n==null?void 0:n.props),o}return lF(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(D);pO(dF,"controlFieldType",h.TIMESTAMP);function Qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function vO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function vF(e,t){return t&&(_F(t)==="object"||typeof t=="function")?t:Qe(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}var _F=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _O(e){var t=hF();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 vF(this,o)}}var bF=function(e){vO(r,e);var t=_O(r);function r(n){dO(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}(V),Tp=function(e){vO(r,e);var t=_O(r);function r(n){dO(this,r);var o,i;o=t.call(this,n),Je(Qe(o),"dataBind",void 0),Je(Qe(o),"rangeMin",void 0),Je(Qe(o),"rangeMax",void 0),Je(Qe(o),"placeholderStart",void 0),Je(Qe(o),"placeholderEnd",void 0),Je(Qe(o),"dateType",void 0),Je(Qe(o),"setValueType",void 0),Je(Qe(o),"defaultValue",void 0),Je(Qe(o),"limitDateList",void 0),o.dataBind=new q1(n==null?void 0:n.dataBind),o.defaultValue=new U1(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:$t.DATE;var c;o.setValueType=(c=n==null?void 0:n.setValueType)!==null&&c!==void 0?c:"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 f;o.placeholderStart=(f=n==null?void 0:n.placeholderStart)!==null&&f!==void 0?f:"\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 d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Cp.controlName;var g;return o.limitDateList=(g=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(O){return new Vs(O)}))!==null&&g!==void 0?g:[],o}return r}(x);Je(Tp,"RuntimeRules",bF);function hO(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 bO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mF(e,t,r){return t&&bO(e.prototype,t),r&&bO(e,r),e}function Ip(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ru=Reflect.get:Ru=function(o,i,u){var c=PF(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Ru(e,t,r||e)}function jn(e){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jn(e)}function OF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function wF(e,t){return t&&(RF(t)==="object"||typeof t=="function")?t:hO(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}function PF(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jn(e),e!==null););return e}var RF=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=jn(e),o;if(t){var i=jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wF(this,o)}}var Cp=function(e){OF(r,e);var t=SF(r);function r(n){gF(this,r);var o;return o=t.call(this,n),Ip(hO(o),"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return mF(r,[{key:"toDataBindModel",value:function(o){var i=Ru(jn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}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}(k);Ip(Cp,"controlFieldType",h.TIMESCOPE),Ip(Cp,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function gO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EF(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 TF(e,t,r){return t&&mO(e.prototype,t),r&&mO(e,r),e}function OO(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 IF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function BF(e,t){return t&&(CF(t)==="object"||typeof t=="function")?t:gO(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}var CF=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 xF(e){var t=AF();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 BF(this,o)}}var NF=function(e){IF(r,e);var t=xF(r);function r(n){EF(this,r);var o;return o=t.call(this,n),OO(gO(o),"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return TF(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(D);OO(NF,"controlFieldType",h.TIMESCOPE);function Vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xp(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 Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function Np(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kF(e,t){return t&&(DF(t)==="object"||typeof t=="function")?t:Vt(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}var DF=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 Dp(e){var t=jF();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 kF(this,o)}}var LF=function(e){Np(r,e);var t=Dp(r);function r(n){xp(this,r);var o;return o=t.call(this,n),pt(Vt(o),"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),pt(Vt(o),"minLength",{type:"number",max:1e6,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),pt(Vt(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}(de),FF=function(e){Np(r,e);var t=Dp(r);function r(n){xp(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}(V),Eu=function(e){Np(r,e);var t=Dp(r);function r(n){xp(this,r);var o;o=t.call(this,n),pt(Vt(o),"maxLength",void 0),pt(Vt(o),"minLength",void 0),pt(Vt(o),"defaultValue",void 0),pt(Vt(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Bu.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:4,o}return r}(x);pt(Eu,"Rules",LF),pt(Eu,"RuntimeRules",FF);function wO(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 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 VF(e,t,r){return t&&PO(e.prototype,t),r&&PO(e,r),e}function Tu(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 zF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HF(e,t){return t&&(qF(t)==="object"||typeof t=="function")?t:wO(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}var qF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WF(e){var t=UF();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HF(this,o)}}var Bu=function(e){zF(r,e);var t=WF(r);function r(n){MF(this,r);var o;return o=t.call(this,n),Tu(wO(o),"props",void 0),o.props=new Eu(n==null?void 0:n.props),o}return VF(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}(k);Tu(Bu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Tu(Bu,"controlFieldType",h.TEXT),Tu(Bu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 RO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 GF(e,t,r){return t&&$O(e.prototype,t),r&&$O(e,r),e}function SO(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 XF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function QF(e,t){return t&&(JF(t)==="object"||typeof t=="function")?t:RO(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}var JF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YF(e){var t=ZF();return function(){var n=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QF(this,o)}}var eM=function(e){XF(r,e);var t=YF(r);function r(n){KF(this,r);var o;return o=t.call(this,n),SO(RO(o),"props",void 0),o.props=new Eu(n==null?void 0:n.props),o}return GF(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(D);SO(eM,"controlFieldType",h.TEXT);function fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fp(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 Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function Mp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function tM(e,t){return t&&(nM(t)==="object"||typeof t=="function")?t:fn(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}var nM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zp(e){var t=rM();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 tM(this,o)}}var oM=function(e){Mp(r,e);var t=zp(r);function r(n){Fp(this,r);var o;return o=t.call(this,n),zt(fn(o),"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),zt(fn(o),"minLength",{type:"number",max:1e6,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),zt(fn(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}(de),iM=function(e){Mp(r,e);var t=zp(r);function r(n){Fp(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}(V),xu=function(e){Mp(r,e);var t=zp(r);function r(n){Fp(this,r);var o;o=t.call(this,n),zt(fn(o),"maxLength",void 0),zt(fn(o),"minLength",void 0),zt(fn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Du.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(x);zt(xu,"Rules",oM),zt(xu,"RuntimeRules",iM);function EO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cM(e,t,r){return t&&TO(e.prototype,t),r&&TO(e,r),e}function Nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function lM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function aM(e,t){return t&&(fM(t)==="object"||typeof t=="function")?t:EO(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}var fM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yM(e){var t=sM();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aM(this,o)}}var Du=function(e){lM(r,e);var t=yM(r);function r(n){uM(this,r);var o;return o=t.call(this,n),Nu(EO(o),"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return cM(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}(k);Nu(Du,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Nu(Du,"controlFieldType",h.TEXT),Nu(Du,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 IO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dM(e,t,r){return t&&BO(e.prototype,t),r&&BO(e,r),e}function CO(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 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&&qp(e,t)}function _M(e,t){return t&&(hM(t)==="object"||typeof t=="function")?t:IO(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}var hM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gM(e){var t=bM();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 _M(this,o)}}var mM=function(e){vM(r,e);var t=gM(r);function r(n){pM(this,r);var o;return o=t.call(this,n),CO(IO(o),"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return dM(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(D);CO(mM,"controlFieldType",h.TEXT);function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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&&Up(e,t)}function OM(e,t){return t&&(wM(t)==="object"||typeof t=="function")?t:dt(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}var wM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NO(e){var t=PM();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 OM(this,o)}}var RM=function(e){xO(r,e);var t=NO(r);function r(n){return AO(this,r),t.call(this,n)}return r}(En),Wp=function(e){xO(r,e);var t=NO(r);function r(n){AO(this,r);var o;o=t.call(this,n),vt(dt(o),"options",void 0),vt(dt(o),"defaultShowOptions",void 0),vt(dt(o),"optionConfig",void 0),vt(dt(o),"defaultValue",void 0),vt(dt(o),"datasourceBind",void 0),vt(dt(o),"multistageFilling",void 0),vt(dt(o),"allowCopyOptions",void 0),vt(dt(o),"openMultistageFilling",void 0);var i;o.options=ct((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Xp.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var y;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!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(g){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new Be(g))})),o}return r}(x);vt(Wp,"Rules",RM);function kO(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 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 SM(e,t,r){return t&&DO(e.prototype,t),r&&DO(e,r),e}function Kp(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 EM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function TM(e,t){return t&&(IM(t)==="object"||typeof t=="function")?t:kO(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}var IM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CM(e){var t=BM();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 TM(this,o)}}var Xp=function(e){EM(r,e);var t=CM(r);function r(n){$M(this,r);var o;return o=t.call(this,n),Kp(kO(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return SM(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(k);Kp(Xp,"controlFieldType",h.VARCHAR),Kp(Xp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function jO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xM(e,t,r){return t&&LO(e.prototype,t),r&&LO(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 Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function NM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function kM(e,t){return t&&(DM(t)==="object"||typeof t=="function")?t:jO(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}var DM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LM(e){var t=jM();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 kM(this,o)}}var FM=function(e){NM(r,e);var t=LM(r);function r(n){AM(this,r);var o;return o=t.call(this,n),FO(jO(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return xM(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(D);FO(FM,"controlFieldType",h.VARCHAR);function Ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function Zp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function MM(e,t){return t&&(VM(t)==="object"||typeof t=="function")?t:Ht(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}var VM=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 ed(e){var t=zM();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 MM(this,o)}}var HM=function(e){Zp(r,e);var t=ed(r);function r(n){return Jp(this,r),t.call(this,n)}return r}(En),qM=function(e){Zp(r,e);var t=ed(r);function r(n){Jp(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(V),zu=function(e){Zp(r,e);var t=ed(r);function r(n){Jp(this,r);var o;o=t.call(this,n),_t(Ht(o),"options",void 0),_t(Ht(o),"defaultShowOptions",void 0),_t(Ht(o),"optionConfig",void 0),_t(Ht(o),"defaultValue",void 0),_t(Ht(o),"datasourceBind",void 0),_t(Ht(o),"multistageFilling",void 0),_t(Ht(o),"openMultistageFilling",void 0);var i;o.options=ct((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:rd.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];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(d){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Be(d))})),o}return r}(x);_t(zu,"Rules",HM),_t(zu,"RuntimeRules",qM);function MO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WM(e,t,r){return t&&VO(e.prototype,t),r&&VO(e,r),e}function td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function KM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function GM(e,t){return t&&(XM(t)==="object"||typeof t=="function")?t:MO(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}var XM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JM(e){var t=QM();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 GM(this,o)}}var rd=function(e){KM(r,e);var t=JM(r);function r(n){UM(this,r);var o;return o=t.call(this,n),td(MO(o),"props",void 0),o.props=new zu(n==null?void 0:n.props),o}return WM(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}(k);td(rd,"controlFieldType",h.ARRAY),td(rd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function zO(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 HO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YM(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(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&&od(e,t)}function t5(e,t){return t&&(n5(t)==="object"||typeof t=="function")?t:zO(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var n5=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 o5(e){var t=r5();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 t5(this,o)}}var i5=function(e){e5(r,e);var t=o5(r);function r(n){ZM(this,r);var o;return o=t.call(this,n),qO(zO(o),"props",void 0),o.props=new zu(n==null?void 0:n.props),o}return YM(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(D);qO(i5,"controlFieldType",h.ARRAY);function ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function WO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function u5(e,t){return t&&(c5(t)==="object"||typeof t=="function")?t:ht(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var c5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KO(e){var t=l5();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 u5(this,o)}}var a5=function(e){WO(r,e);var t=KO(r);function r(n){UO(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(V),ud=function(e){WO(r,e);var t=KO(r);function r(n){UO(this,r);var o;o=t.call(this,n),bt(ht(o),"showType",void 0),bt(ht(o),"range",void 0),bt(ht(o),"rangeOptions",void 0),bt(ht(o),"multiple",void 0),bt(ht(o),"defaultValueType",void 0),bt(ht(o),"defaultValue",void 0),bt(ht(o),"multistageFilling",void 0),bt(ht(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:ad.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 g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Be(O))})),o}return r}(x);bt(ud,"RuntimeRules",a5);function GO(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 XO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s5(e,t,r){return t&&XO(e.prototype,t),r&&XO(e,r),e}function cd(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 y5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function p5(e,t){return t&&(d5(t)==="object"||typeof t=="function")?t:GO(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}var d5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _5(e){var t=v5();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 p5(this,o)}}var ad=function(e){y5(r,e);var t=_5(r);function r(n){f5(this,r);var o;return o=t.call(this,n),cd(GO(o),"props",void 0),o.props=new ud(n==null?void 0:n.props),o}return s5(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(k);cd(ad,"controlFieldType",h.EMPLOYEES),cd(ad,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 QO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 b5(e,t,r){return t&&JO(e.prototype,t),r&&JO(e,r),e}function ZO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(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&&fd(e,t)}function m5(e,t){return t&&(O5(t)==="object"||typeof t=="function")?t:QO(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var O5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P5(e){var t=w5();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m5(this,o)}}var R5=function(e){g5(r,e);var t=P5(r);function r(n){h5(this,r);var o;return o=t.call(this,n),ZO(QO(o),"props",void 0),o.props=new ud(n==null?void 0:n.props),o}return b5(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(D);ZO(R5,"controlFieldType",h.EMPLOYEES);function qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function $5(e,t){return t&&(S5(t)==="object"||typeof t=="function")?t:qt(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}var S5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dd(e){var t=E5();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 $5(this,o)}}var T5=10485760,I5=104857600,B5=1048576e3,C5=function(e){yd(r,e);var t=dd(r);function r(n){sd(this,r);var o;return o=t.call(this,n),gt(qt(o),"maxSize",{type:"number",min:0,max:B5,message:_.getMessage("attachmentMaxSize")}),o}return r}(de),A5=function(e){yd(r,e);var t=dd(r);function r(n){sd(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}(V),Xu=function(e){yd(r,e);var t=dd(r);function r(n){sd(this,r);var o;o=t.call(this,n),gt(qt(o),"defaultValue",void 0),gt(qt(o),"showType",void 0),gt(qt(o),"attachmentAccept",void 0),gt(qt(o),"maxLimit",void 0),gt(qt(o),"minLimit",void 0),gt(qt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];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 f;o.maxSize=(f=n==null?void 0:n.maxSize)!==null&&f!==void 0?f:I5;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Jr.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}(x);gt(Xu,"Rules",C5),gt(Xu,"RuntimeRules",A5);function YO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ew(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N5(e,t,r){return t&&ew(e.prototype,t),r&&ew(e,r),e}function Qu(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 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&&vd(e,t)}function D5(e,t){return t&&(j5(t)==="object"||typeof t=="function")?t:YO(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var j5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F5(e){var t=L5();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D5(this,o)}}var Jr=function(e){k5(r,e);var t=F5(r);function r(n){x5(this,r);var o;return o=t.call(this,n),Qu(YO(o),"props",void 0),o.props=new Xu(n==null?void 0:n.props),o}return N5(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(k);Qu(Jr,"controlEventKeys",["on_change"]),Qu(Jr,"controlFieldType",h.FILE),Qu(Jr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V5(e,t,r){return t&&nw(e.prototype,t),r&&nw(e,r),e}function rw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function H5(e,t){return t&&(q5(t)==="object"||typeof t=="function")?t:tw(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 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 W5(e){var t=U5();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H5(this,o)}}var K5=function(e){z5(r,e);var t=W5(r);function r(n){M5(this,r);var o;return o=t.call(this,n),rw(tw(o),"props",void 0),o.props=new Xu(n==null?void 0:n.props),o}return V5(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(D);rw(K5,"controlFieldType",h.FILE);function G5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X5(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 Q5(e,t,r){return t&&ow(e.prototype,t),r&&ow(e,r),e}function iw(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 J5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function Z5(e,t){return t&&(Y5(t)==="object"||typeof t=="function")?t:G5(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}var Y5=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=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z5(this,o)}}var uw=function(e){J5(r,e);var t=t6(r);function r(n){X5(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var a;return o.props.placeholder=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&a!==void 0?a:"\u4E0A\u4F20\u56FE\u7247",o}return Q5(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Jr);iw(uw,"controlFieldType",h.IMAGE),iw(uw,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function gd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 n6(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){fe(e,o,r[o])})}return e}function r6(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 o6(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):r6(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function i6(e,t){return t&&(u6(t)==="object"||typeof t=="function")?t:Te(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var u6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=c6();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 i6(this,o)}}var l6=function(e){gd(r,e);var t=Od(r);function r(n){bd(this,r);var o;o=t.call(this,n),fe(Te(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:_.getMessage("pleaseEnterNumberRange")}]}}),fe(Te(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=_.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:_.getMessage("numberRangeSetError")}),o}return r}(En),a6=function(e){gd(r,e);var t=Od(r);function r(n){bd(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[o6(n6({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:_.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(V),tc=function(e){gd(r,e);var t=Od(r);function r(n){bd(this,r);var o;o=t.call(this,n),fe(Te(o),"rangeMin",void 0),fe(Te(o),"rangeMax",void 0),fe(Te(o),"showUpperCase",void 0),fe(Te(o),"submitSelectCurrency",void 0),fe(Te(o),"micrometer",void 0),fe(Te(o),"precision",void 0),fe(Te(o),"optionConfig",void 0),fe(Te(o),"dataBind",void 0),fe(Te(o),"datasourceBind",void 0),fe(Te(o),"defaultValue",void 0),fe(Te(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"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 z1(n==null?void 0:n.dataBind);var f;o.datasourceBind=new Z((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new kf({value:"name"})]});var y;o.defaultValue=new H1((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:go.CNY}),o.options=ct(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:oc.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var m;return o.showUpperCase=(m=n==null?void 0:n.showUpperCase)!==null&&m!==void 0?m:!1,o}return r}(x);fe(tc,"Rules",l6),fe(tc,"RuntimeRules",a6);function cw(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 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 s6(e,t,r){return t&&lw(e.prototype,t),r&&lw(e,r),e}function nc(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?rc=Reflect.get:rc=function(o,i,u){var c=d6(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},rc(e,t,r||e)}function Ln(e){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ln(e)}function y6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:cw(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}function d6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ln(e),e!==null););return e}var v6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h6(e){var t=_6();return function(){var n=Ln(e),o;if(t){var i=Ln(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p6(this,o)}}var oc=function(e){y6(r,e);var t=h6(r);function r(n){f6(this,r);var o;return o=t.call(this,n),nc(cw(o),"props",void 0),o.props=new tc(n==null?void 0:n.props),o}return s6(r,[{key:"toDataBindModel",value:function(o){var i=rc(Ln(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),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}(k);nc(oc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),nc(oc,"controlFieldType",h.MONEY),nc(oc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b6(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 g6(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function sw(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 m6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function O6(e,t){return t&&(w6(t)==="object"||typeof t=="function")?t:aw(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var w6=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=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O6(this,o)}}var $6=function(e){m6(r,e);var t=R6(r);function r(n){b6(this,r);var o;return o=t.call(this,n),sw(aw(o),"props",void 0),o.props=new tc(n==null?void 0:n.props),o}return g6(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(D);sw($6,"controlFieldType",h.MONEY);function Ut(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 mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function $d(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function S6(e,t){return t&&(E6(t)==="object"||typeof t=="function")?t:Ut(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}var E6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ed(e){var t=T6();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 S6(this,o)}}var I6=function(e){$d(r,e);var t=Ed(r);function r(n){Rd(this,r);var o;return o=t.call(this,n),mt(Ut(o),"totalScore",[{type:"number",required:!0,message:_.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:_.getMessage("theTotalScoreMustNotBeLessThan1")}]),mt(Ut(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}(de),B6=function(e){$d(r,e);var t=Ed(r);function r(n){Rd(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:_.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(V),cc=function(e){$d(r,e);var t=Ed(r);function r(n){Rd(this,r);var o,i;o=t.call(this,n),mt(Ut(o),"totalScore",void 0),mt(Ut(o),"scoreType",void 0),mt(Ut(o),"isShowExplain",void 0),mt(Ut(o),"explain",void 0),mt(Ut(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:zs.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(d){return new Hs(d)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new Hs});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:fc.controlName,o}return r}(x);mt(cc,"Rules",I6),mt(cc,"RuntimeRules",B6);function Td(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 C6(e){if(Array.isArray(e))return Td(e)}function yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x6(e,t,r){return t&&pw(e.prototype,t),r&&pw(e,r),e}function lc(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?ac=Reflect.get:ac=function(o,i,u){var c=L6(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},ac(e,t,r||e)}function Fn(e){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fn(e)}function N6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Id(e,t)}function k6(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function D6(){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 j6(e,t){return t&&(M6(t)==="object"||typeof t=="function")?t:yw(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function L6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fn(e),e!==null););return e}function F6(e){return C6(e)||k6(e)||V6(e)||D6()}var M6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V6(e,t){if(!!e){if(typeof e=="string")return Td(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 Td(e,t)}}function z6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H6(e){var t=z6();return function(){var n=Fn(e),o;if(t){var i=Fn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j6(this,o)}}var fc=function(e){N6(r,e);var t=H6(r);function r(n){A6(this,r);var o;return o=t.call(this,n),lc(yw(o),"props",void 0),o.props=new cc(n==null?void 0:n.props),o}return x6(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 u,c=i-this.props.explain.length,a=Array(c).fill(void 0).map(function(){return new Hs});(u=this.props.explain).push.apply(u,F6(a))}}ac(Fn(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}(k);lc(fc,"controlEventKeys",["on_change","on_click"]),lc(fc,"controlFieldType",h.DECIMAL),lc(fc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 U6(e,t,r){return t&&vw(e.prototype,t),r&&vw(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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function W6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function K6(e,t){return t&&(G6(t)==="object"||typeof t=="function")?t:dw(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}var G6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q6(e){var t=X6();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 K6(this,o)}}var J6=function(e){W6(r,e);var t=Q6(r);function r(n){q6(this,r);var o;return o=t.call(this,n),_w(dw(o),"props",void 0),o.props=new cc(n==null?void 0:n.props),o}return U6(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(D);_w(J6,"controlFieldType",h.DECIMAL);function yc(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 pc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(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&&Cd(e,t)}function Z6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:yc(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 e7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gw(e){var t=e7();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 Z6(this,o)}}var t7=function(e){bw(r,e);var t=gw(r);function r(n){hw(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:_.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:_.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:_.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(V),Ad=function(e){bw(r,e);var t=gw(r);function r(n){hw(this,r);var o;o=t.call(this,n),pc(yc(o),"defaultValueType",void 0),pc(yc(o),"defaultValue",void 0),pc(yc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:kd.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var a;o.defaultValue=new W1((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}(x);pc(Ad,"RuntimeRules",t7);function mw(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 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 r7(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function xd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function o7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function i7(e,t){return t&&(u7(t)==="object"||typeof t=="function")?t:mw(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var u7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l7(e){var t=c7();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i7(this,o)}}var kd=function(e){o7(r,e);var t=l7(r);function r(n){n7(this,r);var o;return o=t.call(this,n),xd(mw(o),"props",void 0),o.props=new Ad(n==null?void 0:n.props),o}return r7(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(k);xd(kd,"controlFieldType",h.ADDRESS),xd(kd,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f7(e,t,r){return t&&Pw(e.prototype,t),r&&Pw(e,r),e}function Rw(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 s7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function y7(e,t){return t&&(p7(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 p7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v7(e){var t=d7();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 y7(this,o)}}var _7=function(e){s7(r,e);var t=v7(r);function r(n){a7(this,r);var o;return o=t.call(this,n),Rw(ww(o),"props",void 0),o.props=new Ad(n==null?void 0:n.props),o}return f7(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}(D);Rw(_7,"controlFieldType",h.ADDRESS);function ze(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 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 hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function Sw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function h7(e,t){return t&&(b7(t)==="object"||typeof t=="function")?t:ze(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var b7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ew(e){var t=g7();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 h7(this,o)}}var m7=function(e){Sw(r,e);var t=Ew(r);function r(n){$w(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(V),Ld=function(e){Sw(r,e);var t=Ew(r);function r(n){$w(this,r);var o;o=t.call(this,n),He(ze(o),"showType",void 0),He(ze(o),"range",void 0),He(ze(o),"defaultValueType",void 0),He(ze(o),"multiple",void 0),He(ze(o),"rangeOptions",void 0),He(ze(o),"defaultValue",void 0),He(ze(o),"displayLevel",void 0),He(ze(o),"showSubDept",void 0),He(ze(o),"multistageFilling",void 0),He(ze(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Vd.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";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 v;(v=o.multistageFilling)===null||v===void 0||v.push(new Be(P))})),o}return r}(x);He(Ld,"RuntimeRules",m7);function Tw(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 Iw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w7(e,t,r){return t&&Iw(e.prototype,t),r&&Iw(e,r),e}function Fd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?bc=Reflect.get:bc=function(o,i,u){var c=$7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},bc(e,t,r||e)}function Mn(e){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(e)}function P7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function R7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:Tw(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function $7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mn(e),e!==null););return e}var S7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T7(e){var t=E7();return function(){var n=Mn(e),o;if(t){var i=Mn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R7(this,o)}}var Vd=function(e){P7(r,e);var t=T7(r);function r(n){O7(this,r);var o;return o=t.call(this,n),Fd(Tw(o),"props",void 0),o.props=new Ld(n==null?void 0:n.props),o}return w7(r,[{key:"toDataBindModel",value:function(o){var i=bc(Mn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,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}(k);Fd(Vd,"controlFieldType",h.DEPARTMENTS),Fd(Vd,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 Bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 B7(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),e}function Aw(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 C7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function A7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:Bw(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}var x7=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 k7(e){var t=N7();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 A7(this,o)}}var D7=function(e){C7(r,e);var t=k7(r);function r(n){I7(this,r);var o;return o=t.call(this,n),Aw(Bw(o),"props",void 0),o.props=new Ld(n==null?void 0:n.props),o}return B7(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(D);Aw(D7,"controlFieldType",h.DEPARTMENTS);function xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L7(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 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&&Hd(e,t)}function M7(e,t){return t&&(V7(t)==="object"||typeof t=="function")?t:xw(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(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 H7(e){var t=z7();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 M7(this,o)}}var Nw=function(e){F7(r,e);var t=H7(r);function r(n){j7(this,r);var o;o=t.call(this,n),L7(xw(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Pc.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(x);function kw(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 Dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U7(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}function Oc(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 W7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function K7(e,t){return t&&(G7(t)==="object"||typeof t=="function")?t:kw(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}var G7=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 Q7(e){var t=X7();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 K7(this,o)}}var Pc=function(e){W7(r,e);var t=Q7(r);function r(n){q7(this,r);var o;return o=t.call(this,n),Oc(kw(o),"props",void 0),o.props=new Nw(n==null?void 0:n.props),o}return U7(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}(k);Oc(Pc,"controlEventKeys",["on_change"]),Oc(Pc,"controlFieldType",h.AUTO_NUMBER),Oc(Pc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{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 J7(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 Z7(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function Fw(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 Y7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function e8(e,t){return t&&(t8(t)==="object"||typeof t=="function")?t:jw(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}var t8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r8(e){var t=n8();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e8(this,o)}}var o8=function(e){Y7(r,e);var t=r8(r);function r(n){J7(this,r);var o;return o=t.call(this,n),Fw(jw(o),"props",void 0),o.props=new Nw(n==null?void 0:n.props),o}return Z7(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(D);Fw(o8,"controlFieldType",h.AUTO_NUMBER);function Wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function Kd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:Wt(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var u8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xd(e){var t=c8();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 i8(this,o)}}var l8=function(e){Kd(r,e);var t=Xd(r);function r(n){Wd(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}(de),a8=function(e){Kd(r,e);var t=Xd(r);function r(n){Wd(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}(V),Sc=function(e){Kd(r,e);var t=Xd(r);function r(n){Wd(this,r);var o;o=t.call(this,n),Ot(Wt(o),"precision",void 0),Ot(Wt(o),"micrometer",void 0),Ot(Wt(o),"showUpperCase",void 0),Ot(Wt(o),"scriptSrc",void 0),Ot(Wt(o),"scriptEcho",void 0),Ot(Wt(o),"dataBind",void 0),Ot(Wt(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new K1(n==null?void 0:n.dataBind),o.defaultValue=new G1(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Ic.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.scriptEcho=(f=n==null?void 0:n.scriptEcho)!==null&&f!==void 0?f:[];var y;return o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"",o}return r}(x);Ot(Sc,"Rules",l8),Ot(Sc,"RuntimeRules",a8);function Mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f8(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 s8(e,t,r){return t&&Vw(e.prototype,t),r&&Vw(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 Tc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Tc=Reflect.get:Tc=function(o,i,u){var c=d8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Tc(e,t,r||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(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&&Qd(e,t)}function p8(e,t){return t&&(v8(t)==="object"||typeof t=="function")?t:Mw(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function d8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}var v8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h8(e){var t=_8();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 p8(this,o)}}var Ic=function(e){y8(r,e);var t=h8(r);function r(n){f8(this,r);var o;return o=t.call(this,n),Ec(Mw(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return s8(r,[{key:"toDataBindModel",value:function(o){var i=Tc(Vn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),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}(k);Ec(Ic,"controlEventKeys",["on_change"]),Ec(Ic,"controlFieldType",h.CALC),Ec(Ic,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],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 b8(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 g8(e,t,r){return t&&Hw(e.prototype,t),r&&Hw(e,r),e}function qw(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 m8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function O8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:zw(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}var w8=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 R8(e){var t=P8();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 O8(this,o)}}var $8=function(e){m8(r,e);var t=R8(r);function r(n){b8(this,r);var o;return o=t.call(this,n),qw(zw(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return g8(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(D);qw($8,"controlFieldType",h.CALC);function zn(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 Hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(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&&Zd(e,t)}function S8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:zn(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}var E8=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 Kw(e){var t=T8();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 S8(this,o)}}var I8=function(e){Ww(r,e);var t=Kw(r);function r(n){Uw(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,c){if(n.required){var a=c.every(function(l){return!l});return a?Promise.reject(_.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(V),Yd=function(e){Ww(r,e);var t=Kw(r);function r(n){Uw(this,r);var o;o=t.call(this,n),Hn(zn(o),"rangeMin",void 0),Hn(zn(o),"rangeMax",void 0),Hn(zn(o),"placeholderStart",void 0),Hn(zn(o),"placeholderEnd",void 0),Hn(zn(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";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 f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:nv.controlName,o}return r}(x);Hn(Yd,"RuntimeRules",I8);function Gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C8(e,t,r){return t&&Xw(e.prototype,t),r&&Xw(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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function A8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function x8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:Gw(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var N8=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 D8(e){var t=k8();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 x8(this,o)}}var nv=function(e){A8(r,e);var t=D8(r);function r(n){B8(this,r);var o;return o=t.call(this,n),ev(Gw(o),"props",void 0),o.props=new Yd(n==null?void 0:n.props),o}return C8(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}(k);ev(nv,"controlFieldType",h.DECIMAL_RANGE),ev(nv,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",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 j8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L8(e,t,r){return t&&Jw(e.prototype,t),r&&Jw(e,r),e}function Zw(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 F8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function M8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:Qw(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}var V8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H8(e){var t=z8();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 M8(this,o)}}var q8=function(e){F8(r,e);var t=H8(r);function r(n){j8(this,r);var o;return o=t.call(this,n),Zw(Qw(o),"props",void 0),o.props=new Yd(n==null?void 0:n.props),o}return L8(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(D);Zw(q8,"controlFieldType",h.DECIMAL_RANGE);function wt(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 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 Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function eP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function U8(e,t){return t&&(W8(t)==="object"||typeof t=="function")?t:wt(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(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 tP(e){var t=K8();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 U8(this,o)}}var G8=function(e){eP(r,e);var t=tP(r);function r(n){Yw(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}(V),iv=function(e){eP(r,e);var t=tP(r);function r(n){Yw(this,r);var o,i;o=t.call(this,n),Pt(wt(o),"rangeMin",void 0),Pt(wt(o),"rangeMax",void 0),Pt(wt(o),"placeholderStart",void 0),Pt(wt(o),"placeholderEnd",void 0),Pt(wt(o),"dateType",void 0),Pt(wt(o),"setValueType",void 0),Pt(wt(o),"defaultValue",void 0),Pt(wt(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:$t.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 f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\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 g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:lv.controlName;var O;return o.limitDateList=(O=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new Vs(m)}))!==null&&O!==void 0?O:[],o}return r}(x);Pt(iv,"RuntimeRules",G8);function nP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Q8(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function uv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function J8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function Z8(e,t){return t&&(Y8(t)==="object"||typeof t=="function")?t:nP(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}var Y8=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=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z8(this,o)}}var lv=function(e){J8(r,e);var t=t4(r);function r(n){X8(this,r);var o;return o=t.call(this,n),uv(nP(o),"props",void 0),o.props=new iv(n==null?void 0:n.props),o}return Q8(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}(k);uv(lv,"controlFieldType",h.ARRAY),uv(lv,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function oP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 r4(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function uP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function o4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function i4(e,t){return t&&(u4(t)==="object"||typeof t=="function")?t:oP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}var u4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l4(e){var t=c4();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 i4(this,o)}}var a4=function(e){o4(r,e);var t=l4(r);function r(n){n4(this,r);var o;return o=t.call(this,n),uP(oP(o),"props",void 0),o.props=new iv(n==null?void 0:n.props),o}return r4(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(D);uP(a4,"controlFieldType",h.ARRAY);function Zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function sv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function f4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:Zr(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(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 pv(e){var t=y4();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 f4(this,o)}}var p4=function(e){sv(r,e);var t=pv(r);function r(n){fv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(de),d4=function(e){sv(r,e);var t=pv(r);function r(n){fv(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(V),Lc=function(e){sv(r,e);var t=pv(r);function r(n){fv(this,r);var o;o=t.call(this,n),qn(Zr(o),"controlExportName",void 0),qn(Zr(o),"permissions",void 0),qn(Zr(o),"defaultValue",void 0),qn(Zr(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vc.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";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}(x);qn(Lc,"Rules",p4),qn(Lc,"RuntimeRules",d4);function cP(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 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 _4(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function Fc(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 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&&dv(e,t)}function b4(e,t){return t&&(g4(t)==="object"||typeof t=="function")?t:cP(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}var g4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O4(e){var t=m4();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 b4(this,o)}}var Vc=function(e){h4(r,e);var t=O4(r);function r(n){v4(this,r);var o;return o=t.call(this,n),Fc(cP(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return _4(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}(k);Fc(Vc,"controlFieldType",h.ANY),Fc(Vc,"controlEventKeys",[]),Fc(Vc,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",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 w4(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 P4(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}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 zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(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&&vv(e,t)}function $4(e,t){return t&&(S4(t)==="object"||typeof t=="function")?t:aP(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}var S4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T4(e){var t=E4();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 $4(this,o)}}var I4=function(e){R4(r,e);var t=T4(r);function r(n){w4(this,r);var o;return o=t.call(this,n),sP(aP(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return P4(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(D);sP(I4,"controlFieldType",h.ANY);function Ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function pP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function B4(e,t){return t&&(C4(t)==="object"||typeof t=="function")?t:Ze(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}var C4=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 dP(e){var t=A4();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 B4(this,o)}}var x4=function(e){pP(r,e);var t=dP(r);function r(n){yP(this,r);var o;return o=t.call(this,n),Ye(Ze(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}(En),hv=function(e){pP(r,e);var t=dP(r);function r(n){yP(this,r);var o;o=t.call(this,n),Ye(Ze(o),"options",void 0),Ye(Ze(o),"optionConfig",void 0),Ye(Ze(o),"defaultValue",void 0),Ye(Ze(o),"listPageBind",void 0),Ye(Ze(o),"datasourceBind",void 0),Ye(Ze(o),"multistageFilling",void 0),Ye(Ze(o),"canViewForm",void 0),Ye(Ze(o),"openMultistageFilling",void 0);var i;o.options=ct((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new Zb(n==null?void 0:n.listPageBind),o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Wc.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 f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(d){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Be(d))}));var y;return o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1,o}return r}(x);Ye(hv,"Rules",x4);function vP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 k4(e,t,r){return t&&_P(e.prototype,t),r&&_P(e,r),e}function qc(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 D4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function j4(e,t){return t&&(L4(t)==="object"||typeof t=="function")?t:vP(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(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 M4(e){var t=F4();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 j4(this,o)}}var Wc=function(e){D4(r,e);var t=M4(r);function r(n){N4(this,r);var o;return o=t.call(this,n),qc(vP(o),"props",void 0),o.props=new hv(n==null?void 0:n.props),o}return k4(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}(k);qc(Wc,"controlFieldType",h.VARCHAR),qc(Wc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}]),qc(Wc,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function hP(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 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 z4(e,t,r){return t&&bP(e.prototype,t),r&&bP(e,r),e}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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(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&&gv(e,t)}function q4(e,t){return t&&(U4(t)==="object"||typeof t=="function")?t:hP(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var U4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K4(e){var t=W4();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q4(this,o)}}var G4=function(e){H4(r,e);var t=K4(r);function r(n){V4(this,r);var o;return o=t.call(this,n),gP(hP(o),"props",void 0),o.props=new hv(n==null?void 0:n.props),o}return z4(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(D);gP(G4,"controlFieldType",h.VARCHAR);function X4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q4(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 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&&mv(e,t)}function Z4(e,t){return t&&(Y4(t)==="object"||typeof t=="function")?t:X4(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}var Y4=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=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z4(this,o)}}var mP=function(e){J4(r,e);var t=t9(r);function r(n){return Q4(this,r),t.call(this,n)}return r}(Xr);function OP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 r9(e,t,r){return t&&wP(e.prototype,t),r&&wP(e,r),e}function PP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function o9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function i9(e,t){return t&&(u9(t)==="object"||typeof t=="function")?t:OP(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}var u9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l9(e){var t=c9();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 i9(this,o)}}var a9=function(e){o9(r,e);var t=l9(r);function r(n){n9(this,r);var o;return o=t.call(this,n),PP(OP(o),"props",void 0),o.props=new mP(n==null?void 0:n.props),o}return r9(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(Qr);PP(a9,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}]);function RP(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 $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 s9(e,t,r){return t&&$P(e.prototype,t),r&&$P(e,r),e}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 Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function y9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function p9(e,t){return t&&(d9(t)==="object"||typeof t=="function")?t:RP(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}var d9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _9(e){var t=v9();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p9(this,o)}}var h9=function(e){y9(r,e);var t=_9(r);function r(n){f9(this,r);var o;return o=t.call(this,n),SP(RP(o),"props",void 0),o.props=new mP(n==null?void 0:n.props),o}return s9(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(D);SP(h9,"controlFieldType",h.VARCHAR);function q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&$v(e,t)}function b9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:q(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}var 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 Sv(e){var t=m9();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 b9(this,o)}}var O9=function(e){Rv(r,e);var t=Sv(r);function r(n){Pv(this,r);var o;return o=t.call(this,n),U(q(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),Zf.call(q(o),n,sn.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}(de),w9=function(e){Rv(r,e);var t=Sv(r);function r(n){Pv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(V),Zc=function(e){Rv(r,e);var t=Sv(r);function r(n){Pv(this,r);var o,i;o=t.call(this,n),U(q(o),"placeholder",void 0),U(q(o),"multiple",void 0),U(q(o),"canSearch",void 0),U(q(o),"levelType",void 0),U(q(o),"optionalLevel",void 0),U(q(o),"containsSubNode",void 0),U(q(o),"defaultDisplay",void 0),U(q(o),"isShowIncludeSub",void 0),U(q(o),"isShowFilterItem",void 0),U(q(o),"defaultCollapse",void 0),U(q(o),"defaultCollapseLevel",void 0),U(q(o),"optionConfig","datasource"),U(q(o),"datasourceBind",void 0),U(q(o),"filterItemDatasourceBind",void 0),U(q(o),"multistageFilling",void 0),U(q(o),"defaultValue",void 0),U(q(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:sn.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\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 f;o.levelType=(f=n==null?void 0:n.levelType)!==null&&f!==void 0?f:"all";var y;o.optionalLevel=(y=n==null?void 0:n.optionalLevel)!==null&&y!==void 0?y:1;var d;o.containsSubNode=(d=n==null?void 0:n.containsSubNode)!==null&&d!==void 0?d:!1;var g;o.isShowFilterItem=(g=n==null?void 0:n.isShowFilterItem)!==null&&g!==void 0?g:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var P;o.defaultCollapseLevel=(P=n==null?void 0:n.defaultCollapseLevel)!==null&&P!==void 0?P:1;var v;o.datasourceBind=new eg((v=n==null?void 0:n.datasourceBind)!==null&&v!==void 0?v:{attributes:sn.controlCustomAttributes});var w;o.filterItemDatasourceBind=new eg((w=n==null?void 0:n.filterItemDatasourceBind)!==null&&w!==void 0?w:{attributes:sn.controlCustomAttributes});var R;o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1;var $;o.defaultDisplay=($=n==null?void 0:n.defaultDisplay)!==null&&$!==void 0?$:!0;var E;o.multistageFilling=(E=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(C){return new Be(C)}))!==null&&E!==void 0?E:[];var H;return o.defaultValue=(H=n==null?void 0:n.defaultValue)!==null&&H!==void 0?H:[],o}return r}(x);U(Zc,"Rules",O9),U(Zc,"RuntimeRules",w9);function EP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 R9(e,t,r){return t&&TP(e.prototype,t),r&&TP(e,r),e}function Yc(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 $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&&Ev(e,t)}function S9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:EP(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}var E9=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 I9(e){var t=T9();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 S9(this,o)}}var sn=function(e){$9(r,e);var t=I9(r);function r(n){P9(this,r);var o;return o=t.call(this,n),Yc(EP(o),"props",void 0),o.props=new Zc(n==null?void 0:n.props),o}return R9(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}(k);Yc(sn,"controlEventKeys",["on_change","on_click"]),Yc(sn,"controlFieldType",h.ARRAY),Yc(sn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.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 IP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B9(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 C9(e,t,r){return t&&BP(e.prototype,t),r&&BP(e,r),e}function CP(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 A9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function x9(e,t){return t&&(N9(t)==="object"||typeof t=="function")?t:IP(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}var N9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function k9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D9(e){var t=k9();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 x9(this,o)}}var j9=function(e){A9(r,e);var t=D9(r);function r(n){B9(this,r);var o;return o=t.call(this,n),CP(IP(o),"props",void 0),o.props=new Zc(n==null?void 0:n.props),o}return C9(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(D);CP(j9,"controlFieldType",h.ARRAY);function te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function Bv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function L9(e,t){return t&&(F9(t)==="object"||typeof t=="function")?t:te(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}var F9=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 Av(e){var t=M9();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 L9(this,o)}}var V9=function(e){Bv(r,e);var t=Av(r);function r(n){Iv(this,r);var o;return o=t.call(this,n),ne(te(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),ne(te(o),"externalScope",{type:"any"}),Zf.call(te(o),n,Yr.controlCustomAttributes),n.externalType===Cn.ASSIGN&&(o.externalScope={type:"array",required:!0,message:_.getMessage("pleaseAssignExternal")}),o}return r}(de),z9=function(e){Bv(r,e);var t=Av(r);function r(n){Iv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(V),rl=function(e){Bv(r,e);var t=Av(r);function r(n){Iv(this,r);var o;o=t.call(this,n),ne(te(o),"showType",void 0),ne(te(o),"range",void 0),ne(te(o),"rangeOptions",void 0),ne(te(o),"multiple",void 0),ne(te(o),"defaultValueType",void 0),ne(te(o),"defaultValue",void 0),ne(te(o),"multistageFilling",void 0),ne(te(o),"datasourceBind",void 0),ne(te(o),"datasourceType",void 0),ne(te(o),"insideType",void 0),ne(te(o),"externalType",void 0),ne(te(o),"externalScope",void 0),ne(te(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Yr.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 g;o.datasourceBind=new bo((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:Yr.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:Us.INTERNAL;var m;o.insideType=(m=n==null?void 0:n.insideType)!==null&&m!==void 0?m:Ks.ADMIN;var P;o.externalType=(P=n==null?void 0:n.externalType)!==null&&P!==void 0?P:Cn.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];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(R){var $;($=o.multistageFilling)===null||$===void 0||$.push(new Be(R))})),o}return r}(x);ne(rl,"Rules",V9),ne(rl,"RuntimeRules",z9);function AP(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 xP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q9(e,t,r){return t&&xP(e.prototype,t),r&&xP(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 ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function U9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function W9(e,t){return t&&(K9(t)==="object"||typeof t=="function")?t:AP(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}var K9=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 X9(e){var t=G9();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 W9(this,o)}}var Yr=function(e){U9(r,e);var t=X9(r);function r(n){H9(this,r);var o;return o=t.call(this,n),xv(AP(o),"props",void 0),o.props=new rl(n==null?void 0:n.props),o}return q9(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}(k);xv(Yr,"controlFieldType",h.EMPLOYEES),xv(Yr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 NP(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 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 J9(e,t,r){return t&&kP(e.prototype,t),r&&kP(e,r),e}function DP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function Z9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Y9(e,t){return t&&(eV(t)==="object"||typeof t=="function")?t:NP(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}var eV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nV(e){var t=tV();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 Y9(this,o)}}var rV=function(e){Z9(r,e);var t=nV(r);function r(n){Q9(this,r);var o;return o=t.call(this,n),DP(NP(o),"props",void 0),o.props=new rl(n==null?void 0:n.props),o}return J9(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(D);DP(rV,"controlFieldType",h.EMPLOYEES);function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function LP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oV(e,t){return t&&(iV(t)==="object"||typeof t=="function")?t:et(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}var iV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FP(e){var t=uV();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 oV(this,o)}}var cV=function(e){LP(r,e);var t=FP(r);function r(n){jP(this,r);var o;return o=t.call(this,n),tt(et(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,u,c){return i[c]={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,f,y){if(u.type==="public"&&Tf(f.value)&&f.value.length===0){y("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}y()}},company:{type:"object",required:!0,validator:function(l,f,y){if(u.type==="public"&&u.signatureType.includes("company")&&Tf(f.value)&&f.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(de),jv=function(e){LP(r,e);var t=FP(r);function r(n){jP(this,r);var o;o=t.call(this,n),tt(et(o),"buttonType",void 0),tt(et(o),"content",void 0),tt(et(o),"showType",void 0),tt(et(o),"color",void 0),tt(et(o),"icon",void 0),tt(et(o),"command",""),tt(et(o),"isLoading",!1),tt(et(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:al.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"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 f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2",o.signatureConfig=new L2(n==null?void 0:n.signatureConfig),o}return r}(x);tt(jv,"Rules",cV);function MP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lV(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 aV(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function cl(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 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&&Lv(e,t)}function sV(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:MP(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var yV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dV(e){var t=pV();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 sV(this,o)}}var al=function(e){fV(r,e);var t=dV(r);function r(n){lV(this,r);var o;return o=t.call(this,n),cl(MP(o),"props",void 0),o.props=new jv(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}(k);cl(al,"controlEventKeys",["on_click","on_click_finish"]),cl(al,"controlFieldType",h.VARCHAR),cl(al,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.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 zP(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 HP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _V(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}function qP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(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&&Fv(e,t)}function bV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:zP(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}var gV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OV(e){var t=mV();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bV(this,o)}}var wV=function(e){hV(r,e);var t=OV(r);function r(n){vV(this,r);var o;return o=t.call(this,n),qP(zP(o),"props",void 0),o.props=new jv(n==null?void 0:n.props),o}return _V(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(D);qP(wV,"controlFieldType",h.VARCHAR);function se(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 re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(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&&zv(e,t)}function PV(e,t){return t&&(RV(t)==="object"||typeof t=="function")?t:se(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}var RV=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 Hv(e){var t=$V();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 PV(this,o)}}var SV=function(e){Vv(r,e);var t=Hv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),re(se(o),"content",{type:"string",required:!0,message:_.getMessage("pleaseEnterButtonContent")}),re(se(o),"canAdd",void 0),re(se(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(_.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(_.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(_.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(de),EV=function(e){Vv(r,e);var t=Hv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(V),yl=function(e){Vv(r,e);var t=Hv(r);function r(n){Mv(this,r);var o;o=t.call(this,n),re(se(o),"content",void 0),re(se(o),"canAdd",void 0),re(se(o),"addLocal",void 0),re(se(o),"addOnline",void 0),re(se(o),"canDownload",void 0),re(se(o),"canEdit",void 0),re(se(o),"canExport",void 0),re(se(o),"canDelete",void 0),re(se(o),"wpsSetting",void 0),re(se(o),"maxSize",void 0),re(se(o),"defaultValue",void 0),re(se(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:vl.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!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 f;o.canEdit=(f=n==null?void 0:n.canEdit)!==null&&f!==void 0?f:!0;var y;o.canDownload=(y=n==null?void 0:n.canDownload)!==null&&y!==void 0?y:!0;var d;o.canExport=(d=n==null?void 0:n.canExport)!==null&&d!==void 0?d:!0;var g;o.canDelete=(g=n==null?void 0:n.canDelete)!==null&&g!==void 0?g:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:T5;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[],o.wpsSetting=new F2(n==null?void 0:n.wpsSetting);var P;return o.revisionsMode=(P=n==null?void 0:n.revisionsMode)!==null&&P!==void 0?P:!1,o}return r}(x);re(yl,"Rules",SV),re(yl,"RuntimeRules",EV);function UP(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 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 IV(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function pl(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 BV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function CV(e,t){return t&&(AV(t)==="object"||typeof t=="function")?t:UP(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}var AV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NV(e){var t=xV();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 CV(this,o)}}var vl=function(e){BV(r,e);var t=NV(r);function r(n){TV(this,r);var o;return o=t.call(this,n),pl(UP(o),"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return IV(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(k);pl(vl,"controlEventKeys",["on_change","on_wps_open"]),pl(vl,"controlFieldType",h.FILE),pl(vl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.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 KP(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 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 DV(e,t,r){return t&&GP(e.prototype,t),r&&GP(e,r),e}function XP(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 jV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function LV(e,t){return t&&(FV(t)==="object"||typeof t=="function")?t:KP(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var FV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VV(e){var t=MV();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 LV(this,o)}}var zV=function(e){jV(r,e);var t=VV(r);function r(n){kV(this,r);var o;return o=t.call(this,n),XP(KP(o),"props",void 0),o.props=new yl(n==null?void 0:n.props),o}return DV(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(D);XP(zV,"controlFieldType",h.FILE);function Q(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 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 hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(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&&Gv(e,t)}function HV(e,t){return t&&(qV(t)==="object"||typeof t=="function")?t:Q(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(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 Xv(e){var t=UV();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 HV(this,o)}}var WV=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;return o=t.call(this,n),J(Q(o),"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),J(Q(o),"businessScope",{type:"any"}),Zf.call(Q(o),n,eo.controlCustomAttributes),n.businessType===Cn.ASSIGN&&(o.businessScope={type:"array",required:!0,message:_.getMessage("pleaseAssignBusiness")}),o}return r}(de),KV=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(V),bl=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;o=t.call(this,n),J(Q(o),"showType",void 0),J(Q(o),"range",void 0),J(Q(o),"defaultValueType",void 0),J(Q(o),"multiple",void 0),J(Q(o),"rangeOptions",void 0),J(Q(o),"defaultValue",void 0),J(Q(o),"displayLevel",void 0),J(Q(o),"showSubDept",void 0),J(Q(o),"multistageFilling",void 0),J(Q(o),"datasourceBind",void 0),J(Q(o),"datasourceType",void 0),J(Q(o),"businessType",void 0),J(Q(o),"businessScope",void 0),J(Q(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:eo.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var m;o.datasourceBind=new bo((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:eo.controlCustomAttributes});var P;o.datasourceType=(P=n==null?void 0:n.datasourceType)!==null&&P!==void 0?P:Ws.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var w;o.businessType=(w=n==null?void 0:n.businessType)!==null&&w!==void 0?w:Cn.ALL;var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new Be($))})),o}return r}(x);J(bl,"Rules",WV),J(bl,"RuntimeRules",KV);function QP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XV(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),e}function Qv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?gl=Reflect.get:gl=function(o,i,u){var c=ZV(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},gl(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(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&&Jv(e,t)}function JV(e,t){return t&&(YV(t)==="object"||typeof t=="function")?t:QP(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function ZV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}var YV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ez(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tz(e){var t=ez();return function(){var n=Un(e),o;if(t){var i=Un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JV(this,o)}}var eo=function(e){QV(r,e);var t=tz(r);function r(n){GV(this,r);var o;return o=t.call(this,n),Qv(QP(o),"props",void 0),o.props=new bl(n==null?void 0:n.props),o}return XV(r,[{key:"toDataBindModel",value:function(o){var i=gl(Un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,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}(k);Qv(eo,"controlFieldType",h.DEPARTMENTS),Qv(eo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 ZP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rz(e,t,r){return t&&YP(e.prototype,t),r&&YP(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 ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function iz(e,t){return t&&(uz(t)==="object"||typeof t=="function")?t:ZP(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}var uz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lz(e){var t=cz();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 iz(this,o)}}var az=function(e){oz(r,e);var t=lz(r);function r(n){nz(this,r);var o;return o=t.call(this,n),eR(ZP(o),"props",void 0),o.props=new bl(n==null?void 0:n.props),o}return rz(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(D);eR(az,"controlFieldType",h.DEPARTMENTS);function fz(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 tR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yz(e,t,r){return t&&tR(e.prototype,t),r&&tR(e,r),e}function pz(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 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&&Yv(e,t)}function vz(e,t){return t&&(_z(t)==="object"||typeof t=="function")?t:fz(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(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 bz(e){var t=hz();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 vz(this,o)}}var gz=function(e){dz(r,e);var t=bz(r);function r(n){return sz(this,r),t.call(this,n)}return yz(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(_e);pz(gz,"excludes",[p.GRID]);function e_(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 nR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function Oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t_(e,t)}function wz(e,t){return t&&(Pz(t)==="object"||typeof t=="function")?t:e_(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(e,t)}var Pz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $z(e){var t=Rz();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 wz(this,o)}}var Sz=24,to=function(e){Oz(r,e);var t=$z(r);function r(n){mz(this,r);var o;o=t.call(this,n),nR(e_(o),"span",void 0),nR(e_(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:Sz;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ve);function rR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Tz(e,t,r){return t&&oR(e.prototype,t),r&&oR(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 Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(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&&r_(e,t)}function Bz(e,t){return t&&(Cz(t)==="object"||typeof t=="function")?t:rR(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var Cz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Az(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xz(e){var t=Az();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 Bz(this,o)}}var no=function(e){Iz(r,e);var t=xz(r);function r(n){Ez(this,r);var o;return o=t.call(this,n),n_(rR(o),"props",void 0),o.props=new to(n==null?void 0:n.props),o}return Tz(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(_e);n_(no,"excludes",[p.COL,p.CARD_GROUP,p.SUBTABLE,p.SUBTABLE_COLUMN,p.DIVIDER]),n_(no,"childrenMaxLength",1);function iR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 kz(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function Dz(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 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&&o_(e,t)}function Lz(e,t){return t&&(Fz(t)==="object"||typeof t=="function")?t:iR(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}var Fz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vz(e){var t=Mz();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 Lz(this,o)}}var zz=function(e){jz(r,e);var t=Vz(r);function r(n){Nz(this,r);var o;return o=t.call(this,n),Dz(iR(o),"props",void 0),o.props=new to(n==null?void 0:n.props),o}return kz(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(un),cR={Designer:no,Runtime:zz,Property:to};function i_(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 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 $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(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&&u_(e,t)}function Uz(e,t){return t&&(Wz(t)==="object"||typeof t=="function")?t:i_(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(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 Gz(e){var t=Kz();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 Uz(this,o)}}var c_=function(e){qz(r,e);var t=Gz(r);function r(n){Hz(this,r);var o;o=t.call(this,n),lR(i_(o),"layoutMode",void 0),lR(i_(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(ve);function aR(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 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 Qz(e,t,r){return t&&fR(e.prototype,t),r&&fR(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 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&&a_(e,t)}function Zz(e,t){return t&&(Yz(t)==="object"||typeof t=="function")?t:aR(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}var Yz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tH(e){var t=eH();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 Zz(this,o)}}var f_=function(e){Jz(r,e);var t=tH(r);function r(n){Xz(this,r);var o;return o=t.call(this,n),l_(aR(o),"props",void 0),o.props=new c_(n==null?void 0:n.props),o}return Qz(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(_e);l_(f_,"excludes",[p.ROW]),l_(f_,"setting",[{key:"col-setting",visible:!0}]);function sR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nH(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 rH(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function oH(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 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&&s_(e,t)}function uH(e,t){return t&&(cH(t)==="object"||typeof t=="function")?t:sR(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var cH=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 aH(e){var t=lH();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 uH(this,o)}}var fH=function(e){iH(r,e);var t=aH(r);function r(n){nH(this,r);var o;return o=t.call(this,n),oH(sR(o),"props",void 0),o.props=new c_(n==null?void 0:n.props),o}return rH(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(un);function sH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pH(e,t,r){return t&&pR(e.prototype,t),r&&pR(e,r),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}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(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&&p_(e,t)}function vH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:sH(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(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=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vH(this,o)}}var gH=4,Il=function(e){dH(r,e);var t=bH(r);function r(n){return yH(this,r),t.call(this,n)}return pH(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}(f_);y_(Il,"excludes",[p.GRID_ROW]),y_(Il,"setting",[]),y_(Il,"childrenMaxLength",gH);function mH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wH(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(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&&d_(e,t)}function RH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:mH(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}var $H=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EH(e){var t=SH();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RH(this,o)}}var TH=function(e){PH(r,e);var t=EH(r);function r(n){return OH(this,r),t.call(this,n)}return wH(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(fH);function IH(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 Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(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 AH(e,t){return t&&(xH(t)==="object"||typeof t=="function")?t:IH(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var xH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kH(e){var t=NH();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 AH(this,o)}}var DH=function(e){CH(r,e);var t=kH(r);function r(n){return BH(this,r),t.call(this,n)}return r}(c_),jH={Designer:Il,Runtime:TH,Property:DH};function Al(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(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&&__(e,t)}function LH(e,t){return t&&(FH(t)==="object"||typeof t=="function")?t:Al(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var FH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hR(e){var t=MH();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 LH(this,o)}}var VH=function(e){_R(r,e);var t=hR(r);function r(){vR(this,r);var n;return n=t.apply(this,arguments),xl(Al(n),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),n}return r}(ve.Rules),bR=function(e){_R(r,e);var t=hR(r);function r(n){vR(this,r);var o;o=t.call(this,n),xl(Al(o),"caption",void 0),xl(Al(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(ve);xl(bR,"Rules",VH);function gR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HH(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function h_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(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&&b_(e,t)}function UH(e,t){return t&&(WH(t)==="object"||typeof t=="function")?t:gR(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(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 GH(e){var t=KH();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 UH(this,o)}}var OR=function(e){qH(r,e);var t=GH(r);function r(n){zH(this,r);var o;return o=t.call(this,n),h_(gR(o),"props",void 0),o.props=new bR(n==null?void 0:n.props),o}return HH(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(_e);h_(OR,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),h_(OR,"excludes",[p.CARD_GROUP]);function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function PR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XH(e,t){return t&&(QH(t)==="object"||typeof t=="function")?t:nt(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var QH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RR(e){var t=JH();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 XH(this,o)}}var ZH=function(e){PR(r,e);var t=RR(r);function r(n){wR(this,r);var o;return o=t.call(this,n),rt(nt(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),rt(nt(o),"width",{type:"number",required:!1,message:_.getMessage("pleaseEnterColumnWidth")}),rt(nt(o),"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(W),jl=function(e){PR(r,e);var t=RR(r);function r(n){wR(this,r);var o;o=t.call(this,n),rt(nt(o),"metaAutoWidth",void 0),rt(nt(o),"caption",void 0),rt(nt(o),"fixed",void 0),rt(nt(o),"isShowCaptionTip",void 0),rt(nt(o),"captionTip",void 0),rt(nt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!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 C1(n==null?void 0:n.metaAutoWidth),o}return r}(ve);rt(jl,"Rules",ZH);function $R(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 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 Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(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&&m_(e,t)}function tq(e,t){return t&&(nq(t)==="object"||typeof t=="function")?t:$R(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var nq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oq(e){var t=rq();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tq(this,o)}}var qe=function(e){eq(r,e);var t=oq(r);function r(n){YH(this,r);var o;return o=t.call(this,n),yn($R(o),"props",void 0),o.props=new jl(n==null?void 0:n.props),o}return r}(_e);yn(qe,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),yn(qe,"controlType","subtable-column"),yn(qe,"controlIcon","subtable-column"),yn(qe,"childrenMaxLength",1),yn(qe,"excludes",[p.SUBTABLE,p.SUBTABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT]),yn(qe,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function SR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(e)}function uq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O_(e,t)}function cq(e,t){return t&&(lq(t)==="object"||typeof t=="function")?t:SR(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}var lq=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 fq(e){var t=aq();return function(){var n=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cq(this,o)}}var TR=function(e){uq(r,e);var t=fq(r);function r(n){iq(this,r);var o;return o=t.call(this,n),ER(SR(o),"props",void 0),o.props=new jl(n==null?void 0:n.props),o}return r}(un);ER(TR,"controlType","subtable-column");var sq={Designer:qe,Runtime:TR,Property:jl};function yq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(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&&w_(e,t)}function vq(e,t){return t&&(_q(t)==="object"||typeof t=="function")?t:yq(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(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 bq(e){var t=hq();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 vq(this,o)}}var gq=function(e){dq(r,e);var t=bq(r);function r(n){return pq(this,r),t.call(this,n)}return r}(ve);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mq(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 Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function Oq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function wq(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:IR(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}var Pq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $q(e){var t=Rq();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 wq(this,o)}}var Wn=function(e){Oq(r,e);var t=$q(r);function r(n){mq(this,r);var o;return o=t.call(this,n),pn(IR(o),"props",void 0),o.props=new gq(n==null?void 0:n.props),o}return r}(_e);pn(Wn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),pn(Wn,"controlType","subtable-row"),pn(Wn,"controlIcon","subtable-row"),pn(Wn,"childrenMaxLength",1),pn(Wn,"excludes",[p.SUBTABLE,p.SUBTABLE_COLUMN,p.SUBTABLE_ROW,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT]),pn(Wn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(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&&R_(e,t)}function Tq(e,t){return t&&(Iq(t)==="object"||typeof t=="function")?t:ke(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}var Iq=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 Cq(e){var t=Bq();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 Tq(this,o)}}var BR=function(e){Eq(r,e);var t=Cq(r);function r(n){Sq(this,r);var o;o=t.call(this,n),Me(ke(o),"widthType",void 0),Me(ke(o),"width",void 0),Me(ke(o),"caption",void 0),Me(ke(o),"fieldCode",void 0),Me(ke(o),"fieldType",void 0),Me(ke(o),"fieldName",void 0),Me(ke(o),"datasourceBind",void 0),Me(ke(o),"fixed",void 0),Me(ke(o),"textCleanFormart",void 0),Me(ke(o),"decimalKeepPrecision",void 0),Me(ke(o),"timestampDateType",void 0),Me(ke(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 u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!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:h.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var d;o.decimalKeepPrecision=(d=n==null?void 0:n.decimalKeepPrecision)!==null&&d!==void 0?d:0;var g;o.timestampDateType=(g=n==null?void 0:n.timestampDateType)!==null&&g!==void 0?g:$t.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(ve);function CR(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 dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(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&&$_(e,t)}function Nq(e,t){return t&&(kq(t)==="object"||typeof t=="function")?t:CR(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}var kq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 jq(e){var t=Dq();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 Nq(this,o)}}var Kn=function(e){xq(r,e);var t=jq(r);function r(n){Aq(this,r);var o;return o=t.call(this,n),dn(CR(o),"props",void 0),o.props=new BR(n==null?void 0:n.props),o}return r}(_e);dn(Kn,"controlName","\u5217\u8868\u5355\u5143\u683C"),dn(Kn,"controlType","gridtable-column"),dn(Kn,"controlIcon","gridtable-column"),dn(Kn,"childrenMaxLength",1),dn(Kn,"excludes",[p.GRID_TABLE,p.GRID_TABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT]),dn(Kn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(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&&S_(e,t)}function Mq(e,t){return t&&(Vq(t)==="object"||typeof t=="function")?t:AR(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var Vq=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 Hq(e){var t=zq();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 Mq(this,o)}}var qq=function(e){Fq(r,e);var t=Hq(r);function r(n){Lq(this,r);var o;return o=t.call(this,n),xR(AR(o),"props",void 0),o.props=new BR(n==null?void 0:n.props),o}return r}(un);xR(qq,"controlType","gridtable-column");function Uq(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 Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function Kq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function Gq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:Uq(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(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=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gq(this,o)}}var Zq=function(e){Kq(r,e);var t=Jq(r);function r(n){return Wq(this,r),t.call(this,n)}return r}(ve);function T_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(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&&B_(e,t)}function Yq(e,t){return t&&(eU(t)==="object"||typeof t=="function")?t:T_(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}var eU=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 DR(e){var t=tU();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 Yq(this,o)}}var nU=function(e){kR(r,e);var t=DR(r);function r(n){NR(this,r);var o;return o=t.call(this,n),I_(T_(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),o}return r}(W),jR=function(e){kR(r,e);var t=DR(r);function r(n){NR(this,r);var o;o=t.call(this,n),I_(T_(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jl.controlName,o}return r}(ve);I_(jR,"Rules",nU);function LR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oU(e,t,r){return t&&FR(e.prototype,t),r&&FR(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 Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function iU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A_(e,t)}function uU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:LR(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}var cU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aU(e){var t=lU();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 uU(this,o)}}var Gl=function(e){iU(r,e);var t=aU(r);function r(n){rU(this,r);var o;return o=t.call(this,n),C_(LR(o),"props",void 0),o.props=new jR(n==null?void 0:n.props),o}return oU(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}(_e);C_(Gl,"excludes",[p.TAB]),C_(Gl,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fU(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 sU(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function Xl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function yU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function pU(e,t){return t&&(dU(t)==="object"||typeof t=="function")?t:MR(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}var dU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _U(e){var t=vU();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 pU(this,o)}}var Jl=function(e){yU(r,e);var t=_U(r);function r(n){fU(this,r);var o;o=t.call(this,n),Xl(MR(o),"props",void 0),o.props=new Zq(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Gl,new Gl],o}return sU(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(_e);Xl(Jl,"excludes",[p.TAB]),Xl(Jl,"controlEventKeys",["on_change_tab"]),Xl(Jl,"setting",[{key:"super-setting",visible:!0}]);function hU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function gU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function mU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:hU(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var OU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PU(e){var t=wU();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 mU(this,o)}}var RU=function(e){gU(r,e);var t=PU(r);function r(n){return bU(this,r),t.call(this,n)}return r}(ve);function zR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SU(e,t,r){return t&&HR(e.prototype,t),r&&HR(e,r),e}function qR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function EU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function TU(e,t){return t&&(IU(t)==="object"||typeof t=="function")?t:zR(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var IU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CU(e){var t=BU();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 TU(this,o)}}var AU=function(e){EU(r,e);var t=CU(r);function r(n){$U(this,r);var o;return o=t.call(this,n),qR(zR(o),"props",void 0),o.props=new RU({}),o.children=(n==null?void 0:n.children)||[new no({props:new to({span:12})}),new no({props:new to({span:12})})],o}return SU(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(_e);qR(AU,"excludes",[p.GRID_ROW,p.ROW,p.GRID,p.SUBTABLE,p.TAB,p.TOOLBOX]);function me(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 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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function j_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function xU(e,t){return t&&(NU(t)==="object"||typeof t=="function")?t:me(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}var NU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F_(e){var t=kU();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 xU(this,o)}}var ta;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ta||(ta={}));var DU=function(e){j_(r,e);var t=F_(r);function r(n){D_(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(rn),jU=function(e){j_(r,e);var t=F_(r);function r(n){D_(this,r);var o;if(o=t.call(this,n),Oe(me(o),"triggerFieldCode",{type:"any"}),Oe(me(o),"datasourceBind",{type:"any"}),n.triggerType===ta.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}),Jf.call(me(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(W),ro=function(e){j_(r,e);var t=F_(r);function r(n){D_(this,r);var o;o=t.call(this,n),Oe(me(o),"datasourceBind",void 0),Oe(me(o),"isLoading",void 0),Oe(me(o),"isShowSubList",void 0),Oe(me(o),"triggerType",void 0),Oe(me(o),"triggerFieldCode",void 0),Oe(me(o),"sublistPage",void 0),Oe(me(o),"showType",void 0),Oe(me(o),"showFullScreen",void 0),Oe(me(o),"isFixedHeader",void 0),Oe(me(o),"isAllLoaded",void 0),Oe(me(o),"countType",void 0),o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:ta.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new D1(n==null?void 0:n.sublistPage);var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"stretch";var f;o.showFullScreen=(f=n==null?void 0:n.showFullScreen)!==null&&f!==void 0?f:!1;var y;o.isFixedHeader=(y=n==null?void 0:n.isFixedHeader)!==null&&y!==void 0?y:!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}(ve);Oe(ro,"Rules",jU),Oe(ro,"RuntimeRules",DU);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 FU(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function na(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 MU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VU(e,t){return t&&(zU(t)==="object"||typeof t=="function")?t:UR(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}var zU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qU(e){var t=HU();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VU(this,o)}}var oa=function(e){MU(r,e);var t=qU(r);function r(n){LU(this,r);var o;return o=t.call(this,n),na(UR(o),"props",void 0),o.props=new ro(n==null?void 0:n.props),o}return FU(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}(_e);na(oa,"excludes",[p.ROW]),na(oa,"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"]),na(oa,"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 KR(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 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 WU(e,t,r){return t&&GR(e.prototype,t),r&&GR(e,r),e}function KU(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 GU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function XU(e,t){return t&&(QU(t)==="object"||typeof t=="function")?t:KR(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}var QU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZU(e){var t=JU();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XU(this,o)}}var YU=function(e){GU(r,e);var t=ZU(r);function r(n){UU(this,r);var o;return o=t.call(this,n),KU(KR(o),"props",void 0),o.props=new ro(n==null?void 0:n.props),o}return WU(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(un),eW={Designer:oa,Runtime:YU,Property:ro};function Kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(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&&z_(e,t)}function tW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:Kt(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var nW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JR(e){var t=rW();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 tW(this,o)}}var oW=function(e){QR(r,e);var t=JR(r);function r(n){XR(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(rn),ca=function(e){QR(r,e);var t=JR(r);function r(n){XR(this,r);var o;o=t.call(this,n),Gt(Kt(o),"save",void 0),Gt(Kt(o),"cancel",void 0),Gt(Kt(o),"saveAs",void 0),Gt(Kt(o),"print",void 0),Gt(Kt(o),"custom",void 0),Gt(Kt(o),"isLoading",void 0),Gt(Kt(o),"datasourceBind",void 0);var i;o.save=new Et((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Et((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Et((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var a;o.print=new Et((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 Et(y)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new Z(n==null?void 0:n.datasourceBind),o}return r}(ve);Gt(ca,"RuntimeRules",oW);function ZR(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 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 uW(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}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 la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function cW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H_(e,t)}function lW(e,t){return t&&(aW(t)==="object"||typeof t=="function")?t:ZR(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}var aW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sW(e){var t=fW();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 lW(this,o)}}var t$=function(e){cW(r,e);var t=sW(r);function r(n){iW(this,r);var o;return o=t.call(this,n),e$(ZR(o),"props",void 0),o.props=new ca(n==null?void 0:n.props),o}return uW(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(_e);e$(t$,"excludes",[]);function n$(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 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 pW(e,t,r){return t&&r$(e.prototype,t),r&&r$(e,r),e}function dW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function vW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _W(e,t){return t&&(hW(t)==="object"||typeof t=="function")?t:n$(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}var hW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gW(e){var t=bW();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _W(this,o)}}var mW=function(e){vW(r,e);var t=gW(r);function r(n){yW(this,r);var o;return o=t.call(this,n),dW(n$(o),"props",void 0),o.props=new ca(n==null?void 0:n.props),o}return pW(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(un),OW={Designer:t$,Runtime:mW,Property:ca};function N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(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&&K_(e,t)}function wW(e,t){return t&&(PW(t)==="object"||typeof t=="function")?t:N(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}var PW=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 G_(e){var t=RW();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wW(this,o)}}var $W=function(e){W_(r,e);var t=G_(r);function r(n){U_(this,r);var o;return o=t.call(this,n),A(N(o),"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),A(N(o),"limitRows",[{type:"number",required:!0,message:_.getMessage("isNotNumber")},{type:"number",min:0,message:_.getMessage("limitRowsCannotBeLessThan0")}]),A(N(o),"formKey",{type:"string",required:!1,message:_.getMessage("pleaseEnterForm")}),A(N(o),"maxHeight",{type:"number",required:!0,message:_.getMessage("pleaseEnterMaxHeight")}),A(N(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}(W),SW=function(e){W_(r,e);var t=G_(r);function r(n){U_(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(u,c,a){c.length<n.limitRows&&a(_.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:_.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(rn),X_=function(e){W_(r,e);var t=G_(r);function r(n,o){U_(this,r);var i;i=t.call(this,n,o),A(N(i),"caption",void 0),A(N(i),"labelPosition",void 0),A(N(i),"isHideCaption",void 0),A(N(i),"isShowCaptionTip",void 0),A(N(i),"captionTip",void 0),A(N(i),"defaultState",void 0),A(N(i),"limitRows",void 0),A(N(i),"defaultRows",void 0),A(N(i),"datasourceBind",void 0),A(N(i),"printMode",void 0),A(N(i),"openType",void 0),A(N(i),"formKey",void 0),A(N(i),"useCustomHeight",void 0),A(N(i),"maxHeight",void 0),A(N(i),"canAdd",void 0),A(N(i),"canDelete",void 0),A(N(i),"canCheck",void 0),A(N(i),"canEdit",void 0),A(N(i),"canImport",void 0),A(N(i),"canExport",void 0),A(N(i),"canClear",void 0),A(N(i),"mobileShowType",void 0),A(N(i),"dataStorageDoc",void 0),A(N(i),"serverPagination",void 0),A(N(i),"fixedColumn",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Y_.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!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 f;i.openType=(f=o==null?void 0:o.openType)!==null&&f!==void 0?f:"default";var y;i.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var d;i.useCustomHeight=(d=o==null?void 0:o.useCustomHeight)!==null&&d!==void 0?d:!1;var g;i.maxHeight=(g=o==null?void 0:o.maxHeight)!==null&&g!==void 0?g:M2;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var m;i.limitRows=(m=o==null?void 0:o.limitRows)!==null&&m!==void 0?m:1;var P;i.defaultRows=(P=o==null?void 0:o.defaultRows)!==null&&P!==void 0?P:1,i.datasourceBind=new Z(o==null?void 0:o.datasourceBind);var v;i.canAdd=(v=o==null?void 0:o.canAdd)!==null&&v!==void 0?v:!0;var w;i.canDelete=(w=o==null?void 0:o.canDelete)!==null&&w!==void 0?w:!0;var R;i.canCheck=(R=o==null?void 0:o.canCheck)!==null&&R!==void 0?R:!1;var $;i.canEdit=($=o==null?void 0:o.canEdit)!==null&&$!==void 0?$:!1;var E;i.canImport=(E=o==null?void 0:o.canImport)!==null&&E!==void 0?E:!1;var H;i.canExport=(H=o==null?void 0:o.canExport)!==null&&H!==void 0?H:!1;var C;i.canClear=(C=o==null?void 0:o.canClear)!==null&&C!==void 0?C:!0;var oe;i.serverPagination=(oe=o==null?void 0:o.serverPagination)!==null&&oe!==void 0?oe:!1;var T;i.isShowCaptionTip=(T=o==null?void 0:o.isShowCaptionTip)!==null&&T!==void 0?T:!1;var it;i.captionTip=(it=o==null?void 0:o.captionTip)!==null&&it!==void 0?it:"";var po;i.mobileShowType=(po=o==null?void 0:o.mobileShowType)!==null&&po!==void 0?po:"list";var Cr;i.dataStorageDoc=(Cr=o==null?void 0:o.dataStorageDoc)!==null&&Cr!==void 0?Cr:new A1;var On;return i.fixedColumn=(On=o==null?void 0:o.fixedColumn)!==null&&On!==void 0?On:[],i}return r}(ys);A(X_,"Rules",$W),A(X_,"RuntimeRules",SW);function Q_(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 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 TW(e,t,r){return t&&o$(e.prototype,t),r&&o$(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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function IW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BW(e,t){return t&&(CW(t)==="object"||typeof t=="function")?t:Q_(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}var CW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xW(e){var t=AW();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 BW(this,o)}}var Y_=function(e){IW(r,e);var t=xW(r);function r(n){EW(this,r);var o,i;return o=t.call(this,n),J_(Q_(o),"props",void 0),o.props=new X_(Q_(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 qe,new qe,new qe]),o}return TW(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new qe,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(vs);J_(Y_,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),J_(Y_,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.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 Gn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oo(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 kW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function DW(e,t){return t&&(jW(t)==="object"||typeof t=="function")?t:Gn(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var jW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FW(e){var t=LW();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DW(this,o)}}var MW=function(e){kW(r,e);var t=FW(r);function r(n,o){NW(this,r);var i;i=t.call(this,n,o),oo(Gn(i),"isFixedHeader",void 0),oo(Gn(i),"selectionType",void 0),oo(Gn(i),"isShowToolbar",void 0),oo(Gn(i),"isShowSelection",void 0),oo(Gn(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!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}(ys);function VW(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 zW(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 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&&th(e,t)}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:VW(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var qW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c$(e){var t=UW();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 HW(this,o)}}var WW=function(e){u$(r,e);var t=c$(r);function r(n){i$(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(lt),nh=function(e){u$(r,e);var t=c$(r);function r(n){i$(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Xn.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l:60;var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:60;var y;o.autoWidth.flex=(y=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&y!==void 0?y:.4;var d;return o.widthType=(d=n==null?void 0:n.widthType)!==null&&d!==void 0?d:"px",o}return r}(G);zW(nh,"Rules",WW);function l$(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 io(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 GW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XW(e,t){return t&&(QW(t)==="object"||typeof t=="function")?t:l$(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var QW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZW(e){var t=JW();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 XW(this,o)}}var Xn=function(e){GW(r,e);var t=ZW(r);function r(n){KW(this,r);var o;return o=t.call(this,n),io(l$(o),"props",void 0),o.props=new nh(n==null?void 0:n.props),o}return r}(ue);io(Xn,"controlType","order-column"),io(Xn,"controlName","\u5E8F\u53F7"),io(Xn,"controlIcon","order-column"),io(Xn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oh(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 eK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function tK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:a$(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var nK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oK(e){var t=rK();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tK(this,o)}}var f$=function(e){eK(r,e);var t=oK(r);function r(n){YW(this,r);var o;return o=t.call(this,n),oh(a$(o),"props",void 0),o.props=new nh(n==null?void 0:n.props),o}return r}(ce);oh(f$,"controlType","order-column"),oh(f$,"controlFieldType",h.DECIMAL);function uh(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 s$(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 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&&ch(e,t)}function cK(e,t){return t&&(lK(t)==="object"||typeof t=="function")?t:uh(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}var lK=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 fK(e){var t=aK();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 cK(this,o)}}var y$=function(e){uK(r,e);var t=fK(r);function r(n){iK(this,r);var o,i;o=t.call(this,n),s$(uh(o),"showType",void 0),s$(uh(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Jn.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var f;return o.limit=(f=n==null?void 0:n.limit)!==null&&f!==void 0?f:3,o}return r}(G);function ha(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p$(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function sK(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){p$(i,n,o,u,c,"next",a)}function c(a){p$(i,n,o,u,c,"throw",a)}u(void 0)})}}function yK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pK(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qn=Reflect.get:Qn=function(o,i,u){var c=gK(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Qn(e,t,r||e)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xt(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&&lh(e,t)}function vK(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){vn(e,o,r[o])})}return e}function _K(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 hK(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_K(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function bK(e,t){return t&&(mK(t)==="object"||typeof t=="function")?t:ha(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function gK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}var mK=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 wK(e){var t=OK();return function(){var n=Xt(e),o;if(t){var i=Xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bK(this,o)}}var PK=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Jn=function(e){dK(r,e);var t=wK(r);function r(n){yK(this,r);var o;return o=t.call(this,n),vn(ha(o),"props",void 0),vn(ha(o),"children",void 0),o.props=new y$(n==null?void 0:n.props),Bt(ha(o),"children",n==null?void 0:n.children),o}return pK(r,[{key:"toDataBindModel",value:function(){var o=Qn(Xt(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Gi.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=Qn(Xt(r.prototype),"toSchema",this).call(this);return hK(vK({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Qn(Xt(r.prototype),"validate",u)};return sK(function(){return PK(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),r}(ue);vn(Jn,"controlType","operation-column"),vn(Jn,"controlName","\u64CD\u4F5C"),vn(Jn,"controlIcon","operation-column"),vn(Jn,"setting",[{key:"caption",showItems:[s.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 ba(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ga(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function $K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function SK(e,t){return t&&(EK(t)==="object"||typeof t=="function")?t:ba(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var EK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IK(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 SK(this,o)}}var v$=function(e){$K(r,e);var t=IK(r);function r(n){RK(this,r);var o;return o=t.call(this,n),ga(ba(o),"props",void 0),ga(ba(o),"children",void 0),o.props=new y$(n==null?void 0:n.props),Bt(ba(o),"children",n==null?void 0:n.children),o}return r}(ce);ga(v$,"controlType","operation-column"),ga(v$,"controlFieldType",h.FILE);function uo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _$(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function BK(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){_$(i,n,o,u,c,"next",a)}function c(a){_$(i,n,o,u,c,"throw",a)}u(void 0)})}}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AK(e,t,r){return t&&h$(e.prototype,t),r&&h$(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 co(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?co=Reflect.get:co=function(o,i,u){var c=LK(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},co(e,t,r||e)}function _n(e){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_n(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&&fh(e,t)}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){Oa(e,o,r[o])})}return e}function kK(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 DK(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kK(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function jK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:uo(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function LK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_n(e),e!==null););return e}var FK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VK(e){var t=MK();return function(){var n=_n(e),o;if(t){var i=_n(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jK(this,o)}}var zK=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},HK=function(e){xK(r,e);var t=VK(r);function r(n){CK(this,r);var o;return o=t.call(this,n),Oa(uo(o),"props",void 0),Oa(uo(o),"children",void 0),o.props=new MW(uo(o),n==null?void 0:n.props),Bt(uo(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new Xn,new Jn]),o}return AK(r,[{key:"toSchema",value:function(){var o=co(_n(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return DK(NK({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return co(_n(r.prototype),"validate",u)};return BK(function(){return zK(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.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}(vs);Oa(HK,"setting",[{key:"list-fixed-header",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 b$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(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&&sh(e,t)}function qK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:Qt(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var UK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m$(e){var t=WK();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 qK(this,o)}}var KK=function(e){g$(r,e);var t=m$(r);function r(n){b$(this,r);var o;return o=t.call(this,n),cn.call(Qt(o),n),o}return r}(Ng),yh=function(e){g$(r,e);var t=m$(r);function r(n){b$(this,r);var o;o=t.call(this,n),hn(Qt(o),"optionConfig",void 0),hn(Qt(o),"datasourceBind",void 0),hn(Qt(o),"showLinkOperation",void 0),hn(Qt(o),"linkOperationOption",void 0),hn(Qt(o),"options",void 0),hn(Qt(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var c;o.options=ct((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var a;o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new tn(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(G);hn(yh,"Rules",KK);function O$(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 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 Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(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&&ph(e,t)}function QK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:O$(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(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 YK(e){var t=ZK();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 QK(this,o)}}var Yn=function(e){XK(r,e);var t=YK(r);function r(n){GK(this,r);var o;return o=t.call(this,n),Zn(O$(o),"props",void 0),o.props=new yh(n==null?void 0:n.props),o}return r}(ue);Zn(Yn,"controlType","varchar-column"),Zn(Yn,"controlName","\u77ED\u6587\u672C"),Zn(Yn,"controlIcon","varchar-column"),Zn(Yn,"controlFieldType",h.VARCHAR),Zn(Yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function w$(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 dh(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 tG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function nG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:w$(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var rG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=oG();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 nG(this,o)}}var P$=function(e){tG(r,e);var t=iG(r);function r(n){eG(this,r);var o;return o=t.call(this,n),dh(w$(o),"props",void 0),o.props=new yh(n==null?void 0:n.props),o}return r}(ce);dh(P$,"controlType","varchar-column"),dh(P$,"controlFieldType",h.VARCHAR);function er(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 lo(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 $$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uG(e,t){return t&&(cG(t)==="object"||typeof t=="function")?t:er(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var cG=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 S$(e){var t=lG();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 uG(this,o)}}var aG=function(e){$$(r,e);var t=S$(r);function r(n){R$(this,r);var o;return o=t.call(this,n),cn.call(er(o),n),o}return r}(lt),hh=function(e){$$(r,e);var t=S$(r);function r(n){R$(this,r);var o;o=t.call(this,n),lo(er(o),"escapeHTML",void 0),lo(er(o),"showLinkOperation",void 0),lo(er(o),"linkOperationOption",void 0),lo(er(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:rr.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new tn(n==null?void 0:n.linkOperationOption),o}return r}(G);lo(hh,"Rules",aG);function E$(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 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 sG(e,t,r){return t&&T$(e.prototype,t),r&&T$(e,r),e}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 Sa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Sa=Reflect.get:Sa=function(o,i,u){var c=dG(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Sa(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(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&&bh(e,t)}function pG(e,t){return t&&(vG(t)==="object"||typeof t=="function")?t:E$(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function dG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}var vG=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 hG(e){var t=_G();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 pG(this,o)}}var rr=function(e){yG(r,e);var t=hG(r);function r(n){fG(this,r);var o;return o=t.call(this,n),tr(E$(o),"props",void 0),o.props=new hh(n==null?void 0:n.props),o}return sG(r,[{key:"toDataBindModel",value:function(o){var i=Sa(nr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ue);tr(rr,"controlType","text-column"),tr(rr,"controlName","\u957F\u6587\u672C"),tr(rr,"controlIcon","text-column"),tr(rr,"controlFieldType",h.TEXT),tr(rr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function I$(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 gh(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 gG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mh(e,t)}function mG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:I$(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}var OG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PG(e){var t=wG();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 mG(this,o)}}var B$=function(e){gG(r,e);var t=PG(r);function r(n){bG(this,r);var o;return o=t.call(this,n),gh(I$(o),"props",void 0),o.props=new hh(n==null?void 0:n.props),o}return r}(ce);gh(B$,"controlType","text-column"),gh(B$,"controlFieldType",h.TEXT);function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(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&&Oh(e,t)}function RG(e,t){return t&&($G(t)==="object"||typeof t=="function")?t:ot(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var $G=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x$(e){var t=SG();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 RG(this,o)}}var EG=function(e){A$(r,e);var t=x$(r);function r(n){C$(this,r);var o;return o=t.call(this,n),cn.call(ot(o),n),o}return r}(lt),wh=function(e){A$(r,e);var t=x$(r);function r(n){C$(this,r);var o;o=t.call(this,n),Rt(ot(o),"optionConfig",void 0),Rt(ot(o),"datasourceBind",void 0),Rt(ot(o),"showLinkOperation",void 0),Rt(ot(o),"linkOperationOption",void 0),Rt(ot(o),"options",void 0),Rt(ot(o),"precision",void 0),Rt(ot(o),"micrometer",void 0),Rt(ot(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ur.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var f;o.options=ct((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var y;return o.showLinkOperation=(y=n==null?void 0:n.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new tn(n==null?void 0:n.linkOperationOption),o}return r}(G);Rt(wh,"Rules",EG);function N$(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 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 IG(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}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 Ia(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ia=Reflect.get:Ia=function(o,i,u){var c=AG(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Ia(e,t,r||e)}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function BG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function CG(e,t){return t&&(xG(t)==="object"||typeof t=="function")?t:N$(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}function AG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ir(e),e!==null););return e}var xG=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 kG(e){var t=NG();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 CG(this,o)}}var ur=function(e){BG(r,e);var t=kG(r);function r(n){TG(this,r);var o;return o=t.call(this,n),or(N$(o),"props",void 0),o.props=new wh(n==null?void 0:n.props),o}return IG(r,[{key:"toDataBindModel",value:function(o){var i=Ia(ir(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}]),r}(ue);or(ur,"controlType","decimal-column"),or(ur,"controlName","\u6570\u503C"),or(ur,"controlIcon","decimal-column"),or(ur,"controlFieldType",h.DECIMAL),or(ur,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",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 DG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(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&&$h(e,t)}function LG(e,t){return t&&(FG(t)==="object"||typeof t=="function")?t:D$(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var FG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VG(e){var t=MG();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 LG(this,o)}}var j$=function(e){jG(r,e);var t=VG(r);function r(n){DG(this,r);var o;return o=t.call(this,n),Rh(D$(o),"props",void 0),o.props=new wh(n==null?void 0:n.props),o}return r}(ce);Rh(j$,"controlType","decimal-column"),Rh(j$,"controlFieldType",h.DECIMAL);function ao(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ca(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function F$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function zG(e,t){return t&&(HG(t)==="object"||typeof t=="function")?t:ao(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}var HG=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 M$(e){var t=qG();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zG(this,o)}}var UG=function(e){F$(r,e);var t=M$(r);function r(n){L$(this,r);var o;return o=t.call(this,n),cn.call(ao(o),n),o}return r}(lt),Eh=function(e){F$(r,e);var t=M$(r);function r(n){L$(this,r);var o;o=t.call(this,n),Ca(ao(o),"dateType",void 0),Ca(ao(o),"showLinkOperation",void 0),Ca(ao(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:$t.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new tn(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ar.controlName,o}return r}(G);Ca(Eh,"Rules",UG);function V$(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 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 KG(e,t,r){return t&&z$(e.prototype,t),r&&z$(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 xa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?xa=Reflect.get:xa=function(o,i,u){var c=QG(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},xa(e,t,r||e)}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lr(e)}function GG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:V$(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}function QG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=lr(e),e!==null););return e}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 YG(e){var t=ZG();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 XG(this,o)}}var ar=function(e){GG(r,e);var t=YG(r);function r(n){WG(this,r);var o;return o=t.call(this,n),cr(V$(o),"props",void 0),o.props=new Eh(n==null?void 0:n.props),o}return KG(r,[{key:"toDataBindModel",value:function(o){var i=xa(lr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ue);cr(ar,"controlType","timescope-column"),cr(ar,"controlName","\u65E5\u671F\u533A\u95F4"),cr(ar,"controlIcon","timescope-column"),cr(ar,"controlFieldType",h.TIMESCOPE),cr(ar,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function H$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ih(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 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&&Bh(e,t)}function nX(e,t){return t&&(rX(t)==="object"||typeof t=="function")?t:H$(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(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=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nX(this,o)}}var q$=function(e){tX(r,e);var t=iX(r);function r(n){eX(this,r);var o;return o=t.call(this,n),Ih(H$(o),"props",void 0),o.props=new Eh(n==null?void 0:n.props),o}return r}(ce);Ih(q$,"controlType","timescope-column"),Ih(q$,"controlFieldType",h.TIMESCOPE);function fo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ka(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 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&&Ch(e,t)}function uX(e,t){return t&&(cX(t)==="object"||typeof t=="function")?t:fo(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}var cX=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 K$(e){var t=lX();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 uX(this,o)}}var aX=function(e){W$(r,e);var t=K$(r);function r(n){U$(this,r);var o;return o=t.call(this,n),cn.call(fo(o),n),o}return r}(lt),Ah=function(e){W$(r,e);var t=K$(r);function r(n){U$(this,r);var o;o=t.call(this,n),ka(fo(o),"dateType",void 0),ka(fo(o),"showLinkOperation",void 0),ka(fo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:$t.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new tn(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:yr.controlName,o}return r}(G);ka(Ah,"Rules",aX);function G$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X$(e,t){for(var r=0;r<t.length;r++){var 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&&X$(e.prototype,t),r&&X$(e,r),e}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 ja(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ja=Reflect.get:ja=function(o,i,u){var c=dX(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},ja(e,t,r||e)}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(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&&xh(e,t)}function pX(e,t){return t&&(vX(t)==="object"||typeof t=="function")?t:G$(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function dX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=sr(e),e!==null););return e}var vX=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 hX(e){var t=_X();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 pX(this,o)}}var yr=function(e){yX(r,e);var t=hX(r);function r(n){fX(this,r);var o;return o=t.call(this,n),fr(G$(o),"props",void 0),o.props=new Ah(n==null?void 0:n.props),o}return sX(r,[{key:"toDataBindModel",value:function(o){var i=ja(sr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ue);fr(yr,"controlType","timestamp-column"),fr(yr,"controlName","\u65E5\u671F"),fr(yr,"controlIcon","timestamp-column"),fr(yr,"controlFieldType",h.TIMESTAMP),fr(yr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function Q$(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 Nh(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 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&&kh(e,t)}function mX(e,t){return t&&(OX(t)==="object"||typeof t=="function")?t:Q$(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var OX=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 PX(e){var t=wX();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 mX(this,o)}}var J$=function(e){gX(r,e);var t=PX(r);function r(n){bX(this,r);var o;return o=t.call(this,n),Nh(Q$(o),"props",void 0),o.props=new Ah(n==null?void 0:n.props),o}return r}(ce);Nh(J$,"controlType","timestamp-column"),Nh(J$,"controlFieldType",h.TIMESTAMP);function Fa(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 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 Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(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&&Dh(e,t)}function RX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:Fa(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}var $X=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eS(e){var t=SX();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 RX(this,o)}}var EX=function(e){Y$(r,e);var t=eS(r);function r(n){return Z$(this,r),t.call(this,n)}return r}(Ng),jh=function(e){Y$(r,e);var t=eS(r);function r(n){Z$(this,r);var o;o=t.call(this,n),Ma(Fa(o),"optionConfig",void 0),Ma(Fa(o),"datasourceBind",void 0),Ma(Fa(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:dr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Z(n==null?void 0:n.datasourceBind);var c;return o.options=ct((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return r}(G);Ma(jh,"Rules",EX);function tS(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 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 za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function IX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function BX(e,t){return t&&(CX(t)==="object"||typeof t=="function")?t:tS(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}var CX=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 xX(e){var t=AX();return function(){var n=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BX(this,o)}}var dr=function(e){IX(r,e);var t=xX(r);function r(n){TX(this,r);var o;return o=t.call(this,n),pr(tS(o),"props",void 0),o.props=new jh(n==null?void 0:n.props),o}return r}(ue);pr(dr,"controlType","array-column"),pr(dr,"controlName","\u6570\u7EC4"),pr(dr,"controlIcon","array-column"),pr(dr,"controlFieldType",h.ARRAY),pr(dr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 nS(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 Fh(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 kX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function DX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:nS(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var jX=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=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DX(this,o)}}var rS=function(e){kX(r,e);var t=FX(r);function r(n){NX(this,r);var o;return o=t.call(this,n),Fh(nS(o),"props",void 0),o.props=new jh(n==null?void 0:n.props),o}return r}(ce);Fh(rS,"controlType","array-column"),Fh(rS,"controlFieldType",h.ARRAY);function oS(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 VX(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 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&&Vh(e,t)}function HX(e,t){return t&&(qX(t)==="object"||typeof t=="function")?t:oS(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}var qX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WX(e){var t=UX();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HX(this,o)}}var iS=function(e){zX(r,e);var t=WX(r);function r(n){MX(this,r);var o;o=t.call(this,n),VX(oS(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hr.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(G);function uS(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 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 GX(e,t,r){return t&&cS(e.prototype,t),r&&cS(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 Ua(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ua=Reflect.get:Ua=function(o,i,u){var c=JX(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Ua(e,t,r||e)}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(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&&zh(e,t)}function QX(e,t){return t&&(ZX(t)==="object"||typeof t=="function")?t:uS(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}function JX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_r(e),e!==null););return e}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 eQ(e){var t=YX();return function(){var n=_r(e),o;if(t){var i=_r(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QX(this,o)}}var hr=function(e){XX(r,e);var t=eQ(r);function r(n){KX(this,r);var o;return o=t.call(this,n),vr(uS(o),"props",void 0),o.props=new iS(n==null?void 0:n.props),o}return GX(r,[{key:"toDataBindModel",value:function(o){var i=Ua(_r(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ue);vr(hr,"controlType","department-column"),vr(hr,"controlName","\u90E8\u95E8"),vr(hr,"controlIcon","department-column"),vr(hr,"controlFieldType",h.DEPARTMENTS),vr(hr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function lS(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 Hh(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 nQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function rQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:lS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}var oQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uQ(e){var t=iQ();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rQ(this,o)}}var aS=function(e){nQ(r,e);var t=uQ(r);function r(n){tQ(this,r);var o;return o=t.call(this,n),Hh(lS(o),"props",void 0),o.props=new iS(n==null?void 0:n.props),o}return r}(ce);Hh(aS,"controlType","department-column"),Hh(aS,"controlFieldType",h.DEPARTMENTS);function Ka(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uh(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 sS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cQ(e,t){return t&&(lQ(t)==="object"||typeof t=="function")?t:Ka(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var lQ=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 yS(e){var t=aQ();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 cQ(this,o)}}var fQ=function(e){sS(r,e);var t=yS(r);function r(n){fS(this,r);var o;return o=t.call(this,n),cn.call(Ka(o),n),o}return r}(lt),Kh=function(e){sS(r,e);var t=yS(r);function r(n){fS(this,r);var o;o=t.call(this,n),Uh(Ka(o),"showLinkOperation",void 0),Uh(Ka(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:gr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new tn(n==null?void 0:n.linkOperationOption),o}return r}(G);Uh(Kh,"Rules",fQ);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function yQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function pQ(e,t){return t&&(dQ(t)==="object"||typeof t=="function")?t:pS(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var dQ=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 _Q(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 pQ(this,o)}}var gr=function(e){yQ(r,e);var t=_Q(r);function r(n){sQ(this,r);var o;return o=t.call(this,n),br(pS(o),"props",void 0),o.props=new Kh(n==null?void 0:n.props),o}return r}(ue);br(gr,"controlType","auto-number-column"),br(gr,"controlName","\u81EA\u52A8\u7F16\u53F7"),br(gr,"controlIcon","auto-number-column"),br(gr,"controlFieldType",h.AUTO_NUMBER),br(gr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function dS(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 Xh(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 bQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:dS(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var mQ=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 wQ(e){var t=OQ();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 gQ(this,o)}}var vS=function(e){bQ(r,e);var t=wQ(r);function r(n){hQ(this,r);var o;return o=t.call(this,n),Xh(dS(o),"props",void 0),o.props=new Kh(n==null?void 0:n.props),o}return r}(ce);Xh(vS,"controlType","auto-number-column"),Xh(vS,"controlFieldType",h.AUTO_NUMBER);function PQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function $Q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function SQ(e,t){return t&&(EQ(t)==="object"||typeof t=="function")?t:PQ(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var EQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IQ(e){var t=TQ();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 SQ(this,o)}}var _S=function(e){$Q(r,e);var t=IQ(r);function r(n){RQ(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:Or.controlName,o}return r}(G);function hS(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 mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(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&&Zh(e,t)}function AQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:hS(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var xQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 kQ(e){var t=NQ();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AQ(this,o)}}var Or=function(e){CQ(r,e);var t=kQ(r);function r(n){BQ(this,r);var o;return o=t.call(this,n),mr(hS(o),"props",void 0),o.props=new _S(n==null?void 0:n.props),o}return r}(ue);mr(Or,"controlType","file-column"),mr(Or,"controlName","\u9644\u4EF6"),mr(Or,"controlIcon","file-column"),mr(Or,"controlFieldType",h.FILE),mr(Or,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",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 DQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yh(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 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&&eb(e,t)}function LQ(e,t){return t&&(FQ(t)==="object"||typeof t=="function")?t:bS(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}var FQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VQ(e){var t=MQ();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 LQ(this,o)}}var gS=function(e){jQ(r,e);var t=VQ(r);function r(n){DQ(this,r);var o;return o=t.call(this,n),Yh(bS(o),"props",void 0),o.props=new _S(n==null?void 0:n.props),o}return r}(ce);Yh(gS,"controlType","file-column"),Yh(gS,"controlFieldType",h.FILE);function zQ(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 ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&tb(e,t)}function UQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:zQ(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}var WQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GQ(e){var t=KQ();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 UQ(this,o)}}var mS=function(e){qQ(r,e);var t=GQ(r);function r(n){HQ(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:Pr.controlName,o}return r}(G);function OS(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 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 tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&nb(e,t)}function JQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:OS(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(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 eJ(e){var t=YQ();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 JQ(this,o)}}var Pr=function(e){QQ(r,e);var t=eJ(r);function r(n){XQ(this,r);var o;return o=t.call(this,n),wr(OS(o),"props",void 0),o.props=new mS(n==null?void 0:n.props),o}return r}(ue);wr(Pr,"controlType","image-column"),wr(Pr,"controlName","\u56FE\u7247"),wr(Pr,"controlIcon","image-column"),wr(Pr,"controlFieldType",h.IMAGE),wr(Pr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function wS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rb(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 nJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function rJ(e,t){return t&&(oJ(t)==="object"||typeof t=="function")?t:wS(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}var oJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uJ(e){var t=iJ();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 rJ(this,o)}}var PS=function(e){nJ(r,e);var t=uJ(r);function r(n){tJ(this,r);var o;return o=t.call(this,n),rb(wS(o),"props",void 0),o.props=new mS(n==null?void 0:n.props),o}return r}(ce);rb(PS,"controlType","image-column"),rb(PS,"controlFieldType",h.IMAGE);function cJ(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 rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(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&&ib(e,t)}function fJ(e,t){return t&&(sJ(t)==="object"||typeof t=="function")?t:cJ(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(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 pJ(e){var t=yJ();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 fJ(this,o)}}var RS=function(e){aJ(r,e);var t=pJ(r);function r(n){lJ(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:$r.controlName,o}return r}(G);function $S(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 Rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(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&&ub(e,t)}function _J(e,t){return t&&(hJ(t)==="object"||typeof t=="function")?t:$S(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}var hJ=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 gJ(e){var t=bJ();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 _J(this,o)}}var $r=function(e){vJ(r,e);var t=gJ(r);function r(n){dJ(this,r);var o;return o=t.call(this,n),Rr($S(o),"props",void 0),o.props=new RS(n==null?void 0:n.props),o}return r}(ue);Rr($r,"controlType","people-column"),Rr($r,"controlName","\u4EBA\u5458"),Rr($r,"controlIcon","people-column"),Rr($r,"controlFieldType",h.EMPLOYEES),Rr($r,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function SS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cb(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 OJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function wJ(e,t){return t&&(PJ(t)==="object"||typeof t=="function")?t:SS(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}var PJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $J(e){var t=RJ();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 wJ(this,o)}}var ES=function(e){OJ(r,e);var t=$J(r);function r(n){mJ(this,r);var o;return o=t.call(this,n),cb(SS(o),"props",void 0),o.props=new RS(n==null?void 0:n.props),o}return r}(ce);cb(ES,"controlType","people-column"),cb(ES,"controlFieldType",h.EMPLOYEES);function cf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(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 IS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SJ(e,t){return t&&(EJ(t)==="object"||typeof t=="function")?t:cf(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}var EJ=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 BS(e){var t=TJ();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 SJ(this,o)}}var IJ=function(e){IS(r,e);var t=BS(r);function r(n){TS(this,r);var o;return o=t.call(this,n),cn.call(cf(o),n),o}return r}(lt),sb=function(e){IS(r,e);var t=BS(r);function r(n){TS(this,r);var o;o=t.call(this,n),ab(cf(o),"showLinkOperation",void 0),ab(cf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Er.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new tn(n==null?void 0:n.linkOperationOption),o}return r}(G);ab(sb,"Rules",IJ);function CS(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 Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(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&&yb(e,t)}function AJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:CS(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}var xJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kJ(e){var t=NJ();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 AJ(this,o)}}var Er=function(e){CJ(r,e);var t=kJ(r);function r(n){BJ(this,r);var o;return o=t.call(this,n),Sr(CS(o),"props",void 0),o.props=new sb(n==null?void 0:n.props),o}return r}(ue);Sr(Er,"controlType","location-column"),Sr(Er,"controlName","\u5730\u5740"),Sr(Er,"controlIcon","location-column"),Sr(Er,"controlFieldType",h.ADDRESS),Sr(Er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function AS(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 pb(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 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&&db(e,t)}function LJ(e,t){return t&&(FJ(t)==="object"||typeof t=="function")?t:AS(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}var FJ=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 VJ(e){var t=MJ();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 LJ(this,o)}}var xS=function(e){jJ(r,e);var t=VJ(r);function r(n){DJ(this,r);var o;return o=t.call(this,n),pb(AS(o),"props",void 0),o.props=new sb(n==null?void 0:n.props),o}return r}(ce);pb(xS,"controlType","location-column"),pb(xS,"controlFieldType",h.ADDRESS);function NS(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 HJ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(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&&vb(e,t)}function UJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:NS(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(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 GJ(e){var t=KJ();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 UJ(this,o)}}var kS=function(e){qJ(r,e);var t=GJ(r);function r(n){zJ(this,r);var o;o=t.call(this,n),HJ(NS(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:gn.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(G);function Tr(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 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 QJ(e,t,r){return t&&DS(e.prototype,t),r&&DS(e,r),e}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 so(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?so=Reflect.get:so=function(o,i,u){var c=rZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},so(e,t,r||e)}function bn(e){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bn(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&&_b(e,t)}function ZJ(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function YJ(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){Ue(e,o,r[o])})}return e}function eZ(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 tZ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):eZ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function nZ(e,t){return t&&(oZ(t)==="object"||typeof t=="function")?t:Tr(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function rZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=bn(e),e!==null););return e}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 uZ(e){var t=iZ();return function(){var n=bn(e),o;if(t){var i=bn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nZ(this,o)}}var cZ=1,gn=function(t){JJ(n,t);var r=uZ(n);function n(o){XJ(this,n);var i;i=r.call(this,o),Ue(Tr(i),"excludes",void 0),Ue(Tr(i),"childrenMaxLength",void 0),Ue(Tr(i),"props",void 0),Ue(Tr(i),"children",void 0);var u=ZJ(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new kS(o==null?void 0:o.props),Bt(Tr(i),"children",o==null?void 0:o.children),i.excludes=St(c),i.childrenMaxLength=a,i}return QJ(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=so(bn(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}},{key:"toSchema",value:function(){var i=so(bn(n.prototype),"toSchema",this).call(this);return tZ(YJ({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ue);Ue(gn,"controlType","custom-column"),Ue(gn,"controlName","\u81EA\u5B9A\u4E49"),Ue(gn,"controlIcon","custom-column"),Ue(gn,"excludes",[]),Ue(gn,"childrenMaxLength",cZ),Ue(gn,"setting",[{key:"caption",showItems:[s.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 yf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hb(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 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 fZ(e,t){return t&&(sZ(t)==="object"||typeof t=="function")?t:yf(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 pZ(e){var t=yZ();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 fZ(this,o)}}var dZ=function(e){aZ(r,e);var t=pZ(r);function r(n){lZ(this,r);var o;return o=t.call(this,n),hb(yf(o),"props",void 0),hb(yf(o),"children",void 0),o.props=new kS(n==null?void 0:n.props),Bt(yf(o),"children",n==null?void 0:n.children),o}return r}(ce);hb(dZ,"controlType","custom-column");function jS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _Z(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 hZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gb(e,t)}function bZ(e,t){return t&&(gZ(t)==="object"||typeof t=="function")?t:jS(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}var gZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OZ(e){var t=mZ();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 bZ(this,o)}}var LS=function(e){hZ(r,e);var t=OZ(r);function r(n){vZ(this,r);var o;o=t.call(this,n),_Z(jS(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:mn.controlName;var u;return o.datasourceBind=new bo((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:mn.controlCustomAttributes}),o}return r}(G);function FS(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 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 PZ(e,t,r){return t&&MS(e.prototype,t),r&&MS(e,r),e}function Ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function RZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function $Z(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:FS(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(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 TZ(e){var t=EZ();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 $Z(this,o)}}var mn=function(e){RZ(r,e);var t=TZ(r);function r(n){wZ(this,r);var o;return o=t.call(this,n),Ir(FS(o),"props",void 0),o.props=new LS(n==null?void 0:n.props),o}return PZ(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ue);Ir(mn,"controlType","employee-column"),Ir(mn,"controlName","\u4EBA\u5458"),Ir(mn,"controlIcon","employee-column"),Ir(mn,"controlFieldType",h.EMPLOYEES),Ir(mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function VS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ob(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 BZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function CZ(e,t){return t&&(AZ(t)==="object"||typeof t=="function")?t:VS(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}var AZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NZ(e){var t=xZ();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 CZ(this,o)}}var zS=function(e){BZ(r,e);var t=NZ(r);function r(n){IZ(this,r);var o;return o=t.call(this,n),Ob(VS(o),"props",void 0),o.props=new LS(n==null?void 0:n.props),o}return r}(ce);Ob(zS,"controlType","employee-column"),Ob(zS,"controlFieldType",h.EMPLOYEES);function Jt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function qS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function kZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:Jt(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}var DZ=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 US(e){var t=jZ();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 kZ(this,o)}}var LZ=function(e){qS(r,e);var t=US(r);function r(n){HS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(rn),Rb=function(e){qS(r,e);var t=US(r);function r(n){HS(this,r);var o;o=t.call(this,n),Zt(Jt(o),"search",void 0),Zt(Jt(o),"cancel",void 0),Zt(Jt(o),"labelPosition",void 0),Zt(Jt(o),"viewType",void 0),Zt(Jt(o),"isLoading",void 0),Zt(Jt(o),"custom",void 0),Zt(Jt(o),"queryTypeMap",void 0);var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new Et((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new Et((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var f;o.custom=((f=n==null?void 0:n.custom)!==null&&f!==void 0?f:[]).map(function(d){return new Et(d)});var y;return o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[],o}return r}($s);Zt(Rb,"RuntimeRules",LZ);function WS(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 $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 bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(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&&Sb(e,t)}function VZ(e,t){return t&&(zZ(t)==="object"||typeof t=="function")?t:WS(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}var zZ=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=bf(e),o;if(t){var i=bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VZ(this,o)}}var KS=function(e){MZ(r,e);var t=qZ(r);function r(n){FZ(this,r);var o;return o=t.call(this,n),$b(WS(o),"props",void 0),o.props=new Rb(n==null?void 0:n.props),o}return r}(zx);$b(KS,"controlType","simple-search"),$b(KS,"setting",[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Eb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function WZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function KZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:Eb(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}var GZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QZ(e){var t=XZ();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KZ(this,o)}}var JZ=function(e){WZ(r,e);var t=QZ(r);function r(n){UZ(this,r);var o;o=t.call(this,n),Tb(Eb(o),"props",void 0),Tb(Eb(o),"children",void 0),o.props=new Rb(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}(Xx);Tb(JZ,"controlType","simple-search");const ZZ=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];fY(t==null?void 0:t.events),oY(n),iY(n);const o=rY(n),i=uY(o,t);let u=$n(we(i,c=>nY(c,t)));return r?u:u[0]},YZ=[p.DIVIDER,p.TEXT,p.TITLE,p.LINK,p.BUTTON,"list-btn-export-list","list-btn-export-record"],eY=["subtable","grid-table"],tY=["simple-search"];function nY(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":YZ.includes(r.type)?r.controlType="base":r.controlType="form",eY.includes(r.type)&&(r.controlType="list"),tY.includes(r.type)&&(r.controlType="search-view")),delete r.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),pe((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),pe((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),pe((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(pe(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(pe(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((l=r.children[0])==null?void 0:l.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((y,d)=>{const g=new sq.Designer;g.props.caption=pe(y.field_name)?y.field_name.zh:y.field_name;const O=g.toSchema();O.id=y.header_id;const m=r.children[0].children[d].children[0];return m&&(O.children=[m]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=pe(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(y=>{const d=new cR.Designer;d.props.span=f;const g=d.toSchema();return g.children.push(y),g})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1],d={};f&&(GS(r,t),d.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),y&&(d.unit=y.props.data_bind,r.props.default_value={unit:y.props.value}),r.props.dataBind=d,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1],d={},g={};f&&(GS(r,t),r.id=f.id,d.amount=f.props.data_bind,r.props.range_min=Rn(f.props.range_min),r.props.range_max=Rn(f.props.range_max),g.amount=Rn(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=pe(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),y&&(d.currency=y.props.data_bind,g.currency=y.props.value,r.props.datasourceBind=y.props.datasource_bind,r.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=d,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1];r.props.placeholderStart=pe(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=pe(e.props.caption)?e.props.caption.zh:e.props.caption;const d={};f&&(d.min=f.props.data_bind),y&&(d.max=y.props.data_bind),r.props.dataBind=d,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=pe(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Rn(e.props.range_min),r.props.range_max=Rn(e.props.range_max),r.props.defaultValue=Rn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),sY(r,t==null?void 0:t.control_events),r}function GS(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(l=>l===o),a=u.hide_controls.findIndex(l=>l===o);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function rY(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new OW.Designer().toSchema();return n.children=e,[n]}function oY(e){e.forEach(t=>{t.children&&aY(t.children)})}function iY(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function uY(e,t){var g,O,m,P,v,w,R,$;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;cY(i),c.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,lY(c,u);const a=(m=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?m:t==null?void 0:t.dataCode,l=((v=(P=n==null?void 0:n.source_config)==null?void 0:P.svc_code)!=null?v:a)?`${a}_selectMore`:void 0,f=(R=(w=n==null?void 0:n.source_config)==null?void 0:w.orders)!=null?R:[],y=new eW.Designer;y.props.datasourceBind=new Z({dataCode:a,svcCode:l,orders:s1(f)}),y.props.isShowSubList=n.is_show_sublist,y.props.triggerType=n.timing_type,y.props.triggerFieldCode=n.ctrl_field_code,($=n==null?void 0:n.sublist_page)==null||$.sublists.forEach(E=>{E.title=pe(E.title)?E.title.zh:E.title}),y.props.sublistPage=n.sublist_page;const d=y.toSchema();return d.children.push(i,c),[d]}function cY(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=pe(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function lY(e,t){e.children=t.children.filter(r=>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(r=>{var o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:pe(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=pe(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):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new Z({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function aY(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function fY(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function sY(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const yY=(e,t)=>{const r=Array.isArray(e);let o=$n(we(r?e:[e],i=>pY(i)));return r?o:o[0]};function pY(e,t){return e.type===p.LIST_VIEW&&e.children.find(n=>n.type===p.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new De({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const dY=(e,t)=>{const r=Array.isArray(e);let o=$n(we(r?e:[e],i=>vY(i)));return r?o:o[0]};function vY(e,t){return[p.BUTTON,p.CREATE_FORM_LIST_BUTTON,p.BATCH_SUBMISSION_LIST_BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.IMPORT_RECORD_LIST_BUTTON,p.EXPORT_RECORD_LIST_BUTTON,p.EXPORT_LIST_BUTTON,p.FORM_SELECT_BUTTON,p.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===p.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===p.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const _Y=(e,t)=>{const r=Array.isArray(e);let o=$n(we(r?e:[e],i=>hY(i)));return r?o:o[0]};function hY(e,t){if(e.props.icon){let 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}const bY=(e,t)=>{const r=Array.isArray(e);let o=$n(we(r?e:[e],i=>mY(i)));return r?o:o[0]},gY=[p.ROW,p.TAB,p.SUBTABLE,p.GRID_ROW,p.CARD_GROUP];function mY(e,t){return e.type===p.TAB_PANE&&(e.children=e.children.map(r=>{if(gY.includes(r.type))return r;const n=new jH.Designer,o=new cR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const OY=(e,t)=>{const r=Array.isArray(e);let o=$n(we(r?e:[e],i=>wY(i)));return r?o:o[0]};function wY(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===p.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const PY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>RY(i));return r?o:o[0]};function RY(e,t){return e.type===p.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const $Y=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>SY(i));return r?o:o[0]};function Yt(e,t){e.field_code&&(e.field_type=t)}function SY(e,t){var n;const r={[p.TITLE]:h.AUTO_NUMBER,[p.ADDRESS]:h.ADDRESS,[p.ATTACHMENT]:h.FILE,[p.AUTO_NUMBER]:h.AUTO_NUMBER,[p.CHECKBOX]:h.ARRAY,[p.DATE_PICKER]:h.TIMESTAMP,[p.DEPARTMENT]:h.DEPARTMENTS,[p.EMPLOYEE]:h.EMPLOYEES,[p.EMPLOYEE2]:h.EMPLOYEES,[p.IMAGE]:h.IMAGE,[p.INPUT]:h.VARCHAR,[p.NUMBER]:h.DECIMAL,[p.RADIO]:h.VARCHAR,[p.RICH_TEXT]:h.TEXT,[p.SCORE]:h.DECIMAL,[p.SELECT]:h.VARCHAR,[p.SELECT_MULTIPLE]:h.ARRAY,[p.SELECT_RELATION]:h.VARCHAR,[p.TEXTAREA]:h.TEXT,[p.TREE]:h.ARRAY,[p.SEARCH_DATE_RANGE]:h.ARRAY,[p.SEARCH_INPUT]:h.VARCHAR,[p.SEARCH_NUMBER_RANGE]:h.ARRAY};return r.hasOwnProperty(e.type)&&Yt(e.props.data_bind,r[e.type]),e.type===p.AMOUNT&&(Yt(e.props.data_bind.amount,h.DECIMAL),Yt(e.props.data_bind.currency,h.VARCHAR)),e.type===p.CALC&&(Yt(e.props.data_bind.result,h.DECIMAL),Yt(e.props.data_bind.unit,h.VARCHAR)),e.type===p.DATE_RANGE&&(Yt(e.props.data_bind.min,h.TIMESTAMP),Yt(e.props.data_bind.max,h.TIMESTAMP)),e.type===p.VUE_FORM_ITEM&&Yt(e.props.data_bind,(n=e.field_type)!=null?n:h.ANY),e}const EY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>TY(i));return r?o:o[0]};function TY(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===p.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const IY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>BY(i));return r?o:o[0]};function BY(e,t){return e.type===p.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[h.VARCHAR,h.TEXT,h.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const CY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>AY(i));return r?o:o[0]};function AY(e,t){return[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(r=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const xY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>NY(i));return r?o:o[0]};function NY(e,t){return[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(r=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const kY=(e,t)=>{const r=Array.isArray(e);let o=we(r?e:[e],i=>DY(i));return r?o:o[0]};function DY(e,t){return e.type===p.TITLE&&e.props.config.push(ft.ShowTitle),e.type===p.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,a,l,f,y,d,g,O,m,P,v,w,R,$,E,H,C,oe;if(r.type===p.OPERATION_COLUMN){if(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",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const T=new Qy.Designer;Object.defineProperty(T,"id",{value:"listPageCheckBtnId"}),T.props.code="view",T.props.icon="iconliulan1",T.props.command="view",T.props.content=(i=r.props)==null?void 0:i.check.content,T.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,T.props.openType=(c=r.props)==null?void 0:c.check.open_type,T.props.formKey=(a=r.props)==null?void 0:a.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(T.toSchema()),(f=r.props)==null||delete f.check}if(((y=r.props)==null?void 0:y.edit)!==void 0){const T=new Qy.Designer;Object.defineProperty(T,"id",{value:"listPageEditBtnId"}),T.props.code="edit",T.props.icon="iconbianji1",T.props.command="edit",T.props.content=(d=r.props)==null?void 0:d.edit.content,T.props.priorityProcess=(g=r.props)==null?void 0:g.edit.priority_process,T.props.openType=(O=r.props)==null?void 0:O.edit.open_type,T.props.formKey=(m=r.props)==null?void 0:m.edit.form_key,(P=r.props)!=null&&P.edit.is_show&&r.children.push(T.toSchema()),(v=r.props)==null||delete v.edit}if(((w=r.props)==null?void 0:w.delete)!==void 0){const T=new Qy.Designer;Object.defineProperty(T,"id",{value:"listPageDeleteBtnId"}),T.props.code="delete",T.props.icon="iconlajitong",T.props.command="delete",T.props.content=(R=r.props)==null?void 0:R.delete.content,T.props.priorityProcess=($=r.props)==null?void 0:$.delete.priority_process,T.props.openType=(E=r.props)==null?void 0:E.delete.open_type,T.props.formKey=(H=r.props)==null?void 0:H.delete.form_key,T.props.needConfirm=!0,T.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(C=r.props)!=null&&C.delete.is_show&&r.children.push(T.toSchema()),(oe=r.props)==null||delete oe.delete}}}),[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===p.SUBTABLE&&e.props.headers.forEach(r=>{[p.SELECT,p.SELECT_RELATION,p.SELECT_MULTIPLE,p.RADIO,p.CHECKBOX,p.TREE,p.DEPARTMENT2,p.EMPLOYEE2,p.DEPARTMENT,p.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 XS={"v1.0":ZZ,"v2.0":yY,"v2.1":dY,"v2.2":_Y,"v2.3":bY,"v2.4":OY,"v2.5":PY,"v2.6":$Y,"v2.7":EY,"v2.8":IY,"v2.9":CY,"v2.10":xY,"v3.0":kY,"v3.1":()=>{}};const QS=(e,t)=>{const r=JS(e),n=JS(t),o=r.pop(),i=n.pop(),u=eE(r,n);return u!==0?u:o&&i?eE(o.split("."),i.split(".")):o||i?o?-1:1:0},mf=(e,t,r)=>{MY(r);const n=QS(e,t);return tE[r].includes(n)},jY=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,JS=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(jY);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},ZS=e=>e==="*"||e==="x"||e==="X",YS=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},LY=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],FY=(e,t)=>{if(ZS(e)||ZS(t))return 0;const[r,n]=LY(YS(e),YS(t));return r>n?1:r<n?-1:0},eE=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=FY(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},tE={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},nE=Object.keys(tE),MY=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(nE.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${nE.join("|")}`)};function Bb(e){return e.replace(/^v/,"")}const Br=Object.keys(XS).map(e=>Bb(e)).sort(QS),yo=Br[Br.length-1];class VY{constructor(t,r=yo){this.schemaVersion=t,this.toVersion=r,mf(r,yo,">")?Dr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${yo}`):(!Br.includes(Bb(r))||!Br.includes(Bb(t)))&&Dr(`Version Builder: Please give me a valid version number, The valid version is: ${Br.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(mf(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var y;const a=(y=c[u+1])!=null?y:this.toVersion;_o(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=XS[i];let f=o;if(typeof l=="function"){const d=l(o,r);d&&(f=d)}return f},t);return _o(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return Br.filter(t=>mf(t,this.schemaVersion,">=")&&mf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return yo}static get version(){return yo}}wn.VersionBuilder=VY,Object.defineProperty(wn,"__esModule",{value:!0})});
|