@byteluck-fe/model-driven-upgrade 2.7.0-alpha.20 → 2.7.0-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(Tn,Vr){typeof exports=="object"&&typeof module!="undefined"?Vr(exports):typeof define=="function"&&define.amd?define(["exports"],Vr):(Tn=typeof globalThis!="undefined"?globalThis:Tn||self,Vr(Tn.modelDrivenUpgrade={}))})(this,function(Tn){"use strict";var Vr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",yT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",dT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",vT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",pT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",_T="{caption}\u5FC5\u586B",hT="\u8BF7\u8F93\u5165\u6807\u9898",bT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",gT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",mT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",OT="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",wT="\u8BF7\u7ED1\u5B9A\u8868\u5355",PT="\u8BF7\u7ED1\u5B9A\u5217\u8868",RT="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",$T="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ST="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ET="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",TT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",IT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",CT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",BT="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",AT="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",xT="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",NT="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",kT="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",DT="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",FT="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",jT="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",MT="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",LT="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",VT="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",zT="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",HT="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",qT="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",UT="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",WT="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",KT="\u8BF7\u7ED1\u5B9A\u670D\u52A1",GT="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",XT="\u8BF7\u9009\u62E9\u7701",JT="\u8BF7\u9009\u62E9\u5E02",QT="\u8BF7\u9009\u62E9\u533A",ZT="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",YT="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",eI="\u8BF7\u8F93\u5165\u5217\u5BBD",tI="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",nI="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",rI="\u8BF7\u9009\u62E9\u63A7\u4EF6",oI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",iI="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",uI="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",cI="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",lI="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",aI="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",sI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",yI="\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",pI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",_I="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",hI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",bI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",gI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",mI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",OI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",wI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",PI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",RI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",$I="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",SI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",EI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",TI="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",II="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",CI={isNotNumber:Vr,isNotString:yT,isNotObject:dT,isNotArray:vT,isNotBoolean:pT,runtimeRequired:_T,pleaseEnterCaption:hT,pleaseEnterCaptionTip:bT,pleaseEnterRowCaption:gT,pleaseEnterPlaceholder:mT,pleaseEnterFieldCode:OT,pleaseEnterForm:wT,pleaseEnterList:PT,pleaseEnterProcess:RT,pleaseEnterLabel:$T,pleaseEnterValue:ST,bizKeyNotBindFiled:ET,pleaseSelectOneField:TT,pleaseEnterNumberRange:IT,pleaseEnterAValueGreaterThanMin:CT,pleaseEnterAValueLessThanMax:BT,numberRangeSetError:AT,stringRangeError:xT,attachmentMaxSize:NT,pleaseEnterTotalScoreSetting:kT,theTotalScoreMustNotBeLessThan1:DT,scoreDefaultValueRange:FT,attachmentLimitError:jT,PleaseReselectTheOptionalQuantity:MT,TheMaximumLengthIsGreaterThanTheMinimumLength:LT,TheMinimumLengthIsGreaterThanTheMaximumLength:VT,PleaseSelectTheCorrectOptionSettings:zT,optionIdIsRepeat:HT,optionIsRequired:qT,pleaseEnterDataCode:UT,pleaseEnterValueFieldCode:WT,pleaseEnterSvcCode:KT,pleaseBindAtLeastOneDisplayValue:GT,pleaseSelectProvince:XT,pleaseSelectCity:JT,pleaseSelectDistrict:QT,limitRowsCannotBeLessThan0:ZT,TheNumberOfRowsCannotBeLessThanMinRows:YT,pleaseEnterColumnWidth:eI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:tI,pleaseCompleteAllRulesAndConditions:nI,pleaseSelectControl:rI,pleaseSelectAtLeastOneColumn:oI,pleaseSelectFillBackMode:iI,pleaseSelectDashboard:uI,rootNodeIsRequired:cI,theViewNameCannotBeEmpty:lI,pleaseSelectOcrType:aI,pleaseSelectAtLeastOneFieldToFillIn:fI,pleaseChooseAtLeastOne:sI,pleaseEnterButtonContent:yI,pleaseEnterDataCodeInDataSetting:dI,pleaseEnterValueFieldCodeInDataSetting:vI,pleaseEnterSvcCodeInDataSetting:pI,pleaseBindAtLeastOneDisplayValueInDataSetting:_I,rootNodeIsRequiredInDataSetting:hI,pleaseEnterMaxHeight:bI,pleaseEnter:gI,pleaseEnterWatermark:mI,pleaseEnterFileName:OI,pleaseUploadAtLeastOnePrintTemplate:wI,pleaseAssignBusiness:PI,pleaseAssignExternal:RI,pleaseEnterAliasCode:$I,pleaseSelectDataCode:SI,pleaseSelectSvcCode:EI,pleaseSelectJoinFieldCode:TI,pleaseSelectMainFieldCode:II},BI="Please enter a number",AI="Please enter a string",xI="Please enter an object",NI="Please enter an array",kI="Please enter a boolean",DI="{caption} Required",FI="Please enter the title",jI="Please enter the bubble prompt",MI="Please enter the row title",LI="Please enter the prompt text",VI="Please bind data items",zI="Please bind the form",HI="Please bind the list",qI="Please bind the process",UI="Please enter the displayed value",WI="Please enter the stored value",KI="The document number is not bound to the data item",GI="Please select at least one display field",XI="Please enter a value greater than or equal to {min} and less than or equal to {max}",JI="Please enter a value greater than or equal to {min}",QI="Please enter a value less than or equal to {max}",ZI="The value range is set incorrectly",YI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",e3="The attachment size must be between 0MB and 1000MB",t3="Please fill in the total score setting",n3="The total score cannot be less than 1",r3="The default value must be between {min} and {max}",o3="The number of attachments uploaded must be between {min} and {max}",i3="Please re-select the optional quantity",u3="The maximum length of the control must be greater than the minimum length",c3="The minimum length of the control must be less than the maximum length",l3="Please select the correct option setting",a3="Option ID cannot be repeated",f3="Please enter at least one option",s3="Please bind the data source",y3="Please bind the stored value",d3="Please bind the service",v3="At least one display value must be bound",p3="Please select a province",_3="Please select a city",h3="Please select a district",b3="The minimum number of lines to fill in cannot be less than 0",g3="The number of rows cannot be less than {min} rows",m3="Please enter the column width",O3="Please set the logical relationship of all rule conditions",w3="Please complete all rules and conditions",P3="please select control",R3="Please select the dashboard",$3="View name cannot be empty",S3="Please select recognition type",E3="Please select at least one field to fill in",T3="Please select at least one",I3="Please enter the button title",C3="Please bind the business model in the data settings",B3="Please bind storage values in data settings",A3="Please bind the service in the data settings",x3="Please bind at least one display value in the data settings",N3="Please select the root node in the data settings",k3="Please enter the maximum height",D3="The input content cannot be empty",F3="Watermark cannot be empty",j3="File name cannot be empty",M3="Please upload at least one printing template!\uFF01",L3="Please select a specific business department",V3="Please select a specified external organization",z3="Please enter a sub table alias",H3="Please select the associated table to set the business model",q3="Please select the association table to set the binding service",U3="Select associated sub table fields",W3="Please select the associated main table field",K3={isNotNumber:BI,isNotString:AI,isNotObject:xI,isNotArray:NI,isNotBoolean:kI,runtimeRequired:DI,pleaseEnterCaption:FI,pleaseEnterCaptionTip:jI,pleaseEnterRowCaption:MI,pleaseEnterPlaceholder:LI,pleaseEnterFieldCode:VI,pleaseEnterForm:zI,pleaseEnterList:HI,pleaseEnterProcess:qI,pleaseEnterLabel:UI,pleaseEnterValue:WI,bizKeyNotBindFiled:KI,pleaseSelectOneField:GI,pleaseEnterNumberRange:XI,pleaseEnterAValueGreaterThanMin:JI,pleaseEnterAValueLessThanMax:QI,numberRangeSetError:ZI,stringRangeError:YI,attachmentMaxSize:e3,pleaseEnterTotalScoreSetting:t3,theTotalScoreMustNotBeLessThan1:n3,scoreDefaultValueRange:r3,attachmentLimitError:o3,PleaseReselectTheOptionalQuantity:i3,TheMaximumLengthIsGreaterThanTheMinimumLength:u3,TheMinimumLengthIsGreaterThanTheMaximumLength:c3,PleaseSelectTheCorrectOptionSettings:l3,optionIdIsRepeat:a3,optionIsRequired:f3,pleaseEnterDataCode:s3,pleaseEnterValueFieldCode:y3,pleaseEnterSvcCode:d3,pleaseBindAtLeastOneDisplayValue:v3,pleaseSelectProvince:p3,pleaseSelectCity:_3,pleaseSelectDistrict:h3,limitRowsCannotBeLessThan0:b3,TheNumberOfRowsCannotBeLessThanMinRows:g3,pleaseEnterColumnWidth:m3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:O3,pleaseCompleteAllRulesAndConditions:w3,pleaseSelectControl:P3,pleaseSelectDashboard:R3,theViewNameCannotBeEmpty:$3,pleaseSelectOcrType:S3,pleaseSelectAtLeastOneFieldToFillIn:E3,pleaseChooseAtLeastOne:T3,pleaseEnterButtonContent:I3,pleaseEnterDataCodeInDataSetting:C3,pleaseEnterValueFieldCodeInDataSetting:B3,pleaseEnterSvcCodeInDataSetting:A3,pleaseBindAtLeastOneDisplayValueInDataSetting:x3,rootNodeIsRequiredInDataSetting:N3,pleaseEnterMaxHeight:k3,pleaseEnter:D3,pleaseEnterWatermark:F3,pleaseEnterFileName:j3,pleaseUploadAtLeastOnePrintTemplate:M3,pleaseAssignBusiness:L3,pleaseAssignExternal:V3,pleaseEnterAliasCode:z3,pleaseSelectDataCode:H3,pleaseSelectSvcCode:q3,pleaseSelectJoinFieldCode:U3,pleaseSelectMainFieldCode:W3},G3="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",X3="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",J3="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Q3="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Z3="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Y3="{caption}\u5FC5\u9808",eC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nC="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",iC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",sC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",dC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",_C="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",bC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",gC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",mC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",OC="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",PC="\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",RC="\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",$C="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",EC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",TC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",IC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",BC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",AC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",DC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",FC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",MC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",LC="please select control",VC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",HC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",UC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",WC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",KC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",GC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",XC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",JC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",QC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",eB="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",tB="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",nB="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",rB="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oB="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",iB="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uB="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",cB="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lB="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",aB="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fB={isNotNumber:G3,isNotString:X3,isNotObject:J3,isNotArray:Q3,isNotBoolean:Z3,runtimeRequired:Y3,pleaseEnterCaption:eC,pleaseEnterCaptionTip:tC,pleaseEnterRowCaption:nC,pleaseEnterPlaceholder:rC,pleaseEnterFieldCode:oC,pleaseEnterForm:iC,pleaseEnterList:uC,pleaseEnterProcess:cC,pleaseEnterLabel:lC,pleaseEnterValue:aC,bizKeyNotBindFiled:fC,pleaseSelectOneField:sC,pleaseEnterNumberRange:yC,pleaseEnterAValueGreaterThanMin:dC,pleaseEnterAValueLessThanMax:vC,numberRangeSetError:pC,stringRangeError:_C,attachmentMaxSize:hC,pleaseEnterTotalScoreSetting:bC,theTotalScoreMustNotBeLessThan1:gC,scoreDefaultValueRange:mC,attachmentLimitError:OC,PleaseReselectTheOptionalQuantity:wC,TheMaximumLengthIsGreaterThanTheMinimumLength:PC,TheMinimumLengthIsGreaterThanTheMaximumLength:RC,PleaseSelectTheCorrectOptionSettings:$C,optionIdIsRepeat:SC,optionIsRequired:EC,pleaseEnterDataCode:TC,pleaseEnterValueFieldCode:IC,pleaseEnterSvcCode:CC,pleaseBindAtLeastOneDisplayValue:BC,pleaseSelectProvince:AC,pleaseSelectCity:xC,pleaseSelectDistrict:NC,limitRowsCannotBeLessThan0:kC,TheNumberOfRowsCannotBeLessThanMinRows:DC,pleaseEnterColumnWidth:FC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jC,pleaseCompleteAllRulesAndConditions:MC,pleaseSelectControl:LC,pleaseSelectDashboard:VC,theViewNameCannotBeEmpty:zC,pleaseSelectOcrType:HC,pleaseSelectAtLeastOneFieldToFillIn:qC,pleaseChooseAtLeastOne:UC,pleaseEnterButtonContent:WC,pleaseEnterDataCodeInDataSetting:KC,pleaseEnterValueFieldCodeInDataSetting:GC,pleaseEnterSvcCodeInDataSetting:XC,pleaseBindAtLeastOneDisplayValueInDataSetting:JC,rootNodeIsRequiredInDataSetting:QC,pleaseEnterMaxHeight:ZC,pleaseEnter:YC,pleaseEnterWatermark:eB,pleaseEnterFileName:tB,pleaseUploadAtLeastOnePrintTemplate:nB,pleaseAssignBusiness:rB,pleaseAssignExternal:oB,pleaseEnterAliasCode:iB,pleaseSelectDataCode:uB,pleaseSelectSvcCode:cB,pleaseSelectJoinFieldCode:lB,pleaseSelectMainFieldCode:aB},sB={zhCN:CI,enUS:K3,jaJP:fB},E0;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(E0||(E0={}));var T0;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(T0||(T0={}));var yB="zh-CN";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}var In;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(In||(In={}));var d;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(d||(d={}));var m;(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"})(m||(m={}));var ge;ge={},Ne(ge,m.ARRAY,d.ARRAY_COLUMN),Ne(ge,m.AUTO_NUMBER,d.AUTO_NUMBER_COLUMN),Ne(ge,m.DECIMAL,d.DECIMAL_COLUMN),Ne(ge,m.DEPARTMENTS,d.DEPARTMENT_COLUMN),Ne(ge,m.FILE,d.FILE_COLUMN),Ne(ge,m.IMAGE,d.IMAGE_COLUMN),Ne(ge,m.ADDRESS,d.LOCATION_COLUMN),Ne(ge,m.EMPLOYEES,d.EMPLOYEE_COLUMN),Ne(ge,m.TEXT,d.TEXT_COLUMN),Ne(ge,m.TIMESCOPE,d.TIMESCOPE_COLUMN),Ne(ge,m.TIMESTAMP,d.TIMESTAMP_COLUMN),Ne(ge,m.VARCHAR,d.VARCHAR_COLUMN),Ne(ge,m.RELATION,d.VARCHAR_COLUMN);var Ft;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Ft||(Ft={}));var I0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",dB=I0+"0123456789";function mt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?I0:dB,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Gf(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 Gf(e)}function pB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _B(){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 Po(e,t,r){return _B()?Po=Reflect.construct:Po=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Hr(l,u.prototype),l},Po.apply(null,arguments)}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function B0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hr(e,t)}function hB(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gB(){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 mB(e,t){return t&&(OB(t)==="object"||typeof t=="function")?t:pB(e)}function Hr(e,t){return Hr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hr(e,t)}function A0(e){return vB(e)||bB(e)||wB(e)||gB()}var OB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wB(e,t){if(!!e){if(typeof e=="string")return Gf(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 Gf(e,t)}}function Xf(e){var t=typeof Map=="function"?new Map:void 0;return Xf=function(n){if(n===null||!hB(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 Po(n,arguments,zr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Hr(o,n)},Xf(e)}function PB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x0(e){var t=PB();return function(){var n=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mB(this,o)}}var Jf=console;function Qf(){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=Jf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(A0(o)))}function Ro(){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=Jf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(A0(o)))}function RB(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Zf=function(e){B0(r,e);var t=x0(r);function r(n){C0(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?RB(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Xf(Error)),$B=function(e){B0(r,e);var t=x0(r);function r(n){C0(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Zf);function qr(e){throw new Zf(e)}function N0(e){throw new $B(e)}function SB(e){Jf.error(new Zf(e))}var EB=Object.prototype.toString;function k0(e,t){return EB.call(e)==="[object "+t+"]"}function TB(e){return k0(e,"String")}function IB(e){return k0(e,"Promise")}var CB=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();IB(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&&!TB(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 BB(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 AB(e,t,r){return t&&D0(e.prototype,t),r&&D0(e,r),e}function xB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(){function e(){BB(this,e)}return AB(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]:yB;return new CB({locale:r,messages:sB})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();xB(p,"$i18n",p.resetI18n());function NB(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)){Qf("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 kB=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Yf={exports:{}};(function(e){(function(t){var r=function(_,P,R){if(!l(P)||y(P)||v(P)||h(P)||a(P))return P;var $,E=0,j=0;if(f(P))for($=[],j=P.length;E<j;E++)$.push(r(_,P[E],R));else{$={};for(var A in P)Object.prototype.hasOwnProperty.call(P,A)&&($[_(A,R)]=r(_,P[A],R))}return $},n=function(_,P){P=P||{};var R=P.separator||"_",$=P.split||/(?=[A-Z])/;return _.split($).join(R)},o=function(_){return O(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(P,R){return R?R.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},i=function(_){var P=o(_);return P.substr(0,1).toUpperCase()+P.substr(1)},u=function(_,P){return n(_,P).toLowerCase()},c=Object.prototype.toString,a=function(_){return typeof _=="function"},l=function(_){return _===Object(_)},f=function(_){return c.call(_)=="[object Array]"},y=function(_){return c.call(_)=="[object Date]"},v=function(_){return c.call(_)=="[object RegExp]"},h=function(_){return c.call(_)=="[object Boolean]"},O=function(_){return _=_-0,_===_},b=function(_,P){var R=P&&"process"in P?P.process:P;return typeof R!="function"?_:function($,E){return R($,_,E)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(_,P){return r(b(o,P),_)},decamelizeKeys:function(_,P){return r(b(u,P),_,P)},pascalizeKeys:function(_,P){return r(b(i,P),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(kB)})(Yf);var F0={};Object.defineProperty(F0,"__esModule",{value:!0});function es(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:es(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:es(n)}return t}}var DB=F0.default=es;function jt(e){if(e!==void 0)return typeof e=="object"?DB(e):e}function me(e){return j0(e)&&"zh"in e}function j0(e){return Object.prototype.toString.call(e)==="[object Object]"}function ts(e){return Array.isArray(e)}function Cn(e){return isNaN(parseFloat(e))?"":Number(e)}function FB(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function Oe(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=Oe(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=Oe(n.footers,t)),t(o)})),r}function jB(e){return Yf.exports.camelizeKeys(e)}function Bn(e){return Yf.exports.decamelizeKeys(e)}function ns(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 MB(e){if(Array.isArray(e))return ns(e)}function M0(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 LB(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){M0(i,n,o,u,c,"next",a)}function c(a){M0(i,n,o,u,c,"throw",a)}u(void 0)})}}function VB(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 zB(e,t,r){return t&&L0(e.prototype,t),r&&L0(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 HB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qB(){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 rs(e){return MB(e)||HB(e)||UB(e)||qB()}function UB(e,t){if(!!e){if(typeof e=="string")return ns(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 ns(e,t)}}var WB=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}}},KB=function(){function e(){VB(this,e),V0(this,"_events",new Map),V0(this,"debug",!1)}return zB(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 LB(function(){var c,a,l,f,y,v,h,O,b,w,_,P;return WB(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,v=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),h=l[Symbol.iterator](),R.label=2;case 2:if(f=(O=h.next()).done)return[3,7];if(b=O.value,!c.includes(b))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),u.debug&&Ro.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(rs(o))),[4,b.apply(null,rs(o))];case 4:return w=R.sent(),u.debug&&Ro.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(rs(o),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return _=R.sent(),SB(String(_)+":"+String(_.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return P=R.sent(),y=!0,v=P,[3,10];case 9:try{!f&&h.return!=null&&h.return()}finally{if(y)throw v}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function GB(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 XB(e,t,r){return t&&z0(e.prototype,t),r&&z0(e,r),e}function JB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var QB=[{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"}],ZB=function(){function e(){GB(this,e)}return XB(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}();JB(ZB,"events",QB);function YB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e1(e,t,r){return t&&H0(e.prototype,t),r&&H0(e,r),e}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var q0=[],os=function(){function e(t){YB(this,e),an(this,"registeredControlTypes",new Set),an(this,"controlConfigMap",new Map),an(this,"_controls",[]),an(this,"_type",void 0),this._type=t,this._initControls(t)}return 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__||qr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Qf("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===In.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===In.FORM}},{key:"isListControl",value:function(r){return r.controlType===In.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===In.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(f){return o.createControl(f,n)});if(r.children&&(r.children=r.children.map(function(f){return o.createControl(f,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(f){return o.createControl(f,n)})),i.footers&&(i.footers=i.footers.map(function(f){var y;return f&&(y=o.createControl(f,n)),y}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var a=n(c);a&&(c=a)}var l=new u(c);return l}else qr("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__)&&qr("".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&&(Qf("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();an(os,"staticControls",q0),an(os,"staticRegisteredTypes",new Set(q0.map(function(e){return e.Designer.controlType}))),an(os,"staticRegisteredConfigs",new Map);function F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(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 $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(e)}function Xe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t1(e,t){return t&&(n1(t)==="object"||typeof t=="function")?t:F(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}var n1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Je(e){var t=r1();return function(){var n=$o(e),o;if(t){var i=$o(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t1(this,o)}}var Qe=function e(t){S(this,e),g(this,"dataCode",void 0),g(this,"fieldCode",void 0),g(this,"fieldType",void 0),g(this,"aliasCode",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:"",this.aliasCode=t==null?void 0:t.aliasCode},U0=function e(t){S(this,e),g(this,"minWidth",void 0),g(this,"maxWidth",void 0),g(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},us=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"width",void 0),g(F(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}(U0),o1=function e(t){S(this,e),g(this,"pc",void 0),g(this,"mobile",void 0),this.pc=new us(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new us(t==null?void 0:t.mobile):new us({width:130,minWidth:180})},i1=function e(t){S(this,e),g(this,"type",void 0),g(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:[]},An=function e(t){S(this,e),g(this,"dataCode",void 0),g(this,"formKey",void 0),g(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:""},u1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(An),W0=function e(t){S(this,e),g(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},cs=function e(t){S(this,e);var r;g(this,"appId",void 0),g(this,"formKey",void 0),g(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 W0(u)}))!==null&&i!==void 0?i:[]},c1=function e(t){S(this,e),g(this,"fieldName",void 0),g(this,"fieldCode",void 0),g(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:m.VARCHAR},l1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"title",void 0),g(F(o),"svcCode",void 0),g(F(o),"isOpenFilter",void 0),g(F(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}(An),a1=function e(t){S(this,e);var r,n;g(this,"type","sublist-page"),g(this,"formBind",void 0),g(this,"displayFields",void 0),g(this,"sublists",void 0),this.formBind=new An(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 c1(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 l1(u)}))!==null&&i!==void 0?i:[]},f1=function e(t){S(this,e),g(this,"type",void 0),g(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Ur=function e(t){S(this,e),g(this,"type",void 0),g(this,"value",void 0),g(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:[]},K0=function e(t){var r=this;S(this,e),g(this,"id",void 0),g(this,"ruleId",void 0),g(this,"type","conditions"),g(this,"level",void 0),g(this,"value",void 0),g(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:mt();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 ls(c);(f=r.children)===null||f===void 0||f.push(y)}}))},ls=function e(t){S(this,e),g(this,"id",void 0),g(this,"ruleId",void 0),g(this,"type","condition"),g(this,"symbol",void 0),g(this,"checked",void 0),g(this,"describe",void 0),g(this,"leftVariableBo",void 0),g(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:mt();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 f1(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Ur(t==null?void 0:t.rightVariableBo)},s1=function e(t){S(this,e),g(this,"aliasCode",void 0),g(this,"datasourceBind",void 0),g(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new ee(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},$e=function e(t){S(this,e),g(this,"controlId",void 0),g(this,"fieldCode",void 0),g(this,"fieldType",void 0),g(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:""},as=function e(t){S(this,e),g(this,"type",void 0),g(this,"value",void 0),g(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},y1=function e(t){S(this,e),g(this,"columnName",void 0),g(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 fs(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new K0(c):new ls(c)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new K0(c):new ls(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(c){return new y1(c)}))!==null&&u!==void 0?u:[]}var ee=function e(t){var r=this;S(this,e),g(this,"dataCode",void 0),g(this,"valueFieldCode",void 0),g(this,"displayBoList",void 0),g(this,"keywordMapping",void 0),g(this,"svcCode",void 0),g(this,"appId",void 0),g(this,"filters",void 0),g(this,"viewFilters",void 0),g(this,"isOpenViewFilters",void 0),g(this,"orders",void 0),g(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=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(f){var y;(y=r.displayBoList)===null||y===void 0||y.push(new as(f))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=t==null?void 0:t.svcCode)!==null&&l!==void 0?l:"",fs.call(this,t)},ss=function e(t){S(this,e),g(this,"dataCode",void 0),g(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Mt=function e(t){S(this,e),g(this,"code",void 0),g(this,"color",void 0),g(this,"command",void 0),g(this,"confirmMessage",void 0),g(this,"defaultState",void 0),g(this,"formKey",void 0),g(this,"icon",void 0),g(this,"needConfirm",void 0),g(this,"openType",void 0),g(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},G0=function e(t){S(this,e);var r;g(this,"name",void 0),g(this,"key",void 0),g(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 as(u)}))!==null&&i!==void 0?i:[]},So=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o,i;o=t.call(this,n),g(F(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 G0(c)}))!==null&&u!==void 0?u:[],o}return r}(ee),d1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o,i;o=t.call(this,n),g(F(o),"attributes",void 0),g(F(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(a){return new G0(a)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(ee),X0=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"rootNode",void 0),g(F(o),"filterCode",void 0),o.rootNode=new Ur(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(So),J0=function e(t){S(this,e);var r;g(this,"dataCode",void 0),g(this,"appId",void 0),g(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 $e(u)}))!==null&&i!==void 0?i:[]},Q0=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this,n),g(F(o),"filters",void 0),g(F(o),"viewFilters",void 0),g(F(o),"orders",void 0),fs.call(F(o),n),o}return r}(J0),Z0=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"mode",void 0),g(F(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}(J0),Y0=function e(t){S(this,e),g(this,"stencilName",void 0),g(this,"expression",void 0),g(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),g(this,"id",void 0),g(this,"label",void 0),g(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:mt(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 Ot(e){var t;return(t=e==null?void 0:e.map(function(r){return new v1(r)}))!==null&&t!==void 0?t:[]}var ys=function e(){S(this,e)},p1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),g(F(o),"amount",void 0),g(F(o),"currency",void 0),o.amount=new Qe(n==null?void 0:n.amount),o.currency=new Qe(n==null?void 0:n.currency),o}return r}(ys),_1=function e(t){S(this,e),g(this,"amount",void 0),g(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:Eo.CNY},h1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),g(F(o),"min",void 0),g(F(o),"max",void 0),o.min=new Qe(n==null?void 0:n.min),o.max=new Qe(n==null?void 0:n.max),o}return r}(ys),b1=function e(t){S(this,e),g(this,"min",void 0),g(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:""},g1=function e(t){S(this,e),g(this,"city",void 0),g(this,"cityDisplay",void 0),g(this,"district",void 0),g(this,"districtDisplay",void 0),g(this,"province",void 0),g(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:""},m1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),g(F(o),"result",void 0),g(F(o),"unit",void 0),o.result=new Qe(n==null?void 0:n.result),o.unit=new Qe(n==null?void 0:n.unit),o}return r}(ys),O1=function e(t){S(this,e),g(this,"result",void 0),g(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:""},Eo;(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"})(Eo||(Eo={}));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.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"})(s||(s={}));var ds;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(ds||(ds={}));var Lt=function e(t){S(this,e),g(this,"isShow",void 0),g(this,"priorityProcess",void 0),g(this,"formKey",void 0),g(this,"content",void 0),g(this,"openType",void 0),g(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},w1=function e(t){S(this,e);var r;g(this,"id",void 0),g(this,"title",void 0),g(this,"filters",void 0),g(this,"viewFilters",void 0),g(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:mt(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 W0(u)}))!==null&&i!==void 0?i:[],fs.call(this,t)},P1=function e(t){S(this,e),g(this,"width",void 0),g(this,"height",void 0),g(this,"widthConfig",void 0),g(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"},R1=function e(t){S(this,e),g(this,"optCode",void 0),g(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""};function $1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S1(){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 To(e,t,r){return S1()?To=Reflect.construct:To=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},To.apply(null,arguments)}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 Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function E1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kr(e,t)}function T1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function I1(e,t){return t&&(C1(t)==="object"||typeof t=="function")?t:$1(e)}function Kr(e,t){return Kr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kr(e,t)}var C1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ps(e){var t=typeof Map=="function"?new Map:void 0;return ps=function(n){if(n===null||!T1(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 To(n,arguments,Wr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Kr(o,n)},ps(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 A1(e){var t=B1();return function(){var n=Wr(e),o;if(t){var i=Wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I1(this,o)}}var Z=function e(t){vs(this,e),fn(this,"isHide",{type:"boolean"})},sn=function(e){E1(r,e);var t=A1(r);function r(n){return vs(this,r),t.call(this)}return r}(ps(Array)),te=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";vs(this,e),fn(this,"isHide",void 0),fn(this,"className",void 0),fn(this,"style",void 0),fn(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new P1(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};fn(te,"Rules",Z),fn(te,"RuntimeRules",sn);function lt(){return lt=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},lt.apply(this,arguments)}function x1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function Io(e,t){return Io=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Io(e,t)}function N1(){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 Co(e,t,r){return N1()?Co=Reflect.construct:Co=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Io(l,u.prototype),l},Co.apply(null,arguments)}function k1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function hs(e){var t=typeof Map=="function"?new Map:void 0;return hs=function(n){if(n===null||!k1(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 Co(n,arguments,_s(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Io(o,n)},hs(e)}var D1=/%[sdj%]/g,eg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(eg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function bs(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 ke(){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(D1,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 F1(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Y(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||F1(t)&&typeof e=="string"&&!e)}function j1(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 tg(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 M1(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var ng=function(e){x1(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}(hs(Error));function L1(e,t,r,n){if(t.first){var o=new Promise(function(y,v){var h=function(w){return n(w),w.length?v(new ng(w,bs(w))):y()},O=M1(e);tg(O,r,h)});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,v){var h=function(b){if(l.push.apply(l,b),a++,a===c)return n(l),l.length?v(new ng(l,bs(l))):y()};u.length||(n(l),y()),u.forEach(function(O){var b=e[O];i.indexOf(O)!==-1?tg(b,r,h):j1(b,r,h)})});return f.catch(function(y){return y}),f}function rg(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 og(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]=lt(lt({},e[r]),n):e[r]=n}}return e}function ig(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||Y(t,i||e.type))&&n.push(ke(o.messages.required,e.fullField))}function V1(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ke(o.messages.whitespace,e.fullField))}var gs={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},Gr={integer:function(t){return Gr.number(t)&&parseInt(t,10)===t},float:function(t){return Gr.number(t)&&!Gr.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"&&!Gr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(gs.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(gs.url)},hex:function(t){return typeof t=="string"&&!!t.match(gs.hex)}};function z1(e,t,r,n,o){if(e.required&&t===void 0){ig(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?Gr[u](t)||n.push(ke(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(ke(o.messages.types[u],e.fullField,e.type))}function H1(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",v=typeof t=="string",h=Array.isArray(t);if(y?f="number":v?f="string":h&&(f="array"),!f)return!1;h&&(l=t.length),v&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(ke(o.messages[f].len,e.fullField,e.len)):u&&!c&&l<e.min?n.push(ke(o.messages[f].min,e.fullField,e.min)):c&&!u&&l>e.max?n.push(ke(o.messages[f].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&n.push(ke(o.messages[f].range,e.fullField,e.min,e.max))}var xn="enum";function q1(e,t,r,n,o){e[xn]=Array.isArray(e[xn])?e[xn]:[],e[xn].indexOf(t)===-1&&n.push(ke(o.messages[xn],e.fullField,e[xn].join(", ")))}function U1(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(ke(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(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var x={required:ig,whitespace:V1,type:z1,range:H1,enum:q1,pattern:U1};function W1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t,"string")&&!e.required)return r();x.required(e,t,n,i,o,"string"),Y(t,"string")||(x.type(e,t,n,i,o),x.range(e,t,n,i,o),x.pattern(e,t,n,i,o),e.whitespace===!0&&x.whitespace(e,t,n,i,o))}r(i)}function K1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x.type(e,t,n,i,o)}r(i)}function G1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function X1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x.type(e,t,n,i,o)}r(i)}function J1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),Y(t)||x.type(e,t,n,i,o)}r(i)}function Q1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function Z1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function Y1(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();x.required(e,t,n,i,o,"array"),t!=null&&(x.type(e,t,n,i,o),x.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(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x.type(e,t,n,i,o)}r(i)}var tA="enum";function nA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x[tA](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(Y(t,"string")&&!e.required)return r();x.required(e,t,n,i,o),Y(t,"string")||x.pattern(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(Y(t,"date")&&!e.required)return r();if(x.required(e,t,n,i,o),!Y(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),x.type(e,c,n,i,o),c&&x.range(e,c.getTime(),n,i,o)}}r(i)}function iA(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;x.required(e,t,n,i,o,u),r(i)}function ms(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(Y(t,i)&&!e.required)return r();x.required(e,t,n,u,o,i),Y(t,i)||x.type(e,t,n,u,o)}r(u)}function uA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o)}r(i)}var Xr={string:W1,method:K1,number:G1,boolean:X1,regexp:J1,integer:Q1,float:Z1,array:Y1,object:eA,enum:nA,pattern:rA,date:oA,url:ms,hex:ms,email:ms,required:iA,any:uA};function Os(){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 ws=Os();function Vt(e){this.rules=null,this._messages=ws,this.define(e)}Vt.prototype={messages:function(t){return t&&(this._messages=og(Os(),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(b){var w,_=[],P={};function R($){if(Array.isArray($)){var E;_=(E=_).concat.apply(E,$)}else _.push($)}for(w=0;w<b.length;w++)R(b[w]);_.length?P=bs(_):(_=null,P=null),c(_,P)}if(u.messages){var l=this.messages();l===ws&&(l=Os()),og(l,u.messages),u.messages=l}else u.messages=this.messages();var f,y,v={},h=u.keys||Object.keys(this.rules);h.forEach(function(b){f=o.rules[b],y=i[b],f.forEach(function(w){var _=w;typeof _.transform=="function"&&(i===t&&(i=lt({},i)),y=i[b]=_.transform(y)),typeof _=="function"?_={validator:_}:_=lt({},_),_.validator=o.getValidationMethod(_),_.field=b,_.fullField=_.fullField||b,_.type=o.getType(_),_.validator&&(v[b]=v[b]||[],v[b].push({rule:_,value:y,source:i,field:b}))})});var O={};return L1(v,u,function(b,w){var _=b.rule,P=(_.type==="object"||_.type==="array")&&(typeof _.fields=="object"||typeof _.defaultField=="object");P=P&&(_.required||!_.required&&b.value),_.field=b.field;function R(j,A){return lt(lt({},A),{},{fullField:_.fullField+"."+j})}function $(j){j===void 0&&(j=[]);var A=j;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&Vt.warning("async-validator:",A),A.length&&_.message!==void 0&&(A=[].concat(_.message)),A=A.map(rg(_)),u.first&&A.length)return O[_.field]=1,w(A);if(!P)w(A);else{if(_.required&&!b.value)return _.message!==void 0?A=[].concat(_.message).map(rg(_)):u.error&&(A=[u.error(_,ke(u.messages.required,_.field))]),w(A);var W={};if(_.defaultField)for(var I in b.value)b.value.hasOwnProperty(I)&&(W[I]=_.defaultField);W=lt(lt({},W),b.rule.fields);for(var bt in W)if(W.hasOwnProperty(bt)){var wo=Array.isArray(W[bt])?W[bt]:[W[bt]];W[bt]=wo.map(R.bind(null,bt))}var Lr=new Vt(W);Lr.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Lr.validate(b.value,b.rule.options||u,function(En){var gt=[];A&&A.length&>.push.apply(gt,A),En&&En.length&>.push.apply(gt,En),w(gt.length?gt:null)})}}var E;_.asyncValidator?E=_.asyncValidator(_,b.value,$,b.source,u):_.validator&&(E=_.validator(_,b.value,$,b.source,u),E===!0?$():E===!1?$(_.message||_.field+" fails"):E instanceof Array?$(E):E instanceof Error&&$(E.message)),E&&E.then&&E.then(function(){return $()},function(j){return $(j)})},function(b){a(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Xr.hasOwnProperty(t.type))throw new Error(ke("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"?Xr.required:Xr[this.getType(t)]||!1}},Vt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Xr[t]=r},Vt.warning=eg,Vt.messages=ws,Vt.validators=Xr;var cA={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 lA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Vt(e);return r.messages(Object.assign(cA,t)),r}var aA=new KB;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 fA(e){if(Array.isArray(e))return e}function sA(e){if(Array.isArray(e))return Ps(e)}function ug(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 cg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){ug(i,n,o,u,c,"next",a)}function c(a){ug(i,n,o,u,c,"throw",a)}u(void 0)})}}function yA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dA(e,t,r){return t&&lg(e.prototype,t),r&&lg(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 ag(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function fg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vA(){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 pA(){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 sg(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){M(e,o,r[o])})}return e}function _A(e){return fA(e)||fg(e)||yg(e)||vA()}function Rs(e){return sA(e)||fg(e)||yg(e)||pA()}function yg(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)}}var dg=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;yA(this,t),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",pg),M(this,"removeSetting",vg),this._callControlHooks("preInstance",r);var o=ag(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,v=o.setting;i&&u&&c||N0("The ".concat(y," controlName,controlIcon,controlType is not define"));var h;this.id=(h=r==null?void 0:r.id)!==null&&h!==void 0?h:mt(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 te(r==null?void 0:r.props,(ag(this,t)?this.constructor:void 0).controlName);var b;this.controlType=(b=r==null?void 0:r.controlType)!==null&&b!==void 0?b:"base",this.setting=jt(v);var w;this.fieldType=(w=r==null?void 0:r.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=jt(l),this.customEvents=jt(f),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return dA(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=_A(o),a=c[0],l=c.slice(1);return(u=aA).emit.apply(u,[a,this].concat(Rs(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),NB(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return cg(function(){var o,i,u;return dg(this,function(c){switch(c.label){case 0:return o=sg({},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 cg(function(){var u,c,a,l;return dg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:sg({},i.rules),Array.isArray(o)&&o.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),a=lA(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,v=c.required,h=c.maxLength,O=c.options,b=c.encrypted,w=c.encryptedMode;if(!(!o&&!a&&!l)){var _={parentId:n,fieldType:o,controlId:i,caption:y,type:u,props:{}};switch(a&&(_.dataBind=a),f){case"datasource":case void 0:l&&(_.datasourceBind=l);break;case"custom":_.props.options=O;break}return v!==void 0&&(_.required=v),h!==void 0&&(_.maxLength=h),b!==void 0&&(_.encrypted=b),w!==void 0&&(_.encryptedMode=w),_}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:jt(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,Rs(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",vg),M(L,"updateSettingItem",pg);function vg(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(l){return l.key===(i?n.key:n)});if(u!==-1){var c,a;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!n.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function pg(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,Rs(t.showItems))}}}})}function hA(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 bA(e,t,r){return t&&_g(e.prototype,t),r&&_g(e,r),e}function Le(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,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var zt=function(){function t(r){hA(this,t),Le(this,"id",void 0),Le(this,"type",void 0),Le(this,"controlType",void 0),Le(this,"props",void 0),Le(this,"fieldType",void 0),Le(this,"customEvents",[]),Le(this,"pageStatus",void 0),Le(this,"parent",null);var n=gA(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||N0("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:mt(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new te(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 v;this.pageStatus=(v=r==null?void 0:r.pageStatus)!==null&&v!==void 0?v:ds.UNKNOWN}return bA(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}();Le(zt,"controlType","control"),Le(zt,"controlFieldType",void 0),Le(zt,"__is_control__",!0),Le(zt,"controlCustomEvents",[]);function $s(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(p.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=FB(i);i.length!==u.length?o(p.getMessage("optionIdIsRepeat")):o()},message:p.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(p.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function Bo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function mA(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function V(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 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 xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(e)}function No(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OA(e,t){return t&&(wA(t)==="object"||typeof t=="function")?t:V(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(e,t)}var wA=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 ko(e){var t=PA();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 OA(this,o)}}var de=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;o=t.call(this,n),z(V(o),"dataBind",{}),z(V(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),z(V(o),"isHideCaption",{type:"boolean"}),z(V(o),"labelPosition",{type:"enum",enum:["top","left"]}),z(V(o),"defaultState",{type:"enum",enum:["default","readonly"]}),z(V(o),"required",{type:"boolean"}),z(V(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(mA(n.dataBind))o.dataBind={type:"object",required:!0,fields:jt(i),message:p.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:jt(i),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),H=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(sn),N=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;o=t.call(this,n),z(V(o),"caption",void 0),z(V(o),"isHideCaption",void 0),z(V(o),"isShowCaptionTip",void 0),z(V(o),"captionTip",void 0),z(V(o),"labelPosition",void 0),z(V(o),"dataBind",void 0),z(V(o),"defaultValue",void 0),z(V(o),"placeholder",void 0),z(V(o),"defaultState",void 0),z(V(o),"required",void 0),z(V(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 v;o.required=(v=n==null?void 0:n.required)!==null&&v!==void 0?v:!1;var h;o.requiredMessage=(h=n==null?void 0:n.requiredMessage)!==null&&h!==void 0?h:"",o.dataBind=new Qe(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}(te);z(N,"Rules",de),z(N,"RuntimeRules",H);var Nn=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;return o=t.call(this,n),z(V(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),z(V(o),"options",[{type:"array",message:p.getMessage("isNotArray")}]),z(V(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),$s.call(V(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 RA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Do(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 $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&&Ts(e,t)}function SA(e,t){return t&&(EA(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 EA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IA(e){var t=TA();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 SA(this,o)}}var k=function(e){$A(r,e);var t=IA(r);function r(n){RA(this,r);var o;return o=t.call(this,n),Do(Es(o),"controlType","form"),Do(Es(o),"props",void 0),o.props=new N(n==null?void 0:n.props),o}return r}(L);Do(k,"controlEventKeys",["on_change","on_focus","on_blur"]),Do(k,"controlCustomAttributes",void 0);function jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(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&&Cs(e,t)}function AA(e,t){return t&&(xA(t)==="object"||typeof t=="function")?t:jo(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}var xA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kA(e){var t=NA();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 AA(this,o)}}var D=function(e){BA(r,e);var t=kA(r);function r(n){CA(this,r);var o;return o=t.call(this,n),Is(jo(o),"controlType","form"),Is(jo(o),"props",void 0),Is(jo(o),"value",void 0),o.props=new N(n==null?void 0:n.props),o}return r}(zt);function DA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(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&&Bs(e,t)}function MA(e,t){return t&&(LA(t)==="object"||typeof t=="function")?t:DA(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}var LA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zA(e){var t=VA();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 MA(this,o)}}var oe=function(e){jA(r,e);var t=zA(r);function r(n){return FA(this,r),t.call(this,n)}return r}(te);function As(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 HA(e){if(Array.isArray(e))return As(e)}function qA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function UA(){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 hg(e){return HA(e)||qA(e)||WA(e)||UA()}function WA(e,t){if(!!e){if(typeof e=="string")return As(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 As(e,t)}}function KA(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function bg(e,t){e.parent=t,KA(e,"parent")}function GA(e,t){e.forEach(function(r){bg(r,t)})}var gg=Symbol("targetKey");function mg(e){var t;return(t=e[gg])!==null&&t!==void 0?t:e}function Og(e,t){return GA(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===gg?n:(a=Reflect).get.apply(a,[n,o].concat(hg(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(ts(e)&&o==="length"&&i===e.length)return!0;var f=(l=Reflect).set.apply(l,[n,o,i].concat(hg(c)));return j0(i)&&bg(i,t),f}})}function wt(e,t,r,n){var o=n!=null?n:e,i=Og(mg(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=Og(mg(c),o)},enumerable:!0})}function xs(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 XA(e){if(Array.isArray(e))return xs(e)}function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wg(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 JA(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){wg(i,n,o,u,c,"next",a)}function c(a){wg(i,n,o,u,c,"throw",a)}u(void 0)})}}function QA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZA(e,t,r){return t&&Pg(e.prototype,t),r&&Pg(e,r),e}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 kn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kn=Reflect.get:kn=function(o,i,u){var c=cx(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},kn(e,t,r||e)}function qt(e){return qt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qt(e)}function YA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}function ex(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function tx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nx(){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 rx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ht(e,o,r[o])})}return e}function ox(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 ix(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ox(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ux(e,t){return t&&(lx(t)==="object"||typeof t=="function")?t:yn(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}function cx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qt(e),e!==null););return e}function Rg(e){return XA(e)||tx(e)||ax(e)||nx()}var lx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ax(e,t){if(!!e){if(typeof e=="string")return xs(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 xs(e,t)}}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 sx(e){var t=fx();return function(){var n=qt(e),o;if(t){var i=qt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ux(this,o)}}var yx=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}}},dx=1e4,ie=function(t){YA(n,t);var r=sx(n);function n(o){QA(this,n);var i;i=r.call(this,o),Ht(yn(i),"controlType","layout"),Ht(yn(i),"children",void 0),Ht(yn(i),"excludes",void 0),Ht(yn(i),"childrenMaxLength",void 0),Ht(yn(i),"props",void 0);var u=ex(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new oe(o==null?void 0:o.props),wt(yn(i),"children",o==null?void 0:o.children),i.excludes=jt(c),i.childrenMaxLength=a,i}return ZA(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 kn(qt(n.prototype),"validate",c)};return JA(function(){return yx(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=kn(qt(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(v){return!!v});return Rg(a).concat(Rg(y))}return f&&a.push(f),a},c)}},{key:"toSchema",value:function(){var i=kn(qt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return ix(rx({},i),{children:u})}}]),n}(L);Ht(ie,"excludes",!1),Ht(ie,"childrenMaxLength",dx);function Jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function px(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ds(e,t)}function _x(e,t){return t&&(hx(t)==="object"||typeof t=="function")?t:Jr(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var hx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gx(e){var t=bx();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 _x(this,o)}}var dn=function(e){px(r,e);var t=gx(r);function r(n){vx(this,r);var o;return o=t.call(this,n),ks(Jr(o),"controlType","layout"),ks(Jr(o),"children",void 0),ks(Jr(o),"props",void 0),o.props=new oe(n==null?void 0:n.props),wt(Jr(o),"children",n==null?void 0:n.children),o}return r}(zt);function Qr(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 $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 zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zo(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&&Fs(e,t)}function wx(e,t){return t&&(Px(t)==="object"||typeof t=="function")?t:Qr(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}var Px=function(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 $x(e){var t=Rx();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 wx(this,o)}}var js=function(e){Ox(r,e);var t=$x(r);function r(n,o){mx(this,r);var i;return i=t.call(this,o),$g(Qr(i),"headers",void 0),$g(Qr(i),"footers",void 0),wt(Qr(i),"headers",o==null?void 0:o.headers,n),wt(Qr(i),"footers",o==null?void 0:o.footers,n),i}return r}(te);function Ms(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 Sx(e){if(Array.isArray(e))return Ms(e)}function Ho(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 Ex(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 Tx(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 Ix(e,t,r){return t&&Eg(e.prototype,t),r&&Eg(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 Dn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Dn=Reflect.get:Dn=function(o,i,u){var c=kx(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Dn(e,t,r||e)}function Ut(e){return Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ut(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&&Ls(e,t)}function Bx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ax(){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 Tg(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){qo(e,o,r[o])})}return e}function xx(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 Ig(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Nx(e,t){return t&&(Dx(t)==="object"||typeof t=="function")?t:Ho(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}function kx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ut(e),e!==null););return e}function Cg(e){return Sx(e)||Bx(e)||Fx(e)||Ax()}var Dx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fx(e,t){if(!!e){if(typeof e=="string")return Ms(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 Ms(e,t)}}function jx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mx(e){var t=jx();return function(){var n=Ut(e),o;if(t){var i=Ut(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nx(this,o)}}var Lx=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){Cx(r,e);var t=Mx(r);function r(n){Tx(this,r);var o;return o=t.call(this,n),qo(Ho(o),"controlType","list"),qo(Ho(o),"props",void 0),o.props=new js(Ho(o),n==null?void 0:n.props),o}return Ix(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Dn(Ut(r.prototype),"validate",u)};return Ex(function(){return Lx(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=Dn(Ut(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 Cg(c).concat(Cg(f))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o,i,u=Dn(Ut(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(l){return l.toSchema()}),a=(o=this.props)===null||o===void 0||(i=o.footers)===null||i===void 0?void 0:i.map(function(l){if(l)return l.toSchema()});return Ig(Tg({},u),{props:Ig(Tg({},this.props),{headers:c,footers:a})})}}]),r}(L);qo(Vs,"controlFieldType",m.LIST);function ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zs(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 Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(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&&qs(e,t)}function Vx(e,t){return t&&(zx(t)==="object"||typeof t=="function")?t:ue(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}var zx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Us(e){var t=Hx();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 Vx(this,o)}}var Pt=function(e){Hs(r,e);var t=Us(r);function r(n){zs(this,r);var o;return o=t.call(this,n),ve(ue(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ve(ue(o),"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Z),X=function(e){Hs(r,e);var t=Us(r);function r(n){zs(this,r);var o;o=t.call(this,n),ve(ue(o),"widthType",void 0),ve(ue(o),"width",void 0),ve(ue(o),"caption",void 0),ve(ue(o),"dataBind",void 0),ve(ue(o),"autoWidth",void 0),ve(ue(o),"fixed",void 0),ve(ue(o),"sort",void 0),ve(ue(o),"align",void 0),ve(ue(o),"colSpan",void 0),ve(ue(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 U0(n==null?void 0:n.autoWidth),o.dataBind=new Qe(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}(te);ve(X,"Rules",Pt);var Bg=function(e){Hs(r,e);var t=Us(r);function r(n){zs(this,r);var o;return o=t.call(this,n),ve(ue(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),ve(ue(o),"options",[{type:"array",message:p.getMessage("isNotArray")}]),ve(ue(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),$s.call(ue(o),n),o}return r}(Pt);function Ws(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 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 Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(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&&Ks(e,t)}function Wx(e,t){return t&&(Kx(t)==="object"||typeof t=="function")?t:Ws(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ks(e,t)}var Kx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xx(e){var t=Gx();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 Wx(this,o)}}var ce=function(e){Ux(r,e);var t=Xx(r);function r(n){qx(this,r);var o;return o=t.call(this,n),Ag(Ws(o),"controlType","column"),Ag(Ws(o),"props",void 0),o.props=new X(n==null?void 0:n.props),o}return r}(L);function Gs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xg(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 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&&Xs(e,t)}function Zx(e,t){return t&&(Yx(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 Yx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tN(e){var t=eN();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 Zx(this,o)}}var le=function(e){Qx(r,e);var t=tN(r);function r(n){Jx(this,r);var o;return o=t.call(this,n),xg(Gs(o),"controlType","column"),xg(Gs(o),"props",void 0),o.props=new X(n==null?void 0:n.props),o}return r}(zt);function Ng(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 rN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function oN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function iN(e,t){return t&&(uN(t)==="object"||typeof t=="function")?t:Ng(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var uN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lN(e){var t=cN();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 iN(this,o)}}var Qs=function(e){oN(r,e);var t=lN(r);function r(n){nN(this,r);var o;return o=t.call(this,n),rN(Ng(o),"dataBind",void 0),o.dataBind=new Qe(n==null?void 0:n.dataBind),o}return r}(oe);function Zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aN(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 Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(e)}function fN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ys(e,t)}function sN(e,t){return t&&(yN(t)==="object"||typeof t=="function")?t:Zs(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}var yN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vN(e){var t=dN();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 sN(this,o)}}var pN=function(e){fN(r,e);var t=vN(r);function r(n){aN(this,r);var o;return o=t.call(this,n),kg(Zs(o),"controlType","search"),kg(Zs(o),"props",void 0),o.props=new Qs(n==null?void 0:n.props),o}return r}(ie);function ey(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _N(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 Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function hN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function bN(e,t){return t&&(gN(t)==="object"||typeof t=="function")?t:ey(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var gN=function(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 ON(e){var t=mN();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 bN(this,o)}}var wN=function(e){hN(r,e);var t=ON(r);function r(n){_N(this,r);var o;return o=t.call(this,n),Dg(ey(o),"controlType","search"),Dg(ey(o),"props",void 0),o.props=new Qs(n==null?void 0:n.props),o}return r}(dn);function vn(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function Fn(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 Zr(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 RN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $N(e,t){return t&&(SN(t)==="object"||typeof t=="function")?t:Fn(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var SN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TN(e){var t=EN();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 $N(this,o)}}var IN=function(e){RN(r,e);var t=TN(r);function r(n){PN(this,r);var o;o=t.call(this,n),Zr(Fn(o),"content",void 0),Zr(Fn(o),"fontSize",void 0),Zr(Fn(o),"color",void 0),Zr(Fn(o),"icon",void 0),Zr(Fn(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}(te);function Fg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 BN(e,t,r){return t&&jg(e.prototype,t),r&&jg(e,r),e}function Mg(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 AN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function xN(e,t){return t&&(NN(t)==="object"||typeof t=="function")?t:Fg(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var NN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DN(e){var t=kN();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 xN(this,o)}}var FN=function(e){AN(r,e);var t=DN(r);function r(n){CN(this,r);var o;return o=t.call(this,n),Mg(Fg(o),"props",void 0),o.props=new IN(n==null?void 0:n.props),o}return BN(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);Mg(FN,"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 Yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(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&&iy(e,t)}function LN(e,t){return t&&(VN(t)==="object"||typeof t=="function")?t:Yo(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}var VN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HN(e){var t=zN();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 LN(this,o)}}var qN=function(e){MN(r,e);var t=HN(r);function r(n){jN(this,r);var o;o=t.call(this,n),oy(Yo(o),"content",void 0),oy(Yo(o),"url",void 0),oy(Yo(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}(te);function Lg(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 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 WN(e,t,r){return t&&Vg(e.prototype,t),r&&Vg(e,r),e}function uy(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 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&&cy(e,t)}function GN(e,t){return t&&(XN(t)==="object"||typeof t=="function")?t:Lg(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}var XN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QN(e){var t=JN();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 GN(this,o)}}var zg=function(e){KN(r,e);var t=QN(r);function r(n){UN(this,r);var o;return o=t.call(this,n),uy(Lg(o),"props",void 0),o.props=new qN(n==null?void 0:n.props),o}return WN(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(L);uy(zg,"controlEventKeys",["on_click"]),uy(zg,"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 ZN(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 ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function YN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e2(e,t){return t&&(t2(t)==="object"||typeof t=="function")?t:at(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var t2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r2(e){var t=n2();return function(){var n=ni(e),o;if(t){var i=ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e2(this,o)}}var De=function(e){YN(r,e);var t=r2(r);function r(n){ZN(this,r);var o;o=t.call(this,n),Rt(at(o),"content",void 0),Rt(at(o),"buttonType",void 0),Rt(at(o),"showType",void 0),Rt(at(o),"color",void 0),Rt(at(o),"icon",void 0),Rt(at(o),"defaultState",void 0),Rt(at(o),"command",void 0),Rt(at(o),"isLoading",void 0),Rt(at(o),"optObj",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 v;o.isLoading=(v=n==null?void 0:n.isLoading)!==null&&v!==void 0?v:!1;var h;return o.optObj=new R1((h=n==null?void 0:n.optObj)!==null&&h!==void 0?h:{}),o}return r}(te);function Hg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 i2(e,t,r){return t&&qg(e.prototype,t),r&&qg(e,r),e}function ay(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 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&&fy(e,t)}function c2(e,t){return t&&(l2(t)==="object"||typeof t=="function")?t:Hg(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}var l2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f2(e){var t=a2();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 c2(this,o)}}var Se=function(e){u2(r,e);var t=f2(r);function r(n){o2(this,r);var o;return o=t.call(this,n),ay(Hg(o),"props",void 0),o.props=new De(n==null?void 0:n.props),o}return i2(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(L);ay(Se,"controlEventKeys",["on_click","on_click_finish"]),ay(Se,"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 Wt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $t;(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"})($t||($t={}));var sy;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(sy||(sy={}));var yy;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(yy||(yy={}));var dy=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:sy.UN_SELECT_ABLE_INTERVAL,dateLimitType:yy.FILE_IN_TIME,id:mt(8),value:["",""]};Wt(this,e),C(this,"dateConfigType",void 0),C(this,"dateLimitType",void 0),C(this,"id",void 0),C(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},vy;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(vy||(vy={}));var py=function e(t){Wt(this,e),C(this,"id",void 0),C(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:mt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},_y;(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"})(_y||(_y={}));var Ug=function e(t){Wt(this,e),C(this,"type",void 0),C(this,"person",void 0),C(this,"signatureType",void 0),C(this,"telephone",void 0),C(this,"company",void 0),C(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 Ur((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 Ur((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 Ur((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:""},s2=function e(t){Wt(this,e);var r;C(this,"fileControl",void 0),C(this,"undersignedList",void 0),C(this,"statusControl",void 0),C(this,"completeControl",void 0),C(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 Ug(a)}))!==null&&o!==void 0?o:[new Ug];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:""},Wg=function e(t){Wt(this,e),C(this,"id",void 0),C(this,"appId",void 0),C(this,"dataCode",void 0),C(this,"svcCode",void 0),C(this,"name",void 0),C(this,"fieldList",void 0),C(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:mt(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},Kg=function e(t){Wt(this,e),C(this,"active",void 0),C(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:""},y2=function e(t){Wt(this,e),C(this,"types",void 0),C(this,"history",void 0),C(this,"collaborativeRecord",void 0),C(this,"logicToDelete",void 0),C(this,"watermark",void 0),C(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 Kg(t==null?void 0:t.watermark),this.autoRename=new Kg(t==null?void 0:t.autoRename)},d2=480;function oi(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var v2=function e(t){Wt(this,e),C(this,"fileId",void 0),C(this,"fileName",void 0),C(this,"ruleName",void 0),C(this,"isDefault",void 0),C(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:[]},Gg;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Gg||(Gg={}));var hy;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(hy||(hy={}));var ii;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ii||(ii={}));var Kt;(function(e){e.ALL="all",e.ASSIGN="assign"})(Kt||(Kt={}));var by;(function(e){e.ALL="all",e.ADMIN="admin"})(by||(by={}));function gy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xg(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 _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&&my(e,t)}function h2(e,t){return t&&(b2(t)==="object"||typeof t=="function")?t:gy(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}var b2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m2(e){var t=g2();return function(){var n=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h2(this,o)}}var O2=function(e){_2(r,e);var t=m2(r);function r(n){p2(this,r);var o;o=t.call(this,n),Xg(gy(o),"color",void 0),Xg(gy(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:_y.SOLID,o}return r}(te);function Jg(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 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 P2(e,t,r){return t&&Qg(e.prototype,t),r&&Qg(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 ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(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&&Oy(e,t)}function $2(e,t){return t&&(S2(t)==="object"||typeof t=="function")?t:Jg(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var S2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T2(e){var t=E2();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 $2(this,o)}}var I2=function(e){R2(r,e);var t=T2(r);function r(n){w2(this,r);var o;return o=t.call(this,n),Zg(Jg(o),"props",void 0),o.props=new O2(n==null?void 0:n.props),o}return P2(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(L);Zg(I2,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function em(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function C2(e,t){return t&&(B2(t)==="object"||typeof t=="function")?t:Gt(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}var B2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tm(e){var t=A2();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 C2(this,o)}}var x2=function(e){em(r,e);var t=tm(r);function r(n){Yg(this,r);var o;return o=t.call(this,n),Xt(Gt(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Xt(Gt(o),"dataBind",{type:"any"}),Xt(Gt(o),"config",{type:"array"}),n.config.includes($t.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")}},message:p.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:p.getMessage("pleaseSelectOneField")}),o}return r}(Z),nm=function(e){em(r,e);var t=tm(r);function r(n){Yg(this,r);var o;o=t.call(this,n),Xt(Gt(o),"dataBind",void 0),Xt(Gt(o),"caption",void 0),Xt(Gt(o),"config",void 0),Xt(Gt(o),"position",void 0),o.dataBind=new Qe(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[$t.ShowSubmitUser,$t.ShowSubmitDept,$t.ShowSubmitTime,$t.ShowCurrentApprovar,$t.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Yr==null?void 0:Yr.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}(te);Xt(nm,"Rules",x2);function rm(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 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 k2(e,t,r){return t&&om(e.prototype,t),r&&om(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 ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function D2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 F2(e,t){return t&&(j2(t)==="object"||typeof t=="function")?t:rm(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}var j2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L2(e){var t=M2();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 F2(this,o)}}var Yr=function(e){D2(r,e);var t=L2(r);function r(n){N2(this,r);var o;return o=t.call(this,n),Py(rm(o),"props",void 0),o.props=new nm(n==null?void 0:n.props),o}return k2(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);Py(Yr,"controlFieldType",m.AUTO_NUMBER),Py(Yr,"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 fi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function im(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function um(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function V2(e,t){return t&&(z2(t)==="object"||typeof t=="function")?t:fi(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}var z2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=H2();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 V2(this,o)}}var q2=function(e){um(r,e);var t=cm(r);function r(n){im(this,r);var o;return o=t.call(this,n),si(fi(o),"formKey",{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return r}(Z),lm=function(e){um(r,e);var t=cm(r);function r(n){im(this,r);var o;o=t.call(this,n),si(fi(o),"formKey",void 0),si(fi(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:vi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:vi.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}(De);si(lm,"Rules",q2);function am(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W2(e,t,r){return t&&fm(e.prototype,t),r&&fm(e,r),e}function Sy(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 K2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function G2(e,t){return t&&(X2(t)==="object"||typeof t=="function")?t:am(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}var X2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q2(e){var t=J2();return function(){var n=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G2(this,o)}}var vi=function(e){K2(r,e);var t=Q2(r);function r(n){U2(this,r);var o;return o=t.call(this,n),Sy(am(o),"props",void 0),o.props=new lm(n==null?void 0:n.props),o}return W2(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}(Se);Sy(vi,"controlEventKeys",["on_click","on_click_finish"]),Sy(vi,"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 jn(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 Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function ym(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function Z2(e,t){return t&&(Y2(t)==="object"||typeof t=="function")?t:jn(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}var Y2=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 dm(e){var t=ek();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 Z2(this,o)}}var tk=function(e){ym(r,e);var t=dm(r);function r(n){sm(this,r);var o;return o=t.call(this,n),Mn(jn(o),"processKey",[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}]),o}return r}(Z),vm=function(e){ym(r,e);var t=dm(r);function r(n){sm(this,r);var o;o=t.call(this,n),Mn(jn(o),"processKey",void 0),Mn(jn(o),"initiatorMode",void 0),Mn(jn(o),"fieldCode",void 0),Mn(jn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:hi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:hi.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}(De);Mn(vm,"Rules",tk);function pm(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 _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 rk(e,t,r){return t&&_m(e.prototype,t),r&&_m(e,r),e}function Iy(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&&Cy(e,t)}function ik(e,t){return t&&(uk(t)==="object"||typeof t=="function")?t:pm(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(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 hi=function(e){ok(r,e);var t=lk(r);function r(n){nk(this,r);var o;return o=t.call(this,n),Iy(pm(o),"props",void 0),o.props=new vm(n==null?void 0:n.props),o}return rk(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}(Se);Iy(hi,"controlEventKeys",["on_click","on_click_finish"]),Iy(hi,"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 ak(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 bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function sk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function yk(e,t){return t&&(dk(t)==="object"||typeof t=="function")?t:ak(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}var dk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pk(e){var t=vk();return function(){var n=bi(e),o;if(t){var i=bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yk(this,o)}}var _k=function(e){sk(r,e);var t=pk(r);function r(n){fk(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:mi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:mi.controlIcon,o}return r}(De);function hm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bk(e,t,r){return t&&bm(e.prototype,t),r&&bm(e,r),e}function Ay(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 gk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function mk(e,t){return t&&(Ok(t)==="object"||typeof t=="function")?t:hm(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}var Ok=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 Pk(e){var t=wk();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 mk(this,o)}}var mi=function(e){gk(r,e);var t=Pk(r);function r(n){hk(this,r);var o;return o=t.call(this,n),Ay(hm(o),"props",void 0),o.props=new _k(n==null?void 0:n.props),o}return bk(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}(Se);Ay(mi,"controlEventKeys",["on_click"]),Ay(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:"super-setting",visible:!0}]);function Ny(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 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 Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(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&&ky(e,t)}function Sk(e,t){return t&&(Ek(t)==="object"||typeof t=="function")?t:Ny(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(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=Oi(e),o;if(t){var i=Oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sk(this,o)}}var Ck=function(e){$k(r,e);var t=Ik(r);function r(n){Rk(this,r);var o,i;o=t.call(this,n),gm(Ny(o),"templateList",void 0),gm(Ny(o),"templateType",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;o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system";var l;return o.templateList=(l=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(f){return new Wg(f)}))!==null&&l!==void 0?l:[new Wg({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(De);function mm(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 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 Ak(e,t,r){return t&&Om(e.prototype,t),r&&Om(e,r),e}function Dy(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 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&&Fy(e,t)}function Nk(e,t){return t&&(kk(t)==="object"||typeof t=="function")?t:mm(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}var kk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fk(e){var t=Dk();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 Nk(this,o)}}var Pi=function(e){xk(r,e);var t=Fk(r);function r(n){Bk(this,r);var o;return o=t.call(this,n),Dy(mm(o),"props",void 0),o.props=new Ck(n==null?void 0:n.props),o}return Ak(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}(Se);Dy(Pi,"controlEventKeys",["on_click","on_click_finish"]),Dy(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 jk(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 Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function Lk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jy(e,t)}function Vk(e,t){return t&&(zk(t)==="object"||typeof t=="function")?t:jk(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}var zk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qk(e){var t=Hk();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 Vk(this,o)}}var Uk=function(e){Lk(r,e);var t=qk(r);function r(n){Mk(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:Si.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Si.controlIcon,o}return r}(De);function wm(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 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 Kk(e,t,r){return t&&Pm(e.prototype,t),r&&Pm(e,r),e}function My(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 Gk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ly(e,t)}function Xk(e,t){return t&&(Jk(t)==="object"||typeof t=="function")?t:wm(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var Jk=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 Zk(e){var t=Qk();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 Xk(this,o)}}var Si=function(e){Gk(r,e);var t=Zk(r);function r(n){Wk(this,r);var o;return o=t.call(this,n),My(wm(o),"props",void 0),o.props=new Uk(n==null?void 0:n.props),o}return Kk(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}(Se);My(Si,"controlEventKeys",["on_click"]),My(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:"super-setting",visible:!0}]);function Vy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(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&&Hy(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:Vy(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(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=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eD(this,o)}}var oD=function e(t){Rm(this,e),zy(this,"dataCode",void 0),this.dataCode=t.dataCode},iD=function(e){Yk(r,e);var t=rD(r);function r(n){Rm(this,r);var o,i;o=t.call(this,n),zy(Vy(o),"canImportList",void 0),zy(Vy(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Ii.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Ii.controlIcon;var a;o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new oD(f)}))!==null&&a!==void 0?a:[];var l;return o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system",o}return r}(De);function $m(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 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 cD(e,t,r){return t&&Sm(e.prototype,t),r&&Sm(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 Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function lD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aD(e,t){return t&&(fD(t)==="object"||typeof t=="function")?t:$m(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}var fD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yD(e){var t=sD();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 aD(this,o)}}var Ii=function(e){lD(r,e);var t=yD(r);function r(n){uD(this,r);var o;return o=t.call(this,n),qy($m(o),"props",void 0),o.props=new iD(n==null?void 0:n.props),o}return cD(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}(Se);qy(Ii,"controlEventKeys",["on_click","on_click_finish"]),qy(Ii,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Ci(){return{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}}}}}}function Jt(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 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 Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(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&&Wy(e,t)}function Im(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 dD(e,t){return t&&(vD(t)==="object"||typeof t=="function")?t:Jt(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}var vD=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 Cm(e){var t=pD();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 dD(this,o)}}var _D=function(e){Tm(r,e);var t=Cm(r);function r(n){Em(this,r);var o;return o=t.call(this,n),St(Jt(o),"fillPayload",{type:"object",fields:Im({},Ci())}),St(Jt(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}}),St(Jt(o),"fillBack",{type:"object",fields:Im({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Ci())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return r}(Z),Bm=function(e){Tm(r,e);var t=Cm(r);function r(n){Em(this,r);var o;o=t.call(this,n),St(Jt(o),"fillPayload",void 0),St(Jt(o),"formBind",void 0),St(Jt(o),"fillBack",void 0),St(Jt(o),"command",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;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new Q0(n==null?void 0:n.fillPayload),o.formBind=new u1(n==null?void 0:n.formBind),o.fillBack=new Z0(n==null?void 0:n.fillBack),o}return r}(De);St(Bm,"Rules",_D);function Am(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bD(e,t,r){return t&&xm(e.prototype,t),r&&xm(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 Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(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&&Gy(e,t)}function mD(e,t){return t&&(OD(t)==="object"||typeof t=="function")?t:Am(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}var OD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PD(e){var t=wD();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 mD(this,o)}}var xi=function(e){gD(r,e);var t=PD(r);function r(n){hD(this,r);var o;return o=t.call(this,n),Ky(Am(o),"props",void 0),o.props=new Bm(n==null?void 0:n.props),o}return bD(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}(Se);Ky(xi,"controlEventKeys",["on_click","on_click_finish"]),Ky(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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Et(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 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 Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(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&&Xy(e,t)}function Dm(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 RD(e,t){return t&&($D(t)==="object"||typeof t=="function")?t:Et(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}var $D=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fm(e){var t=SD();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 RD(this,o)}}var ED=function(e){km(r,e);var t=Fm(r);function r(n){Nm(this,r);var o;return o=t.call(this,n),ft(Et(o),"fillPayload",{type:"object",fields:Dm({},Ci())}),ft(Et(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}),ft(Et(o),"fillBack",{type:"object",fields:Dm({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Ci())}),o}return r}(Z),jm=function(e){km(r,e);var t=Fm(r);function r(n){Nm(this,r);var o;o=t.call(this,n),ft(Et(o),"fillPayload",void 0),ft(Et(o),"listPageBind",void 0),ft(Et(o),"fillBack",void 0),ft(Et(o),"showSelectedDetail",void 0),ft(Et(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Di.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Di.controlIcon,o.fillPayload=new Q0(n==null?void 0:n.fillPayload),o.listPageBind=new cs(n==null?void 0:n.listPageBind),o.fillBack=new Z0(n==null?void 0:n.fillBack);var c;return o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new ss(n==null?void 0:n.selectedContentConfig),o}return r}(De);ft(jm,"Rules",ED);function Mm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ID(e,t,r){return t&&Lm(e.prototype,t),r&&Lm(e,r),e}function Jy(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 CD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function BD(e,t){return t&&(AD(t)==="object"||typeof t=="function")?t:Mm(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}var AD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ND(e){var t=xD();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 BD(this,o)}}var Di=function(e){CD(r,e);var t=ND(r);function r(n){TD(this,r);var o;return o=t.call(this,n),Jy(Mm(o),"props",void 0),o.props=new jm(n==null?void 0:n.props),o}return ID(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}(Se);Jy(Di,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Jy(Di,"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 kD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function Yy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function DD(e,t){return t&&(FD(t)==="object"||typeof t=="function")?t:kD(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var FD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function td(e){var t=jD();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 DD(this,o)}}var MD=function(e){Yy(r,e);var t=td(r);function r(n){return Zy(this,r),t.call(this,n)}return r}(Z),LD=function(e){Yy(r,e);var t=td(r);function r(n){return Zy(this,r),t.call(this,n)}return r}(sn),nd=function(e){Yy(r,e);var t=td(r);function r(n){return Zy(this,r),t.call(this,n)}return r}(te);Vm(nd,"Rules",MD),Vm(nd,"RuntimeRules",LD);function zm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zD(e,t,r){return t&&Hm(e.prototype,t),r&&Hm(e,r),e}function qm(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 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&&rd(e,t)}function qD(e,t){return t&&(UD(t)==="object"||typeof t=="function")?t:zm(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}var UD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KD(e){var t=WD();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qD(this,o)}}var GD=function(e){HD(r,e);var t=KD(r);function r(n){VD(this,r);var o;return o=t.call(this,n),qm(zm(o),"props",void 0),o.props=new nd(n==null?void 0:n.props),o}return zD(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(L);qm(GD,"setting",[]);function Ve(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 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 Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function Wm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function XD(e,t){return t&&(JD(t)==="object"||typeof t=="function")?t:Ve(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var JD=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 Km(e){var t=QD();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 XD(this,o)}}var ZD=function(e){Wm(r,e);var t=Km(r);function r(n){Um(this,r);var o;return o=t.call(this,n),ze(Ve(o),"dashboardKey",{type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")}),ze(Ve(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ze(Ve(o),"isHideCaption",{type:"boolean"}),ze(Ve(o),"labelPosition",{type:"enum",enum:["top","left"]}),ze(Ve(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),Gm=function(e){Wm(r,e);var t=Km(r);function r(n){Um(this,r);var o;o=t.call(this,n),ze(Ve(o),"dashboardKey",void 0),ze(Ve(o),"caption",void 0),ze(Ve(o),"isHideCaption",void 0),ze(Ve(o),"isShowCaptionTip",void 0),ze(Ve(o),"captionTip",void 0),ze(Ve(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}(te);ze(Gm,"Rules",ZD);function Xm(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 Jm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eF(e,t,r){return t&&Jm(e.prototype,t),r&&Jm(e,r),e}function Qm(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 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&&id(e,t)}function nF(e,t){return t&&(rF(t)==="object"||typeof t=="function")?t:Xm(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var rF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iF(e){var t=oF();return function(){var n=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nF(this,o)}}var uF=function(e){tF(r,e);var t=iF(r);function r(n){YD(this,r);var o;return o=t.call(this,n),Qm(Xm(o),"props",void 0),o.props=new Gm(n==null?void 0:n.props),o}return eF(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);Qm(uF,"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 eo(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 to(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 Ym(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function cF(e,t){return t&&(lF(t)==="object"||typeof t=="function")?t:eo(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}var lF=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 eO(e){var t=aF();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 cF(this,o)}}var fF=function(e){Ym(r,e);var t=eO(r);function r(n){Zm(this,r);var o;return o=t.call(this,n),to(eo(o),"showType",{type:"enum",enum:["select","tabs"]}),to(eo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:p.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Z),tO=function(e){Ym(r,e);var t=eO(r);function r(n){Zm(this,r);var o,i;o=t.call(this,n),to(eo(o),"showType",void 0),to(eo(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 w1(a)}))!==null&&c!==void 0?c:[],o}return r}(te);to(tO,"Rules",fF);function nO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yF(e,t,r){return t&&rO(e.prototype,t),r&&rO(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 zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(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&&cd(e,t)}function vF(e,t){return t&&(pF(t)==="object"||typeof t=="function")?t:nO(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var pF=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 hF(e){var t=_F();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 vF(this,o)}}var bF=function(e){dF(r,e);var t=hF(r);function r(n){sF(this,r);var o;return o=t.call(this,n),oO(nO(o),"props",void 0),o.props=new tO(n==null?void 0:n.props),o}return yF(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);oO(bF,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iO(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 Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function uO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gF(e,t){return t&&(mF(t)==="object"||typeof t=="function")?t:Ee(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}var mF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cO(e){var t=OF();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 gF(this,o)}}var wF=function(e){uO(r,e);var t=cO(r);function r(n){iO(this,r);var o;return o=t.call(this,n),Te(Ee(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Te(Ee(o),"isHideCaption",{type:"boolean"}),Te(Ee(o),"labelPosition",{type:"enum",enum:["top","left"]}),Te(Ee(o),"ocrType",{type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")}),Te(Ee(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Te(Ee(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),lO=function(e){uO(r,e);var t=cO(r);function r(n){iO(this,r);var o,i;o=t.call(this,n),Te(Ee(o),"caption",void 0),Te(Ee(o),"isHideCaption",void 0),Te(Ee(o),"isShowCaptionTip",void 0),Te(Ee(o),"captionTip",void 0),Te(Ee(o),"labelPosition",void 0),Te(Ee(o),"ocrType",void 0),Te(Ee(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:no.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:no.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:no.controlIcon;var h;o.ocrType=(h=n==null?void 0:n.ocrType)!==null&&h!==void 0?h:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new $e(b)}))!==null&&O!==void 0?O:[],o}return r}(De);Te(lO,"Rules",wF);function aO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RF(e,t,r){return t&&fO(e.prototype,t),r&&fO(e,r),e}function ad(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 $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&&fd(e,t)}function SF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:aO(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var EF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IF(e){var t=TF();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 SF(this,o)}}var no=function(e){$F(r,e);var t=IF(r);function r(n){PF(this,r);var o;return o=t.call(this,n),ad(aO(o),"props",void 0),o.props=new lO(n==null?void 0:n.props),o}return RF(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}(Se);ad(no,"controlEventKeys",["on_click","on_click_finish"]),ad(no,"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 Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sO(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 Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function yO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CF(e,t){return t&&(BF(t)==="object"||typeof t=="function")?t:Ie(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var BF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dO(e){var t=AF();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 CF(this,o)}}var xF=function(e){yO(r,e);var t=dO(r);function r(n){sO(this,r);var o;return o=t.call(this,n),Ce(Ie(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Ce(Ie(o),"isHideCaption",{type:"boolean"}),Ce(Ie(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ce(Ie(o),"invoiceCheck",{type:"boolean"}),Ce(Ie(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Ce(Ie(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),vO=function(e){yO(r,e);var t=dO(r);function r(n){sO(this,r);var o,i;o=t.call(this,n),Ce(Ie(o),"caption",void 0),Ce(Ie(o),"isHideCaption",void 0),Ce(Ie(o),"isShowCaptionTip",void 0),Ce(Ie(o),"captionTip",void 0),Ce(Ie(o),"labelPosition",void 0),Ce(Ie(o),"invoiceCheck",void 0),Ce(Ie(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ro.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:ro.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:ro.controlIcon;var h;o.invoiceCheck=(h=n==null?void 0:n.invoiceCheck)!==null&&h!==void 0?h:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new $e(b)}))!==null&&O!==void 0?O:[],o}return r}(De);Ce(vO,"Rules",xF);function pO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 kF(e,t,r){return t&&_O(e.prototype,t),r&&_O(e,r),e}function yd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(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&&dd(e,t)}function FF(e,t){return t&&(jF(t)==="object"||typeof t=="function")?t:pO(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}var jF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LF(e){var t=MF();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 FF(this,o)}}var ro=function(e){DF(r,e);var t=LF(r);function r(n){NF(this,r);var o;return o=t.call(this,n),yd(pO(o),"props",void 0),o.props=new vO(n==null?void 0:n.props),o}return kF(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}(Se);yd(ro,"controlEventKeys",["on_click","on_click_finish"]),yd(ro,"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 Ki(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gi(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 bO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:Ki(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var zF=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 gO(e){var t=HF();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 VF(this,o)}}var qF=function(e){bO(r,e);var t=gO(r);function r(){hO(this,r);var n;return n=t.apply(this,arguments),Gi(Ki(n),"printTemplates",{type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Z),mO=function(e){bO(r,e);var t=gO(r);function r(n){hO(this,r);var o,i;o=t.call(this,n),Gi(Ki(o),"printTemplates",void 0),Gi(Ki(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Qi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Qi.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}(De);Gi(mO,"Rules",qF);function OO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UF(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 WF(e,t,r){return t&&wO(e.prototype,t),r&&wO(e,r),e}function pd(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 KF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function GF(e,t){return t&&(XF(t)==="object"||typeof t=="function")?t:OO(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var XF=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 QF(e){var t=JF();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 GF(this,o)}}var Qi=function(e){KF(r,e);var t=QF(r);function r(n){UF(this,r);var o;return o=t.call(this,n),pd(OO(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return WF(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}(Se);pd(Qi,"controlEventKeys",["on_click","on_click_finish"]),pd(Qi,"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 ZF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YF(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 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&&hd(e,t)}function tj(e,t){return t&&(nj(t)==="object"||typeof t=="function")?t:ZF(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}var nj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oj(e){var t=rj();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tj(this,o)}}var ij=function(e){ej(r,e);var t=oj(r);function r(n){YF(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:eu.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:eu.controlIcon,o}return r}(De);function PO(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 RO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cj(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),e}function bd(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 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&&gd(e,t)}function aj(e,t){return t&&(fj(t)==="object"||typeof t=="function")?t:PO(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(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=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aj(this,o)}}var eu=function(e){lj(r,e);var t=yj(r);function r(n){uj(this,r);var o;return o=t.call(this,n),bd(PO(o),"props",void 0),o.props=new ij(n==null?void 0:n.props),o}return cj(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}(Se);bd(eu,"controlEventKeys",["on_click"]),bd(eu,"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 we(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 Pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function SO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function dj(e,t){return t&&(vj(t)==="object"||typeof t=="function")?t:we(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var vj=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 EO(e){var t=pj();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 dj(this,o)}}var _j=function(e){SO(r,e);var t=EO(r);function r(n){$O(this,r);var o;return o=t.call(this,n),Pe(we(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return r}(Z),nu=function(e){SO(r,e);var t=EO(r);function r(n){$O(this,r);var o;o=t.call(this,n),Pe(we(o),"content",void 0),Pe(we(o),"code",void 0),Pe(we(o),"command",void 0),Pe(we(o),"color",void 0),Pe(we(o),"icon",void 0),Pe(we(o),"formKey",void 0),Pe(we(o),"openType",void 0),Pe(we(o),"needConfirm",void 0),Pe(we(o),"confirmMessage",void 0),Pe(we(o),"options",void 0),Pe(we(o),"defaultState",void 0),Pe(we(o),"priorityProcess",void 0),Pe(we(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var 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}(te);Pe(nu,"Rules",_j);function TO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bj(e,t,r){return t&&IO(e.prototype,t),r&&IO(e,r),e}function Od(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(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&&wd(e,t)}function mj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:TO(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var Oj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pj(e){var t=wj();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 mj(this,o)}}var ou=function(e){gj(r,e);var t=Pj(r);function r(n){hj(this,r);var o;return o=t.call(this,n),Od(TO(o),"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return bj(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);Od(ou,"controlEventKeys",["on_click"]),Od(ou,"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 CO(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 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 $j(e,t,r){return t&&BO(e.prototype,t),r&&BO(e,r),e}function Sj(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 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&&Pd(e,t)}function Tj(e,t){return t&&(Ij(t)==="object"||typeof t=="function")?t:CO(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var Ij=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bj(e){var t=Cj();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 Tj(this,o)}}var Aj=function(e){Ej(r,e);var t=Bj(r);function r(n){Rj(this,r);var o;return o=t.call(this,n),Sj(CO(o),"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return $j(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(zt),Rd={Designer:ou,Runtime:Aj,Property:nu};function Tt(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 Qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(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&&$d(e,t)}function kj(e,t){return t&&(Dj(t)==="object"||typeof t=="function")?t:Tt(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var Dj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jj(e){var t=Fj();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 kj(this,o)}}var Mj=function(e){Nj(r,e);var t=jj(r);function r(n){xj(this,r);var o;o=t.call(this,n),Qt(Tt(o),"content",void 0),Qt(Tt(o),"buttonType",void 0),Qt(Tt(o),"showType",void 0),Qt(Tt(o),"color",void 0),Qt(Tt(o),"icon",void 0),Qt(Tt(o),"defaultState",void 0),Qt(Tt(o),"command",void 0),Qt(Tt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:lu.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:lu.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 v;o.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var h;return o.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1,o}return r}(te);function AO(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 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 Vj(e,t,r){return t&&xO(e.prototype,t),r&&xO(e,r),e}function Sd(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 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&&Ed(e,t)}function Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:AO(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var qj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wj(e){var t=Uj();return function(){var n=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hj(this,o)}}var lu=function(e){zj(r,e);var t=Wj(r);function r(n){Lj(this,r);var o;return o=t.call(this,n),Sd(AO(o),"props",void 0),o.props=new Mj(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);Sd(lu,"controlEventKeys",["on_click"]),Sd(lu,"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 st(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function Id(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function Kj(e,t){return t&&(Gj(t)==="object"||typeof t=="function")?t:st(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}var Gj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bd(e){var t=Xj();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 Kj(this,o)}}var Jj=function(e){Id(r,e);var t=Bd(r);function r(n){Td(this,r);var o;return o=t.call(this,n),Ze(st(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ze(st(o),"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ze(st(o),"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=oi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(de),Qj=function(e){Id(r,e);var t=Bd(r);function r(n){Td(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:oi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),oo=function(e){Id(r,e);var t=Bd(r);function r(n){Td(this,r);var o;o=t.call(this,n),Ze(st(o),"maxLength",void 0),Ze(st(o),"minLength",void 0),Ze(st(o),"regularRules",void 0),Ze(st(o),"defaultValue",void 0),Ze(st(o),"encrypted",void 0),Ze(st(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 Y0(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:io.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}(N);Ze(oo,"Rules",Jj),Ze(oo,"RuntimeRules",Qj);function NO(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 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 Yj(e,t,r){return t&&kO(e.prototype,t),r&&kO(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 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&&Ad(e,t)}function tM(e,t){return t&&(nM(t)==="object"||typeof t=="function")?t:NO(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}var nM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oM(e){var t=rM();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tM(this,o)}}var io=function(e){eM(r,e);var t=oM(r);function r(n){Zj(this,r);var o;return o=t.call(this,n),fu(NO(o),"props",void 0),o.props=new oo(n==null?void 0:n.props),o}return Yj(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);fu(io,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),fu(io,"controlFieldType",m.VARCHAR),fu(io,"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 DO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uM(e,t,r){return t&&FO(e.prototype,t),r&&FO(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 yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(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&&xd(e,t)}function lM(e,t){return t&&(aM(t)==="object"||typeof t=="function")?t:DO(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var aM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sM(e){var t=fM();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 lM(this,o)}}var yM=function(e){cM(r,e);var t=sM(r);function r(n){iM(this,r);var o;return o=t.call(this,n),jO(DO(o),"props",void 0),o.props=new oo(n==null?void 0:n.props),o}return uM(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(D);jO(yM,"controlFieldType",m.VARCHAR);function pe(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 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 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&&Dd(e,t)}function dM(e,t){return t&&(vM(t)==="object"||typeof t=="function")?t:pe(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}var vM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fd(e){var t=pM();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 dM(this,o)}}var _M=function(e){kd(r,e);var t=Fd(r);function r(n){Nd(this,r);var o;o=t.call(this,n),ae(pe(o),"limitMax",{type:"number",min:void 0,message:p.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}(Nn),hM=function(e){kd(r,e);var t=Fd(r);function r(n){Nd(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}(H),vu=function(e){kd(r,e);var t=Fd(r);function r(n){Nd(this,r);var o;o=t.call(this,n),ae(pe(o),"checkboxMode",void 0),ae(pe(o),"options",void 0),ae(pe(o),"optionsOrder",void 0),ae(pe(o),"limitMax",void 0),ae(pe(o),"limitMin",void 0),ae(pe(o),"otherOption",void 0),ae(pe(o),"optionConfig",void 0),ae(pe(o),"optionsFormat",void 0),ae(pe(o),"defaultShowOptions",void 0),ae(pe(o),"datasourceBind",void 0),ae(pe(o),"multistageFilling",void 0),ae(pe(o),"interreaction",void 0),ae(pe(o),"defaultValue",void 0),ae(pe(o),"openMultistageFilling",void 0);var i;o.options=Ot((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 ee(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:hu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;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 R;(R=o.multistageFilling)===null||R===void 0||R.push(new $e(P))})),o}return r}(N);ae(vu,"Rules",_M),ae(vu,"RuntimeRules",hM);function MO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gM(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function 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&&jd(e,t)}function OM(e,t){return t&&(wM(t)==="object"||typeof t=="function")?t:MO(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(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 RM(e){var t=PM();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 OM(this,o)}}var hu=function(e){mM(r,e);var t=RM(r);function r(n){bM(this,r);var o;return o=t.call(this,n),pu(MO(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return gM(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(k);pu(hu,"controlEventKeys",["on_change","on_click"]),pu(hu,"controlFieldType",m.ARRAY),pu(hu,"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 VO(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 zO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SM(e,t,r){return t&&zO(e.prototype,t),r&&zO(e,r),e}function HO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function 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&&Md(e,t)}function TM(e,t){return t&&(IM(t)==="object"||typeof t=="function")?t:VO(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var IM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BM(e){var t=CM();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TM(this,o)}}var AM=function(e){EM(r,e);var t=BM(r);function r(n){$M(this,r);var o;return o=t.call(this,n),HO(VO(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return SM(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(D);HO(AM,"controlFieldType",m.ARRAY);function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qO(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 gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function UO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xM(e,t){return t&&(NM(t)==="object"||typeof t=="function")?t:Fe(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}var NM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WO(e){var t=kM();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 xM(this,o)}}var DM=function(e){UO(r,e);var t=WO(r);function r(n){return qO(this,r),t.call(this,n)}return r}(Nn),Vd=function(e){UO(r,e);var t=WO(r);function r(n){qO(this,r);var o;o=t.call(this,n),je(Fe(o),"radioMode",void 0),je(Fe(o),"options",void 0),je(Fe(o),"optionConfig",void 0),je(Fe(o),"optionsFormat",void 0),je(Fe(o),"defaultShowOptions",void 0),je(Fe(o),"otherOption",void 0),je(Fe(o),"optionsOrder",void 0),je(Fe(o),"datasourceBind",void 0),je(Fe(o),"multistageFilling",void 0),je(Fe(o),"interreaction",void 0),je(Fe(o),"defaultValue",void 0),je(Fe(o),"openMultistageFilling",void 0);var i;o.options=Ot((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 ee(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:wu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new $e(w))})),o}return r}(N);je(Vd,"Rules",DM);function KO(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 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 jM(e,t,r){return t&&GO(e.prototype,t),r&&GO(e,r),e}function mu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function 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&&zd(e,t)}function LM(e,t){return t&&(VM(t)==="object"||typeof t=="function")?t:KO(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(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 HM(e){var t=zM();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LM(this,o)}}var wu=function(e){MM(r,e);var t=HM(r);function r(n){FM(this,r);var o;return o=t.call(this,n),mu(KO(o),"props",void 0),o.props=new Vd(n==null?void 0:n.props),o}return jM(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(k);mu(wu,"controlEventKeys",["on_change","on_click"]),mu(wu,"controlFieldType",m.VARCHAR),mu(wu,"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 XO(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 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 UM(e,t,r){return t&&JO(e.prototype,t),r&&JO(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 Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function WM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function KM(e,t){return t&&(GM(t)==="object"||typeof t=="function")?t:XO(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}var GM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JM(e){var t=XM();return function(){var n=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KM(this,o)}}var QM=function(e){WM(r,e);var t=JM(r);function r(n){qM(this,r);var o;return o=t.call(this,n),QO(XO(o),"props",void 0),o.props=new Vd(n==null?void 0:n.props),o}return UM(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(D);QO(QM,"controlFieldType",m.VARCHAR);function Re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(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&&Wd(e,t)}function ZM(e,t){return t&&(YM(t)==="object"||typeof t=="function")?t:Re(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}var YM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kd(e){var t=eL();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 ZM(this,o)}}var tL=function(e){Ud(r,e);var t=Kd(r);function r(n){qd(this,r);var o;o=t.call(this,n),_e(Re(o),"defaultValue",[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),_e(Re(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=oi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(de),nL=function(e){Ud(r,e);var t=Kd(r);function r(n){qd(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:oi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),$u=function(e){Ud(r,e);var t=Kd(r);function r(n){qd(this,r);var o;o=t.call(this,n),_e(Re(o),"rangeMin",void 0),_e(Re(o),"rangeMax",void 0),_e(Re(o),"numberType",void 0),_e(Re(o),"percentageFormat",void 0),_e(Re(o),"micrometer",void 0),_e(Re(o),"precision",void 0),_e(Re(o),"showUpperCase",void 0),_e(Re(o),"isShowUnit",void 0),_e(Re(o),"unitPosition",void 0),_e(Re(o),"unit",void 0),_e(Re(o),"defaultValue",void 0),_e(Re(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 v;o.isShowUnit=(v=n==null?void 0:n.isShowUnit)!==null&&v!==void 0?v:!1;var h;o.unitPosition=(h=n==null?void 0:n.unitPosition)!==null&&h!==void 0?h:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Tu.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",o.regularRules=new Y0(n==null?void 0:n.regularRules),o}return r}(N);_e($u,"Rules",tL),_e($u,"RuntimeRules",nL);function ZO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oL(e,t,r){return t&&YO(e.prototype,t),r&&YO(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 Eu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Eu=Reflect.get:Eu=function(o,i,u){var c=cL(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Eu(e,t,r||e)}function Ln(e){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ln(e)}function iL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function uL(e,t){return t&&(lL(t)==="object"||typeof t=="function")?t:ZO(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}function cL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ln(e),e!==null););return e}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 fL(e){var t=aL();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 uL(this,o)}}var Tu=function(e){iL(r,e);var t=fL(r);function r(n){rL(this,r);var o;return o=t.call(this,n),Su(ZO(o),"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return oL(r,[{key:"toDataBindModel",value:function(o){var i=Eu(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"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(k);Su(Tu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Su(Tu,"controlFieldType",m.DECIMAL),Su(Tu,"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 ew(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 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 yL(e,t,r){return t&&tw(e.prototype,t),r&&tw(e,r),e}function nw(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 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&&Xd(e,t)}function vL(e,t){return t&&(pL(t)==="object"||typeof t=="function")?t:ew(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}var pL=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=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vL(this,o)}}var bL=function(e){dL(r,e);var t=hL(r);function r(n){sL(this,r);var o;return o=t.call(this,n),nw(ew(o),"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return yL(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(D);nw(bL,"controlFieldType",m.DECIMAL);function It(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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&&Jd(e,t)}function OL(e,t){return t&&(wL(t)==="object"||typeof t=="function")?t:It(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(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=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OL(this,o)}}var rw=function(e){mL(r,e);var t=RL(r);function r(n){gL(this,r);var o,i;o=t.call(this,n),Zt(It(o),"dateType",void 0),Zt(It(o),"dateFormat",void 0),Zt(It(o),"commonTimeSetting",void 0),Zt(It(o),"setValueType",void 0),Zt(It(o),"defaultValue",void 0),Zt(It(o),"limitDateList",void 0),Zt(It(o),"allowDateRange",void 0),Zt(It(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Ft.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Yd.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u65E5\u671F";var v;o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"";var h;o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new dy(w)}))!==null&&h!==void 0?h:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var b;return o.filterWeekend=(b=n==null?void 0:n.filterWeekend)!==null&&b!==void 0?b:!1,o}return r}(N);function ow(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 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 SL(e,t,r){return t&&iw(e.prototype,t),r&&iw(e,r),e}function Qd(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=IL(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Bu(e,t,r||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(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&&Zd(e,t)}function TL(e,t){return t&&(CL(t)==="object"||typeof t=="function")?t:ow(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function IL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}var CL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AL(e){var t=BL();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 TL(this,o)}}var Yd=function(e){EL(r,e);var t=AL(r);function r(n){$L(this,r);var o;return o=t.call(this,n),Qd(ow(o),"props",void 0),o.props=new rw(n==null?void 0:n.props),o}return SL(r,[{key:"toDataBindModel",value:function(o){var i=Bu(Vn(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);Qd(Yd,"controlFieldType",m.TIMESTAMP),Qd(Yd,"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:"date-common-time-setting",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 uw(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 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 NL(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 Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function kL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function DL(e,t){return t&&(FL(t)==="object"||typeof t=="function")?t:uw(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}var FL=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 ML(e){var t=jL();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 DL(this,o)}}var LL=function(e){kL(r,e);var t=ML(r);function r(n){xL(this,r);var o;return o=t.call(this,n),lw(uw(o),"props",void 0),o.props=new rw(n==null?void 0:n.props),o}return NL(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(D);lw(LL,"controlFieldType",m.TIMESTAMP);function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function fw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function VL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:He(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var zL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sw(e){var t=HL();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 VL(this,o)}}var qL=function(e){fw(r,e);var t=sw(r);function r(n){aw(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}(H),nv=function(e){fw(r,e);var t=sw(r);function r(n){aw(this,r);var o,i;o=t.call(this,n),qe(He(o),"dataBind",void 0),qe(He(o),"rangeMin",void 0),qe(He(o),"rangeMax",void 0),qe(He(o),"placeholderStart",void 0),qe(He(o),"placeholderEnd",void 0),qe(He(o),"dateFormat",void 0),qe(He(o),"commonTimeSetting",void 0),qe(He(o),"dateType",void 0),qe(He(o),"setValueType",void 0),qe(He(o),"defaultValue",void 0),qe(He(o),"limitDateList",void 0),o.dataBind=new h1(n==null?void 0:n.dataBind),o.defaultValue=new b1(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Ft.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var v;o.placeholderStart=(v=n==null?void 0:n.placeholderStart)!==null&&v!==void 0?v:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var h;o.placeholderEnd=(h=n==null?void 0:n.placeholderEnd)!==null&&h!==void 0?h:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:iv.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new dy(w)}))!==null&&b!==void 0?b:[],o}return r}(N);qe(nv,"RuntimeRules",qL);function yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 WL(e,t,r){return t&&dw(e.prototype,t),r&&dw(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 Nu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nu=Reflect.get:Nu=function(o,i,u){var c=XL(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Nu(e,t,r||e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(e)}function KL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function GL(e,t){return t&&(JL(t)==="object"||typeof t=="function")?t:yw(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function XL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zn(e),e!==null););return e}var JL=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 ZL(e){var t=QL();return function(){var n=zn(e),o;if(t){var i=zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GL(this,o)}}var iv=function(e){KL(r,e);var t=ZL(r);function r(n){UL(this,r);var o;return o=t.call(this,n),rv(yw(o),"props",void 0),o.props=new nv(n==null?void 0:n.props),o}return WL(r,[{key:"toDataBindModel",value:function(o){var i=Nu(zn(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);rv(iv,"controlFieldType",m.TIMESCOPE),rv(iv,"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:"date-common-time-setting",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 vw(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 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 e5(e,t,r){return t&&pw(e.prototype,t),r&&pw(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 ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function t5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function n5(e,t){return t&&(r5(t)==="object"||typeof t=="function")?t:vw(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}var r5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i5(e){var t=o5();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n5(this,o)}}var u5=function(e){t5(r,e);var t=i5(r);function r(n){YL(this,r);var o;return o=t.call(this,n),_w(vw(o),"props",void 0),o.props=new nv(n==null?void 0:n.props),o}return e5(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(D);_w(u5,"controlFieldType",m.TIMESCOPE);function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function lv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function c5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:Yt(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}var l5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fv(e){var t=a5();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 c5(this,o)}}var f5=function(e){lv(r,e);var t=fv(r);function r(n){cv(this,r);var o;return o=t.call(this,n),Ct(Yt(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ct(Yt(o),"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ct(Yt(o),"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(de),s5=function(e){lv(r,e);var t=fv(r);function r(n){cv(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),Fu=function(e){lv(r,e);var t=fv(r);function r(n){cv(this,r);var o;o=t.call(this,n),Ct(Yt(o),"maxLength",void 0),Ct(Yt(o),"minLength",void 0),Ct(Yt(o),"defaultValue",void 0),Ct(Yt(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:Lu.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}(N);Ct(Fu,"Rules",f5),Ct(Fu,"RuntimeRules",s5);function hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 d5(e,t,r){return t&&bw(e.prototype,t),r&&bw(e,r),e}function ju(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 v5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function p5(e,t){return t&&(_5(t)==="object"||typeof t=="function")?t:hw(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}var _5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b5(e){var t=h5();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p5(this,o)}}var Lu=function(e){v5(r,e);var t=b5(r);function r(n){y5(this,r);var o;return o=t.call(this,n),ju(hw(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return d5(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);ju(Lu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ju(Lu,"controlFieldType",m.TEXT),ju(Lu,"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 gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m5(e,t,r){return t&&mw(e.prototype,t),r&&mw(e,r),e}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 Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function O5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function w5(e,t){return t&&(P5(t)==="object"||typeof t=="function")?t:gw(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}var P5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $5(e){var t=R5();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 w5(this,o)}}var S5=function(e){O5(r,e);var t=$5(r);function r(n){g5(this,r);var o;return o=t.call(this,n),Ow(gw(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return m5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(D);Ow(S5,"controlFieldType",m.TEXT);function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function vv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function E5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:pn(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}var T5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _v(e){var t=I5();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 E5(this,o)}}var C5=function(e){vv(r,e);var t=_v(r);function r(n){dv(this,r);var o;return o=t.call(this,n),en(pn(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),en(pn(o),"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),en(pn(o),"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(de),B5=function(e){vv(r,e);var t=_v(r);function r(n){dv(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),Hu=function(e){vv(r,e);var t=_v(r);function r(n){dv(this,r);var o;o=t.call(this,n),en(pn(o),"maxLength",void 0),en(pn(o),"minLength",void 0),en(pn(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:Wu.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(N);en(Hu,"Rules",C5),en(Hu,"RuntimeRules",B5);function ww(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 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 x5(e,t,r){return t&&Pw(e.prototype,t),r&&Pw(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 Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function N5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hv(e,t)}function k5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:ww(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}var D5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j5(e){var t=F5();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 k5(this,o)}}var Wu=function(e){N5(r,e);var t=j5(r);function r(n){A5(this,r);var o;return o=t.call(this,n),qu(ww(o),"props",void 0),o.props=new Hu(n==null?void 0:n.props),o}return x5(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);qu(Wu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),qu(Wu,"controlFieldType",m.TEXT),qu(Wu,"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 Rw(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 $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 L5(e,t,r){return t&&$w(e.prototype,t),r&&$w(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 Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function V5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function z5(e,t){return t&&(H5(t)==="object"||typeof t=="function")?t:Rw(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}var H5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U5(e){var t=q5();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 z5(this,o)}}var W5=function(e){V5(r,e);var t=U5(r);function r(n){M5(this,r);var o;return o=t.call(this,n),Sw(Rw(o),"props",void 0),o.props=new Hu(n==null?void 0:n.props),o}return L5(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(D);Sw(W5,"controlFieldType",m.TEXT);function Ue(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 We(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 Tw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function K5(e,t){return t&&(G5(t)==="object"||typeof t=="function")?t:Ue(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var G5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iw(e){var t=X5();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 K5(this,o)}}var J5=function(e){Tw(r,e);var t=Iw(r);function r(n){return Ew(this,r),t.call(this,n)}return r}(Nn),mv=function(e){Tw(r,e);var t=Iw(r);function r(n){Ew(this,r);var o;o=t.call(this,n),We(Ue(o),"options",void 0),We(Ue(o),"defaultShowOptions",void 0),We(Ue(o),"optionConfig",void 0),We(Ue(o),"defaultValue",void 0),We(Ue(o),"datasourceBind",void 0),We(Ue(o),"multistageFilling",void 0),We(Ue(o),"allowCopyOptions",void 0),We(Ue(o),"openMultistageFilling",void 0),We(Ue(o),"viewFormModelType",void 0),We(Ue(o),"canViewForm",void 0),We(Ue(o),"formBind",void 0);var i;o.options=Ot((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 ee(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Pv.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 v;o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new $e(b))}));var h;o.canViewForm=(h=n==null?void 0:n.canViewForm)!==null&&h!==void 0?h:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);We(mv,"Rules",J5);function Cw(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 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 Z5(e,t,r){return t&&Bw(e.prototype,t),r&&Bw(e,r),e}function Ov(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(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&&wv(e,t)}function e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:Cw(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}var t6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r6(e){var t=n6();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e6(this,o)}}var Pv=function(e){Y5(r,e);var t=r6(r);function r(n){Q5(this,r);var o;return o=t.call(this,n),Ov(Cw(o),"props",void 0),o.props=new mv(n==null?void 0:n.props),o}return Z5(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);Ov(Pv,"controlFieldType",m.VARCHAR),Ov(Pv,"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,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{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 o6(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 i6(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function Nw(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 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&&Rv(e,t)}function c6(e,t){return t&&(l6(t)==="object"||typeof t=="function")?t:Aw(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var l6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f6(e){var t=a6();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 c6(this,o)}}var s6=function(e){u6(r,e);var t=f6(r);function r(n){o6(this,r);var o;return o=t.call(this,n),Nw(Aw(o),"props",void 0),o.props=new mv(n==null?void 0:n.props),o}return i6(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(D);Nw(s6,"controlFieldType",m.VARCHAR);function Ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function Sv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function y6(e,t){return t&&(d6(t)==="object"||typeof t=="function")?t:Ye(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}var d6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tv(e){var t=v6();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 y6(this,o)}}var p6=function(e){Sv(r,e);var t=Tv(r);function r(n){return $v(this,r),t.call(this,n)}return r}(Nn),_6=function(e){Sv(r,e);var t=Tv(r);function r(n){$v(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Zu=function(e){Sv(r,e);var t=Tv(r);function r(n){$v(this,r);var o;o=t.call(this,n),Ke(Ye(o),"options",void 0),Ke(Ye(o),"defaultShowOptions",void 0),Ke(Ye(o),"optionConfig",void 0),Ke(Ye(o),"defaultValue",void 0),Ke(Ye(o),"datasourceBind",void 0),Ke(Ye(o),"multistageFilling",void 0),Ke(Ye(o),"openMultistageFilling",void 0),Ke(Ye(o),"viewFormModelType",void 0),Ke(Ye(o),"canViewForm",void 0),Ke(Ye(o),"formBind",void 0);var i;o.options=Ot((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 ee(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Bv.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.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(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new $e(O))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var h;return o.viewFormModelType=(h=n==null?void 0:n.viewFormModelType)!==null&&h!==void 0?h:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);Ke(Zu,"Rules",p6),Ke(Zu,"RuntimeRules",_6);function kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 b6(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}function Iv(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 g6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function m6(e,t){return t&&(O6(t)==="object"||typeof t=="function")?t:kw(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}var O6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P6(e){var t=w6();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 m6(this,o)}}var Bv=function(e){g6(r,e);var t=P6(r);function r(n){h6(this,r);var o;return o=t.call(this,n),Iv(kw(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return b6(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);Iv(Bv,"controlFieldType",m.ARRAY),Iv(Bv,"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,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function Fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R6(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 $6(e,t,r){return t&&jw(e.prototype,t),r&&jw(e,r),e}function Mw(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 S6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function E6(e,t){return t&&(T6(t)==="object"||typeof t=="function")?t:Fw(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}var T6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C6(e){var t=I6();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 E6(this,o)}}var B6=function(e){S6(r,e);var t=C6(r);function r(n){R6(this,r);var o;return o=t.call(this,n),Mw(Fw(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return $6(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(D);Mw(B6,"controlFieldType",m.ARRAY);function Bt(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 At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(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&&xv(e,t)}function A6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:Bt(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}var x6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zw(e){var t=N6();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 A6(this,o)}}var k6=function(e){Vw(r,e);var t=zw(r);function r(n){Lw(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Nv=function(e){Vw(r,e);var t=zw(r);function r(n){Lw(this,r);var o;o=t.call(this,n),At(Bt(o),"showType",void 0),At(Bt(o),"range",void 0),At(Bt(o),"rangeOptions",void 0),At(Bt(o),"multiple",void 0),At(Bt(o),"defaultValueType",void 0),At(Bt(o),"defaultValue",void 0),At(Bt(o),"multistageFilling",void 0),At(Bt(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:Fv.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new $e(O))})),o}return r}(N);At(Nv,"RuntimeRules",k6);function Hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F6(e,t,r){return t&&qw(e.prototype,t),r&&qw(e,r),e}function kv(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 j6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function M6(e,t){return t&&(L6(t)==="object"||typeof t=="function")?t:Hw(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}var L6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z6(e){var t=V6();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 M6(this,o)}}var Fv=function(e){j6(r,e);var t=z6(r);function r(n){D6(this,r);var o;return o=t.call(this,n),kv(Hw(o),"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return F6(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(k);kv(Fv,"controlFieldType",m.EMPLOYEES),kv(Fv,"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 Uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q6(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(e,r),e}function Kw(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 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&&jv(e,t)}function W6(e,t){return t&&(K6(t)==="object"||typeof t=="function")?t:Uw(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var K6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X6(e){var t=G6();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 W6(this,o)}}var J6=function(e){U6(r,e);var t=X6(r);function r(n){H6(this,r);var o;return o=t.call(this,n),Kw(Uw(o),"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return q6(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(D);Kw(J6,"controlFieldType",m.EMPLOYEES);function xt(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 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 oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function Lv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function Q6(e,t){return t&&(Z6(t)==="object"||typeof t=="function")?t:xt(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}var Z6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zv(e){var t=Y6();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 Q6(this,o)}}var e4=10485760,t4=104857600,n4=1048576e3,r4=function(e){Lv(r,e);var t=zv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),yt(xt(o),"maxSize",{type:"number",min:0,max:n4,message:p.getMessage("attachmentMaxSize")}),o}return r}(de),o4=function(e){Lv(r,e);var t=zv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:p.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(H),ic=function(e){Lv(r,e);var t=zv(r);function r(n){Mv(this,r);var o;o=t.call(this,n),yt(xt(o),"defaultValue",void 0),yt(xt(o),"showType",void 0),yt(xt(o),"resultShowType",void 0),yt(xt(o),"attachmentAccept",void 0),yt(xt(o),"maxLimit",void 0),yt(xt(o),"minLimit",void 0),yt(xt(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.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"simple";var a;o.attachmentAccept=(a=n==null?void 0:n.attachmentAccept)!==null&&a!==void 0?a:[];var l;o.maxLimit=(l=n==null?void 0:n.maxLimit)!==null&&l!==void 0?l:10;var f;o.minLimit=(f=n==null?void 0:n.minLimit)!==null&&f!==void 0?f:0;var y;o.maxSize=(y=n==null?void 0:n.maxSize)!==null&&y!==void 0?y:t4;var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:uo.controlName;var h;return o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(N);yt(ic,"Rules",r4),yt(ic,"RuntimeRules",o4);function Gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i4(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 u4(e,t,r){return t&&Xw(e.prototype,t),r&&Xw(e,r),e}function uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function c4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 l4(e,t){return t&&(a4(t)==="object"||typeof t=="function")?t:Gw(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var a4=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 s4(e){var t=f4();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 l4(this,o)}}var uo=function(e){c4(r,e);var t=s4(r);function r(n){i4(this,r);var o;return o=t.call(this,n),uc(Gw(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return u4(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(k);uc(uo,"controlEventKeys",["on_change"]),uc(uo,"controlFieldType",m.FILE),uc(uo,"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 Jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d4(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(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 lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function v4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function p4(e,t){return t&&(_4(t)==="object"||typeof t=="function")?t:Jw(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}var _4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b4(e){var t=h4();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 p4(this,o)}}var g4=function(e){v4(r,e);var t=b4(r);function r(n){y4(this,r);var o;return o=t.call(this,n),Zw(Jw(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return d4(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(D);Zw(g4,"controlFieldType",m.FILE);function m4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O4(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 w4(e,t,r){return t&&Yw(e.prototype,t),r&&Yw(e,r),e}function eP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function P4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 R4(e,t){return t&&($4(t)==="object"||typeof t=="function")?t:m4(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var $4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E4(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 R4(this,o)}}var tP=function(e){P4(r,e);var t=E4(r);function r(n){O4(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 w4(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(uo);eP(tP,"controlFieldType",m.IMAGE),eP(tP,"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 Be(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 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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(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 T4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){he(e,o,r[o])})}return e}function I4(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 C4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):I4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function B4(e,t){return t&&(A4(t)==="object"||typeof t=="function")?t:Be(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}var A4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xv(e){var t=x4();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 B4(this,o)}}var N4=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;o=t.call(this,n),he(Be(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}}),he(Be(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:p.getMessage("numberRangeSetError")}),o}return r}(Nn),k4=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(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:[C4(T4({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(H),sc=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;o=t.call(this,n),he(Be(o),"rangeMin",void 0),he(Be(o),"rangeMax",void 0),he(Be(o),"showUpperCase",void 0),he(Be(o),"submitSelectCurrency",void 0),he(Be(o),"micrometer",void 0),he(Be(o),"precision",void 0),he(Be(o),"optionConfig",void 0),he(Be(o),"dataBind",void 0),he(Be(o),"datasourceBind",void 0),he(Be(o),"defaultValue",void 0),he(Be(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 p1(n==null?void 0:n.dataBind);var f;o.datasourceBind=new ee((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new as({value:"name"})]});var y;o.defaultValue=new _1((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:Eo.CNY}),o.options=Ot(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:vc.controlName;var h;o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var b;return o.showUpperCase=(b=n==null?void 0:n.showUpperCase)!==null&&b!==void 0?b:!1,o}return r}(N);he(sc,"Rules",N4),he(sc,"RuntimeRules",k4);function nP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 F4(e,t,r){return t&&rP(e.prototype,t),r&&rP(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 dc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?dc=Reflect.get:dc=function(o,i,u){var c=L4(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},dc(e,t,r||e)}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hn(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&&Jv(e,t)}function M4(e,t){return t&&(V4(t)==="object"||typeof t=="function")?t:nP(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function L4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hn(e),e!==null););return e}var V4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H4(e){var t=z4();return function(){var n=Hn(e),o;if(t){var i=Hn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M4(this,o)}}var vc=function(e){j4(r,e);var t=H4(r);function r(n){D4(this,r);var o;return o=t.call(this,n),yc(nP(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return F4(r,[{key:"toDataBindModel",value:function(o){var i=dc(Hn(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);yc(vc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),yc(vc,"controlFieldType",m.MONEY),yc(vc,"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 oP(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 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 U4(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 pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function W4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K4(e,t){return t&&(G4(t)==="object"||typeof t=="function")?t:oP(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}var G4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J4(e){var t=X4();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 K4(this,o)}}var Q4=function(e){W4(r,e);var t=J4(r);function r(n){q4(this,r);var o;return o=t.call(this,n),uP(oP(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return U4(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(D);uP(Q4,"controlFieldType",m.MONEY);function tn(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 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 _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function Yv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function Z4(e,t){return t&&(Y4(t)==="object"||typeof t=="function")?t:tn(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var Y4=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 tp(e){var t=e7();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 Z4(this,o)}}var t7=function(e){Yv(r,e);var t=tp(r);function r(n){Zv(this,r);var o;return o=t.call(this,n),Nt(tn(o),"totalScore",[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}]),Nt(tn(o),"defaultValue",{type:"number",min:0,max:5,message:p.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(de),n7=function(e){Yv(r,e);var t=tp(r);function r(n){Zv(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(H),hc=function(e){Yv(r,e);var t=tp(r);function r(n){Zv(this,r);var o,i;o=t.call(this,n),Nt(tn(o),"totalScore",void 0),Nt(tn(o),"scoreType",void 0),Nt(tn(o),"isShowExplain",void 0),Nt(tn(o),"explain",void 0),Nt(tn(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:vy.STAR;var a;o.isShowExplain=(a=n==null?void 0:n.isShowExplain)!==null&&a!==void 0?a:!0;var l;o.explain=(l=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(v){return new py(v)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new py});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:mc.controlName,o}return r}(N);Nt(hc,"Rules",t7),Nt(hc,"RuntimeRules",n7);function np(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 r7(e){if(Array.isArray(e))return np(e)}function cP(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 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 i7(e,t,r){return t&&lP(e.prototype,t),r&&lP(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?gc=Reflect.get:gc=function(o,i,u){var c=f7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},gc(e,t,r||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function u7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function c7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function l7(){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 a7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:cP(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function f7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function s7(e){return r7(e)||c7(e)||d7(e)||l7()}var y7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d7(e,t){if(!!e){if(typeof e=="string")return np(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 np(e,t)}}function v7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p7(e){var t=v7();return function(){var n=qn(e),o;if(t){var i=qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a7(this,o)}}var mc=function(e){u7(r,e);var t=p7(r);function r(n){o7(this,r);var o;return o=t.call(this,n),bc(cP(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return i7(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 py});(u=this.props.explain).push.apply(u,s7(a))}}gc(qn(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);bc(mc,"controlEventKeys",["on_change","on_click"]),bc(mc,"controlFieldType",m.DECIMAL),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:"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 aP(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 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 h7(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 Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function b7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g7(e,t){return t&&(m7(t)==="object"||typeof t=="function")?t:aP(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}var m7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w7(e){var t=O7();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 g7(this,o)}}var P7=function(e){b7(r,e);var t=w7(r);function r(n){_7(this,r);var o;return o=t.call(this,n),sP(aP(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return h7(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(D);sP(P7,"controlFieldType",m.DECIMAL);function wc(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 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){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(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&&ip(e,t)}function R7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:wc(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var $7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vP(e){var t=S7();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 R7(this,o)}}var E7=function(e){dP(r,e);var t=vP(r);function r(n){yP(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(H),up=function(e){dP(r,e);var t=vP(r);function r(n){yP(this,r);var o;o=t.call(this,n),Pc(wc(o),"defaultValueType",void 0),Pc(wc(o),"defaultValue",void 0),Pc(wc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ap.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 g1((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}(N);Pc(up,"RuntimeRules",E7);function pP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 I7(e,t,r){return t&&_P(e.prototype,t),r&&_P(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 $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&lp(e,t)}function B7(e,t){return t&&(A7(t)==="object"||typeof t=="function")?t:pP(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}var A7=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 N7(e){var t=x7();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 B7(this,o)}}var ap=function(e){C7(r,e);var t=N7(r);function r(n){T7(this,r);var o;return o=t.call(this,n),cp(pP(o),"props",void 0),o.props=new up(n==null?void 0:n.props),o}return I7(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(k);cp(ap,"controlFieldType",m.ADDRESS),cp(ap,"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 hP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 D7(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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&fp(e,t)}function j7(e,t){return t&&(M7(t)==="object"||typeof t=="function")?t:hP(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}var M7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V7(e){var t=L7();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 j7(this,o)}}var z7=function(e){F7(r,e);var t=V7(r);function r(n){k7(this,r);var o;return o=t.call(this,n),gP(hP(o),"props",void 0),o.props=new up(n==null?void 0:n.props),o}return D7(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);gP(z7,"controlFieldType",m.ADDRESS);function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function OP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function H7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:et(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var q7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wP(e){var t=U7();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 H7(this,o)}}var W7=function(e){OP(r,e);var t=wP(r);function r(n){mP(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),yp=function(e){OP(r,e);var t=wP(r);function r(n){mP(this,r);var o;o=t.call(this,n),tt(et(o),"showType",void 0),tt(et(o),"range",void 0),tt(et(o),"defaultValueType",void 0),tt(et(o),"multiple",void 0),tt(et(o),"rangeOptions",void 0),tt(et(o),"defaultValue",void 0),tt(et(o),"displayLevel",void 0),tt(et(o),"showSubDept",void 0),tt(et(o),"multistageFilling",void 0),tt(et(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 v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Cc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new $e(w))})),o}return r}(N);tt(yp,"RuntimeRules",W7);function PP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 G7(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function Tc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ic=Reflect.get:Ic=function(o,i,u){var c=Q7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Ic(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(e)}function X7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function J7(e,t){return t&&(Z7(t)==="object"||typeof t=="function")?t:PP(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}function Q7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}var Z7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e8(e){var t=Y7();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 J7(this,o)}}var Cc=function(e){X7(r,e);var t=e8(r);function r(n){K7(this,r);var o;return o=t.call(this,n),Tc(PP(o),"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return G7(r,[{key:"toDataBindModel",value:function(o){var i=Ic(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:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(k);Tc(Cc,"controlName","\u90E8\u95E8"),Tc(Cc,"controlFieldType",m.DEPARTMENTS),Tc(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:"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 $P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n8(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function EP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(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&&vp(e,t)}function o8(e,t){return t&&(i8(t)==="object"||typeof t=="function")?t:$P(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var i8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c8(e){var t=u8();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 l8=function(e){r8(r,e);var t=c8(r);function r(n){t8(this,r);var o;return o=t.call(this,n),EP($P(o),"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return n8(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(D);EP(l8,"controlFieldType",m.DEPARTMENTS);function TP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function s8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:TP(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}var d8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p8(e){var t=v8();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 y8(this,o)}}var IP=function(e){s8(r,e);var t=p8(r);function r(n){a8(this,r);var o;o=t.call(this,n),f8(TP(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:kc.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}(N);function CP(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 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 h8(e,t,r){return t&&BP(e.prototype,t),r&&BP(e,r),e}function xc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(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&&_p(e,t)}function g8(e,t){return t&&(m8(t)==="object"||typeof t=="function")?t:CP(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}var m8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w8(e){var t=O8();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 g8(this,o)}}var kc=function(e){b8(r,e);var t=w8(r);function r(n){_8(this,r);var o;return o=t.call(this,n),xc(CP(o),"props",void 0),o.props=new IP(n==null?void 0:n.props),o}return h8(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);xc(kc,"controlEventKeys",["on_change"]),xc(kc,"controlFieldType",m.AUTO_NUMBER),xc(kc,"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 AP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 R8(e,t,r){return t&&xP(e.prototype,t),r&&xP(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 Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function $8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function S8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:AP(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(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 I8(e){var t=T8();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 S8(this,o)}}var C8=function(e){$8(r,e);var t=I8(r);function r(n){P8(this,r);var o;return o=t.call(this,n),NP(AP(o),"props",void 0),o.props=new IP(n==null?void 0:n.props),o}return R8(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(D);NP(C8,"controlFieldType",m.AUTO_NUMBER);function nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function gp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function B8(e,t){return t&&(A8(t)==="object"||typeof t=="function")?t:nn(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}var A8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Op(e){var t=x8();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 B8(this,o)}}var N8=function(e){gp(r,e);var t=Op(r);function r(n){bp(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),k8=function(e){gp(r,e);var t=Op(r);function r(n){bp(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return r}(H),jc=function(e){gp(r,e);var t=Op(r);function r(n){bp(this,r);var o;o=t.call(this,n),kt(nn(o),"precision",void 0),kt(nn(o),"micrometer",void 0),kt(nn(o),"showUpperCase",void 0),kt(nn(o),"scriptSrc",void 0),kt(nn(o),"scriptEcho",void 0),kt(nn(o),"dataBind",void 0),kt(nn(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 m1(n==null?void 0:n.dataBind),o.defaultValue=new O1(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Vc.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}(N);kt(jc,"Rules",N8),kt(jc,"RuntimeRules",k8);function kP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F8(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function Mc(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lc=Reflect.get:Lc=function(o,i,u){var c=L8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Lc(e,t,r||e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(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&&wp(e,t)}function M8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:kP(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}function L8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}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=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M8(this,o)}}var Vc=function(e){j8(r,e);var t=H8(r);function r(n){D8(this,r);var o;return o=t.call(this,n),Mc(kP(o),"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return F8(r,[{key:"toDataBindModel",value:function(o){var i=Lc(Wn(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);Mc(Vc,"controlEventKeys",["on_change"]),Mc(Vc,"controlFieldType",m.CALC),Mc(Vc,"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 FP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q8(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 U8(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function MP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function W8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function K8(e,t){return t&&(G8(t)==="object"||typeof t=="function")?t:FP(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}var G8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J8(e){var t=X8();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 K8(this,o)}}var Q8=function(e){W8(r,e);var t=J8(r);function r(n){q8(this,r);var o;return o=t.call(this,n),MP(FP(o),"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return U8(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(D);MP(Q8,"controlFieldType",m.CALC);function Kn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function VP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Z8(e,t){return t&&(Y8(t)==="object"||typeof t=="function")?t:Kn(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var Y8=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 zP(e){var t=e9();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 Z8(this,o)}}var t9=function(e){VP(r,e);var t=zP(r);function r(n){LP(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(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(H),$p=function(e){VP(r,e);var t=zP(r);function r(n){LP(this,r);var o;o=t.call(this,n),Gn(Kn(o),"rangeMin",void 0),Gn(Kn(o),"rangeMax",void 0),Gn(Kn(o),"placeholderStart",void 0),Gn(Kn(o),"placeholderEnd",void 0),Gn(Kn(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:Tp.controlName,o}return r}(N);Gn($p,"RuntimeRules",t9);function HP(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 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 r9(e,t,r){return t&&qP(e.prototype,t),r&&qP(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 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&&Ep(e,t)}function i9(e,t){return t&&(u9(t)==="object"||typeof t=="function")?t:HP(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(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=qc(e),o;if(t){var i=qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i9(this,o)}}var Tp=function(e){o9(r,e);var t=l9(r);function r(n){n9(this,r);var o;return o=t.call(this,n),Sp(HP(o),"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return r9(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);Sp(Tp,"controlFieldType",m.DECIMAL_RANGE),Sp(Tp,"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 UP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 f9(e,t,r){return t&&WP(e.prototype,t),r&&WP(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 Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function s9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function y9(e,t){return t&&(d9(t)==="object"||typeof t=="function")?t:UP(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(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 p9(e){var t=v9();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 y9(this,o)}}var _9=function(e){s9(r,e);var t=p9(r);function r(n){a9(this,r);var o;return o=t.call(this,n),KP(UP(o),"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return f9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(D);KP(_9,"controlFieldType",m.DECIMAL_RANGE);function nt(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 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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function XP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h9(e,t){return t&&(b9(t)==="object"||typeof t=="function")?t:nt(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}var b9=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 JP(e){var t=g9();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 h9(this,o)}}var m9=function(e){XP(r,e);var t=JP(r);function r(n){GP(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}(H),Bp=function(e){XP(r,e);var t=JP(r);function r(n){GP(this,r);var o,i;o=t.call(this,n),rt(nt(o),"rangeMin",void 0),rt(nt(o),"rangeMax",void 0),rt(nt(o),"placeholderStart",void 0),rt(nt(o),"placeholderEnd",void 0),rt(nt(o),"dateType",void 0),rt(nt(o),"dateFormat",void 0),rt(nt(o),"commonTimeSetting",void 0),rt(nt(o),"setValueType",void 0),rt(nt(o),"defaultValue",void 0),rt(nt(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:Ft.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var y;o.rangeMin=(y=n==null?void 0:n.rangeMin)!==null&&y!==void 0?y:"";var v;o.rangeMax=(v=n==null?void 0:n.rangeMax)!==null&&v!==void 0?v:"";var h;o.placeholderStart=(h=n==null?void 0:n.placeholderStart)!==null&&h!==void 0?h:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Np.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(_){return new dy(_)}))!==null&&w!==void 0?w:[],o}return r}(N);rt(Bp,"RuntimeRules",m9);function QP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w9(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function Ap(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 P9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function R9(e,t){return t&&($9(t)==="object"||typeof t=="function")?t:QP(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}var $9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E9(e){var t=S9();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R9(this,o)}}var Np=function(e){P9(r,e);var t=E9(r);function r(n){O9(this,r);var o;return o=t.call(this,n),Ap(QP(o),"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return w9(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);Ap(Np,"controlFieldType",m.ARRAY),Ap(Np,"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:"date-common-time-setting",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 YP(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 eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I9(e,t,r){return t&&eR(e.prototype,t),r&&eR(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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function C9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function B9(e,t){return t&&(A9(t)==="object"||typeof t=="function")?t:YP(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}var A9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N9(e){var t=x9();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 B9(this,o)}}var k9=function(e){C9(r,e);var t=N9(r);function r(n){T9(this,r);var o;return o=t.call(this,n),tR(YP(o),"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return I9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(D);tR(k9,"controlFieldType",m.ARRAY);function co(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function Fp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D9(e,t){return t&&(F9(t)==="object"||typeof t=="function")?t:co(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}var F9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mp(e){var t=j9();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 D9(this,o)}}var M9=function(e){Fp(r,e);var t=Mp(r);function r(n){Dp(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(de),L9=function(e){Fp(r,e);var t=Mp(r);function r(n){Dp(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(H),Jc=function(e){Fp(r,e);var t=Mp(r);function r(n){Dp(this,r);var o;o=t.call(this,n),Xn(co(o),"controlExportName",void 0),Xn(co(o),"permissions",void 0),Xn(co(o),"defaultValue",void 0),Xn(co(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yc.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}(N);Xn(Jc,"Rules",M9),Xn(Jc,"RuntimeRules",L9);function nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z9(e,t,r){return t&&rR(e.prototype,t),r&&rR(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 Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function H9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:nR(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}var U9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K9(e){var t=W9();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 q9(this,o)}}var Yc=function(e){H9(r,e);var t=K9(r);function r(n){V9(this,r);var o;return o=t.call(this,n),Qc(nR(o),"props",void 0),o.props=new Jc(n==null?void 0:n.props),o}return z9(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);Qc(Yc,"controlFieldType",m.ANY),Qc(Yc,"controlEventKeys",[]),Qc(Yc,"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 oR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X9(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),e}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 el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function J9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function Q9(e,t){return t&&(Z9(t)==="object"||typeof t=="function")?t:oR(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}var Z9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eV(e){var t=Y9();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 Q9(this,o)}}var tV=function(e){J9(r,e);var t=eV(r);function r(n){G9(this,r);var o;return o=t.call(this,n),uR(oR(o),"props",void 0),o.props=new Jc(n==null?void 0:n.props),o}return X9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(D);uR(tV,"controlFieldType",m.ANY);function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function lR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nV(e,t){return t&&(rV(t)==="object"||typeof t=="function")?t:Ae(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}var rV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aR(e){var t=oV();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 nV(this,o)}}var iV=function(e){lR(r,e);var t=aR(r);function r(n){cR(this,r);var o;return o=t.call(this,n),xe(Ae(o),"listPageBind",[{type:"object",message:p.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}]}}]),o}return r}(Nn),Hp=function(e){lR(r,e);var t=aR(r);function r(n){cR(this,r);var o;o=t.call(this,n),xe(Ae(o),"options",void 0),xe(Ae(o),"optionConfig",void 0),xe(Ae(o),"defaultValue",void 0),xe(Ae(o),"listPageBind",void 0),xe(Ae(o),"datasourceBind",void 0),xe(Ae(o),"multistageFilling",void 0),xe(Ae(o),"viewFormModelType",void 0),xe(Ae(o),"canViewForm",void 0),xe(Ae(o),"formBind",void 0),xe(Ae(o),"openMultistageFilling",void 0),xe(Ae(o),"showSelectedDetail",void 0),xe(Ae(o),"selectedContentConfig",void 0);var i;o.options=Ot((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 cs(n==null?void 0:n.listPageBind),o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ol.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;var y;o.showSelectedDetail=(y=n==null?void 0:n.showSelectedDetail)!==null&&y!==void 0?y:!1,o.selectedContentConfig=new ss(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new $e(O))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var h;return o.viewFormModelType=(h=n==null?void 0:n.viewFormModelType)!==null&&h!==void 0?h:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);xe(Hp,"Rules",iV);function fR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cV(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function nl(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 lV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function aV(e,t){return t&&(fV(t)==="object"||typeof t=="function")?t:fR(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}var fV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yV(e){var t=sV();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 aV(this,o)}}var ol=function(e){lV(r,e);var t=yV(r);function r(n){uV(this,r);var o;return o=t.call(this,n),nl(fR(o),"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return cV(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(k);nl(ol,"controlFieldType",m.VARCHAR),nl(ol,"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_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),nl(ol,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function yR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vV(e,t,r){return t&&dR(e.prototype,t),r&&dR(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 il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(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&&Up(e,t)}function _V(e,t){return t&&(hV(t)==="object"||typeof t=="function")?t:yR(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}var hV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gV(e){var t=bV();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 _V(this,o)}}var mV=function(e){pV(r,e);var t=gV(r);function r(n){dV(this,r);var o;return o=t.call(this,n),vR(yR(o),"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return vV(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(D);vR(mV,"controlFieldType",m.VARCHAR);function OV(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 ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(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&&Wp(e,t)}function RV(e,t){return t&&($V(t)==="object"||typeof t=="function")?t:OV(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}var $V=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EV(e){var t=SV();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RV(this,o)}}var pR=function(e){PV(r,e);var t=EV(r);function r(n){return wV(this,r),t.call(this,n)}return r}(oo);function _R(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 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 IV(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function bR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(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&&Kp(e,t)}function BV(e,t){return t&&(AV(t)==="object"||typeof t=="function")?t:_R(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(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=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BV(this,o)}}var kV=function(e){CV(r,e);var t=NV(r);function r(n){TV(this,r);var o;return o=t.call(this,n),bR(_R(o),"props",void 0),o.props=new pR(n==null?void 0:n.props),o}return IV(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(io);bR(kV,"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 gR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 FV(e,t,r){return t&&mR(e.prototype,t),r&&mR(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 ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(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&&Gp(e,t)}function MV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:gR(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}var LV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zV(e){var t=VV();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 MV(this,o)}}var HV=function(e){jV(r,e);var t=zV(r);function r(n){DV(this,r);var o;return o=t.call(this,n),OR(gR(o),"props",void 0),o.props=new pR(n==null?void 0:n.props),o}return FV(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(D);OR(HV,"controlFieldType",m.VARCHAR);function K(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 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 al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function Jp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function qV(e,t){return t&&(UV(t)==="object"||typeof t=="function")?t:K(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}var UV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zp(e){var t=WV();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 qV(this,o)}}var KV=function(e){Jp(r,e);var t=Zp(r);function r(n){Xp(this,r);var o;return o=t.call(this,n),G(K(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Bo.call(K(o),n,_n.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:p.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:p.getMessage("rootNodeIsRequired")}}}]),o}return r}(de),GV=function(e){Jp(r,e);var t=Zp(r);function r(n){Xp(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),fl=function(e){Jp(r,e);var t=Zp(r);function r(n){Xp(this,r);var o,i;o=t.call(this,n),G(K(o),"placeholder",void 0),G(K(o),"multiple",void 0),G(K(o),"canSearch",void 0),G(K(o),"levelType",void 0),G(K(o),"optionalLevel",void 0),G(K(o),"containsSubNode",void 0),G(K(o),"defaultDisplay",void 0),G(K(o),"isShowIncludeSub",void 0),G(K(o),"isDefaultCheckSub",void 0),G(K(o),"isShowFilterItem",void 0),G(K(o),"defaultCollapse",void 0),G(K(o),"defaultCollapseLevel",void 0),G(K(o),"optionConfig","datasource"),G(K(o),"datasourceBind",void 0),G(K(o),"filterItemDatasourceBind",void 0),G(K(o),"multistageFilling",void 0),G(K(o),"defaultValue",void 0),G(K(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:_n.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 v;o.containsSubNode=(v=n==null?void 0:n.containsSubNode)!==null&&v!==void 0?v:!1;var h;o.isShowFilterItem=(h=n==null?void 0:n.isShowFilterItem)!==null&&h!==void 0?h:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var b;o.isDefaultCheckSub=(b=n==null?void 0:n.isDefaultCheckSub)!==null&&b!==void 0?b:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var _;o.defaultCollapseLevel=(_=n==null?void 0:n.defaultCollapseLevel)!==null&&_!==void 0?_:1;var P;o.datasourceBind=new X0((P=n==null?void 0:n.datasourceBind)!==null&&P!==void 0?P:{attributes:_n.controlCustomAttributes});var R;o.filterItemDatasourceBind=new X0((R=n==null?void 0:n.filterItemDatasourceBind)!==null&&R!==void 0?R:{attributes:_n.controlCustomAttributes});var $;o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var j;o.multistageFilling=(j=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(W){return new $e(W)}))!==null&&j!==void 0?j:[];var A;return o.defaultValue=(A=n==null?void 0:n.defaultValue)!==null&&A!==void 0?A:[],o}return r}(N);G(fl,"Rules",KV),G(fl,"RuntimeRules",GV);function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 JV(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function sl(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 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&&Yp(e,t)}function ZV(e,t){return t&&(YV(t)==="object"||typeof t=="function")?t:wR(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}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=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZV(this,o)}}var _n=function(e){QV(r,e);var t=tz(r);function r(n){XV(this,r);var o;return o=t.call(this,n),sl(wR(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return JV(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);sl(_n,"controlEventKeys",["on_change","on_click"]),sl(_n,"controlFieldType",m.ARRAY),sl(_n,"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 RR(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 $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 rz(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function SR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function iz(e,t){return t&&(uz(t)==="object"||typeof t=="function")?t:RR(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(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=dl(e),o;if(t){var i=dl(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),SR(RR(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return rz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(D);SR(az,"controlFieldType",m.ARRAY);function fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function n_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function fz(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:fe(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(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 o_(e){var t=yz();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fz(this,o)}}var dz=function(e){n_(r,e);var t=o_(r);function r(n){t_(this,r);var o;return o=t.call(this,n),se(fe(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),se(fe(o),"externalScope",{type:"any"}),Bo.call(fe(o),n,lo.controlCustomAttributes),n.externalType===Kt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return r}(de),vz=function(e){n_(r,e);var t=o_(r);function r(n){t_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),pl=function(e){n_(r,e);var t=o_(r);function r(n){t_(this,r);var o;o=t.call(this,n),se(fe(o),"showType",void 0),se(fe(o),"range",void 0),se(fe(o),"rangeOptions",void 0),se(fe(o),"multiple",void 0),se(fe(o),"defaultValueType",void 0),se(fe(o),"defaultValue",void 0),se(fe(o),"multistageFilling",void 0),se(fe(o),"datasourceBind",void 0),se(fe(o),"datasourceType",void 0),se(fe(o),"insideType",void 0),se(fe(o),"externalType",void 0),se(fe(o),"externalScope",void 0),se(fe(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:lo.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var h;o.datasourceBind=new So((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:lo.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:hy.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b:by.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:Kt.ALL;var _;o.externalScope=(_=n==null?void 0:n.externalScope)!==null&&_!==void 0?_:[];var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var $;($=o.multistageFilling)===null||$===void 0||$.push(new $e(R))})),o}return r}(N);se(pl,"Rules",dz),se(pl,"RuntimeRules",vz);function ER(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 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 _z(e,t,r){return t&&TR(e.prototype,t),r&&TR(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 _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(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&&u_(e,t)}function bz(e,t){return t&&(gz(t)==="object"||typeof t=="function")?t:ER(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(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=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bz(this,o)}}var lo=function(e){hz(r,e);var t=Oz(r);function r(n){pz(this,r);var o;return o=t.call(this,n),i_(ER(o),"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return _z(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);i_(lo,"controlFieldType",m.EMPLOYEES),i_(lo,"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 IR(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 CR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pz(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function BR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(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&&c_(e,t)}function $z(e,t){return t&&(Sz(t)==="object"||typeof t=="function")?t:IR(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(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=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $z(this,o)}}var Iz=function(e){Rz(r,e);var t=Tz(r);function r(n){wz(this,r);var o;return o=t.call(this,n),BR(IR(o),"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return Pz(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(D);BR(Iz,"controlFieldType",m.EMPLOYEES);function dt(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 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 bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function xR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cz(e,t){return t&&(Bz(t)==="object"||typeof t=="function")?t:dt(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}var Bz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Az(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NR(e){var t=Az();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 Cz(this,o)}}var xz=function(e){xR(r,e);var t=NR(r);function r(n){AR(this,r);var o;return o=t.call(this,n),vt(dt(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"&&ts(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")&&ts(f.value)&&f.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(de),a_=function(e){xR(r,e);var t=NR(r);function r(n){AR(this,r);var o;o=t.call(this,n),vt(dt(o),"buttonType",void 0),vt(dt(o),"content",void 0),vt(dt(o),"showType",void 0),vt(dt(o),"color",void 0),vt(dt(o),"icon",void 0),vt(dt(o),"command",""),vt(dt(o),"isLoading",!1),vt(dt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ol.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 s2(n==null?void 0:n.signatureConfig),o}return r}(N);vt(a_,"Rules",xz);function kR(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 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 kz(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function gl(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 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&&f_(e,t)}function Fz(e,t){return t&&(jz(t)==="object"||typeof t=="function")?t:kR(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}var jz=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 Lz(e){var t=Mz();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 Fz(this,o)}}var Ol=function(e){Dz(r,e);var t=Lz(r);function r(n){Nz(this,r);var o;return o=t.call(this,n),gl(kR(o),"props",void 0),o.props=new a_(n==null?void 0:n.props),o}return kz(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);gl(Ol,"controlEventKeys",["on_click","on_click_finish"]),gl(Ol,"controlFieldType",m.VARCHAR),gl(Ol,"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 FR(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 jR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zz(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}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 wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(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&&s_(e,t)}function qz(e,t){return t&&(Uz(t)==="object"||typeof t=="function")?t:FR(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var Uz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kz(e){var t=Wz();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 qz(this,o)}}var Gz=function(e){Hz(r,e);var t=Kz(r);function r(n){Vz(this,r);var o;return o=t.call(this,n),MR(FR(o),"props",void 0),o.props=new a_(n==null?void 0:n.props),o}return zz(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(D);MR(Gz,"controlFieldType",m.VARCHAR);function be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(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&&v_(e,t)}function Xz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:be(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var Jz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p_(e){var t=Qz();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 Xz(this,o)}}var Zz=function(e){d_(r,e);var t=p_(r);function r(n){y_(this,r);var o;return o=t.call(this,n),ye(be(o),"content",{type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")}),ye(be(o),"canAdd",void 0),ye(be(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(p.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(p.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(p.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(de),Yz=function(e){d_(r,e);var t=p_(r);function r(n){y_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Rl=function(e){d_(r,e);var t=p_(r);function r(n){y_(this,r);var o;o=t.call(this,n),ye(be(o),"content",void 0),ye(be(o),"canAdd",void 0),ye(be(o),"addLocal",void 0),ye(be(o),"addOnline",void 0),ye(be(o),"canDownload",void 0),ye(be(o),"canEdit",void 0),ye(be(o),"canExport",void 0),ye(be(o),"canDelete",void 0),ye(be(o),"wpsSetting",void 0),ye(be(o),"maxSize",void 0),ye(be(o),"defaultValue",void 0),ye(be(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:El.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 v;o.canExport=(v=n==null?void 0:n.canExport)!==null&&v!==void 0?v:!0;var h;o.canDelete=(h=n==null?void 0:n.canDelete)!==null&&h!==void 0?h:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:e4;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new y2(n==null?void 0:n.wpsSetting);var w;return o.revisionsMode=(w=n==null?void 0:n.revisionsMode)!==null&&w!==void 0?w:!1,o}return r}(N);ye(Rl,"Rules",Zz),ye(Rl,"RuntimeRules",Yz);function LR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tH(e,t,r){return t&&VR(e.prototype,t),r&&VR(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 nH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rH(e,t){return t&&(oH(t)==="object"||typeof t=="function")?t:LR(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var oH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uH(e){var t=iH();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 rH(this,o)}}var El=function(e){nH(r,e);var t=uH(r);function r(n){eH(this,r);var o;return o=t.call(this,n),$l(LR(o),"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return tH(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);$l(El,"controlEventKeys",["on_change","on_wps_open"]),$l(El,"controlFieldType",m.FILE),$l(El,"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 zR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lH(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 Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function aH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h_(e,t)}function fH(e,t){return t&&(sH(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 sH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=yH();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 fH(this,o)}}var vH=function(e){aH(r,e);var t=dH(r);function r(n){cH(this,r);var o;return o=t.call(this,n),qR(zR(o),"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return lH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(D);qR(vH,"controlFieldType",m.FILE);function ne(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 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 Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(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&&m_(e,t)}function pH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:ne(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(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 O_(e){var t=hH();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 pH(this,o)}}var bH=function(e){g_(r,e);var t=O_(r);function r(n){b_(this,r);var o;return o=t.call(this,n),re(ne(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),re(ne(o),"businessScope",{type:"any"}),Bo.call(ne(o),n,Qn.controlCustomAttributes),n.businessType===Kt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(de),gH=function(e){g_(r,e);var t=O_(r);function r(n){b_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Cl=function(e){g_(r,e);var t=O_(r);function r(n){b_(this,r);var o;o=t.call(this,n),re(ne(o),"showType",void 0),re(ne(o),"range",void 0),re(ne(o),"defaultValueType",void 0),re(ne(o),"multiple",void 0),re(ne(o),"rangeOptions",void 0),re(ne(o),"defaultValue",void 0),re(ne(o),"displayLevel",void 0),re(ne(o),"showSubDept",void 0),re(ne(o),"multistageFilling",void 0),re(ne(o),"datasourceBind",void 0),re(ne(o),"datasourceType",void 0),re(ne(o),"businessType",void 0),re(ne(o),"businessScope",void 0),re(ne(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 v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Qn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;o.datasourceBind=new So((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Qn.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ii.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:Kt.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 $e($))})),o}return r}(N);re(Cl,"Rules",bH),re(Cl,"RuntimeRules",gH);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mH(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 OH(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Al=Reflect.get:Al=function(o,i,u){var c=RH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Al(e,t,r||e)}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(e)}function wH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function PH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:UR(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function RH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jn(e),e!==null););return e}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=Jn(e),o;if(t){var i=Jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PH(this,o)}}var Qn=function(e){wH(r,e);var t=EH(r);function r(n){mH(this,r);var o;return o=t.call(this,n),Bl(UR(o),"props",void 0),o.props=new Cl(n==null?void 0:n.props),o}return OH(r,[{key:"toDataBindModel",value:function(o){var i=Al(Jn(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:"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);Bl(Qn,"controlName","\u90E8\u95E8"),Bl(Qn,"controlFieldType",m.DEPARTMENTS),Bl(Qn,"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.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 KR(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 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 IH(e,t,r){return t&&GR(e.prototype,t),r&&GR(e,r),e}function XR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(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&&P_(e,t)}function BH(e,t){return t&&(AH(t)==="object"||typeof t=="function")?t:KR(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}var AH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NH(e){var t=xH();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 BH(this,o)}}var kH=function(e){CH(r,e);var t=NH(r);function r(n){TH(this,r);var o;return o=t.call(this,n),XR(KR(o),"props",void 0),o.props=new Cl(n==null?void 0:n.props),o}return IH(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(D);XR(kH,"controlFieldType",m.DEPARTMENTS);function q(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 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 Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(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&&S_(e,t)}function DH(e,t){return t&&(FH(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)}var FH=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 E_(e){var t=jH();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 DH(this,o)}}var MH=function(e){$_(r,e);var t=E_(r);function r(n){R_(this,r);var o;return o=t.call(this,n),U(q(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),U(q(o),"businessScope",{type:"any"}),Bo.call(q(o),n,Yn.controlCustomAttributes),n.businessType===Kt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(de),LH=function(e){$_(r,e);var t=E_(r);function r(n){R_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),kl=function(e){$_(r,e);var t=E_(r);function r(n){R_(this,r);var o;o=t.call(this,n),U(q(o),"showType",void 0),U(q(o),"range",void 0),U(q(o),"defaultValueType",void 0),U(q(o),"multiple",void 0),U(q(o),"rangeOptions",void 0),U(q(o),"defaultValue",void 0),U(q(o),"displayLevel",void 0),U(q(o),"showSubDept",void 0),U(q(o),"multistageFilling",void 0),U(q(o),"datasourceBind",void 0),U(q(o),"listPageBind",void 0),U(q(o),"datasourceType",void 0),U(q(o),"businessType",void 0),U(q(o),"businessScope",void 0),U(q(o),"organizingFunction",void 0),U(q(o),"organizationView",void 0),U(q(o),"openMultistageFilling",void 0),U(q(o),"showSelectedDetail",void 0),U(q(o),"selectedContentConfig",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",o.listPageBind=new cs(n==null?void 0:n.listPageBind);var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var 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 v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Yn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var b;o.datasourceBind=new d1((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Yn.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ii.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:Kt.ALL;var R;o.organizingFunction=(R=n==null?void 0:n.organizingFunction)!==null&&R!==void 0?R:void 0;var $;o.organizationView=($=n==null?void 0:n.organizationView)!==null&&$!==void 0?$:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new ss(n==null?void 0:n.selectedContentConfig);var j;return o.openMultistageFilling=(j=n==null?void 0:n.openMultistageFilling)!==null&&j!==void 0?j:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(A){var W;(W=o.multistageFilling)===null||W===void 0||W.push(new $e(A))})),o}return r}(N);U(kl,"Rules",MH),U(kl,"RuntimeRules",LH);function JR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zH(e,t,r){return t&&QR(e.prototype,t),r&&QR(e,r),e}function Dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fl=Reflect.get:Fl=function(o,i,u){var c=UH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Fl(e,t,r||e)}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zn(e)}function HH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qH(e,t){return t&&(WH(t)==="object"||typeof t=="function")?t:JR(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}function UH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zn(e),e!==null););return e}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=Zn(e),o;if(t){var i=Zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qH(this,o)}}var Yn=function(e){HH(r,e);var t=GH(r);function r(n){VH(this,r);var o;return o=t.call(this,n),Dl(JR(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return zH(r,[{key:"toDataBindModel",value:function(o){var i=Fl(Zn(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:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);Dl(Yn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Dl(Yn,"controlFieldType",m.DEPARTMENTS),Dl(Yn,"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.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function ZR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 JH(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 jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(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&&I_(e,t)}function ZH(e,t){return t&&(YH(t)==="object"||typeof t=="function")?t:ZR(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}var YH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tq(e){var t=eq();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZH(this,o)}}var nq=function(e){QH(r,e);var t=tq(r);function r(n){XH(this,r);var o;return o=t.call(this,n),e$(ZR(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return JH(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(D);e$(nq,"controlFieldType",m.DEPARTMENTS);function rq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 iq(e,t,r){return t&&t$(e.prototype,t),r&&t$(e,r),e}function uq(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 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&&C_(e,t)}function lq(e,t){return t&&(aq(t)==="object"||typeof t=="function")?t:rq(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var aq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sq(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 lq(this,o)}}var yq=function(e){cq(r,e);var t=sq(r);function r(n){return oq(this,r),t.call(this,n)}return iq(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ie);uq(yq,"excludes",[d.GRID]);function B_(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 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 Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function vq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pq(e,t){return t&&(_q(t)==="object"||typeof t=="function")?t:B_(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(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=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pq(this,o)}}var gq=24,ao=function(e){vq(r,e);var t=bq(r);function r(n){dq(this,r);var o;o=t.call(this,n),n$(B_(o),"span",void 0),n$(B_(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:gq;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(oe);function r$(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 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 Oq(e,t,r){return t&&o$(e.prototype,t),r&&o$(e,r),e}function x_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function wq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function Pq(e,t){return t&&(Rq(t)==="object"||typeof t=="function")?t:r$(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var Rq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sq(e){var t=$q();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pq(this,o)}}var fo=function(e){wq(r,e);var t=Sq(r);function r(n){mq(this,r);var o;return o=t.call(this,n),x_(r$(o),"props",void 0),o.props=new ao(n==null?void 0:n.props),o}return Oq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ie);x_(fo,"excludes",[d.COL,d.CARD_GROUP,d.SUBTABLE,d.SUBTABLE_COLUMN,d.GRID_LAYOUT_CONTAINER,d.DIVIDER]),x_(fo,"childrenMaxLength",1);function i$(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 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 Tq(e,t,r){return t&&u$(e.prototype,t),r&&u$(e,r),e}function Iq(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 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&&k_(e,t)}function Bq(e,t){return t&&(Aq(t)==="object"||typeof t=="function")?t:i$(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var Aq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nq(e){var t=xq();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 Bq(this,o)}}var kq=function(e){Cq(r,e);var t=Nq(r);function r(n){Eq(this,r);var o;return o=t.call(this,n),Iq(i$(o),"props",void 0),o.props=new ao(n==null?void 0:n.props),o}return Tq(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(dn),c$={Designer:fo,Runtime:kq,Property:ao};function D_(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 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 Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(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&&F_(e,t)}function jq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:D_(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var Mq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vq(e){var t=Lq();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 jq(this,o)}}var j_=function(e){Fq(r,e);var t=Vq(r);function r(n){Dq(this,r);var o;o=t.call(this,n),l$(D_(o),"layoutMode",void 0),l$(D_(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}(oe);function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Hq(e,t,r){return t&&f$(e.prototype,t),r&&f$(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 ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(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&&L_(e,t)}function Uq(e,t){return t&&(Wq(t)==="object"||typeof t=="function")?t:a$(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(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=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uq(this,o)}}var V_=function(e){qq(r,e);var t=Gq(r);function r(n){zq(this,r);var o;return o=t.call(this,n),M_(a$(o),"props",void 0),o.props=new j_(n==null?void 0:n.props),o}return Hq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ie);M_(V_,"excludes",[d.ROW]),M_(V_,"setting",[{key:"col-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 Xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jq(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function Qq(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 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&&z_(e,t)}function Yq(e,t){return t&&(eU(t)==="object"||typeof t=="function")?t:s$(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(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 nU(e){var t=tU();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 Yq(this,o)}}var rU=function(e){Zq(r,e);var t=nU(r);function r(n){Xq(this,r);var o;return o=t.call(this,n),Qq(s$(o),"props",void 0),o.props=new j_(n==null?void 0:n.props),o}return Jq(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(dn);function oU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uU(e,t,r){return t&&d$(e.prototype,t),r&&d$(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 Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function cU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function lU(e,t){return t&&(aU(t)==="object"||typeof t=="function")?t:oU(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}var aU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sU(e){var t=fU();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 lU(this,o)}}var yU=4,Kl=function(e){cU(r,e);var t=sU(r);function r(n){return iU(this,r),t.call(this,n)}return uU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(V_);H_(Kl,"excludes",[d.GRID_ROW]),H_(Kl,"setting",[]),H_(Kl,"childrenMaxLength",yU);function dU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pU(e,t,r){return t&&v$(e.prototype,t),r&&v$(e,r),e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(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&&U_(e,t)}function hU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:dU(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}var bU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mU(e){var t=gU();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 hU(this,o)}}var OU=function(e){_U(r,e);var t=mU(r);function r(n){return vU(this,r),t.call(this,n)}return pU(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(rU);function wU(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 Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function RU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function $U(e,t){return t&&(SU(t)==="object"||typeof t=="function")?t:wU(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var SU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TU(e){var t=EU();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $U(this,o)}}var IU=function(e){RU(r,e);var t=TU(r);function r(n){return PU(this,r),t.call(this,n)}return r}(j_),CU={Designer:Kl,Runtime:OU,Property:IU};function Jl(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 Ql(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 _$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BU(e,t){return t&&(AU(t)==="object"||typeof t=="function")?t:Jl(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}var AU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h$(e){var t=xU();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 BU(this,o)}}var NU=function(e){_$(r,e);var t=h$(r);function r(){p$(this,r);var n;return n=t.apply(this,arguments),Ql(Jl(n),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),n}return r}(oe.Rules),b$=function(e){_$(r,e);var t=h$(r);function r(n){p$(this,r);var o;o=t.call(this,n),Ql(Jl(o),"caption",void 0),Ql(Jl(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}(oe);Ql(b$,"Rules",NU);function g$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 DU(e,t,r){return t&&m$(e.prototype,t),r&&m$(e,r),e}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 Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function FU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function jU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:g$(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}var MU=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 VU(e){var t=LU();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 jU(this,o)}}var O$=function(e){FU(r,e);var t=VU(r);function r(n){kU(this,r);var o;return o=t.call(this,n),G_(g$(o),"props",void 0),o.props=new b$(n==null?void 0:n.props),o}return DU(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(ie);G_(O$,"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}]),G_(O$,"excludes",[d.CARD_GROUP]);function pt(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 _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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function P$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function zU(e,t){return t&&(HU(t)==="object"||typeof t=="function")?t:pt(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}var HU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R$(e){var t=qU();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 zU(this,o)}}var UU=function(e){P$(r,e);var t=R$(r);function r(n){w$(this,r);var o;return o=t.call(this,n),_t(pt(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),_t(pt(o),"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),_t(pt(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),ta=function(e){P$(r,e);var t=R$(r);function r(n){w$(this,r);var o;o=t.call(this,n),_t(pt(o),"metaAutoWidth",void 0),_t(pt(o),"caption",void 0),_t(pt(o),"fixed",void 0),_t(pt(o),"isShowCaptionTip",void 0),_t(pt(o),"captionTip",void 0),_t(pt(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 o1(n==null?void 0:n.metaAutoWidth),o}return r}(oe);_t(ta,"Rules",UU);function $$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function KU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function GU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:$$(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var XU=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 QU(e){var t=JU();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 GU(this,o)}}var ot=function(e){KU(r,e);var t=QU(r);function r(n){WU(this,r);var o;return o=t.call(this,n),hn($$(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return r}(ie);hn(ot,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),hn(ot,"controlType","subtable-column"),hn(ot,"controlIcon","subtable-column"),hn(ot,"childrenMaxLength",1),hn(ot,"excludes",[d.SUBTABLE,d.SUBTABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),hn(ot,"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 S$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(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&&Z_(e,t)}function eW(e,t){return t&&(tW(t)==="object"||typeof t=="function")?t:S$(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}var tW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rW(e){var t=nW();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eW(this,o)}}var T$=function(e){YU(r,e);var t=rW(r);function r(n){ZU(this,r);var o;return o=t.call(this,n),E$(S$(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return r}(dn);E$(T$,"controlType","subtable-column");var oW={Designer:ot,Runtime:T$,Property:ta};function iW(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 oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(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&&Y_(e,t)}function lW(e,t){return t&&(aW(t)==="object"||typeof t=="function")?t:iW(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(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=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lW(this,o)}}var yW=function(e){cW(r,e);var t=sW(r);function r(n){return uW(this,r),t.call(this,n)}return r}(oe);function I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(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&&eh(e,t)}function pW(e,t){return t&&(_W(t)==="object"||typeof t=="function")?t:I$(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var _W=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bW(e){var t=hW();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pW(this,o)}}var er=function(e){vW(r,e);var t=bW(r);function r(n){dW(this,r);var o;return o=t.call(this,n),bn(I$(o),"props",void 0),o.props=new yW(n==null?void 0:n.props),o}return r}(ie);bn(er,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),bn(er,"controlType","subtable-row"),bn(er,"controlIcon","subtable-row"),bn(er,"childrenMaxLength",1),bn(er,"excludes",[d.SUBTABLE,d.SUBTABLE_COLUMN,d.SUBTABLE_ROW,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),bn(er,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(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&&th(e,t)}function OW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:Me(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var wW=function(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 RW(e){var t=PW();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 OW(this,o)}}var C$=function(e){mW(r,e);var t=RW(r);function r(n){gW(this,r);var o;o=t.call(this,n),Ge(Me(o),"widthType",void 0),Ge(Me(o),"width",void 0),Ge(Me(o),"caption",void 0),Ge(Me(o),"fieldCode",void 0),Ge(Me(o),"fieldType",void 0),Ge(Me(o),"fieldName",void 0),Ge(Me(o),"datasourceBind",void 0),Ge(Me(o),"fixed",void 0),Ge(Me(o),"textCleanFormart",void 0),Ge(Me(o),"decimalKeepPrecision",void 0),Ge(Me(o),"timestampDateType",void 0),Ge(Me(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:m.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var v;o.decimalKeepPrecision=(v=n==null?void 0:n.decimalKeepPrecision)!==null&&v!==void 0?v:0;var h;o.timestampDateType=(h=n==null?void 0:n.timestampDateType)!==null&&h!==void 0?h:Ft.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(oe);function B$(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 gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(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&&nh(e,t)}function EW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:B$(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var TW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CW(e){var t=IW();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EW(this,o)}}var tr=function(e){SW(r,e);var t=CW(r);function r(n){$W(this,r);var o;return o=t.call(this,n),gn(B$(o),"props",void 0),o.props=new C$(n==null?void 0:n.props),o}return r}(ie);gn(tr,"controlName","\u5217\u8868\u5355\u5143\u683C"),gn(tr,"controlType","gridtable-column"),gn(tr,"controlIcon","gridtable-column"),gn(tr,"childrenMaxLength",1),gn(tr,"excludes",[d.GRID_TABLE,d.GRID_TABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),gn(tr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",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 BW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(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&&rh(e,t)}function xW(e,t){return t&&(NW(t)==="object"||typeof t=="function")?t:A$(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var NW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DW(e){var t=kW();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 xW(this,o)}}var FW=function(e){AW(r,e);var t=DW(r);function r(n){BW(this,r);var o;return o=t.call(this,n),x$(A$(o),"props",void 0),o.props=new C$(n==null?void 0:n.props),o}return r}(dn);x$(FW,"controlType","gridtable-column");function oh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(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&&ih(e,t)}function LW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:oh(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var VW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HW(e){var t=zW();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 LW(this,o)}}var qW=function(e){MW(r,e);var t=HW(r);function r(n){jW(this,r);var o;o=t.call(this,n),N$(oh(o),"childMinWidth",void 0),N$(oh(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(oe);function k$(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 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 WW(e,t,r){return t&&D$(e.prototype,t),r&&D$(e,r),e}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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(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&&ch(e,t)}function GW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:k$(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}var XW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QW(e){var t=JW();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GW(this,o)}}var F$=function(e){KW(r,e);var t=QW(r);function r(n){UW(this,r);var o;return o=t.call(this,n),uh(k$(o),"props",void 0),o.props=new qW(n==null?void 0:n.props),o}return WW(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(ie);uh(F$,"excludes",[d.GRID_LAYOUT_CONTAINER,d.CARD_GROUP,d.TAB]),uh(F$,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function j$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YW(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 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&&lh(e,t)}function tK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:j$(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(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=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tK(this,o)}}var iK=function(e){eK(r,e);var t=oK(r);function r(n){ZW(this,r);var o;o=t.call(this,n),YW(j$(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(oe);function ah(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 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 ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(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&&sh(e,t)}function uK(e,t){return t&&(cK(t)==="object"||typeof t=="function")?t:ah(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var cK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V$(e){var t=lK();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 uK(this,o)}}var aK=function(e){L$(r,e);var t=V$(r);function r(n){M$(this,r);var o;return o=t.call(this,n),fh(ah(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),o}return r}(Z),z$=function(e){L$(r,e);var t=V$(r);function r(n){M$(this,r);var o;o=t.call(this,n),fh(ah(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ha.controlName,o}return r}(oe);fh(z$,"Rules",aK);function H$(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 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 sK(e,t,r){return t&&q$(e.prototype,t),r&&q$(e,r),e}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 da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(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&&dh(e,t)}function dK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:H$(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}var vK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _K(e){var t=pK();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 dK(this,o)}}var va=function(e){yK(r,e);var t=_K(r);function r(n){fK(this,r);var o;return o=t.call(this,n),yh(H$(o),"props",void 0),o.props=new z$(n==null?void 0:n.props),o}return sK(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}(ie);yh(va,"excludes",[d.TAB]),yh(va,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function U$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hK(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 bK(e,t,r){return t&&W$(e.prototype,t),r&&W$(e,r),e}function pa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function gK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function mK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:U$(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var OK=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 PK(e){var t=wK();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 mK(this,o)}}var ha=function(e){gK(r,e);var t=PK(r);function r(n){hK(this,r);var o;o=t.call(this,n),pa(U$(o),"props",void 0),o.props=new iK(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new va,new va],o}return bK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(ie);pa(ha,"excludes",[d.TAB]),pa(ha,"controlEventKeys",["on_change_tab"]),pa(ha,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function RK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function SK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}function EK(e,t){return t&&(TK(t)==="object"||typeof t=="function")?t:RK(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}var TK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CK(e){var t=IK();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EK(this,o)}}var BK=function(e){SK(r,e);var t=CK(r);function r(n){return $K(this,r),t.call(this,n)}return r}(oe);function K$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xK(e,t,r){return t&&G$(e.prototype,t),r&&G$(e,r),e}function X$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function NK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function kK(e,t){return t&&(DK(t)==="object"||typeof t=="function")?t:K$(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var DK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jK(e){var t=FK();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 kK(this,o)}}var MK=function(e){NK(r,e);var t=jK(r);function r(n){AK(this,r);var o;return o=t.call(this,n),X$(K$(o),"props",void 0),o.props=new BK({}),o.children=(n==null?void 0:n.children)||[new fo({props:new ao({span:12})}),new fo({props:new ao({span:12})})],o}return xK(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ie);X$(MK,"excludes",[d.GRID_ROW,d.ROW,d.GRID,d.SUBTABLE,d.TAB,d.TOOLBOX]);function J(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(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 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&&gh(e,t)}function LK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:J(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var VK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mh(e){var t=zK();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 LK(this,o)}}var Oa;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Oa||(Oa={}));var HK=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),qK=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;if(o=t.call(this,n),Q(J(o),"triggerFieldCode",{type:"any"}),Q(J(o),"datasourceBind",{type:"any"}),Q(J(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===Oa.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),$s.call(J(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}(Z),so=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;o=t.call(this,n),Q(J(o),"datasourceBind",void 0),Q(J(o),"isLoading",void 0),Q(J(o),"isShowSubList",void 0),Q(J(o),"triggerType",void 0),Q(J(o),"triggerFieldCode",void 0),Q(J(o),"sublistPage",void 0),Q(J(o),"isShowJoinRelation",void 0),Q(J(o),"joinRelation",void 0),Q(J(o),"showType",void 0),Q(J(o),"showFullScreen",void 0),Q(J(o),"isFixedHeader",void 0),Q(J(o),"selectionType",void 0),Q(J(o),"isShowSelection",void 0),Q(J(o),"isAllLoaded",void 0),Q(J(o),"countType",void 0),o.datasourceBind=new ee(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:Oa.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new a1(n==null?void 0:n.sublistPage);var l;o.isShowJoinRelation=(l=n==null?void 0:n.isShowJoinRelation)!==null&&l!==void 0?l:!1,o.joinRelation=new s1(n==null?void 0:n.joinRelation);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"stretch";var y;o.showFullScreen=(y=n==null?void 0:n.showFullScreen)!==null&&y!==void 0?y:!1;var v;o.selectionType=(v=n==null?void 0:n.selectionType)!==null&&v!==void 0?v:"multiple";var h;o.isFixedHeader=(h=n==null?void 0:n.isFixedHeader)!==null&&h!==void 0?h:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var b;return o.isAllLoaded=(b=n==null?void 0:n.isAllLoaded)!==null&&b!==void 0?b:!0,o.countType=n==null?void 0:n.countType,o}return r}(oe);Q(so,"Rules",qK),Q(so,"RuntimeRules",HK);function J$(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 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 WK(e,t,r){return t&&Q$(e.prototype,t),r&&Q$(e,r),e}function wa(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 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&&Oh(e,t)}function GK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:J$(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var XK=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 QK(e){var t=JK();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 GK(this,o)}}var Ra=function(e){KK(r,e);var t=QK(r);function r(n){UK(this,r);var o;return o=t.call(this,n),wa(J$(o),"props",void 0),o.props=new so(n==null?void 0:n.props),o}return WK(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}(ie);wa(Ra,"excludes",[d.ROW]),wa(Ra,"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"]),wa(Ra,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}]);function Z$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YK(e,t,r){return t&&Y$(e.prototype,t),r&&Y$(e,r),e}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 $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(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&&wh(e,t)}function nG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:Z$(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(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=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nG(this,o)}}var uG=function(e){tG(r,e);var t=iG(r);function r(n){ZK(this,r);var o;return o=t.call(this,n),eG(Z$(o),"props",void 0),o.props=new so(n==null?void 0:n.props),o}return YK(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(dn),cG={Designer:Ra,Runtime:uG,Property:so};function rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function tS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function lG(e,t){return t&&(aG(t)==="object"||typeof t=="function")?t:rn(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var aG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nS(e){var t=fG();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 lG(this,o)}}var sG=function(e){tS(r,e);var t=nS(r);function r(n){eS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),Ea=function(e){tS(r,e);var t=nS(r);function r(n){eS(this,r);var o;o=t.call(this,n),on(rn(o),"save",void 0),on(rn(o),"cancel",void 0),on(rn(o),"saveAs",void 0),on(rn(o),"print",void 0),on(rn(o),"custom",void 0),on(rn(o),"isLoading",void 0),on(rn(o),"datasourceBind",void 0);var i;o.save=new Lt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Lt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Lt((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 Lt((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 Lt(y)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new ee(n==null?void 0:n.datasourceBind),o}return r}(oe);on(Ea,"RuntimeRules",sG);function rS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dG(e,t,r){return t&&oS(e.prototype,t),r&&oS(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 Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(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&&Rh(e,t)}function pG(e,t){return t&&(_G(t)==="object"||typeof t=="function")?t:rS(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var _G=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bG(e){var t=hG();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 pG(this,o)}}var uS=function(e){vG(r,e);var t=bG(r);function r(n){yG(this,r);var o;return o=t.call(this,n),iS(rS(o),"props",void 0),o.props=new Ea(n==null?void 0:n.props),o}return dG(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ie);iS(uS,"excludes",[]);function cS(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 lS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mG(e,t,r){return t&&lS(e.prototype,t),r&&lS(e,r),e}function OG(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 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&&$h(e,t)}function PG(e,t){return t&&(RG(t)==="object"||typeof t=="function")?t:cS(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var RG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $G(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SG(e){var t=$G();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PG(this,o)}}var EG=function(e){wG(r,e);var t=SG(r);function r(n){gG(this,r);var o;return o=t.call(this,n),OG(cS(o),"props",void 0),o.props=new Ea(n==null?void 0:n.props),o}return mG(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(dn),TG={Designer:uS,Runtime:EG,Property:Ea};function Ca(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 Sh(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 CG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function BG(e,t){return t&&(AG(t)==="object"||typeof t=="function")?t:Ca(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}var AG=function(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 NG(e){var t=xG();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 BG(this,o)}}var kG=function(e){CG(r,e);var t=NG(r);function r(n){IG(this,r);var o;o=t.call(this,n),Sh(Ca(o),"position",void 0),Sh(Ca(o),"opacity",void 0),Sh(Ca(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(oe);function aS(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 fS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FG(e,t,r){return t&&fS(e.prototype,t),r&&fS(e,r),e}function Th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(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&&Ih(e,t)}function MG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:aS(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var LG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zG(e){var t=VG();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 MG(this,o)}}var sS=function(e){jG(r,e);var t=zG(r);function r(n){DG(this,r);var o;o=t.call(this,n),Th(aS(o),"props",void 0);var i;return o.props=new kG((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return FG(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(ie);Th(sS,"excludes",[]),Th(sS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ch(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 xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(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&&Ah(e,t)}function HG(e,t){return t&&(qG(t)==="object"||typeof t=="function")?t:B(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}var qG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xh(e){var t=UG();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 HG(this,o)}}var WG=function(e){Bh(r,e);var t=xh(r);function r(n){Ch(this,r);var o;return o=t.call(this,n),T(B(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),T(B(o),"limitRows",[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}]),T(B(o),"formKey",{type:"string",required:!1,message:p.getMessage("pleaseEnterForm")}),T(B(o),"maxHeight",{type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")}),T(B(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),T(B(o),"mobileRowCaption",{type:"string",required:!1,message:p.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Z),KG=function(e){Bh(r,e);var t=xh(r);function r(n){Ch(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:p.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(sn),Nh=function(e){Bh(r,e);var t=xh(r);function r(n,o){Ch(this,r);var i;i=t.call(this,n,o),T(B(i),"caption",void 0),T(B(i),"labelPosition",void 0),T(B(i),"isHideCaption",void 0),T(B(i),"isShowCaptionTip",void 0),T(B(i),"captionTip",void 0),T(B(i),"defaultState",void 0),T(B(i),"limitRows",void 0),T(B(i),"maxRows",void 0),T(B(i),"defaultRows",void 0),T(B(i),"datasourceBind",void 0),T(B(i),"printMode",void 0),T(B(i),"openType",void 0),T(B(i),"formKey",void 0),T(B(i),"useCustomHeight",void 0),T(B(i),"maxHeight",void 0),T(B(i),"canAdd",void 0),T(B(i),"canDelete",void 0),T(B(i),"canCheck",void 0),T(B(i),"canEdit",void 0),T(B(i),"canImport",void 0),T(B(i),"canExport",void 0),T(B(i),"canClear",void 0),T(B(i),"isPaste",void 0),T(B(i),"mobileShowType",void 0),T(B(i),"mobileDefaultNum",void 0),T(B(i),"dataStorageDoc",void 0),T(B(i),"serverPagination",void 0),T(B(i),"fixedColumn",void 0),T(B(i),"mobileRowCaption",void 0),T(B(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:jh.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 v;i.useCustomHeight=(v=o==null?void 0:o.useCustomHeight)!==null&&v!==void 0?v:!1;var h;i.maxHeight=(h=o==null?void 0:o.maxHeight)!==null&&h!==void 0?h:d2;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;i.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var _;i.defaultRows=(_=o==null?void 0:o.defaultRows)!==null&&_!==void 0?_:1,i.datasourceBind=new ee(o==null?void 0:o.datasourceBind);var P;i.canAdd=(P=o==null?void 0:o.canAdd)!==null&&P!==void 0?P:!0;var R;i.canDelete=(R=o==null?void 0:o.canDelete)!==null&&R!==void 0?R:!0;var $;i.canCheck=($=o==null?void 0:o.canCheck)!==null&&$!==void 0?$:!1;var E;i.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var j;i.canImport=(j=o==null?void 0:o.canImport)!==null&&j!==void 0?j:!1;var A;i.canExport=(A=o==null?void 0:o.canExport)!==null&&A!==void 0?A:!1;var W;i.canClear=(W=o==null?void 0:o.canClear)!==null&&W!==void 0?W:!0;var I;i.serverPagination=(I=o==null?void 0:o.serverPagination)!==null&&I!==void 0?I:!1;var bt;i.isShowCaptionTip=(bt=o==null?void 0:o.isShowCaptionTip)!==null&&bt!==void 0?bt:!1;var wo;i.captionTip=(wo=o==null?void 0:o.captionTip)!==null&&wo!==void 0?wo:"";var Lr;i.mobileShowType=(Lr=o==null?void 0:o.mobileShowType)!==null&&Lr!==void 0?Lr:"list";var En;i.mobileDefaultNum=(En=o==null?void 0:o.mobileDefaultNum)!==null&&En!==void 0?En:10;var gt;i.dataStorageDoc=(gt=o==null?void 0:o.dataStorageDoc)!==null&>!==void 0?gt:new i1;var P0;i.fixedColumn=(P0=o==null?void 0:o.fixedColumn)!==null&&P0!==void 0?P0:[];var R0;i.mobileRowCaption=(R0=o==null?void 0:o.mobileRowCaption)!==null&&R0!==void 0?R0:"\u660E\u7EC6";var $0;i.mobileIsTile=($0=o==null?void 0:o.mobileIsTile)!==null&&$0!==void 0?$0:!1;var S0;return i.isPaste=(S0=o==null?void 0:o.isPaste)!==null&&S0!==void 0?S0:!1,i}return r}(js);T(Nh,"Rules",WG),T(Nh,"RuntimeRules",KG);function kh(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 yS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XG(e,t,r){return t&&yS(e.prototype,t),r&&yS(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 Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(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&&Fh(e,t)}function QG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:kh(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}var ZG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eX(e){var t=YG();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 QG(this,o)}}var jh=function(e){JG(r,e);var t=eX(r);function r(n){GG(this,r);var o,i,u;return o=t.call(this,n),Dh(kh(o),"props",void 0),o.props=new Nh(kh(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 ot,new ot,new ot]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return XG(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ot,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);Dh(jh,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Dh(jh,"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,s.IS_PASTE]},{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 nr(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 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 ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(e)}function nX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function rX(e,t){return t&&(oX(t)==="object"||typeof t=="function")?t:nr(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var oX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uX(e){var t=iX();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rX(this,o)}}var cX=function(e){nX(r,e);var t=uX(r);function r(n,o){tX(this,r);var i;i=t.call(this,n,o),yo(nr(i),"isFixedHeader",void 0),yo(nr(i),"selectionType",void 0),yo(nr(i),"isShowToolbar",void 0),yo(nr(i),"isShowSelection",void 0),yo(nr(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}(js);function lX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aX(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 vS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function fX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:lX(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}var sX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pS(e){var t=yX();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fX(this,o)}}var dX=function(e){vS(r,e);var t=pS(r);function r(n){dS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(Pt),Vh=function(e){vS(r,e);var t=pS(r);function r(n){dS(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:rr.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 v;return o.widthType=(v=n==null?void 0:n.widthType)!==null&&v!==void 0?v:"px",o}return r}(X);aX(Vh,"Rules",dX);function _S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vo(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 pX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function _X(e,t){return t&&(hX(t)==="object"||typeof t=="function")?t:_S(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}var hX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gX(e){var t=bX();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 _X(this,o)}}var rr=function(e){pX(r,e);var t=gX(r);function r(n){vX(this,r);var o;return o=t.call(this,n),vo(_S(o),"props",void 0),o.props=new Vh(n==null?void 0:n.props),o}return r}(ce);vo(rr,"controlType","order-column"),vo(rr,"controlName","\u5E8F\u53F7"),vo(rr,"controlIcon","order-column"),vo(rr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function hS(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 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 ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function OX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function wX(e,t){return t&&(PX(t)==="object"||typeof t=="function")?t:hS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}var PX=function(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 $X(e){var t=RX();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 wX(this,o)}}var bS=function(e){OX(r,e);var t=$X(r);function r(n){mX(this,r);var o;return o=t.call(this,n),Hh(hS(o),"props",void 0),o.props=new Vh(n==null?void 0:n.props),o}return r}(le);Hh(bS,"controlType","order-column"),Hh(bS,"controlFieldType",m.DECIMAL);function Uh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(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&&Wh(e,t)}function TX(e,t){return t&&(IX(t)==="object"||typeof t=="function")?t:Uh(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var IX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BX(e){var t=CX();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 TX(this,o)}}var mS=function(e){EX(r,e);var t=BX(r);function r(n){SX(this,r);var o,i;o=t.call(this,n),gS(Uh(o),"showType",void 0),gS(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:ir.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}(X);function La(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OS(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 AX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){OS(i,n,o,u,c,"next",a)}function c(a){OS(i,n,o,u,c,"throw",a)}u(void 0)})}}function xX(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 NX(e,t,r){return t&&wS(e.prototype,t),r&&wS(e,r),e}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function or(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?or=Reflect.get:or=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}},or(e,t,r||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},un(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&&Kh(e,t)}function DX(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){mn(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 jX(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 MX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:La(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function LX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}var VX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HX(e){var t=zX();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 MX(this,o)}}var qX=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}}},ir=function(e){kX(r,e);var t=HX(r);function r(n){xX(this,r);var o;return o=t.call(this,n),mn(La(o),"props",void 0),mn(La(o),"children",void 0),o.props=new mS(n==null?void 0:n.props),wt(La(o),"children",n==null?void 0:n.children),o}return NX(r,[{key:"toDataBindModel",value:function(){var o=or(un(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===ou.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=or(un(r.prototype),"toSchema",this).call(this);return jX(DX({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return or(un(r.prototype),"validate",u)};return AX(function(){return qX(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}(ce);mn(ir,"controlType","operation-column"),mn(ir,"controlName","\u64CD\u4F5C"),mn(ir,"controlIcon","operation-column"),mn(ir,"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 Va(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function za(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 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&&Gh(e,t)}function KX(e,t){return t&&(GX(t)==="object"||typeof t=="function")?t:Va(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var GX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JX(e){var t=XX();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 KX(this,o)}}var PS=function(e){WX(r,e);var t=JX(r);function r(n){UX(this,r);var o;return o=t.call(this,n),za(Va(o),"props",void 0),za(Va(o),"children",void 0),o.props=new mS(n==null?void 0:n.props),wt(Va(o),"children",n==null?void 0:n.children),o}return r}(le);za(PS,"controlType","operation-column"),za(PS,"controlFieldType",m.FILE);function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RS(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 QX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){RS(i,n,o,u,c,"next",a)}function c(a){RS(i,n,o,u,c,"throw",a)}u(void 0)})}}function ZX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YX(e,t,r){return t&&$S(e.prototype,t),r&&$S(e,r),e}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 _o(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_o=Reflect.get:_o=function(o,i,u){var c=iJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},_o(e,t,r||e)}function On(e){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},On(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&&Xh(e,t)}function tJ(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){qa(e,o,r[o])})}return e}function nJ(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 rJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function oJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:po(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function iJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=On(e),e!==null););return e}var uJ=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 lJ(e){var t=cJ();return function(){var n=On(e),o;if(t){var i=On(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oJ(this,o)}}var aJ=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}}},fJ=function(e){eJ(r,e);var t=lJ(r);function r(n){ZX(this,r);var o,i;return o=t.call(this,n),qa(po(o),"props",void 0),qa(po(o),"children",void 0),o.props=new cX(po(o),n==null?void 0:n.props),wt(po(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new rr,new ir]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return YX(r,[{key:"toSchema",value:function(){var o=_o(On(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return rJ(tJ({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return _o(On(r.prototype),"validate",u)};return QX(function(){return aJ(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);qa(fJ,"setting",[{key:"list-fixed-header",visible:!0}]);function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(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 ES(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sJ(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:cn(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var yJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TS(e){var t=dJ();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 sJ(this,o)}}var vJ=function(e){ES(r,e);var t=TS(r);function r(n){SS(this,r);var o;return o=t.call(this,n),vn.call(cn(o),n),o}return r}(Bg),Qh=function(e){ES(r,e);var t=TS(r);function r(n){SS(this,r);var o;o=t.call(this,n),wn(cn(o),"optionConfig",void 0),wn(cn(o),"datasourceBind",void 0),wn(cn(o),"showLinkOperation",void 0),wn(cn(o),"linkOperationOption",void 0),wn(cn(o),"options",void 0),wn(cn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:cr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var c;o.options=Ot((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 Mt(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(X);wn(Qh,"Rules",vJ);function IS(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 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 Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(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&&Zh(e,t)}function hJ(e,t){return t&&(bJ(t)==="object"||typeof t=="function")?t:IS(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(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=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hJ(this,o)}}var cr=function(e){_J(r,e);var t=mJ(r);function r(n){pJ(this,r);var o;return o=t.call(this,n),ur(IS(o),"props",void 0),o.props=new Qh(n==null?void 0:n.props),o}return r}(ce);ur(cr,"controlType","varchar-column"),ur(cr,"controlName","\u77ED\u6587\u672C"),ur(cr,"controlIcon","varchar-column"),ur(cr,"controlFieldType",m.VARCHAR),ur(cr,"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 CS(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 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 Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(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&&eb(e,t)}function PJ(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:CS(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}var RJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SJ(e){var t=$J();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PJ(this,o)}}var BS=function(e){wJ(r,e);var t=SJ(r);function r(n){OJ(this,r);var o;return o=t.call(this,n),Yh(CS(o),"props",void 0),o.props=new Qh(n==null?void 0:n.props),o}return r}(le);Yh(BS,"controlType","varchar-column"),Yh(BS,"controlFieldType",m.VARCHAR);function lr(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 ho(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 xS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:lr(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}var TJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function 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 NS(e){var t=IJ();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 EJ(this,o)}}var CJ=function(e){xS(r,e);var t=NS(r);function r(n){AS(this,r);var o;return o=t.call(this,n),vn.call(lr(o),n),o}return r}(Pt),nb=function(e){xS(r,e);var t=NS(r);function r(n){AS(this,r);var o;o=t.call(this,n),ho(lr(o),"escapeHTML",void 0),ho(lr(o),"showLinkOperation",void 0),ho(lr(o),"linkOperationOption",void 0),ho(lr(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:sr.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 Mt(n==null?void 0:n.linkOperationOption),o}return r}(X);ho(nb,"Rules",CJ);function kS(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 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 AJ(e,t,r){return t&&DS(e.prototype,t),r&&DS(e,r),e}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xa=Reflect.get:Xa=function(o,i,u){var c=kJ(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 fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fr(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&&rb(e,t)}function NJ(e,t){return t&&(DJ(t)==="object"||typeof t=="function")?t:kS(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function kJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fr(e),e!==null););return e}var DJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jJ(e){var t=FJ();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 NJ(this,o)}}var sr=function(e){xJ(r,e);var t=jJ(r);function r(n){BJ(this,r);var o;return o=t.call(this,n),ar(kS(o),"props",void 0),o.props=new nb(n==null?void 0:n.props),o}return AJ(r,[{key:"toDataBindModel",value:function(o){var i=Xa(fr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ce);ar(sr,"controlType","text-column"),ar(sr,"controlName","\u957F\u6587\u672C"),ar(sr,"controlIcon","text-column"),ar(sr,"controlFieldType",m.TEXT),ar(sr,"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 FS(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 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 Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(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&&ib(e,t)}function VJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:FS(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(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 qJ(e){var t=HJ();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 VJ(this,o)}}var jS=function(e){LJ(r,e);var t=qJ(r);function r(n){MJ(this,r);var o;return o=t.call(this,n),ob(FS(o),"props",void 0),o.props=new nb(n==null?void 0:n.props),o}return r}(le);ob(jS,"controlType","text-column"),ob(jS,"controlFieldType",m.TEXT);function ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(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 LS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ub(e,t)}function UJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:ht(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(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 VS(e){var t=KJ();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 UJ(this,o)}}var GJ=function(e){LS(r,e);var t=VS(r);function r(n){MS(this,r);var o;return o=t.call(this,n),vn.call(ht(o),n),o}return r}(Pt),cb=function(e){LS(r,e);var t=VS(r);function r(n){MS(this,r);var o;o=t.call(this,n),Dt(ht(o),"optionConfig",void 0),Dt(ht(o),"datasourceBind",void 0),Dt(ht(o),"showLinkOperation",void 0),Dt(ht(o),"linkOperationOption",void 0),Dt(ht(o),"options",void 0),Dt(ht(o),"precision",void 0),Dt(ht(o),"micrometer",void 0),Dt(ht(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:vr.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 ee(n==null?void 0:n.datasourceBind);var f;o.options=Ot((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 Mt(n==null?void 0:n.linkOperationOption),o}return r}(X);Dt(cb,"Rules",GJ);function zS(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 HS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JJ(e,t,r){return t&&HS(e.prototype,t),r&&HS(e,r),e}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Za=Reflect.get:Za=function(o,i,u){var c=YJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Za(e,t,r||e)}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(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&&lb(e,t)}function ZJ(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:zS(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function YJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dr(e),e!==null););return e}var eQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nQ(e){var t=tQ();return function(){var n=dr(e),o;if(t){var i=dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZJ(this,o)}}var vr=function(e){QJ(r,e);var t=nQ(r);function r(n){XJ(this,r);var o;return o=t.call(this,n),yr(zS(o),"props",void 0),o.props=new cb(n==null?void 0:n.props),o}return JJ(r,[{key:"toDataBindModel",value:function(o){var i=Za(dr(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}(ce);yr(vr,"controlType","decimal-column"),yr(vr,"controlName","\u6570\u503C"),yr(vr,"controlIcon","decimal-column"),yr(vr,"controlFieldType",m.DECIMAL),yr(vr,"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 qS(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 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 Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(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&&fb(e,t)}function iQ(e,t){return t&&(uQ(t)==="object"||typeof t=="function")?t:qS(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}var uQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lQ(e){var t=cQ();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 iQ(this,o)}}var US=function(e){oQ(r,e);var t=lQ(r);function r(n){rQ(this,r);var o;return o=t.call(this,n),ab(qS(o),"props",void 0),o.props=new cb(n==null?void 0:n.props),o}return r}(le);ab(US,"controlType","decimal-column"),ab(US,"controlFieldType",m.DECIMAL);function bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function KS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:bo(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}var fQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GS(e){var t=sQ();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 aQ(this,o)}}var yQ=function(e){KS(r,e);var t=GS(r);function r(n){WS(this,r);var o;return o=t.call(this,n),vn.call(bo(o),n),o}return r}(Pt),yb=function(e){KS(r,e);var t=GS(r);function r(n){WS(this,r);var o;o=t.call(this,n),ef(bo(o),"dateType",void 0),ef(bo(o),"showLinkOperation",void 0),ef(bo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Ft.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:hr.controlName,o}return r}(X);ef(yb,"Rules",yQ);function XS(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 JS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vQ(e,t,r){return t&&JS(e.prototype,t),r&&JS(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 nf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nf=Reflect.get:nf=function(o,i,u){var c=hQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},nf(e,t,r||e)}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function pQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function _Q(e,t){return t&&(bQ(t)==="object"||typeof t=="function")?t:XS(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function hQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_r(e),e!==null););return e}var bQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mQ(e){var t=gQ();return function(){var n=_r(e),o;if(t){var i=_r(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Q(this,o)}}var hr=function(e){pQ(r,e);var t=mQ(r);function r(n){dQ(this,r);var o;return o=t.call(this,n),pr(XS(o),"props",void 0),o.props=new yb(n==null?void 0:n.props),o}return vQ(r,[{key:"toDataBindModel",value:function(o){var i=nf(_r(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ce);pr(hr,"controlType","timescope-column"),pr(hr,"controlName","\u65E5\u671F\u533A\u95F4"),pr(hr,"controlIcon","timescope-column"),pr(hr,"controlFieldType",m.TIMESCOPE),pr(hr,"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 QS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function wQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function PQ(e,t){return t&&(RQ(t)==="object"||typeof t=="function")?t:QS(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}var RQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SQ(e){var t=$Q();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PQ(this,o)}}var ZS=function(e){wQ(r,e);var t=SQ(r);function r(n){OQ(this,r);var o;return o=t.call(this,n),vb(QS(o),"props",void 0),o.props=new yb(n==null?void 0:n.props),o}return r}(le);vb(ZS,"controlType","timescope-column"),vb(ZS,"controlFieldType",m.TIMESCOPE);function go(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function eE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function EQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:go(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}var TQ=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 tE(e){var t=IQ();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 EQ(this,o)}}var CQ=function(e){eE(r,e);var t=tE(r);function r(n){YS(this,r);var o;return o=t.call(this,n),vn.call(go(o),n),o}return r}(Pt),hb=function(e){eE(r,e);var t=tE(r);function r(n){YS(this,r);var o;o=t.call(this,n),of(go(o),"dateType",void 0),of(go(o),"showLinkOperation",void 0),of(go(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Ft.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:mr.controlName,o}return r}(X);of(hb,"Rules",CQ);function nE(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 rE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AQ(e,t,r){return t&&rE(e.prototype,t),r&&rE(e,r),e}function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cf=Reflect.get:cf=function(o,i,u){var c=kQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},cf(e,t,r||e)}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(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&&bb(e,t)}function NQ(e,t){return t&&(DQ(t)==="object"||typeof t=="function")?t:nE(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function kQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gr(e),e!==null););return e}var DQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jQ(e){var t=FQ();return function(){var n=gr(e),o;if(t){var i=gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NQ(this,o)}}var mr=function(e){xQ(r,e);var t=jQ(r);function r(n){BQ(this,r);var o;return o=t.call(this,n),br(nE(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return AQ(r,[{key:"toDataBindModel",value:function(o){var i=cf(gr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ce);br(mr,"controlType","timestamp-column"),br(mr,"controlName","\u65E5\u671F"),br(mr,"controlIcon","timestamp-column"),br(mr,"controlFieldType",m.TIMESTAMP),br(mr,"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 oE(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 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 lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(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&&mb(e,t)}function VQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:oE(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}var zQ=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 qQ(e){var t=HQ();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 VQ(this,o)}}var iE=function(e){LQ(r,e);var t=qQ(r);function r(n){MQ(this,r);var o;return o=t.call(this,n),gb(oE(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return r}(le);gb(iE,"controlType","timestamp-column"),gb(iE,"controlFieldType",m.TIMESTAMP);function af(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(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 cE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function UQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:af(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(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 lE(e){var t=KQ();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 UQ(this,o)}}var GQ=function(e){cE(r,e);var t=lE(r);function r(n){return uE(this,r),t.call(this,n)}return r}(Bg),wb=function(e){cE(r,e);var t=lE(r);function r(n){uE(this,r);var o;o=t.call(this,n),ff(af(o),"optionConfig",void 0),ff(af(o),"datasourceBind",void 0),ff(af(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:wr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var c;return o.options=Ot((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return r}(X);ff(wb,"Rules",GQ);function aE(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 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 yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(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&&Pb(e,t)}function QQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:aE(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(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 eZ(e){var t=YQ();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 QQ(this,o)}}var wr=function(e){JQ(r,e);var t=eZ(r);function r(n){XQ(this,r);var o;return o=t.call(this,n),Or(aE(o),"props",void 0),o.props=new wb(n==null?void 0:n.props),o}return r}(ce);Or(wr,"controlType","array-column"),Or(wr,"controlName","\u6570\u7EC4"),Or(wr,"controlIcon","array-column"),Or(wr,"controlFieldType",m.ARRAY),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-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function nZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function rZ(e,t){return t&&(oZ(t)==="object"||typeof t=="function")?t:fE(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}var oZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uZ(e){var t=iZ();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 rZ(this,o)}}var sE=function(e){nZ(r,e);var t=uZ(r);function r(n){tZ(this,r);var o;return o=t.call(this,n),Rb(fE(o),"props",void 0),o.props=new wb(n==null?void 0:n.props),o}return r}(le);Rb(sE,"controlType","array-column"),Rb(sE,"controlFieldType",m.ARRAY);function yE(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 lZ(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 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&&Sb(e,t)}function fZ(e,t){return t&&(sZ(t)==="object"||typeof t=="function")?t:yE(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(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 dZ(e){var t=yZ();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 fZ(this,o)}}var dE=function(e){aZ(r,e);var t=dZ(r);function r(n){cZ(this,r);var o;o=t.call(this,n),lZ(yE(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$r.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(X);function vE(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 pE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pZ(e,t,r){return t&&pE(e.prototype,t),r&&pE(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 pf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pf=Reflect.get:pf=function(o,i,u){var c=bZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},pf(e,t,r||e)}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(e)}function _Z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function hZ(e,t){return t&&(gZ(t)==="object"||typeof t=="function")?t:vE(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function bZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rr(e),e!==null););return e}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=Rr(e),o;if(t){var i=Rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hZ(this,o)}}var $r=function(e){_Z(r,e);var t=OZ(r);function r(n){vZ(this,r);var o;return o=t.call(this,n),Pr(vE(o),"props",void 0),o.props=new dE(n==null?void 0:n.props),o}return pZ(r,[{key:"toDataBindModel",value:function(o){var i=pf(Rr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ce);Pr($r,"controlType","department-column"),Pr($r,"controlName","\u90E8\u95E8"),Pr($r,"controlIcon","department-column"),Pr($r,"controlFieldType",m.DEPARTMENTS),Pr($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:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function _E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wZ(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 _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function PZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function RZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:_E(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}var $Z=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EZ(e){var t=SZ();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 RZ(this,o)}}var hE=function(e){PZ(r,e);var t=EZ(r);function r(n){wZ(this,r);var o;return o=t.call(this,n),Tb(_E(o),"props",void 0),o.props=new dE(n==null?void 0:n.props),o}return r}(le);Tb(hE,"controlType","department-column"),Tb(hE,"controlFieldType",m.DEPARTMENTS);function hf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function gE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TZ(e,t){return t&&(IZ(t)==="object"||typeof t=="function")?t:hf(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}var IZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mE(e){var t=CZ();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 TZ(this,o)}}var BZ=function(e){gE(r,e);var t=mE(r);function r(n){bE(this,r);var o;return o=t.call(this,n),vn.call(hf(o),n),o}return r}(Pt),Ab=function(e){gE(r,e);var t=mE(r);function r(n){bE(this,r);var o;o=t.call(this,n),Cb(hf(o),"showLinkOperation",void 0),Cb(hf(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 Mt(n==null?void 0:n.linkOperationOption),o}return r}(X);Cb(Ab,"Rules",BZ);function OE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function xZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xb(e,t)}function NZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:OE(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}var kZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FZ(e){var t=DZ();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 NZ(this,o)}}var Er=function(e){xZ(r,e);var t=FZ(r);function r(n){AZ(this,r);var o;return o=t.call(this,n),Sr(OE(o),"props",void 0),o.props=new Ab(n==null?void 0:n.props),o}return r}(ce);Sr(Er,"controlType","auto-number-column"),Sr(Er,"controlName","\u81EA\u52A8\u7F16\u53F7"),Sr(Er,"controlIcon","auto-number-column"),Sr(Er,"controlFieldType",m.AUTO_NUMBER),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 wE(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 Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function MZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function LZ(e,t){return t&&(VZ(t)==="object"||typeof t=="function")?t:wE(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}var VZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HZ(e){var t=zZ();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 LZ(this,o)}}var PE=function(e){MZ(r,e);var t=HZ(r);function r(n){jZ(this,r);var o;return o=t.call(this,n),Nb(wE(o),"props",void 0),o.props=new Ab(n==null?void 0:n.props),o}return r}(le);Nb(PE,"controlType","auto-number-column"),Nb(PE,"controlFieldType",m.AUTO_NUMBER);function qZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(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&&Db(e,t)}function KZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:qZ(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(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 JZ(e){var t=XZ();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 KZ(this,o)}}var RE=function(e){WZ(r,e);var t=JZ(r);function r(n){UZ(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:Ir.controlName,o}return r}(X);function $E(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 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 wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function YZ(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:$E(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}var eY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nY(e){var t=tY();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 YZ(this,o)}}var Ir=function(e){ZZ(r,e);var t=nY(r);function r(n){QZ(this,r);var o;return o=t.call(this,n),Tr($E(o),"props",void 0),o.props=new RE(n==null?void 0:n.props),o}return r}(ce);Tr(Ir,"controlType","file-column"),Tr(Ir,"controlName","\u9644\u4EF6"),Tr(Ir,"controlIcon","file-column"),Tr(Ir,"controlFieldType",m.FILE),Tr(Ir,"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 SE(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 jb(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 oY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function iY(e,t){return t&&(uY(t)==="object"||typeof t=="function")?t:SE(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}var uY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lY(e){var t=cY();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 iY(this,o)}}var EE=function(e){oY(r,e);var t=lY(r);function r(n){rY(this,r);var o;return o=t.call(this,n),jb(SE(o),"props",void 0),o.props=new RE(n==null?void 0:n.props),o}return r}(le);jb(EE,"controlType","file-column"),jb(EE,"controlFieldType",m.FILE);function aY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function sY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function yY(e,t){return t&&(dY(t)==="object"||typeof t=="function")?t:aY(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}var dY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pY(e){var t=vY();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yY(this,o)}}var TE=function(e){sY(r,e);var t=pY(r);function r(n){fY(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:Br.controlName,o}return r}(X);function IE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function hY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vb(e,t)}function bY(e,t){return t&&(gY(t)==="object"||typeof t=="function")?t:IE(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}var gY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OY(e){var t=mY();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 bY(this,o)}}var Br=function(e){hY(r,e);var t=OY(r);function r(n){_Y(this,r);var o;return o=t.call(this,n),Cr(IE(o),"props",void 0),o.props=new TE(n==null?void 0:n.props),o}return r}(ce);Cr(Br,"controlType","image-column"),Cr(Br,"controlName","\u56FE\u7247"),Cr(Br,"controlIcon","image-column"),Cr(Br,"controlFieldType",m.IMAGE),Cr(Br,"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 CE(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 zb(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 PY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function RY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:CE(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}var $Y=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EY(e){var t=SY();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RY(this,o)}}var BE=function(e){PY(r,e);var t=EY(r);function r(n){wY(this,r);var o;return o=t.call(this,n),zb(CE(o),"props",void 0),o.props=new TE(n==null?void 0:n.props),o}return r}(le);zb(BE,"controlType","image-column"),zb(BE,"controlFieldType",m.IMAGE);function TY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function CY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function BY(e,t){return t&&(AY(t)==="object"||typeof t=="function")?t:TY(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}var AY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NY(e){var t=xY();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 BY(this,o)}}var AE=function(e){CY(r,e);var t=NY(r);function r(n){IY(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:xr.controlName,o}return r}(X);function xE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function FY(e,t){return t&&(jY(t)==="object"||typeof t=="function")?t:xE(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}var jY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LY(e){var t=MY();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 FY(this,o)}}var xr=function(e){DY(r,e);var t=LY(r);function r(n){kY(this,r);var o;return o=t.call(this,n),Ar(xE(o),"props",void 0),o.props=new AE(n==null?void 0:n.props),o}return r}(ce);Ar(xr,"controlType","people-column"),Ar(xr,"controlName","\u4EBA\u5458"),Ar(xr,"controlIcon","people-column"),Ar(xr,"controlFieldType",m.EMPLOYEES),Ar(xr,"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 NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wb(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 zY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function HY(e,t){return t&&(qY(t)==="object"||typeof t=="function")?t:NE(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}var qY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WY(e){var t=UY();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 HY(this,o)}}var kE=function(e){zY(r,e);var t=WY(r);function r(n){VY(this,r);var o;return o=t.call(this,n),Wb(NE(o),"props",void 0),o.props=new AE(n==null?void 0:n.props),o}return r}(le);Wb(kE,"controlType","people-column"),Wb(kE,"controlFieldType",m.EMPLOYEES);function Cf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function FE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function KY(e,t){return t&&(GY(t)==="object"||typeof t=="function")?t:Cf(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}var GY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jE(e){var t=XY();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 KY(this,o)}}var JY=function(e){FE(r,e);var t=jE(r);function r(n){DE(this,r);var o;return o=t.call(this,n),vn.call(Cf(o),n),o}return r}(Pt),Jb=function(e){FE(r,e);var t=jE(r);function r(n){DE(this,r);var o;o=t.call(this,n),Gb(Cf(o),"showLinkOperation",void 0),Gb(Cf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:kr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption),o}return r}(X);Gb(Jb,"Rules",JY);function ME(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function ZY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qb(e,t)}function YY(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:ME(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}var eee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nee(e){var t=tee();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 YY(this,o)}}var kr=function(e){ZY(r,e);var t=nee(r);function r(n){QY(this,r);var o;return o=t.call(this,n),Nr(ME(o),"props",void 0),o.props=new Jb(n==null?void 0:n.props),o}return r}(ce);Nr(kr,"controlType","location-column"),Nr(kr,"controlName","\u5730\u5740"),Nr(kr,"controlIcon","location-column"),Nr(kr,"controlFieldType",m.ADDRESS),Nr(kr,"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 LE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ree(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zb(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 oee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iee(e,t){return t&&(uee(t)==="object"||typeof t=="function")?t:LE(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}var uee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lee(e){var t=cee();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 iee(this,o)}}var VE=function(e){oee(r,e);var t=lee(r);function r(n){ree(this,r);var o;return o=t.call(this,n),Zb(LE(o),"props",void 0),o.props=new Jb(n==null?void 0:n.props),o}return r}(le);Zb(VE,"controlType","location-column"),Zb(VE,"controlFieldType",m.ADDRESS);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function see(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function yee(e,t){return t&&(dee(t)==="object"||typeof t=="function")?t:zE(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}var dee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pee(e){var t=vee();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 yee(this,o)}}var HE=function(e){see(r,e);var t=pee(r);function r(n){aee(this,r);var o;o=t.call(this,n),fee(zE(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Rn.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(X);function Dr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hee(e,t,r){return t&&qE(e.prototype,t),r&&qE(e,r),e}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mo=Reflect.get:mo=function(o,i,u){var c=Ree(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},mo(e,t,r||e)}function Pn(e){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pn(e)}function bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function gee(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function mee(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){it(e,o,r[o])})}return e}function Oee(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 wee(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Oee(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Pee(e,t){return t&&($ee(t)==="object"||typeof t=="function")?t:Dr(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function Ree(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pn(e),e!==null););return e}var $ee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function See(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eee(e){var t=See();return function(){var n=Pn(e),o;if(t){var i=Pn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pee(this,o)}}var Tee=1,Rn=function(t){bee(n,t);var r=Eee(n);function n(o){_ee(this,n);var i;i=r.call(this,o),it(Dr(i),"excludes",void 0),it(Dr(i),"childrenMaxLength",void 0),it(Dr(i),"props",void 0),it(Dr(i),"children",void 0);var u=gee(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new HE(o==null?void 0:o.props),wt(Dr(i),"children",o==null?void 0:o.children),i.excludes=jt(c),i.childrenMaxLength=a,i}return hee(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=mo(Pn(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=mo(Pn(n.prototype),"toSchema",this).call(this);return wee(mee({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ce);it(Rn,"controlType","custom-column"),it(Rn,"controlName","\u81EA\u5B9A\u4E49"),it(Rn,"controlIcon","custom-column"),it(Rn,"excludes",[]),it(Rn,"childrenMaxLength",Tee),it(Rn,"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 kf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function Cee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function Bee(e,t){return t&&(Aee(t)==="object"||typeof t=="function")?t:kf(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}var Aee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nee(e){var t=xee();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 Bee(this,o)}}var kee=function(e){Cee(r,e);var t=Nee(r);function r(n){Iee(this,r);var o;return o=t.call(this,n),n0(kf(o),"props",void 0),n0(kf(o),"children",void 0),o.props=new HE(n==null?void 0:n.props),wt(kf(o),"children",n==null?void 0:n.children),o}return r}(le);n0(kee,"controlType","custom-column");function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function jee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function Mee(e,t){return t&&(Lee(t)==="object"||typeof t=="function")?t:UE(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}var Lee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zee(e){var t=Vee();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 Mee(this,o)}}var WE=function(e){jee(r,e);var t=zee(r);function r(n){Dee(this,r);var o;o=t.call(this,n),Fee(UE(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$n.controlName;var u;return o.datasourceBind=new So((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:$n.controlCustomAttributes}),o}return r}(X);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qee(e,t,r){return t&&GE(e.prototype,t),r&&GE(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 jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function Uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function Wee(e,t){return t&&(Kee(t)==="object"||typeof t=="function")?t:KE(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}var Kee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xee(e){var t=Gee();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 Wee(this,o)}}var $n=function(e){Uee(r,e);var t=Xee(r);function r(n){Hee(this,r);var o;return o=t.call(this,n),Fr(KE(o),"props",void 0),o.props=new WE(n==null?void 0:n.props),o}return qee(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ce);Fr($n,"controlType","employee-column"),Fr($n,"controlName","\u4EBA\u5458"),Fr($n,"controlIcon","employee-column"),Fr($n,"controlFieldType",m.EMPLOYEES),Fr($n,"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 XE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u0(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 Qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function Zee(e,t){return t&&(Yee(t)==="object"||typeof t=="function")?t:XE(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}var Yee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tte(e){var t=ete();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zee(this,o)}}var JE=function(e){Qee(r,e);var t=tte(r);function r(n){Jee(this,r);var o;return o=t.call(this,n),u0(XE(o),"props",void 0),o.props=new WE(n==null?void 0:n.props),o}return r}(le);u0(JE,"controlType","employee-column"),u0(JE,"controlFieldType",m.EMPLOYEES);function Lf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function rte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function ote(e,t){return t&&(ite(t)==="object"||typeof t=="function")?t:Lf(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}var ite=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ute(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cte(e){var t=ute();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ote(this,o)}}var QE=function(e){rte(r,e);var t=cte(r);function r(n){nte(this,r);var o;o=t.call(this,n),l0(Lf(o),"lineEllipsis",void 0),l0(Lf(o),"showLinkOperation",void 0),l0(Lf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:jr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(X);function f0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function fte(e,t){return t&&(ste(t)==="object"||typeof t=="function")?t:f0(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}var ste=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dte(e){var t=yte();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 fte(this,o)}}var jr=function(e){ate(r,e);var t=dte(r);function r(n){lte(this,r);var o;return o=t.call(this,n),Sn(f0(o),"props",void 0),Sn(f0(o),"children",void 0),o.props=new QE(n==null?void 0:n.props),o}return r}(ce);Sn(jr,"controlType","approval-status-column"),Sn(jr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Sn(jr,"controlIcon","approval-status-column"),Sn(jr,"excludes",[]),Sn(jr,"setting",[{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-line-ellipsis",visible:!0}]);function y0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d0(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 pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function _te(e,t){return t&&(hte(t)==="object"||typeof t=="function")?t:y0(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}var hte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gte(e){var t=bte();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 _te(this,o)}}var mte=function(e){pte(r,e);var t=gte(r);function r(n){vte(this,r);var o;return o=t.call(this,n),d0(y0(o),"props",void 0),d0(y0(o),"children",void 0),o.props=new QE(n==null?void 0:n.props),o}return r}(le);d0(mte,"controlType","approval-status-column");function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function YE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p0(e,t)}function Ote(e,t){return t&&(wte(t)==="object"||typeof t=="function")?t:ut(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}var wte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eT(e){var t=Pte();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 Ote(this,o)}}var Rte=function(e){YE(r,e);var t=eT(r);function r(n){ZE(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),_0=function(e){YE(r,e);var t=eT(r);function r(n){ZE(this,r);var o;o=t.call(this,n),ct(ut(o),"search",void 0),ct(ut(o),"cancel",void 0),ct(ut(o),"searchType",void 0),ct(ut(o),"labelPosition",void 0),ct(ut(o),"viewType",void 0),ct(ut(o),"isLoading",void 0),ct(ut(o),"custom",void 0),ct(ut(o),"queryTypeMap",void 0),ct(ut(o),"childMinWidth",void 0),ct(ut(o),"colGap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var a;o.search=new Lt((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new Lt((l=n==null?void 0:n.cancel)!==null&&l!==void 0?l:{content:"\u91CD\u7F6E",isShow:!0});var f;o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1;var y;o.custom=((y=n==null?void 0:n.custom)!==null&&y!==void 0?y:[]).map(function(b){return new Lt(b)});var v;o.queryTypeMap=(v=n==null?void 0:n.queryTypeMap)!==null&&v!==void 0?v:[];var h;o.childMinWidth=(h=n==null?void 0:n.childMinWidth)!==null&&h!==void 0?h:230;var O;return o.colGap=(O=n==null?void 0:n.colGap)!==null&&O!==void 0?O:24,o}return r}(Qs);ct(_0,"RuntimeRules",Rte);function tT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function Ste(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function Ete(e,t){return t&&(Tte(t)==="object"||typeof t=="function")?t:tT(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}var Tte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ite(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Ite();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 Ete(this,o)}}var nT=function(e){Ste(r,e);var t=Cte(r);function r(n){$te(this,r);var o;return o=t.call(this,n),h0(tT(o),"props",void 0),o.props=new _0(n==null?void 0:n.props),o}return r}(pN);h0(nT,"controlType","simple-search"),h0(nT,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{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 g0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m0(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 Ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function xte(e,t){return t&&(Nte(t)==="object"||typeof t=="function")?t:g0(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}var Nte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dte(e){var t=kte();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 xte(this,o)}}var Fte=function(e){Ate(r,e);var t=Dte(r);function r(n){Bte(this,r);var o;o=t.call(this,n),m0(g0(o),"props",void 0),m0(g0(o),"children",void 0),o.props=new _0(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}(wN);m0(Fte,"controlType","simple-search");const jte=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Jte(t==null?void 0:t.events),qte(n),Ute(n);const o=Hte(n),i=Wte(o,t);let u=Bn(Oe(i,c=>zte(c,t)));return r?u:u[0]},Mte=[d.DIVIDER,d.TEXT,d.TITLE,d.LINK,d.BUTTON,"list-btn-export-list","list-btn-export-record"],Lte=["subtable","grid-table"],Vte=["simple-search"];function zte(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Mte.includes(r.type)?r.controlType="base":r.controlType="form",Lte.includes(r.type)&&(r.controlType="list"),Vte.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),me((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),me((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),me((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"&&(me(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(me(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,v)=>{const h=new oW.Designer;h.props.caption=me(y.field_name)?y.field_name.zh:y.field_name;const O=h.toSchema();O.id=y.header_id;const b=r.children[0].children[v].children[0];return b&&(O.children=[b]),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=me(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 v=new c$.Designer;v.props.span=f;const h=v.toSchema();return h.children.push(y),h})}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],v={};f&&(rT(r,t),v.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&&(v.unit=y.props.data_bind,r.props.default_value={unit:y.props.value}),r.props.dataBind=v,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],v={},h={};f&&(rT(r,t),r.id=f.id,v.amount=f.props.data_bind,r.props.range_min=Cn(f.props.range_min),r.props.range_max=Cn(f.props.range_max),h.amount=Cn(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=me(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&&(v.currency=y.props.data_bind,h.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=v,r.props.defaultValue=h,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=me(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=me(e.props.caption)?e.props.caption.zh:e.props.caption;const v={};f&&(v.min=f.props.data_bind),y&&(v.max=y.props.data_bind),r.props.dataBind=v,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=me(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Cn(e.props.range_min),r.props.range_max=Cn(e.props.range_max),r.props.defaultValue=Cn(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"),Qte(r,t==null?void 0:t.control_events),r}function rT(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 Hte(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new TG.Designer().toSchema();return n.children=e,[n]}function qte(e){e.forEach(t=>{t.children&&Xte(t.children)})}function Ute(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 Wte(e,t){var h,O,b,w,_,P,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;Kte(i),c.props.is_fixed_header=(h=n==null?void 0:n.source_config)==null?void 0:h.is_fixed_header,Gte(c,u);const a=(b=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?b:t==null?void 0:t.dataCode,l=((_=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?_:a)?`${a}_selectMore`:void 0,f=(R=(P=n==null?void 0:n.source_config)==null?void 0:P.orders)!=null?R:[],y=new cG.Designer;y.props.datasourceBind=new ee({dataCode:a,svcCode:l,orders:jB(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=me(E.title)?E.title.zh:E.title}),y.props.sublistPage=n.sublist_page;const v=y.toSchema();return v.children.push(i,c),[v]}function Kte(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=me(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 Gte(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:me(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=me(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 ee({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 Xte(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 Jte(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 Qte(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 Zte=(e,t)=>{const r=Array.isArray(e);let o=Bn(Oe(r?e:[e],i=>Yte(i)));return r?o:o[0]};function Yte(e,t){return e.type===d.LIST_VIEW&&e.children.find(n=>n.type===d.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Qe({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const ene=(e,t)=>{const r=Array.isArray(e);let o=Bn(Oe(r?e:[e],i=>tne(i)));return r?o:o[0]};function tne(e,t){return[d.BUTTON,d.CREATE_FORM_LIST_BUTTON,d.BATCH_SUBMISSION_LIST_BUTTON,d.SUBMISSION_RECORD_LIST_BUTTON,d.IMPORT_RECORD_LIST_BUTTON,d.EXPORT_RECORD_LIST_BUTTON,d.EXPORT_LIST_BUTTON,d.FORM_SELECT_BUTTON,d.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===d.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===d.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const nne=(e,t)=>{const r=Array.isArray(e);let o=Bn(Oe(r?e:[e],i=>rne(i)));return r?o:o[0]};function rne(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 one=(e,t)=>{const r=Array.isArray(e);let o=Bn(Oe(r?e:[e],i=>une(i)));return r?o:o[0]},ine=[d.ROW,d.TAB,d.SUBTABLE,d.GRID_ROW,d.CARD_GROUP];function une(e,t){return e.type===d.TAB_PANE&&(e.children=e.children.map(r=>{if(ine.includes(r.type))return r;const n=new CU.Designer,o=new c$.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const cne=(e,t)=>{const r=Array.isArray(e);let o=Bn(Oe(r?e:[e],i=>lne(i)));return r?o:o[0]};function lne(e,t){return e.type===d.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===d.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const ane=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>fne(i));return r?o:o[0]};function fne(e,t){return e.type===d.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const sne=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>yne(i));return r?o:o[0]};function ln(e,t){e.field_code&&(e.field_type=t)}function yne(e,t){var n;const r={[d.TITLE]:m.AUTO_NUMBER,[d.ADDRESS]:m.ADDRESS,[d.ATTACHMENT]:m.FILE,[d.AUTO_NUMBER]:m.AUTO_NUMBER,[d.CHECKBOX]:m.ARRAY,[d.DATE_PICKER]:m.TIMESTAMP,[d.DEPARTMENT]:m.DEPARTMENTS,[d.EMPLOYEE]:m.EMPLOYEES,[d.EMPLOYEE2]:m.EMPLOYEES,[d.IMAGE]:m.IMAGE,[d.INPUT]:m.VARCHAR,[d.NUMBER]:m.DECIMAL,[d.RADIO]:m.VARCHAR,[d.RICH_TEXT]:m.TEXT,[d.SCORE]:m.DECIMAL,[d.SELECT]:m.VARCHAR,[d.SELECT_MULTIPLE]:m.ARRAY,[d.SELECT_RELATION]:m.VARCHAR,[d.TEXTAREA]:m.TEXT,[d.TREE]:m.ARRAY,[d.SEARCH_DATE_RANGE]:m.ARRAY,[d.SEARCH_INPUT]:m.VARCHAR,[d.SEARCH_NUMBER_RANGE]:m.ARRAY};return r.hasOwnProperty(e.type)&&ln(e.props.data_bind,r[e.type]),e.type===d.AMOUNT&&(ln(e.props.data_bind.amount,m.DECIMAL),ln(e.props.data_bind.currency,m.VARCHAR)),e.type===d.CALC&&(ln(e.props.data_bind.result,m.DECIMAL),ln(e.props.data_bind.unit,m.VARCHAR)),e.type===d.DATE_RANGE&&(ln(e.props.data_bind.min,m.TIMESTAMP),ln(e.props.data_bind.max,m.TIMESTAMP)),e.type===d.VUE_FORM_ITEM&&ln(e.props.data_bind,(n=e.field_type)!=null?n:m.ANY),e}const dne=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>vne(i));return r?o:o[0]};function vne(e,t){return e.type===d.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===d.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const pne=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>_ne(i));return r?o:o[0]};function _ne(e,t){return e.type===d.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[m.VARCHAR,m.TEXT,m.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 hne=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>bne(i));return r?o:o[0]};function bne(e,t){return[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.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 gne=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>mne(i));return r?o:o[0]};function mne(e,t){return[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.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 One=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>wne(i));return r?o:o[0]};function wne(e,t){return e.type===d.TITLE&&e.props.config.push($t.ShowTitle),e.type===d.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,a,l,f,y,v,h,O,b,w,_,P,R,$,E,j,A,W;if(r.type===d.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 I=new Rd.Designer;Object.defineProperty(I,"id",{value:"listPageCheckBtnId"}),I.props.code="view",I.props.icon="iconliulan1",I.props.command="view",I.props.content=(i=r.props)==null?void 0:i.check.content,I.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,I.props.openType=(c=r.props)==null?void 0:c.check.open_type,I.props.formKey=(a=r.props)==null?void 0:a.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(I.toSchema()),(f=r.props)==null||delete f.check}if(((y=r.props)==null?void 0:y.edit)!==void 0){const I=new Rd.Designer;Object.defineProperty(I,"id",{value:"listPageEditBtnId"}),I.props.code="edit",I.props.icon="iconbianji1",I.props.command="edit",I.props.content=(v=r.props)==null?void 0:v.edit.content,I.props.priorityProcess=(h=r.props)==null?void 0:h.edit.priority_process,I.props.openType=(O=r.props)==null?void 0:O.edit.open_type,I.props.formKey=(b=r.props)==null?void 0:b.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(I.toSchema()),(_=r.props)==null||delete _.edit}if(((P=r.props)==null?void 0:P.delete)!==void 0){const I=new Rd.Designer;Object.defineProperty(I,"id",{value:"listPageDeleteBtnId"}),I.props.code="delete",I.props.icon="iconlajitong",I.props.command="delete",I.props.content=(R=r.props)==null?void 0:R.delete.content,I.props.priorityProcess=($=r.props)==null?void 0:$.delete.priority_process,I.props.openType=(E=r.props)==null?void 0:E.delete.open_type,I.props.formKey=(j=r.props)==null?void 0:j.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=r.props)!=null&&A.delete.is_show&&r.children.push(I.toSchema()),(W=r.props)==null||delete W.delete}}}),[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.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 oT={"v1.0":jte,"v2.0":Zte,"v2.1":ene,"v2.2":nne,"v2.3":one,"v2.4":cne,"v2.5":ane,"v2.6":sne,"v2.7":dne,"v2.8":pne,"v2.9":hne,"v2.10":gne,"v3.0":One,"v3.1":()=>{}};const iT=(e,t)=>{const r=uT(e),n=uT(t),o=r.pop(),i=n.pop(),u=aT(r,n);return u!==0?u:o&&i?aT(o.split("."),i.split(".")):o||i?o?-1:1:0},Kf=(e,t,r)=>{Sne(r);const n=iT(e,t);return fT[r].includes(n)},Pne=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,uT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Pne);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},cT=e=>e==="*"||e==="x"||e==="X",lT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Rne=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],$ne=(e,t)=>{if(cT(e)||cT(t))return 0;const[r,n]=Rne(lT(e),lT(t));return r>n?1:r<n?-1:0},aT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=$ne(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},fT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},sT=Object.keys(fT),Sne=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(sT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${sT.join("|")}`)};function w0(e){return e.replace(/^v/,"")}const Mr=Object.keys(oT).map(e=>w0(e)).sort(iT),Oo=Mr[Mr.length-1];class Ene{constructor(t,r=Oo){this.schemaVersion=t,this.toVersion=r,Kf(r,Oo,">")?qr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${Oo}`):(!Mr.includes(w0(r))||!Mr.includes(w0(t)))&&qr(`Version Builder: Please give me a valid version number, The valid version is: ${Mr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(Kf(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;Ro(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=oT[i];let f=o;if(typeof l=="function"){const v=l(o,r);v&&(f=v)}return f},t);return Ro(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return Mr.filter(t=>Kf(t,this.schemaVersion,">=")&&Kf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Oo}static get version(){return Oo}}Tn.VersionBuilder=Ene,Object.defineProperty(Tn,"__esModule",{value:!0})});
|
|
1
|
+
(function(qr,no){typeof exports=="object"&&typeof module!="undefined"?no(exports):typeof define=="function"&&define.amd?define(["exports"],no):(qr=typeof globalThis!="undefined"?globalThis:qr||self,no(qr.modelDrivenUpgrade={}))})(this,function(qr){"use strict";var no="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",qT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",UT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",WT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",KT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",GT="{caption}\u5FC5\u586B",XT="\u8BF7\u8F93\u5165\u6807\u9898",JT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",QT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ZT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",YT="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",e1="\u8BF7\u7ED1\u5B9A\u8868\u5355",t1="\u8BF7\u7ED1\u5B9A\u5217\u8868",r1="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",n1="\u8BF7\u8F93\u5165\u663E\u793A\u503C",o1="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",i1="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",u1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",c1="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",l1="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",a1="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",f1="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",s1="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",p1="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",_1="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",y1="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",d1="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",v1="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",h1="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",b1="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",g1="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",m1="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",O1="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",w1="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",$1="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",P1="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",R1="\u8BF7\u7ED1\u5B9A\u670D\u52A1",S1="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",E1="\u8BF7\u9009\u62E9\u7701",T1="\u8BF7\u9009\u62E9\u5E02",I1="\u8BF7\u9009\u62E9\u533A",B1="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",A1="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",x1="\u8BF7\u8F93\u5165\u5217\u5BBD",k1="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",D1="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",N1="\u8BF7\u9009\u62E9\u63A7\u4EF6",F1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",j1="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",M1="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",L1="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",V1="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",C1="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",z1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",H1="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",q1="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",U1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",W1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",K1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",G1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",X1="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",J1="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Q1="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Z1="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Y1="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",e3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",t3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",r3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",n3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",o3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",i3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",u3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",c3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",l3={isNotNumber:no,isNotString:qT,isNotObject:UT,isNotArray:WT,isNotBoolean:KT,runtimeRequired:GT,pleaseEnterCaption:XT,pleaseEnterCaptionTip:JT,pleaseEnterRowCaption:QT,pleaseEnterPlaceholder:ZT,pleaseEnterFieldCode:YT,pleaseEnterForm:e1,pleaseEnterList:t1,pleaseEnterProcess:r1,pleaseEnterLabel:n1,pleaseEnterValue:o1,bizKeyNotBindFiled:i1,pleaseSelectOneField:u1,pleaseEnterNumberRange:c1,pleaseEnterAValueGreaterThanMin:l1,pleaseEnterAValueLessThanMax:a1,numberRangeSetError:f1,stringRangeError:s1,attachmentMaxSize:p1,pleaseEnterTotalScoreSetting:_1,theTotalScoreMustNotBeLessThan1:y1,scoreDefaultValueRange:d1,attachmentLimitError:v1,PleaseReselectTheOptionalQuantity:h1,TheMaximumLengthIsGreaterThanTheMinimumLength:b1,TheMinimumLengthIsGreaterThanTheMaximumLength:g1,PleaseSelectTheCorrectOptionSettings:m1,optionIdIsRepeat:O1,optionIsRequired:w1,pleaseEnterDataCode:$1,pleaseEnterValueFieldCode:P1,pleaseEnterSvcCode:R1,pleaseBindAtLeastOneDisplayValue:S1,pleaseSelectProvince:E1,pleaseSelectCity:T1,pleaseSelectDistrict:I1,limitRowsCannotBeLessThan0:B1,TheNumberOfRowsCannotBeLessThanMinRows:A1,pleaseEnterColumnWidth:x1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:k1,pleaseCompleteAllRulesAndConditions:D1,pleaseSelectControl:N1,pleaseSelectAtLeastOneColumn:F1,pleaseSelectFillBackMode:j1,pleaseSelectDashboard:M1,rootNodeIsRequired:L1,theViewNameCannotBeEmpty:V1,pleaseSelectOcrType:C1,pleaseSelectAtLeastOneFieldToFillIn:z1,pleaseChooseAtLeastOne:H1,pleaseEnterButtonContent:q1,pleaseEnterDataCodeInDataSetting:U1,pleaseEnterValueFieldCodeInDataSetting:W1,pleaseEnterSvcCodeInDataSetting:K1,pleaseBindAtLeastOneDisplayValueInDataSetting:G1,rootNodeIsRequiredInDataSetting:X1,pleaseEnterMaxHeight:J1,pleaseEnter:Q1,pleaseEnterWatermark:Z1,pleaseEnterFileName:Y1,pleaseUploadAtLeastOnePrintTemplate:e3,pleaseAssignBusiness:t3,pleaseAssignExternal:r3,pleaseEnterAliasCode:n3,pleaseSelectDataCode:o3,pleaseSelectSvcCode:i3,pleaseSelectJoinFieldCode:u3,pleaseSelectMainFieldCode:c3},a3="Please enter a number",f3="Please enter a string",s3="Please enter an object",p3="Please enter an array",_3="Please enter a boolean",y3="{caption} Required",d3="Please enter the title",v3="Please enter the bubble prompt",h3="Please enter the row title",b3="Please enter the prompt text",g3="Please bind data items",m3="Please bind the form",O3="Please bind the list",w3="Please bind the process",$3="Please enter the displayed value",P3="Please enter the stored value",R3="The document number is not bound to the data item",S3="Please select at least one display field",E3="Please enter a value greater than or equal to {min} and less than or equal to {max}",T3="Please enter a value greater than or equal to {min}",I3="Please enter a value less than or equal to {max}",B3="The value range is set incorrectly",A3="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",x3="The attachment size must be between 0MB and 1000MB",k3="Please fill in the total score setting",D3="The total score cannot be less than 1",N3="The default value must be between {min} and {max}",F3="The number of attachments uploaded must be between {min} and {max}",j3="Please re-select the optional quantity",M3="The maximum length of the control must be greater than the minimum length",L3="The minimum length of the control must be less than the maximum length",V3="Please select the correct option setting",C3="Option ID cannot be repeated",z3="Please enter at least one option",H3="Please bind the data source",q3="Please bind the stored value",U3="Please bind the service",W3="At least one display value must be bound",K3="Please select a province",G3="Please select a city",X3="Please select a district",J3="The minimum number of lines to fill in cannot be less than 0",Q3="The number of rows cannot be less than {min} rows",Z3="Please enter the column width",Y3="Please set the logical relationship of all rule conditions",eI="Please complete all rules and conditions",tI="please select control",rI="Please select the dashboard",nI="View name cannot be empty",oI="Please select recognition type",iI="Please select at least one field to fill in",uI="Please select at least one",cI="Please enter the button title",lI="Please bind the business model in the data settings",aI="Please bind storage values in data settings",fI="Please bind the service in the data settings",sI="Please bind at least one display value in the data settings",pI="Please select the root node in the data settings",_I="Please enter the maximum height",yI="The input content cannot be empty",dI="Watermark cannot be empty",vI="File name cannot be empty",hI="Please upload at least one printing template!\uFF01",bI="Please select a specific business department",gI="Please select a specified external organization",mI="Please enter a sub table alias",OI="Please select the associated table to set the business model",wI="Please select the association table to set the binding service",$I="Select associated sub table fields",PI="Please select the associated main table field",RI={isNotNumber:a3,isNotString:f3,isNotObject:s3,isNotArray:p3,isNotBoolean:_3,runtimeRequired:y3,pleaseEnterCaption:d3,pleaseEnterCaptionTip:v3,pleaseEnterRowCaption:h3,pleaseEnterPlaceholder:b3,pleaseEnterFieldCode:g3,pleaseEnterForm:m3,pleaseEnterList:O3,pleaseEnterProcess:w3,pleaseEnterLabel:$3,pleaseEnterValue:P3,bizKeyNotBindFiled:R3,pleaseSelectOneField:S3,pleaseEnterNumberRange:E3,pleaseEnterAValueGreaterThanMin:T3,pleaseEnterAValueLessThanMax:I3,numberRangeSetError:B3,stringRangeError:A3,attachmentMaxSize:x3,pleaseEnterTotalScoreSetting:k3,theTotalScoreMustNotBeLessThan1:D3,scoreDefaultValueRange:N3,attachmentLimitError:F3,PleaseReselectTheOptionalQuantity:j3,TheMaximumLengthIsGreaterThanTheMinimumLength:M3,TheMinimumLengthIsGreaterThanTheMaximumLength:L3,PleaseSelectTheCorrectOptionSettings:V3,optionIdIsRepeat:C3,optionIsRequired:z3,pleaseEnterDataCode:H3,pleaseEnterValueFieldCode:q3,pleaseEnterSvcCode:U3,pleaseBindAtLeastOneDisplayValue:W3,pleaseSelectProvince:K3,pleaseSelectCity:G3,pleaseSelectDistrict:X3,limitRowsCannotBeLessThan0:J3,TheNumberOfRowsCannotBeLessThanMinRows:Q3,pleaseEnterColumnWidth:Z3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Y3,pleaseCompleteAllRulesAndConditions:eI,pleaseSelectControl:tI,pleaseSelectDashboard:rI,theViewNameCannotBeEmpty:nI,pleaseSelectOcrType:oI,pleaseSelectAtLeastOneFieldToFillIn:iI,pleaseChooseAtLeastOne:uI,pleaseEnterButtonContent:cI,pleaseEnterDataCodeInDataSetting:lI,pleaseEnterValueFieldCodeInDataSetting:aI,pleaseEnterSvcCodeInDataSetting:fI,pleaseBindAtLeastOneDisplayValueInDataSetting:sI,rootNodeIsRequiredInDataSetting:pI,pleaseEnterMaxHeight:_I,pleaseEnter:yI,pleaseEnterWatermark:dI,pleaseEnterFileName:vI,pleaseUploadAtLeastOnePrintTemplate:hI,pleaseAssignBusiness:bI,pleaseAssignExternal:gI,pleaseEnterAliasCode:mI,pleaseSelectDataCode:OI,pleaseSelectSvcCode:wI,pleaseSelectJoinFieldCode:$I,pleaseSelectMainFieldCode:PI},SI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",EI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",TI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",II="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",BI="\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",kI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",DI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",NI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FI="\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",MI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",LI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",VI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CI="\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",JI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",QI="\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",rB="\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",nB="\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",pB="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_B="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",yB="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",dB="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vB="\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="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mB="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",OB="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$B="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PB="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",RB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",SB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",EB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",TB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",IB="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",BB="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",AB="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xB="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",kB="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",DB="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",NB="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",FB="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jB="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",MB="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",LB="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",VB="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",CB="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zB={isNotNumber:SI,isNotString:EI,isNotObject:TI,isNotArray:II,isNotBoolean:BI,runtimeRequired:AI,pleaseEnterCaption:xI,pleaseEnterCaptionTip:kI,pleaseEnterRowCaption:DI,pleaseEnterPlaceholder:NI,pleaseEnterFieldCode:FI,pleaseEnterForm:jI,pleaseEnterList:MI,pleaseEnterProcess:LI,pleaseEnterLabel:VI,pleaseEnterValue:CI,bizKeyNotBindFiled:zI,pleaseSelectOneField:HI,pleaseEnterNumberRange:qI,pleaseEnterAValueGreaterThanMin:UI,pleaseEnterAValueLessThanMax:WI,numberRangeSetError:KI,stringRangeError:GI,attachmentMaxSize:XI,pleaseEnterTotalScoreSetting:JI,theTotalScoreMustNotBeLessThan1:QI,scoreDefaultValueRange:ZI,attachmentLimitError:YI,PleaseReselectTheOptionalQuantity:eB,TheMaximumLengthIsGreaterThanTheMinimumLength:tB,TheMinimumLengthIsGreaterThanTheMaximumLength:rB,PleaseSelectTheCorrectOptionSettings:nB,optionIdIsRepeat:oB,optionIsRequired:iB,pleaseEnterDataCode:uB,pleaseEnterValueFieldCode:cB,pleaseEnterSvcCode:lB,pleaseBindAtLeastOneDisplayValue:aB,pleaseSelectProvince:fB,pleaseSelectCity:sB,pleaseSelectDistrict:pB,limitRowsCannotBeLessThan0:_B,TheNumberOfRowsCannotBeLessThanMinRows:yB,pleaseEnterColumnWidth:dB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vB,pleaseCompleteAllRulesAndConditions:hB,pleaseSelectControl:bB,pleaseSelectDashboard:gB,theViewNameCannotBeEmpty:mB,pleaseSelectOcrType:OB,pleaseSelectAtLeastOneFieldToFillIn:wB,pleaseChooseAtLeastOne:$B,pleaseEnterButtonContent:PB,pleaseEnterDataCodeInDataSetting:RB,pleaseEnterValueFieldCodeInDataSetting:SB,pleaseEnterSvcCodeInDataSetting:EB,pleaseBindAtLeastOneDisplayValueInDataSetting:TB,rootNodeIsRequiredInDataSetting:IB,pleaseEnterMaxHeight:BB,pleaseEnter:AB,pleaseEnterWatermark:xB,pleaseEnterFileName:kB,pleaseUploadAtLeastOnePrintTemplate:DB,pleaseAssignBusiness:NB,pleaseAssignExternal:FB,pleaseEnterAliasCode:jB,pleaseSelectDataCode:MB,pleaseSelectSvcCode:LB,pleaseSelectJoinFieldCode:VB,pleaseSelectMainFieldCode:CB},HB={zhCN:l3,enUS:RI,jaJP:zB},ng;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(ng||(ng={}));var og;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(og||(og={}));var qB="zh-CN";function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ur;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Ur||(Ur={}));var m;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(m||(m={}));var S;(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"})(S||(S={}));var Be;Be={},We(Be,S.ARRAY,m.ARRAY_COLUMN),We(Be,S.AUTO_NUMBER,m.AUTO_NUMBER_COLUMN),We(Be,S.DECIMAL,m.DECIMAL_COLUMN),We(Be,S.DEPARTMENTS,m.DEPARTMENT_COLUMN),We(Be,S.FILE,m.FILE_COLUMN),We(Be,S.IMAGE,m.IMAGE_COLUMN),We(Be,S.ADDRESS,m.LOCATION_COLUMN),We(Be,S.EMPLOYEES,m.EMPLOYEE_COLUMN),We(Be,S.TEXT,m.TEXT_COLUMN),We(Be,S.TIMESCOPE,m.TIMESCOPE_COLUMN),We(Be,S.TIMESTAMP,m.TIMESTAMP_COLUMN),We(Be,S.VARCHAR,m.VARCHAR_COLUMN),We(Be,S.RELATION,m.VARCHAR_COLUMN);var Zt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Zt||(Zt={}));var ig="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",UB=ig+"0123456789";function Dt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?ig:UB,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function as(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 WB(e){if(Array.isArray(e))return as(e)}function KB(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 Mo(e,t,r){return ag()?Mo=Reflect.construct:Mo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&io(a,u.prototype),a},Mo.apply(null,arguments)}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function cg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&io(e,t)}function GB(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function XB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JB(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function QB(e,t){return t&&(ZB(t)==="object"||typeof t=="function")?t:KB(e)}function io(e,t){return io=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},io(e,t)}function lg(e){return WB(e)||XB(e)||YB(e)||JB()}function ZB(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YB(e,t){if(!!e){if(typeof e=="string")return as(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 as(e,t)}}function fs(e){var t=typeof Map=="function"?new Map:void 0;return fs=function(n){if(n===null||!GB(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,oo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),io(o,n)},fs(e)}function ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fg(e){var t=ag();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 QB(this,o)}}var ss=console;function ps(){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=ss).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(lg(o)))}function Lo(){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=ss).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(lg(o)))}function e2(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _s=function(e){cg(r,e);var t=fg(r);function r(n){ug(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?e2(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(fs(Error)),t2=function(e){cg(r,e);var t=fg(r);function r(n){ug(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(_s);function uo(e){throw new _s(e)}function sg(e){throw new t2(e)}function r2(e){ss.error(new _s(e))}var n2=Object.prototype.toString;function pg(e,t){return n2.call(e)==="[object "+t+"]"}function o2(e){return pg(e,"String")}function i2(e){return pg(e,"Promise")}var u2=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();i2(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 l=o[i];if(!(u===c.length-1&&!o2(l)))return l}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var 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 c2(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 l2(e,t,r){return t&&_g(e.prototype,t),r&&_g(e,r),e}function a2(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(){c2(this,e)}return l2(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]:qB;return new u2({locale:r,messages:HB})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();a2($,"$i18n",$.resetI18n());function f2(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){ps("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===l.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var s2=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ys={exports:{}};(function(e){(function(t){var r=function(y,g,O){if(!a(g)||s(g)||p(g)||_(g)||l(g))return g;var w,P=0,E=0;if(f(g))for(w=[],E=g.length;P<E;P++)w.push(r(y,g[P],O));else{w={};for(var T in g)Object.prototype.hasOwnProperty.call(g,T)&&(w[y(T,O)]=r(y,g[T],O))}return w},n=function(y,g){g=g||{};var O=g.separator||"_",w=g.split||/(?=[A-Z])/;return y.split(w).join(O)},o=function(y){return h(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(g,O){return O?O.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},i=function(y){var g=o(y);return g.substr(0,1).toUpperCase()+g.substr(1)},u=function(y,g){return n(y,g).toLowerCase()},c=Object.prototype.toString,l=function(y){return typeof y=="function"},a=function(y){return y===Object(y)},f=function(y){return c.call(y)=="[object Array]"},s=function(y){return c.call(y)=="[object Date]"},p=function(y){return c.call(y)=="[object RegExp]"},_=function(y){return c.call(y)=="[object Boolean]"},h=function(y){return y=y-0,y===y},d=function(y,g){var O=g&&"process"in g?g.process:g;return typeof O!="function"?y:function(w,P){return O(w,y,P)}},b={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(y,g){return r(d(o,g),y)},decamelizeKeys:function(y,g){return r(d(u,g),y,g)},pascalizeKeys:function(y,g){return r(d(i,g),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(s2)})(ys);var yg={};Object.defineProperty(yg,"__esModule",{value:!0});function ds(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ds(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:ds(n)}return t}}var p2=yg.default=ds;function Yt(e){if(e!==void 0)return typeof e=="object"?p2(e):e}function Ae(e){return dg(e)&&"zh"in e}function dg(e){return Object.prototype.toString.call(e)==="[object Object]"}function vs(e){return Array.isArray(e)}function Wr(e){return isNaN(parseFloat(e))?"":Number(e)}function _2(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function xe(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o,i,u=n;return Array.isArray((o=n)===null||o===void 0?void 0:o.children)&&(u.children=xe(n.children,t)),Array.isArray((i=n)===null||i===void 0?void 0:i.footers)&&(u.footers=xe(n.footers,t)),t(u)})),r}function y2(e){return ys.exports.camelizeKeys(e)}function Kr(e){return ys.exports.decamelizeKeys(e)}function hs(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 d2(e){if(Array.isArray(e))return hs(e)}function vg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function v2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){vg(i,n,o,u,c,"next",l)}function c(l){vg(i,n,o,u,c,"throw",l)}u(void 0)})}}function h2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b2(e,t,r){return t&&hg(e.prototype,t),r&&hg(e,r),e}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 g2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function m2(){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 bs(e){return d2(e)||g2(e)||O2(e)||m2()}function O2(e,t){if(!!e){if(typeof e=="string")return hs(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 hs(e,t)}}function w2(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var $2=function(){function e(){h2(this,e),bg(this,"_events",new Map),bg(this,"debug",!1)}return b2(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 v2(function(){var c,l,a,f,s,p,_,h,d,b,y,g;return w2(this,function(O){switch(O.label){case 0:if(c=u._events.get(r),l=[],!c)return[3,10];a=c.slice(),f=!0,s=!1,p=void 0,O.label=1;case 1:O.trys.push([1,8,9,10]),_=a[Symbol.iterator](),O.label=2;case 2:if(f=(h=_.next()).done)return[3,7];if(d=h.value,!c.includes(d))return[3,6];O.label=3;case 3:return O.trys.push([3,5,,6]),u.debug&&Lo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(bs(o))),[4,d.apply(null,bs(o))];case 4:return b=O.sent(),u.debug&&Lo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.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(bs(o),[b])),l.push(b),b===!1?[3,7]:[3,6];case 5:return y=O.sent(),r2(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return g=O.sent(),s=!0,p=g,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(s)throw p}return[7];case 10:return[2,l]}})})()}},{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,i,u=this._events.get(r),c=(o=u)===null||o===void 0?void 0:o.indexOf(n);(i=u)===null||i===void 0||i.splice(c,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function P2(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 R2(e,t,r){return t&&gg(e.prototype,t),r&&gg(e,r),e}function S2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E2=[{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"}],T2=function(){function e(){P2(this,e)}return R2(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}();S2(T2,"events",E2);function I2(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 B2(e,t,r){return t&&mg(e.prototype,t),r&&mg(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}var Og=[],gs=function(){function e(t){I2(this,e),$r(this,"registeredControlTypes",new Set),$r(this,"controlConfigMap",new Map),$r(this,"_controls",[]),$r(this,"_type",void 0),this._type=t,this._initControls(t)}return B2(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__||uo("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(ps("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===Ur.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===Ur.FORM}},{key:"isListControl",value:function(r){return r.controlType===Ur.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===Ur.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(f){return o.createControl(f,n)});if(r.children&&(r.children=r.children.map(function(f){return o.createControl(f,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(f){return o.createControl(f,n)})),i.footers&&(i.footers=i.footers.map(function(f){var s;return f&&(s=o.createControl(f,n)),s}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var l=n(c);l&&(c=l)}var a=new u(c);return a}else uo("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__)&&uo("".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&&(ps("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}();$r(gs,"staticControls",Og),$r(gs,"staticRegisteredTypes",new Set(Og.map(function(e){return e.Designer.controlType}))),$r(gs,"staticRegisteredConfigs",new Map);function U(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 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 Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function A2(e,t){return t&&(x2(t)==="object"||typeof t=="function")?t:U(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(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 at(e){var t=k2();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 A2(this,o)}}var ft=function e(t){F(this,e);var r,n,o,i;R(this,"dataCode",void 0),R(this,"fieldCode",void 0),R(this,"fieldType",void 0),R(this,"aliasCode",void 0);var u;this.dataCode=(u=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&u!==void 0?u:"";var c;this.fieldCode=(c=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var l;this.fieldType=(l=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&l!==void 0?l:"",this.aliasCode=(i=t)===null||i===void 0?void 0:i.aliasCode},wg=function e(t){F(this,e);var r,n,o;R(this,"minWidth",void 0),R(this,"maxWidth",void 0),R(this,"flex",void 0);var i;this.minWidth=(i=(r=t)===null||r===void 0?void 0:r.minWidth)!==null&&i!==void 0?i:150,this.maxWidth=(n=t)===null||n===void 0?void 0:n.maxWidth;var u;this.flex=(u=(o=t)===null||o===void 0?void 0:o.flex)!==null&&u!==void 0?u:1},Os=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"width",void 0),R(U(o),"widthType",void 0);var c;o.width=(c=(i=n)===null||i===void 0?void 0:i.width)!==null&&c!==void 0?c:240;var l;return o.widthType=(l=(u=n)===null||u===void 0?void 0:u.widthType)!==null&&l!==void 0?l:"auto",o}return r}(wg),D2=function e(t){F(this,e);var r,n,o;R(this,"pc",void 0),R(this,"mobile",void 0),this.pc=new Os((r=t)===null||r===void 0?void 0:r.pc),this.mobile=!((n=t)===null||n===void 0)&&n.mobile?new Os((o=t)===null||o===void 0?void 0:o.mobile):new Os({width:130,minWidth:180})},N2=function e(t){F(this,e);var r,n;R(this,"type",void 0),R(this,"customOptions",void 0);var o;this.type=(o=(r=t)===null||r===void 0?void 0:r.type)!==null&&o!==void 0?o:"firstThree";var i;this.customOptions=(i=(n=t)===null||n===void 0?void 0:n.customOptions)!==null&&i!==void 0?i:[]},Gr=function e(t){F(this,e);var r,n,o;R(this,"dataCode",void 0),R(this,"formKey",void 0),R(this,"appId",void 0);var i;this.dataCode=(i=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&i!==void 0?i:"";var u;this.formKey=(u=(n=t)===null||n===void 0?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;this.appId=(c=(o=t)===null||o===void 0?void 0:o.appId)!==null&&c!==void 0?c:""},F2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i;o=t.call(this,n),R(U(o),"primaryControlId",void 0);var u;return o.primaryControlId=(u=(i=n)===null||i===void 0?void 0:i.primaryControlId)!==null&&u!==void 0?u:"",o}return r}(Gr),$g=function e(t){F(this,e);var r;R(this,"fieldCode",void 0);var n;this.fieldCode=(n=(r=t)===null||r===void 0?void 0:r.fieldCode)!==null&&n!==void 0?n:""},ws=function e(t){F(this,e);var r,n,o,i;R(this,"appId",void 0),R(this,"formKey",void 0),R(this,"headers",void 0);var u;this.appId=(u=(r=t)===null||r===void 0?void 0:r.appId)!==null&&u!==void 0?u:"";var c;this.formKey=(c=(n=t)===null||n===void 0?void 0:n.formKey)!==null&&c!==void 0?c:"";var l;this.headers=(l=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(a){return new $g(a)}))!==null&&l!==void 0?l:[]},j2=function e(t){F(this,e);var r,n,o;R(this,"fieldName",void 0),R(this,"fieldCode",void 0),R(this,"fieldType",void 0);var i;this.fieldName=(i=(r=t)===null||r===void 0?void 0:r.fieldName)!==null&&i!==void 0?i:"";var u;this.fieldCode=(u=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&u!==void 0?u:"";var c;this.fieldType=(c=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&c!==void 0?c:S.VARCHAR},M2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u,c,l;o=t.call(this,n),R(U(o),"title",void 0),R(U(o),"svcCode",void 0),R(U(o),"isOpenFilter",void 0),R(U(o),"filters",void 0);var a;o.title=(a=(i=n)===null||i===void 0?void 0:i.title)!==null&&a!==void 0?a:"";var f;o.svcCode=(f=(u=n)===null||u===void 0?void 0:u.svcCode)!==null&&f!==void 0?f:"";var s;o.isOpenFilter=(s=(c=n)===null||c===void 0?void 0:c.isOpenFilter)!==null&&s!==void 0?s:!1;var p;return o.filters=(p=(l=n)===null||l===void 0?void 0:l.filters)!==null&&p!==void 0?p:[],o}return r}(Gr),L2=function e(t){F(this,e);var r,n,o,i,u;R(this,"type","sublist-page"),R(this,"formBind",void 0),R(this,"displayFields",void 0),R(this,"sublists",void 0),this.formBind=new Gr((r=t)===null||r===void 0?void 0:r.formBind);var c;this.displayFields=(c=(o=t)===null||o===void 0||(n=o.displayFields)===null||n===void 0?void 0:n.map(function(a){return new j2(a)}))!==null&&c!==void 0?c:[];var l;this.sublists=(l=(u=t)===null||u===void 0||(i=u.sublists)===null||i===void 0?void 0:i.map(function(a){return new M2(a)}))!==null&&l!==void 0?l:[]},V2=function e(t){F(this,e);var r,n;R(this,"type",void 0),R(this,"value",void 0),this.type=(r=t)===null||r===void 0?void 0:r.type,this.value=(n=t)===null||n===void 0?void 0:n.value},co=function e(t){F(this,e);var r,n,o;R(this,"type",void 0),R(this,"value",void 0),R(this,"displayBos",void 0);var i;this.type=(i=(r=t)===null||r===void 0?void 0:r.type)!==null&&i!==void 0?i:"custom";var u;this.value=(u=(n=t)===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:[];var c;this.displayBos=(c=(o=t)===null||o===void 0?void 0:o.displayBos)!==null&&c!==void 0?c:[]},Pg=function e(t){var r=this;F(this,e);var n,o,i,u,c;R(this,"id",void 0),R(this,"ruleId",void 0),R(this,"type","conditions"),R(this,"level",void 0),R(this,"value",void 0),R(this,"children",void 0);var l;this.id=(l=(n=t)===null||n===void 0?void 0:n.id)!==null&&l!==void 0?l:Dt();var a;this.ruleId=(a=(o=t)===null||o===void 0?void 0:o.ruleId)!==null&&a!==void 0?a:new Date().valueOf();var f;this.level=(f=(i=t)===null||i===void 0?void 0:i.level)!==null&&f!==void 0?f:0;var s;if(this.value=(s=(u=t)===null||u===void 0?void 0:u.value)!==null&&s!==void 0?s:"and",this.children=[],Array.isArray((c=t)===null||c===void 0?void 0:c.children)){var p;(p=t)===null||p===void 0||p.children.map(function(_){if(_.children!==void 0){var h,d=new e(_);(h=r.children)===null||h===void 0||h.push(d)}else{var b,y=new $s(_);(b=r.children)===null||b===void 0||b.push(y)}})}},$s=function e(t){F(this,e);var r,n,o,i,u,c,l;R(this,"id",void 0),R(this,"ruleId",void 0),R(this,"type","condition"),R(this,"symbol",void 0),R(this,"checked",void 0),R(this,"describe",void 0),R(this,"leftVariableBo",void 0),R(this,"rightVariableBo",void 0);var a;this.id=(a=(r=t)===null||r===void 0?void 0:r.id)!==null&&a!==void 0?a:Dt();var f;this.ruleId=(f=(n=t)===null||n===void 0?void 0:n.ruleId)!==null&&f!==void 0?f:new Date().valueOf();var s;this.symbol=(s=(o=t)===null||o===void 0?void 0:o.symbol)!==null&&s!==void 0?s:"";var p;this.checked=(p=(i=t)===null||i===void 0?void 0:i.checked)!==null&&p!==void 0?p:!1;var _;this.describe=(_=(u=t)===null||u===void 0?void 0:u.describe)!==null&&_!==void 0?_:"",this.leftVariableBo=new V2((c=t)===null||c===void 0?void 0:c.leftVariableBo),this.rightVariableBo=new co((l=t)===null||l===void 0?void 0:l.rightVariableBo)},C2=function e(t){F(this,e);var r,n,o;R(this,"aliasCode",void 0),R(this,"datasourceBind",void 0),R(this,"relationFields",void 0);var i;this.aliasCode=(i=(r=t)===null||r===void 0?void 0:r.aliasCode)!==null&&i!==void 0?i:"",this.datasourceBind=new se((n=t)===null||n===void 0?void 0:n.datasourceBind);var u;this.relationFields=(u=(o=t)===null||o===void 0?void 0:o.relationFields)!==null&&u!==void 0?u:[]},je=function e(t){F(this,e);var r,n,o,i;R(this,"controlId",void 0),R(this,"fieldCode",void 0),R(this,"fieldType",void 0),R(this,"propName",void 0);var u;this.controlId=(u=(r=t)===null||r===void 0?void 0:r.controlId)!==null&&u!==void 0?u:"";var c;this.fieldCode=(c=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var l;this.fieldType=(l=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&l!==void 0?l:"";var a;this.propName=(a=(i=t)===null||i===void 0?void 0:i.propName)!==null&&a!==void 0?a:""},Ps=function e(t){F(this,e);var r,n,o;R(this,"type",void 0),R(this,"value",void 0),R(this,"fieldType",void 0);var i;this.type=(i=(r=t)===null||r===void 0?void 0:r.type)!==null&&i!==void 0?i:"FIELD";var u;this.value=(u=(n=t)===null||n===void 0?void 0:n.value)!==null&&u!==void 0?u:"",this.fieldType=(o=t)===null||o===void 0?void 0:o.fieldType},z2=function e(t){F(this,e),R(this,"columnName",void 0),R(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 Rs(e){var t,r,n,o,i,u,c;this.filters=(c=(r=e)===null||r===void 0||(t=r.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Pg(f):new $s(f)}))!==null&&c!==void 0?c:[];var l;this.viewFilters=(l=(o=e)===null||o===void 0||(n=o.viewFilters)===null||n===void 0?void 0:n.map(function(f){return f.children!==void 0?new Pg(f):new $s(f)}))!==null&&l!==void 0?l:[];var a;this.orders=(a=(u=e)===null||u===void 0||(i=u.orders)===null||i===void 0?void 0:i.map(function(f){return new z2(f)}))!==null&&a!==void 0?a:[]}var se=function e(t){var r=this;F(this,e);var n,o,i,u,c,l,a,f;R(this,"dataCode",void 0),R(this,"valueFieldCode",void 0),R(this,"displayBoList",void 0),R(this,"keywordMapping",void 0),R(this,"svcCode",void 0),R(this,"appId",void 0),R(this,"filters",void 0),R(this,"viewFilters",void 0),R(this,"isOpenViewFilters",void 0),R(this,"orders",void 0),R(this,"showOrder",void 0);var s;this.dataCode=(s=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&s!==void 0?s:"";var p;this.appId=(p=(o=t)===null||o===void 0?void 0:o.appId)!==null&&p!==void 0?p:"";var _;this.valueFieldCode=(_=(i=t)===null||i===void 0?void 0:i.valueFieldCode)!==null&&_!==void 0?_:"",this.displayBoList=[];var h;if(this.isOpenViewFilters=(h=(u=t)===null||u===void 0?void 0:u.isOpenViewFilters)!==null&&h!==void 0?h:0,Array.isArray((c=t)===null||c===void 0?void 0:c.displayBoList)){var d;(d=t)===null||d===void 0||d.displayBoList.map(function(O){var w;(w=r.displayBoList)===null||w===void 0||w.push(new Ps(O))})}var b;this.keywordMapping=(b=(l=t)===null||l===void 0?void 0:l.keywordMapping)!==null&&b!==void 0?b:"";var y;this.showOrder=(y=(a=t)===null||a===void 0?void 0:a.showOrder)!==null&&y!==void 0?y:!0;var g;this.svcCode=(g=(f=t)===null||f===void 0?void 0:f.svcCode)!==null&&g!==void 0?g:"",Rs.call(this,t)},Ss=function e(t){F(this,e);var r,n;R(this,"dataCode",void 0),R(this,"displayBoList",void 0);var o;this.dataCode=(o=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&o!==void 0?o:"";var i;this.displayBoList=(i=(n=t)===null||n===void 0?void 0:n.displayBoList)!==null&&i!==void 0?i:[]},er=function e(t){F(this,e);var r,n,o,i,u,c,l,a,f,s;R(this,"code",void 0),R(this,"color",void 0),R(this,"command",void 0),R(this,"confirmMessage",void 0),R(this,"defaultState",void 0),R(this,"formKey",void 0),R(this,"icon",void 0),R(this,"needConfirm",void 0),R(this,"openType",void 0),R(this,"priorityProcess",void 0);var p;this.code=(p=(r=t)===null||r===void 0?void 0:r.code)!==null&&p!==void 0?p:"view";var _;this.color=(_=(n=t)===null||n===void 0?void 0:n.color)!==null&&_!==void 0?_:"primary";var h;this.command=(h=(o=t)===null||o===void 0?void 0:o.command)!==null&&h!==void 0?h:"view";var d;this.confirmMessage=(d=(i=t)===null||i===void 0?void 0:i.confirmMessage)!==null&&d!==void 0?d:void 0;var b;this.defaultState=(b=(u=t)===null||u===void 0?void 0:u.defaultState)!==null&&b!==void 0?b:"default";var y;this.formKey=(y=(c=t)===null||c===void 0?void 0:c.formKey)!==null&&y!==void 0?y:void 0;var g;this.icon=(g=(l=t)===null||l===void 0?void 0:l.icon)!==null&&g!==void 0?g:"iconliulan1";var O;this.needConfirm=(O=(a=t)===null||a===void 0?void 0:a.needConfirm)!==null&&O!==void 0?O:!1;var w;this.openType=(w=(f=t)===null||f===void 0?void 0:f.openType)!==null&&w!==void 0?w:"modal";var P;this.priorityProcess=(P=(s=t)===null||s===void 0?void 0:s.priorityProcess)!==null&&P!==void 0?P:!0},Rg=function e(t){F(this,e);var r,n,o,i;R(this,"name",void 0),R(this,"key",void 0),R(this,"value",void 0);var u;this.name=(u=(r=t)===null||r===void 0?void 0:r.name)!==null&&u!==void 0?u:"";var c;this.key=(c=(n=t)===null||n===void 0?void 0:n.key)!==null&&c!==void 0?c:"";var l;this.value=(l=(i=t)===null||i===void 0||(o=i.value)===null||o===void 0?void 0:o.map(function(a){return new Ps(a)}))!==null&&l!==void 0?l:[]},Co=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"attributes",void 0);var c;return o.attributes=(c=(u=n)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(l){return new Rg(l)}))!==null&&c!==void 0?c:[],o}return r}(se),H2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u,c;o=t.call(this,n),R(U(o),"attributes",void 0),R(U(o),"formCode",void 0);var l;o.attributes=(l=(u=n)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(f){return new Rg(f)}))!==null&&l!==void 0?l:[];var a;return o.formCode=(a=(c=n)===null||c===void 0?void 0:c.formCode)!==null&&a!==void 0?a:"",o}return r}(se),Sg=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"rootNode",void 0),R(U(o),"filterCode",void 0),o.rootNode=new co((i=n)===null||i===void 0?void 0:i.rootNode);var c;return o.filterCode=(c=(u=n)===null||u===void 0?void 0:u.filterCode)!==null&&c!==void 0?c:"",o}return r}(Co),Eg=function e(t){F(this,e);var r,n,o,i;R(this,"dataCode",void 0),R(this,"appId",void 0),R(this,"fillList",void 0);var u;this.dataCode=(u=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&u!==void 0?u:"";var c;this.appId=(c=(n=t)===null||n===void 0?void 0:n.appId)!==null&&c!==void 0?c:"";var l;this.fillList=(l=(i=t)===null||i===void 0||(o=i.fillList)===null||o===void 0?void 0:o.map(function(a){return new je(a)}))!==null&&l!==void 0?l:[]},Tg=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o;return o=t.call(this,n),R(U(o),"filters",void 0),R(U(o),"viewFilters",void 0),R(U(o),"orders",void 0),Rs.call(U(o),n),o}return r}(Eg),Ig=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;o=t.call(this,n),R(U(o),"mode",void 0),R(U(o),"multiple",void 0);var c;o.mode=(c=(i=n)===null||i===void 0?void 0:i.mode)!==null&&c!==void 0?c:"current";var l;return o.multiple=(l=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&l!==void 0?l:!1,o}return r}(Eg),Bg=function e(t){F(this,e);var r,n,o;R(this,"stencilName",void 0),R(this,"expression",void 0),R(this,"errMessage",void 0);var i;this.stencilName=(i=(r=t)===null||r===void 0?void 0:r.stencilName)!==null&&i!==void 0?i:"";var u;this.expression=(u=(n=t)===null||n===void 0?void 0:n.expression)!==null&&u!==void 0?u:"";var c;this.errMessage=(c=(o=t)===null||o===void 0?void 0:o.errMessage)!==null&&c!==void 0?c:""},q2=function e(t){F(this,e);var r,n,o;R(this,"id",void 0),R(this,"label",void 0),R(this,"value",void 0);var i;this.id=(i=(r=t)===null||r===void 0?void 0:r.id)!==null&&i!==void 0?i:Dt(8);var u;this.label=(u=(n=t)===null||n===void 0?void 0:n.label)!==null&&u!==void 0?u:"";var c;this.value=(c=(o=t)===null||o===void 0?void 0:o.value)!==null&&c!==void 0?c:this.label};function Nt(e){var t,r;return(r=(t=e)===null||t===void 0?void 0:t.map(function(n){return new q2(n)}))!==null&&r!==void 0?r:[]}var Es=function e(){F(this,e)},U2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;return o=t.call(this),R(U(o),"amount",void 0),R(U(o),"currency",void 0),o.amount=new ft((i=n)===null||i===void 0?void 0:i.amount),o.currency=new ft((u=n)===null||u===void 0?void 0:u.currency),o}return r}(Es),W2=function e(t){F(this,e);var r,n;R(this,"amount",void 0),R(this,"currency",void 0);var o;this.amount=(o=(r=t)===null||r===void 0?void 0:r.amount)!==null&&o!==void 0?o:"";var i;this.currency=(i=(n=t)===null||n===void 0?void 0:n.currency)!==null&&i!==void 0?i:zo.CNY},K2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;return o=t.call(this),R(U(o),"min",void 0),R(U(o),"max",void 0),o.min=new ft((i=n)===null||i===void 0?void 0:i.min),o.max=new ft((u=n)===null||u===void 0?void 0:u.max),o}return r}(Es),G2=function e(t){F(this,e);var r,n;R(this,"min",void 0),R(this,"max",void 0);var o;this.min=(o=(r=t)===null||r===void 0?void 0:r.min)!==null&&o!==void 0?o:"";var i;this.max=(i=(n=t)===null||n===void 0?void 0:n.max)!==null&&i!==void 0?i:""},X2=function e(t){F(this,e);var r,n,o,i,u,c;R(this,"city",void 0),R(this,"cityDisplay",void 0),R(this,"district",void 0),R(this,"districtDisplay",void 0),R(this,"province",void 0),R(this,"provinceDisplay",void 0);var l;this.city=(l=(r=t)===null||r===void 0?void 0:r.city)!==null&&l!==void 0?l:"";var a;this.cityDisplay=(a=(n=t)===null||n===void 0?void 0:n.cityDisplay)!==null&&a!==void 0?a:"";var f;this.district=(f=(o=t)===null||o===void 0?void 0:o.district)!==null&&f!==void 0?f:"";var s;this.districtDisplay=(s=(i=t)===null||i===void 0?void 0:i.districtDisplay)!==null&&s!==void 0?s:"";var p;this.province=(p=(u=t)===null||u===void 0?void 0:u.province)!==null&&p!==void 0?p:"";var _;this.provinceDisplay=(_=(c=t)===null||c===void 0?void 0:c.provinceDisplay)!==null&&_!==void 0?_:""},J2=function(e){lt(r,e);var t=at(r);function r(n){F(this,r);var o,i,u;return o=t.call(this),R(U(o),"result",void 0),R(U(o),"unit",void 0),o.result=new ft((i=n)===null||i===void 0?void 0:i.result),o.unit=new ft((u=n)===null||u===void 0?void 0:u.unit),o}return r}(Es),Q2=function e(t){F(this,e);var r,n;R(this,"result",void 0),R(this,"unit",void 0);var o;this.result=(o=(r=t)===null||r===void 0?void 0:r.result)!==null&&o!==void 0?o:0;var i;this.unit=(i=(n=t)===null||n===void 0?void 0:n.unit)!==null&&i!==void 0?i:""},zo;(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"})(zo||(zo={}));var v;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"})(v||(v={}));var Ts;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Ts||(Ts={}));var tr=function e(t){F(this,e);var r,n,o,i,u,c;R(this,"isShow",void 0),R(this,"priorityProcess",void 0),R(this,"formKey",void 0),R(this,"content",void 0),R(this,"openType",void 0),R(this,"type",void 0);var l;this.isShow=(l=(r=t)===null||r===void 0?void 0:r.isShow)!==null&&l!==void 0?l:!0;var a;this.content=(a=(n=t)===null||n===void 0?void 0:n.content)!==null&&a!==void 0?a:"";var f;this.formKey=(f=(o=t)===null||o===void 0?void 0:o.formKey)!==null&&f!==void 0?f:"";var s;this.openType=(s=(i=t)===null||i===void 0?void 0:i.openType)!==null&&s!==void 0?s:"modal";var p;this.type=(p=(u=t)===null||u===void 0?void 0:u.type)!==null&&p!==void 0?p:"";var _;this.priorityProcess=(_=(c=t)===null||c===void 0?void 0:c.priorityProcess)!==null&&_!==void 0?_:!1},Z2=function e(t){F(this,e);var r,n,o,i;R(this,"id",void 0),R(this,"title",void 0),R(this,"filters",void 0),R(this,"viewFilters",void 0),R(this,"headers",void 0);var u;this.id=(u=(r=t)===null||r===void 0?void 0:r.id)!==null&&u!==void 0?u:Dt(8);var c;this.title=(c=(n=t)===null||n===void 0?void 0:n.title)!==null&&c!==void 0?c:"";var l;this.headers=(l=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(a){return new $g(a)}))!==null&&l!==void 0?l:[],Rs.call(this,t)},Y2=function e(t){F(this,e);var r,n,o,i;R(this,"width",void 0),R(this,"height",void 0),R(this,"widthConfig",void 0),R(this,"heightConfig",void 0);var u;this.width=(u=(r=t)===null||r===void 0?void 0:r.width)!==null&&u!==void 0?u:"";var c;this.height=(c=(n=t)===null||n===void 0?void 0:n.height)!==null&&c!==void 0?c:"";var l;this.widthConfig=(l=(o=t)===null||o===void 0?void 0:o.widthConfig)!==null&&l!==void 0?l:"fill";var a;this.heightConfig=(a=(i=t)===null||i===void 0?void 0:i.heightConfig)!==null&&a!==void 0?a:"fill"},eA=function e(t){F(this,e);var r,n;R(this,"optCode",void 0),R(this,"optType",void 0);var o;this.optCode=(o=(r=t)===null||r===void 0?void 0:r.optCode)!==null&&o!==void 0?o:"";var i;this.optType=(i=(n=t)===null||n===void 0?void 0:n.optType)!==null&&i!==void 0?i:""};function tA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Is(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t,r){return Ag()?Ho=Reflect.construct:Ho=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&ao(a,u.prototype),a},Ho.apply(null,arguments)}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 lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(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&&ao(e,t)}function nA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function oA(e,t){return t&&(iA(t)==="object"||typeof t=="function")?t:tA(e)}function ao(e,t){return ao=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ao(e,t)}function iA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bs(e){var t=typeof Map=="function"?new Map:void 0;return Bs=function(n){if(n===null||!nA(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,lo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ao(o,n)},Bs(e)}function Ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uA(e){var t=Ag();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 oA(this,o)}}var le=function e(t){Is(this,e),Pr(this,"isHide",{type:"boolean"})},Rr=function(e){rA(r,e);var t=uA(r);function r(n){return Is(this,r),t.call(this)}return r}(Bs(Array)),pe=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Is(this,e);var n,o,i;Pr(this,"isHide",void 0),Pr(this,"className",void 0),Pr(this,"style",void 0),Pr(this,"caption",void 0);var u;this.isHide=(u=(n=t)===null||n===void 0?void 0:n.isHide)!==null&&u!==void 0?u:!1,this.style=new Y2((o=t)===null||o===void 0?void 0:o.style);var c;this.caption=(c=(i=t)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r};Pr(pe,"Rules",le),Pr(pe,"RuntimeRules",Rr);function Pt(){return Pt=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},Pt.apply(this,arguments)}function cA(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function As(e){return As=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},As(e)}function qo(e,t){return qo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qo(e,t)}function lA(){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 Uo(e,t,r){return lA()?Uo=Reflect.construct:Uo=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),a=new l;return u&&qo(a,u.prototype),a},Uo.apply(null,arguments)}function aA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function xs(e){var t=typeof Map=="function"?new Map:void 0;return xs=function(n){if(n===null||!aA(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 Uo(n,arguments,As(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),qo(o,n)},xs(e)}var fA=/%[sdj%]/g,xg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(xg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function ks(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 Ke(){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(fA,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(l){return"[Circular]"}break;default:return c}});return u}return o}function sA(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ae(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||sA(t)&&typeof e=="string"&&!e)}function pA(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 kg(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 _A(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Dg=function(e){cA(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}(xs(Error));function yA(e,t,r,n){if(t.first){var o=new Promise(function(s,p){var _=function(b){return n(b),b.length?p(new Dg(b,ks(b))):s()},h=_A(e);kg(h,r,_)});return o.catch(function(s){return s}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,l=0,a=[],f=new Promise(function(s,p){var _=function(d){if(a.push.apply(a,d),l++,l===c)return n(a),a.length?p(new Dg(a,ks(a))):s()};u.length||(n(a),s()),u.forEach(function(h){var d=e[h];i.indexOf(h)!==-1?kg(d,r,_):pA(d,r,_)})});return f.catch(function(s){return s}),f}function Ng(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 Fg(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]=Pt(Pt({},e[r]),n):e[r]=n}}return e}function jg(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ae(t,i||e.type))&&n.push(Ke(o.messages.required,e.fullField))}function dA(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Ke(o.messages.whitespace,e.fullField))}var Ds={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},fo={integer:function(t){return fo.number(t)&&parseInt(t,10)===t},float:function(t){return fo.number(t)&&!fo.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"&&!fo.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ds.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ds.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ds.hex)}};function vA(e,t,r,n,o){if(e.required&&t===void 0){jg(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?fo[u](t)||n.push(Ke(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Ke(o.messages.types[u],e.fullField,e.type))}function hA(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,s=typeof t=="number",p=typeof t=="string",_=Array.isArray(t);if(s?f="number":p?f="string":_&&(f="array"),!f)return!1;_&&(a=t.length),p&&(a=t.replace(l,"_").length),i?a!==e.len&&n.push(Ke(o.messages[f].len,e.fullField,e.len)):u&&!c&&a<e.min?n.push(Ke(o.messages[f].min,e.fullField,e.min)):c&&!u&&a>e.max?n.push(Ke(o.messages[f].max,e.fullField,e.max)):u&&c&&(a<e.min||a>e.max)&&n.push(Ke(o.messages[f].range,e.fullField,e.min,e.max))}var Xr="enum";function bA(e,t,r,n,o){e[Xr]=Array.isArray(e[Xr])?e[Xr]:[],e[Xr].indexOf(t)===-1&&n.push(Ke(o.messages[Xr],e.fullField,e[Xr].join(", ")))}function gA(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Ke(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(Ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var V={required:jg,whitespace:dA,type:vA,range:hA,enum:bA,pattern:gA};function mA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t,"string")&&!e.required)return r();V.required(e,t,n,i,o,"string"),ae(t,"string")||(V.type(e,t,n,i,o),V.range(e,t,n,i,o),V.pattern(e,t,n,i,o),e.whitespace===!0&&V.whitespace(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(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}function wA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function $A(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}function PA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),ae(t)||V.type(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(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.range(e,t,n,i,o))}r(i)}function SA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&(V.type(e,t,n,i,o),V.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(t==null&&!e.required)return r();V.required(e,t,n,i,o,"array"),t!=null&&(V.type(e,t,n,i,o),V.range(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(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V.type(e,t,n,i,o)}r(i)}var IA="enum";function BA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o),t!==void 0&&V[IA](e,t,n,i,o)}r(i)}function AA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t,"string")&&!e.required)return r();V.required(e,t,n,i,o),ae(t,"string")||V.pattern(e,t,n,i,o)}r(i)}function xA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t,"date")&&!e.required)return r();if(V.required(e,t,n,i,o),!ae(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),V.type(e,c,n,i,o),c&&V.range(e,c.getTime(),n,i,o)}}r(i)}function kA(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;V.required(e,t,n,i,o,u),r(i)}function Ns(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ae(t,i)&&!e.required)return r();V.required(e,t,n,u,o,i),ae(t,i)||V.type(e,t,n,u,o)}r(u)}function DA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ae(t)&&!e.required)return r();V.required(e,t,n,i,o)}r(i)}var so={string:mA,method:OA,number:wA,boolean:$A,regexp:PA,integer:RA,float:SA,array:EA,object:TA,enum:BA,pattern:AA,date:xA,url:Ns,hex:Ns,email:Ns,required:kA,any:DA};function Fs(){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 js=Fs();function rr(e){this.rules=null,this._messages=js,this.define(e)}rr.prototype={messages:function(t){return t&&(this._messages=Fg(Fs(),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 l(d){var b,y=[],g={};function O(w){if(Array.isArray(w)){var P;y=(P=y).concat.apply(P,w)}else y.push(w)}for(b=0;b<d.length;b++)O(d[b]);y.length?g=ks(y):(y=null,g=null),c(y,g)}if(u.messages){var a=this.messages();a===js&&(a=Fs()),Fg(a,u.messages),u.messages=a}else u.messages=this.messages();var f,s,p={},_=u.keys||Object.keys(this.rules);_.forEach(function(d){f=o.rules[d],s=i[d],f.forEach(function(b){var y=b;typeof y.transform=="function"&&(i===t&&(i=Pt({},i)),s=i[d]=y.transform(s)),typeof y=="function"?y={validator:y}:y=Pt({},y),y.validator=o.getValidationMethod(y),y.field=d,y.fullField=y.fullField||d,y.type=o.getType(y),y.validator&&(p[d]=p[d]||[],p[d].push({rule:y,value:s,source:i,field:d}))})});var h={};return yA(p,u,function(d,b){var y=d.rule,g=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");g=g&&(y.required||!y.required&&d.value),y.field=d.field;function O(E,T){return Pt(Pt({},T),{},{fullField:y.fullField+"."+E})}function w(E){E===void 0&&(E=[]);var T=E;if(Array.isArray(T)||(T=[T]),!u.suppressWarning&&T.length&&rr.warning("async-validator:",T),T.length&&y.message!==void 0&&(T=[].concat(y.message)),T=T.map(Ng(y)),u.first&&T.length)return h[y.field]=1,b(T);if(!g)b(T);else{if(y.required&&!d.value)return y.message!==void 0?T=[].concat(y.message).map(Ng(y)):u.error&&(T=[u.error(y,Ke(u.messages.required,y.field))]),b(T);var B={};if(y.defaultField)for(var I in d.value)d.value.hasOwnProperty(I)&&(B[I]=y.defaultField);B=Pt(Pt({},B),d.rule.fields);for(var A in B)if(B.hasOwnProperty(A)){var x=Array.isArray(B[A])?B[A]:[B[A]];B[A]=x.map(O.bind(null,A))}var k=new rr(B);k.messages(u.messages),d.rule.options&&(d.rule.options.messages=u.messages,d.rule.options.error=u.error),k.validate(d.value,d.rule.options||u,function(N){var D=[];T&&T.length&&D.push.apply(D,T),N&&N.length&&D.push.apply(D,N),b(D.length?D:null)})}}var P;y.asyncValidator?P=y.asyncValidator(y,d.value,w,d.source,u):y.validator&&(P=y.validator(y,d.value,w,d.source,u),P===!0?w():P===!1?w(y.message||y.field+" fails"):P instanceof Array?w(P):P instanceof Error&&w(P.message)),P&&P.then&&P.then(function(){return w()},function(E){return w(E)})},function(d){l(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!so.hasOwnProperty(t.type))throw new Error(Ke("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"?so.required:so[this.getType(t)]||!1}},rr.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");so[t]=r},rr.warning=xg,rr.messages=js,rr.validators=so;var NA={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 FA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new rr(e);return r.messages(Object.assign(NA,t)),r}var jA=new $2;function Ms(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 MA(e){if(Array.isArray(e))return e}function LA(e){if(Array.isArray(e))return Ms(e)}function Mg(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function Lg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Mg(i,n,o,u,c,"next",l)}function c(l){Mg(i,n,o,u,c,"throw",l)}u(void 0)})}}function VA(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 CA(e,t,r){return t&&Vg(e.prototype,t),r&&Vg(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 Cg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function zg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zA(){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 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 Hg(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){W(e,o,r[o])})}return e}function qA(e){return MA(e)||zg(e)||qg(e)||zA()}function Ls(e){return LA(e)||zg(e)||qg(e)||HA()}function qg(e,t){if(!!e){if(typeof e=="string")return Ms(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 Ms(e,t)}}function Ug(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var K=function(){function t(r){var n=this;VA(this,t);var o,i,u,c,l;W(this,"id",void 0),W(this,"name",void 0),W(this,"icon",void 0),W(this,"type",void 0),W(this,"controlType",void 0),W(this,"props",void 0),W(this,"setting",[]),W(this,"fieldType",void 0),W(this,"eventKeys",[]),W(this,"customEvents",[]),W(this,"parent",null),W(this,"updateSetting",Kg),W(this,"removeSetting",Wg),this._callControlHooks("preInstance",r);var a=Cg(this,t)?this.constructor:void 0,f=a.controlName,s=a.controlIcon,p=a.controlType,_=a.controlFieldType,h=a.controlEventKeys,d=a.controlCustomEvents,b=a.name,y=a.setting;f&&s&&p||sg("The ".concat(b," controlName,controlIcon,controlType is not define"));var g;this.id=(g=(o=r)===null||o===void 0?void 0:o.id)!==null&&g!==void 0?g:Dt(10),this.name=f,this.icon=s;var O;this.type=(O=(i=r)===null||i===void 0?void 0:i.type)!==null&&O!==void 0?O:p,this.props=new pe((u=r)===null||u===void 0?void 0:u.props,(Cg(this,t)?this.constructor:void 0).controlName);var w;this.controlType=(w=(c=r)===null||c===void 0?void 0:c.controlType)!==null&&w!==void 0?w:"base",this.setting=Yt(y);var P;this.fieldType=(P=(l=r)===null||l===void 0?void 0:l.fieldType)!==null&&P!==void 0?P:_,this.eventKeys=Yt(h),this.customEvents=Yt(d),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return CA(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=qA(o),l=c[0],a=c.slice(1);return(u=jA).emit.apply(u,[l,this].concat(Ls(a)))}},{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),f2(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return Lg(function(){var o,i,u;return Ug(this,function(c){switch(c.label){case 0:return o=Hg({},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 Lg(function(){var u,c,l,a;return Ug(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:Hg({},i.rules),Array.isArray(o)&&o.forEach(function(s){c.hasOwnProperty(s)&&delete c[s]}),l=FA(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=i),a;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,l=c.dataBind,a=c.datasourceBind,f=c.optionConfig,s=c.caption,p=c.required,_=c.maxLength,h=c.options,d=c.encrypted,b=c.encryptedMode;if(!(!o&&!l&&!a)){var y={parentId:n,fieldType:o,controlId:i,caption:s,type:u,props:{}};switch(l&&(y.dataBind=l),f){case"datasource":case void 0:a&&(y.datasourceBind=a);break;case"custom":y.props.options=h;break}return p!==void 0&&(y.required=p),_!==void 0&&(y.maxLength=_),d!==void 0&&(y.encrypted=d),b!==void 0&&(y.encryptedMode=b),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Yt(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,Ls(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();W(K,"controlName","\u63A7\u4EF6"),W(K,"controlIcon","icon"),W(K,"controlType","control"),W(K,"controlFieldType",void 0),W(K,"controlEventKeys",[]),W(K,"controlCustomEvents",[]),W(K,"setting",[]),W(K,"__is_control__",!0),W(K,"removeSettingItem",Wg),W(K,"updateSettingItem",Kg);function Wg(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var c,l;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((l=t.setting[u].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(u,1)}})}function Kg(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.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 l;(l=i.showItems).push.apply(l,Ls(t.showItems))}}}})}function UA(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 WA(e,t,r){return t&&Gg(e.prototype,t),r&&Gg(e,r),e}function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function KA(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var nr=function(){function t(r){UA(this,t);var n,o,i,u,c,l;Ye(this,"id",void 0),Ye(this,"type",void 0),Ye(this,"controlType",void 0),Ye(this,"props",void 0),Ye(this,"fieldType",void 0),Ye(this,"customEvents",[]),Ye(this,"pageStatus",void 0),Ye(this,"parent",null);var a=KA(this,t)?this.constructor:void 0,f=a.controlType,s=a.controlFieldType,p=a.name,_=a.controlCustomEvents;f||sg("The ".concat(p," controlType is not define"));var h;this.id=(h=(n=r)===null||n===void 0?void 0:n.id)!==null&&h!==void 0?h:Dt(10);var d;this.type=(d=(o=r)===null||o===void 0?void 0:o.type)!==null&&d!==void 0?d:f,this.props=new pe((i=r)===null||i===void 0?void 0:i.props),this.customEvents=_;var b;this.controlType=(b=(u=r)===null||u===void 0?void 0:u.controlType)!==null&&b!==void 0?b:"base";var y;this.fieldType=(y=(c=r)===null||c===void 0?void 0:c.fieldType)!==null&&y!==void 0?y:s;var g;this.pageStatus=(g=(l=r)===null||l===void 0?void 0:l.pageStatus)!==null&&g!==void 0?g:Ts.UNKNOWN}return WA(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}();Ye(nr,"controlType","control"),Ye(nr,"controlFieldType",void 0),Ye(nr,"__is_control__",!0),Ye(nr,"controlCustomEvents",[]);function Vs(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=_2(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 Wo(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 GA(e){var t,r;return((t=e)===null||t===void 0?void 0:t.dataCode)!==void 0&&((r=e)===null||r===void 0?void 0:r.fieldCode)!==void 0}function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(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&&Cs(e,t)}function XA(e,t){return t&&(JA(t)==="object"||typeof t=="function")?t:G(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}function JA(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 Jo(e){var t=QA();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 XA(this,o)}}var Pe=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o;o=t.call(this,n),X(G(o),"dataBind",{}),X(G(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),X(G(o),"isHideCaption",{type:"boolean"}),X(G(o),"labelPosition",{type:"enum",enum:["top","left"]}),X(G(o),"defaultState",{type:"enum",enum:["default","readonly"]}),X(G(o),"required",{type:"boolean"}),X(G(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(GA(n.dataBind))o.dataBind={type:"object",required:!0,fields:Yt(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:Yt(i),message:$.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),J=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(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}(Rr),C=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o,i,u,c,l,a,f,s,p,_,h,d;o=t.call(this,n),X(G(o),"caption",void 0),X(G(o),"isHideCaption",void 0),X(G(o),"isShowCaptionTip",void 0),X(G(o),"captionTip",void 0),X(G(o),"labelPosition",void 0),X(G(o),"dataBind",void 0),X(G(o),"defaultValue",void 0),X(G(o),"placeholder",void 0),X(G(o),"defaultState",void 0),X(G(o),"required",void 0),X(G(o),"requiredMessage",void 0);var b;o.caption=(b=(i=n)===null||i===void 0?void 0:i.caption)!==null&&b!==void 0?b:"";var y;o.isHideCaption=(y=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&y!==void 0?y:!1;var g;o.isShowCaptionTip=(g=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&g!==void 0?g:!1;var O;o.captionTip=(O=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&O!==void 0?O:"";var w;o.defaultState=(w=(a=n)===null||a===void 0?void 0:a.defaultState)!==null&&w!==void 0?w:"default";var P;o.labelPosition=(P=(f=n)===null||f===void 0?void 0:f.labelPosition)!==null&&P!==void 0?P:"top";var E;o.placeholder=(E=(s=n)===null||s===void 0?void 0:s.placeholder)!==null&&E!==void 0?E:"";var T;o.required=(T=(p=n)===null||p===void 0?void 0:p.required)!==null&&T!==void 0?T:!1;var B;o.requiredMessage=(B=(_=n)===null||_===void 0?void 0:_.requiredMessage)!==null&&B!==void 0?B:"",o.dataBind=new ft((h=n)===null||h===void 0?void 0:h.dataBind);var I;return o.defaultValue=(I=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&I!==void 0?I:"",o}return r}(pe);X(C,"Rules",Pe),X(C,"RuntimeRules",J);var Jr=function(e){Xo(r,e);var t=Jo(r);function r(n){Ko(this,r);var o;return o=t.call(this,n),X(G(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:$.getMessage("PleaseSelectTheCorrectOptionSettings")}),X(G(o),"options",[{type:"array",message:$.getMessage("isNotArray")}]),X(G(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Vs.call(G(o),n),o}return r}(Pe);function zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function YA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hs(e,t)}function ex(e,t){return t&&(tx(t)==="object"||typeof t=="function")?t:zs(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}function tx(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 nx(e){var t=rx();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 ex(this,o)}}var H=function(e){YA(r,e);var t=nx(r);function r(n){ZA(this,r);var o,i;return o=t.call(this,n),Qo(zs(o),"controlType","form"),Qo(zs(o),"props",void 0),o.props=new C((i=n)===null||i===void 0?void 0:i.props),o}return r}(K);Qo(H,"controlEventKeys",["on_change","on_focus","on_blur"]),Qo(H,"controlCustomAttributes",void 0);function Yo(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 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 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&&Us(e,t)}function ux(e,t){return t&&(cx(t)==="object"||typeof t=="function")?t:Yo(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}function cx(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 ax(e){var t=lx();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 ux(this,o)}}var q=function(e){ix(r,e);var t=ax(r);function r(n){ox(this,r);var o,i;return o=t.call(this,n),qs(Yo(o),"controlType","form"),qs(Yo(o),"props",void 0),qs(Yo(o),"value",void 0),o.props=new C((i=n)===null||i===void 0?void 0:i.props),o}return r}(nr);function fx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(e)}function px(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function _x(e,t){return t&&(yx(t)==="object"||typeof t=="function")?t:fx(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}function yx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vx(e){var t=dx();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 _x(this,o)}}var de=function(e){px(r,e);var t=vx(r);function r(n){return sx(this,r),t.call(this,n)}return r}(pe);function Ks(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 hx(e){if(Array.isArray(e))return Ks(e)}function bx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gx(){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 Xg(e){return hx(e)||bx(e)||mx(e)||gx()}function mx(e,t){if(!!e){if(typeof e=="string")return Ks(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 Ks(e,t)}}function Ox(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Jg(e,t){e.parent=t,Ox(e,"parent")}function wx(e,t){e.forEach(function(r){Jg(r,t)})}var Qg=Symbol("targetKey");function Zg(e){var t;return(t=e[Qg])!==null&&t!==void 0?t:e}function Yg(e,t){return wx(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 l;return o===Qg?n:(l=Reflect).get.apply(l,[n,o].concat(Xg(u)))},set:function(n,o,i){for(var u=arguments.length,c=new Array(u>3?u-3:0),l=3;l<u;l++)c[l-3]=arguments[l];var a;if(vs(e)&&o==="length"&&i===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,o,i].concat(Xg(c)));return dg(i)&&Jg(i,t),f}})}function Ft(e,t,r,n){var o=n!=null?n:e,i=Yg(Zg(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=Yg(Zg(c),o)},enumerable:!0})}function Gs(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 $x(e){if(Array.isArray(e))return Gs(e)}function Sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function em(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function Px(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){em(i,n,o,u,c,"next",l)}function c(l){em(i,n,o,u,c,"throw",l)}u(void 0)})}}function Rx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sx(e,t,r){return t&&tm(e.prototype,t),r&&tm(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 Qr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qr=Reflect.get:Qr=function(o,i,u){var c=Nx(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Qr(e,t,r||e)}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(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&&Xs(e,t)}function Tx(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ix(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bx(){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 Ax(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){or(e,o,r[o])})}return e}function xx(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 kx(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Dx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:Sr(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}function Nx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ir(e),e!==null););return e}function rm(e){return $x(e)||Ix(e)||jx(e)||Bx()}function Fx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jx(e,t){if(!!e){if(typeof e=="string")return Gs(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 Gs(e,t)}}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 Lx(e){var t=Mx();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 Dx(this,o)}}function Vx(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Cx=1e4,ve=function(t){Ex(n,t);var r=Lx(n);function n(o){Rx(this,n);var i,u,c;i=r.call(this,o),or(Sr(i),"controlType","layout"),or(Sr(i),"children",void 0),or(Sr(i),"excludes",void 0),or(Sr(i),"childrenMaxLength",void 0),or(Sr(i),"props",void 0);var l=Tx(this,n)?this.constructor:void 0,a=l.excludes,f=l.childrenMaxLength;return i.props=new de((u=o)===null||u===void 0?void 0:u.props),Ft(Sr(i),"children",(c=o)===null||c===void 0?void 0:c.children),i.excludes=Yt(a),i.childrenMaxLength=f,i}return Sx(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,l=this,a=function(){return Qr(ir(n.prototype),"validate",c)};return Px(function(){return Vx(this,function(f){switch(f.label){case 0:return[4,a().call(l,i,u)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(s){return s.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=Qr(ir(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(l,a){var f=a.toDataBindModel(i);if(Array.isArray(f)){var s=f.filter(function(p){return!!p});return rm(l).concat(rm(s))}return f&&l.push(f),l},c)}},{key:"toSchema",value:function(){var i=Qr(ir(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var l=c.toSchema();return l});return kx(Ax({},i),{children:u})}}]),n}(K);or(ve,"excludes",!1),or(ve,"childrenMaxLength",Cx);function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function Hx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function qx(e,t){return t&&(Ux(t)==="object"||typeof t=="function")?t:po(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(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=ri(e),o;if(t){var i=ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qx(this,o)}}var Er=function(e){Hx(r,e);var t=Kx(r);function r(n){zx(this,r);var o,i,u;return o=t.call(this,n),Js(po(o),"controlType","layout"),Js(po(o),"children",void 0),Js(po(o),"props",void 0),o.props=new de((i=n)===null||i===void 0?void 0:i.props),Ft(po(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}(nr);function _o(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 nm(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 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&&Zs(e,t)}function Jx(e,t){return t&&(Qx(t)==="object"||typeof t=="function")?t:_o(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}function Qx(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=ni(e),o;if(t){var i=ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jx(this,o)}}var Ys=function(e){Xx(r,e);var t=Yx(r);function r(n,o){Gx(this,r);var i,u,c;return i=t.call(this,o),nm(_o(i),"headers",void 0),nm(_o(i),"footers",void 0),Ft(_o(i),"headers",(u=o)===null||u===void 0?void 0:u.headers,n),Ft(_o(i),"footers",(c=o)===null||c===void 0?void 0:c.footers,n),i}return r}(pe);function ep(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 ek(e){if(Array.isArray(e))return ep(e)}function oi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function om(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function tk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){om(i,n,o,u,c,"next",l)}function c(l){om(i,n,o,u,c,"throw",l)}u(void 0)})}}function rk(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 nk(e,t,r){return t&&im(e.prototype,t),r&&im(e,r),e}function ii(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zr=Reflect.get:Zr=function(o,i,u){var c=ak(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Zr(e,t,r||e)}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ur(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&&tp(e,t)}function ik(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uk(){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 um(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){ii(e,o,r[o])})}return e}function ck(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 cm(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ck(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function lk(e,t){return t&&(fk(t)==="object"||typeof t=="function")?t:oi(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function ak(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ur(e),e!==null););return e}function lm(e){return ek(e)||ik(e)||sk(e)||uk()}function fk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sk(e,t){if(!!e){if(typeof e=="string")return ep(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 ep(e,t)}}function pk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _k(e){var t=pk();return function(){var n=ur(e),o;if(t){var i=ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lk(this,o)}}function yk(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var rp=function(e){ok(r,e);var t=_k(r);function r(n){rk(this,r);var o,i;return o=t.call(this,n),ii(oi(o),"controlType","list"),ii(oi(o),"props",void 0),o.props=new Ys(oi(o),(i=n)===null||i===void 0?void 0:i.props),o}return nk(r,[{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return Zr(ur(r.prototype),"validate",u)};return tk(function(){return yk(this,function(a){switch(a.label){case 0:return[4,l().call(c,o)];case 1:return a.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Zr(ur(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,l){var a=l.toDataBindModel(u);if(Array.isArray(a)){var f=a.filter(function(s){return!!s});return lm(c).concat(lm(f))}return a&&c.push(a),c},i)}},{key:"toSchema",value:function(){var o,i,u=Zr(ur(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(a){return a.toSchema()}),l=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return cm(um({},u),{props:cm(um({},this.props),{headers:c,footers:l})})}}]),r}(K);ii(rp,"controlFieldType",S.LIST);function he(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function op(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function dk(e,t){return t&&(vk(t)==="object"||typeof t=="function")?t:he(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function vk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function up(e){var t=hk();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 dk(this,o)}}var jt=function(e){op(r,e);var t=up(r);function r(n){np(this,r);var o;return o=t.call(this,n),Re(he(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Re(he(o),"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(le),ie=function(e){op(r,e);var t=up(r);function r(n){np(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Re(he(o),"widthType",void 0),Re(he(o),"width",void 0),Re(he(o),"caption",void 0),Re(he(o),"dataBind",void 0),Re(he(o),"autoWidth",void 0),Re(he(o),"fixed",void 0),Re(he(o),"sort",void 0),Re(he(o),"align",void 0),Re(he(o),"colSpan",void 0),Re(he(o),"autoHeight",void 0);var d;o.width=(d=(i=n)===null||i===void 0?void 0:i.width)!==null&&d!==void 0?d:150,o.widthType=((u=n)===null||u===void 0?void 0:u.widthType)||"auto";var b;o.caption=(b=(c=n)===null||c===void 0?void 0:c.caption)!==null&&b!==void 0?b:"";var y;o.fixed=(y=(l=n)===null||l===void 0?void 0:l.fixed)!==null&&y!==void 0?y:"none",o.autoWidth=new wg((a=n)===null||a===void 0?void 0:a.autoWidth),o.dataBind=new ft((f=n)===null||f===void 0?void 0:f.dataBind);var g;o.sort=(g=(s=n)===null||s===void 0?void 0:s.sort)!==null&&g!==void 0?g:!0,o.align=(p=n)===null||p===void 0?void 0:p.align,o.colSpan=(_=n)===null||_===void 0?void 0:_.colSpan;var O;return o.autoHeight=(O=(h=n)===null||h===void 0?void 0:h.autoHeight)!==null&&O!==void 0?O:!1,o}return r}(pe);Re(ie,"Rules",jt);var am=function(e){op(r,e);var t=up(r);function r(n){np(this,r);var o;return o=t.call(this,n),Re(he(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:$.getMessage("PleaseSelectTheCorrectOptionSettings")}),Re(he(o),"options",[{type:"array",message:$.getMessage("isNotArray")}]),Re(he(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Vs.call(he(o),n),o}return r}(jt);function cp(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 fm(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 gk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function mk(e,t){return t&&(Ok(t)==="object"||typeof t=="function")?t:cp(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function Ok(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 $k(e){var t=wk();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 mk(this,o)}}var be=function(e){gk(r,e);var t=$k(r);function r(n){bk(this,r);var o,i;return o=t.call(this,n),fm(cp(o),"controlType","column"),fm(cp(o),"props",void 0),o.props=new ie((i=n)===null||i===void 0?void 0:i.props),o}return r}(K);function ap(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(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 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&&fp(e,t)}function Sk(e,t){return t&&(Ek(t)==="object"||typeof t=="function")?t:ap(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(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=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sk(this,o)}}var ge=function(e){Rk(r,e);var t=Ik(r);function r(n){Pk(this,r);var o,i;return o=t.call(this,n),sm(ap(o),"controlType","column"),sm(ap(o),"props",void 0),o.props=new ie((i=n)===null||i===void 0?void 0:i.props),o}return r}(nr);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 ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function xk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function kk(e,t){return t&&(Dk(t)==="object"||typeof t=="function")?t:pm(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(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 Fk(e){var t=Nk();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 kk(this,o)}}var pp=function(e){xk(r,e);var t=Fk(r);function r(n){Bk(this,r);var o,i;return o=t.call(this,n),Ak(pm(o),"dataBind",void 0),o.dataBind=new ft((i=n)===null||i===void 0?void 0:i.dataBind),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 jk(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 fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function Mk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function Lk(e,t){return t&&(Vk(t)==="object"||typeof t=="function")?t:_p(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function Vk(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 zk(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 Lk(this,o)}}var Hk=function(e){Mk(r,e);var t=zk(r);function r(n){jk(this,r);var o,i;return o=t.call(this,n),_m(_p(o),"controlType","search"),_m(_p(o),"props",void 0),o.props=new pp((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);function dp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ym(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 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&&vp(e,t)}function Wk(e,t){return t&&(Kk(t)==="object"||typeof t=="function")?t:dp(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}function Kk(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 Xk(e){var t=Gk();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 Wk(this,o)}}var Jk=function(e){Uk(r,e);var t=Xk(r);function r(n){qk(this,r);var o,i;return o=t.call(this,n),ym(dp(o),"controlType","search"),ym(dp(o),"props",void 0),o.props=new pp((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);function Tr(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}}}])}function Yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function Zk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function Yk(e,t){return t&&(eD(t)==="object"||typeof t=="function")?t:Yr(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function eD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rD(e){var t=tD();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 Yk(this,o)}}var nD=function(e){Zk(r,e);var t=rD(r);function r(n){Qk(this,r);var o,i,u,c,l,a;o=t.call(this,n),yo(Yr(o),"content",void 0),yo(Yr(o),"fontSize",void 0),yo(Yr(o),"color",void 0),yo(Yr(o),"icon",void 0),yo(Yr(o),"showState",void 0);var f;o.fontSize=(f=(i=n)===null||i===void 0?void 0:i.fontSize)!==null&&f!==void 0?f:"14px";var s;o.color=(s=(u=n)===null||u===void 0?void 0:u.color)!==null&&s!==void 0?s:"#646A73";var p;o.icon=(p=(c=n)===null||c===void 0?void 0:c.icon)!==null&&p!==void 0?p:"page-hint";var _;o.showState=(_=(l=n)===null||l===void 0?void 0:l.showState)!==null&&_!==void 0?_:"text";var h;return o.content=(h=(a=n)===null||a===void 0?void 0:a.content)!==null&&h!==void 0?h:"\u8BF4\u660E\u6587\u5B57",o}return r}(pe);function dm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 iD(e,t,r){return t&&vm(e.prototype,t),r&&vm(e,r),e}function hm(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 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&&bp(e,t)}function cD(e,t){return t&&(lD(t)==="object"||typeof t=="function")?t:dm(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function lD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fD(e){var t=aD();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 cD(this,o)}}var sD=function(e){uD(r,e);var t=fD(r);function r(n){oD(this,r);var o,i;return o=t.call(this,n),hm(dm(o),"props",void 0),o.props=new nD((i=n)===null||i===void 0?void 0:i.props),o}return iD(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(K);hm(sD,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function yi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pD(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 di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(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&&mp(e,t)}function yD(e,t){return t&&(dD(t)==="object"||typeof t=="function")?t:yi(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function dD(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 hD(e){var t=vD();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 yD(this,o)}}var bD=function(e){_D(r,e);var t=hD(r);function r(n){pD(this,r);var o,i,u,c;o=t.call(this,n),gp(yi(o),"content",void 0),gp(yi(o),"url",void 0),gp(yi(o),"openMode",void 0);var l;o.content=(l=(i=n)===null||i===void 0?void 0:i.content)!==null&&l!==void 0?l:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var a;o.url=(a=(u=n)===null||u===void 0?void 0:u.url)!==null&&a!==void 0?a:"";var f;return o.openMode=(f=(c=n)===null||c===void 0?void 0:c.openMode)!==null&&f!==void 0?f:"new",o}return r}(pe);function bm(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 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 mD(e,t,r){return t&&gm(e.prototype,t),r&&gm(e,r),e}function Op(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(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&&wp(e,t)}function wD(e,t){return t&&($D(t)==="object"||typeof t=="function")?t:bm(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}function $D(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 RD(e){var t=PD();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 wD(this,o)}}var mm=function(e){OD(r,e);var t=RD(r);function r(n){gD(this,r);var o,i;return o=t.call(this,n),Op(bm(o),"props",void 0),o.props=new bD((i=n)===null||i===void 0?void 0:i.props),o}return mD(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(K);Op(mm,"controlEventKeys",["on_click"]),Op(mm,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function Rt(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 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 hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function ED(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TD(e,t){return t&&(ID(t)==="object"||typeof t=="function")?t:Rt(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function ID(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 AD(e){var t=BD();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 TD(this,o)}}var Ge=function(e){ED(r,e);var t=AD(r);function r(n){SD(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Mt(Rt(o),"content",void 0),Mt(Rt(o),"buttonType",void 0),Mt(Rt(o),"showType",void 0),Mt(Rt(o),"color",void 0),Mt(Rt(o),"icon",void 0),Mt(Rt(o),"defaultState",void 0),Mt(Rt(o),"command",void 0),Mt(Rt(o),"isLoading",void 0),Mt(Rt(o),"optObj",void 0);var h;o.content=(h=(i=n)===null||i===void 0?void 0:i.content)!==null&&h!==void 0?h:"\u6309\u94AE";var d;o.buttonType=(d=(u=n)===null||u===void 0?void 0:u.buttonType)!==null&&d!==void 0?d:"primary";var b;o.showType=(b=(c=n)===null||c===void 0?void 0:c.showType)!==null&&b!==void 0?b:"text";var y;o.color=(y=(l=n)===null||l===void 0?void 0:l.color)!==null&&y!==void 0?y:"primary";var g;o.icon=(g=(a=n)===null||a===void 0?void 0:a.icon)!==null&&g!==void 0?g:"iconfenlei2";var O;o.defaultState=(O=(f=n)===null||f===void 0?void 0:f.defaultState)!==null&&O!==void 0?O:"default";var w;o.command=(w=(s=n)===null||s===void 0?void 0:s.command)!==null&&w!==void 0?w:"custom";var P;o.isLoading=(P=(p=n)===null||p===void 0?void 0:p.isLoading)!==null&&P!==void 0?P:!1;var E;return o.optObj=new eA((E=(_=n)===null||_===void 0?void 0:_.optObj)!==null&&E!==void 0?E:{}),o}return r}(pe);function Om(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kD(e,t,r){return t&&wm(e.prototype,t),r&&wm(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 bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(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&&Rp(e,t)}function ND(e,t){return t&&(FD(t)==="object"||typeof t=="function")?t:Om(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function FD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MD(e){var t=jD();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 ND(this,o)}}var Me=function(e){DD(r,e);var t=MD(r);function r(n){xD(this,r);var o,i;return o=t.call(this,n),Pp(Om(o),"props",void 0),o.props=new Ge((i=n)===null||i===void 0?void 0:i.props),o}return kD(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(K);Pp(Me,"controlEventKeys",["on_click","on_click_finish"]),Pp(Me,"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:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function cr(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}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 Sp;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Sp||(Sp={}));var Ep;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Ep||(Ep={}));var Tp=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:Sp.UN_SELECT_ABLE_INTERVAL,dateLimitType:Ep.FILE_IN_TIME,id:Dt(8),value:["",""]};cr(this,e),M(this,"dateConfigType",void 0),M(this,"dateLimitType",void 0),M(this,"id",void 0),M(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},Ip;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(Ip||(Ip={}));var Bp=function e(t){cr(this,e);var r,n;M(this,"id",void 0),M(this,"text",void 0);var o;this.id=(o=(r=t)===null||r===void 0?void 0:r.id)!==null&&o!==void 0?o:Dt();var i;this.text=(i=(n=t)===null||n===void 0?void 0:n.text)!==null&&i!==void 0?i:""},Ap;(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"})(Ap||(Ap={}));var $m=function e(t){cr(this,e);var r,n,o,i,u,c,l,a;M(this,"type",void 0),M(this,"person",void 0),M(this,"signatureType",void 0),M(this,"telephone",void 0),M(this,"company",void 0),M(this,"remark",void 0);var f;this.type=(f=(r=t)===null||r===void 0?void 0:r.type)!==null&&f!==void 0?f:"private";var s;this.person=new co((s=(n=t)===null||n===void 0?void 0:n.person)!==null&&s!==void 0?s:{type:"form"});var p;this.signatureType=(p=(o=t)===null||o===void 0?void 0:o.signatureType)!==null&&p!==void 0?p:[];var _,h;this.telephone=(h=(i=t)===null||i===void 0?void 0:i.telephone)!==null&&h!==void 0?h:new co((_=(u=t)===null||u===void 0?void 0:u.telephone)!==null&&_!==void 0?_:{type:"form"});var d,b;this.company=(b=(c=t)===null||c===void 0?void 0:c.company)!==null&&b!==void 0?b:new co((d=(l=t)===null||l===void 0?void 0:l.company)!==null&&d!==void 0?d:{type:"form"});var y;this.remark=(y=(a=t)===null||a===void 0?void 0:a.remark)!==null&&y!==void 0?y:""},LD=function e(t){cr(this,e);var r,n,o,i,u,c;M(this,"fileControl",void 0),M(this,"undersignedList",void 0),M(this,"statusControl",void 0),M(this,"completeControl",void 0),M(this,"completeTimeControl",void 0);var l;this.fileControl=(l=(r=t)===null||r===void 0?void 0:r.fileControl)!==null&&l!==void 0?l:"";var a;this.undersignedList=(a=(o=t)===null||o===void 0||(n=o.undersignedList)===null||n===void 0?void 0:n.map(function(_){return new $m(_)}))!==null&&a!==void 0?a:[new $m];var f;this.statusControl=(f=(i=t)===null||i===void 0?void 0:i.statusControl)!==null&&f!==void 0?f:"";var s;this.completeControl=(s=(u=t)===null||u===void 0?void 0:u.completeControl)!==null&&s!==void 0?s:"";var p;this.completeTimeControl=(p=(c=t)===null||c===void 0?void 0:c.completeTimeControl)!==null&&p!==void 0?p:""},Pm=function e(t){cr(this,e);var r,n,o,i,u,c,l;M(this,"id",void 0),M(this,"appId",void 0),M(this,"dataCode",void 0),M(this,"svcCode",void 0),M(this,"name",void 0),M(this,"fieldList",void 0),M(this,"active",void 0);var a;this.id=(a=(r=t)===null||r===void 0?void 0:r.id)!==null&&a!==void 0?a:Dt(8);var f;this.appId=(f=(n=t)===null||n===void 0?void 0:n.appId)!==null&&f!==void 0?f:"";var s;this.dataCode=(s=(o=t)===null||o===void 0?void 0:o.dataCode)!==null&&s!==void 0?s:"";var p;this.svcCode=(p=(i=t)===null||i===void 0?void 0:i.svcCode)!==null&&p!==void 0?p:"";var _;this.name=(_=(u=t)===null||u===void 0?void 0:u.name)!==null&&_!==void 0?_:"";var h;this.fieldList=(h=(c=t)===null||c===void 0?void 0:c.fieldList)!==null&&h!==void 0?h:[];var d;this.active=(d=(l=t)===null||l===void 0?void 0:l.active)!==null&&d!==void 0?d:!1},Rm=function e(t){cr(this,e);var r,n;M(this,"active",void 0),M(this,"text",void 0);var o;this.active=(o=(r=t)===null||r===void 0?void 0:r.active)!==null&&o!==void 0?o:!1;var i;this.text=(i=(n=t)===null||n===void 0?void 0:n.text)!==null&&i!==void 0?i:""},VD=function e(t){cr(this,e);var r,n,o,i,u,c;M(this,"types",void 0),M(this,"history",void 0),M(this,"collaborativeRecord",void 0),M(this,"logicToDelete",void 0),M(this,"watermark",void 0),M(this,"autoRename",void 0);var l;this.types=(l=(r=t)===null||r===void 0?void 0:r.types)!==null&&l!==void 0?l:["word","ppt","excel"];var a;this.history=(a=(n=t)===null||n===void 0?void 0:n.history)!==null&&a!==void 0?a:!1;var f;this.collaborativeRecord=(f=(o=t)===null||o===void 0?void 0:o.collaborativeRecord)!==null&&f!==void 0?f:!1;var s;this.logicToDelete=(s=(i=t)===null||i===void 0?void 0:i.logicToDelete)!==null&&s!==void 0?s:!0,this.watermark=new Rm((u=t)===null||u===void 0?void 0:u.watermark),this.autoRename=new Rm((c=t)===null||c===void 0?void 0:c.autoRename)},CD=480;function gi(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var zD=function e(t){cr(this,e);var r,n,o;M(this,"fileId",void 0),M(this,"fileName",void 0),M(this,"ruleName",void 0),M(this,"isDefault",void 0),M(this,"rules",void 0);var i;this.fileId=(i=(r=t)===null||r===void 0?void 0:r.fileId)!==null&&i!==void 0?i:"";var u;this.fileName=(u=(n=t)===null||n===void 0?void 0:n.fileName)!==null&&u!==void 0?u:"";var c;this.ruleName=(c=(o=t)===null||o===void 0?void 0:o.ruleName)!==null&&c!==void 0?c:"";var l;this.isDefault=(l=t.isDefault)!==null&&l!==void 0?l:!1;var a;this.rules=(a=t.rules)!==null&&a!==void 0?a:[]},Sm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Sm||(Sm={}));var xp;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(xp||(xp={}));var mi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(mi||(mi={}));var lr;(function(e){e.ALL="all",e.ASSIGN="assign"})(lr||(lr={}));var kp;(function(e){e.ALL="all",e.ADMIN="admin"})(kp||(kp={}));function Dp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Em(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(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&&Np(e,t)}function UD(e,t){return t&&(WD(t)==="object"||typeof t=="function")?t:Dp(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function WD(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 GD(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 UD(this,o)}}var XD=function(e){qD(r,e);var t=GD(r);function r(n){HD(this,r);var o,i,u;o=t.call(this,n),Em(Dp(o),"color",void 0),Em(Dp(o),"lineStyle",void 0);var c;o.color=(c=(i=n)===null||i===void 0?void 0:i.color)!==null&&c!==void 0?c:"#000";var l;return o.lineStyle=(l=(u=n)===null||u===void 0?void 0:u.lineStyle)!==null&&l!==void 0?l:Ap.SOLID,o}return r}(pe);function Tm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JD(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 QD(e,t,r){return t&&Im(e.prototype,t),r&&Im(e,r),e}function Bm(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 ZD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function YD(e,t){return t&&(eN(t)==="object"||typeof t=="function")?t:Tm(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(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 rN(e){var t=tN();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 YD(this,o)}}var nN=function(e){ZD(r,e);var t=rN(r);function r(n){JD(this,r);var o,i;return o=t.call(this,n),Bm(Tm(o),"props",void 0),o.props=new XD((i=n)===null||i===void 0?void 0:i.props),o}return QD(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(K);Bm(nN,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]}]);function ar(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 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 $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(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&&jp(e,t)}function oN(e,t){return t&&(iN(t)==="object"||typeof t=="function")?t:ar(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function iN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=uN();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 oN(this,o)}}var cN=function(e){xm(r,e);var t=km(r);function r(n){Am(this,r);var o;return o=t.call(this,n),fr(ar(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),fr(ar(o),"dataBind",{type:"any"}),fr(ar(o),"config",{type:"array"}),n.config.includes(Lt.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}(le),Dm=function(e){xm(r,e);var t=km(r);function r(n){Am(this,r);var o,i,u,c,l,a;o=t.call(this,n),fr(ar(o),"dataBind",void 0),fr(ar(o),"caption",void 0),fr(ar(o),"config",void 0),fr(ar(o),"position",void 0),o.dataBind=new ft((i=n)===null||i===void 0?void 0:i.dataBind);var f;o.config=(f=(u=n)===null||u===void 0?void 0:u.config)!==null&&f!==void 0?f:[Lt.ShowSubmitUser,Lt.ShowSubmitDept,Lt.ShowSubmitTime,Lt.ShowCurrentApprovar,Lt.ShowTitle];var s,p;o.caption=(p=(s=(c=n)===null||c===void 0?void 0:c.caption)!==null&&s!==void 0?s:(l=Vp)===null||l===void 0?void 0:l.controlName)!==null&&p!==void 0?p:"";var _;return o.position=(_=(a=n)===null||a===void 0?void 0:a.position)!==null&&_!==void 0?_:"top",o}return r}(pe);fr(Dm,"Rules",cN);function Nm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lN(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 aN(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(e,r),e}function Mp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function fN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function sN(e,t){return t&&(pN(t)==="object"||typeof t=="function")?t:Nm(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function pN(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 yN(e){var t=_N();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 sN(this,o)}}var Vp=function(e){fN(r,e);var t=yN(r);function r(n){lN(this,r);var o,i;return o=t.call(this,n),Mp(Nm(o),"props",void 0),o.props=new Dm((i=n)===null||i===void 0?void 0:i.props),o}return aN(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(K);Mp(Vp,"controlFieldType",S.AUTO_NUMBER),Mp(Vp,"setting",[{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function Ri(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function 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&&Cp(e,t)}function dN(e,t){return t&&(vN(t)==="object"||typeof t=="function")?t:Ri(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function vN(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 Lm(e){var t=hN();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 dN(this,o)}}var bN=function(e){Mm(r,e);var t=Lm(r);function r(n){jm(this,r);var o;return o=t.call(this,n),Si(Ri(o),"formKey",{type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}),o}return r}(le),Vm=function(e){Mm(r,e);var t=Lm(r);function r(n){jm(this,r);var o,i,u,c,l;o=t.call(this,n),Si(Ri(o),"formKey",void 0),Si(Ri(o),"openType",void 0);var a;o.icon=(a=(i=n)===null||i===void 0?void 0:i.icon)!==null&&a!==void 0?a:Ii.controlIcon;var f;o.content=(f=(u=n)===null||u===void 0?void 0:u.content)!==null&&f!==void 0?f:Ii.controlName;var s;o.formKey=(s=(c=n)===null||c===void 0?void 0:c.formKey)!==null&&s!==void 0?s:"";var p;return o.openType=(p=(l=n)===null||l===void 0?void 0:l.openType)!==null&&p!==void 0?p:"modal",o}return r}(Ge);Si(Vm,"Rules",bN);function Cm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mN(e,t,r){return t&&zm(e.prototype,t),r&&zm(e,r),e}function zp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function ON(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function wN(e,t){return t&&($N(t)==="object"||typeof t=="function")?t:Cm(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function $N(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RN(e){var t=PN();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wN(this,o)}}var Ii=function(e){ON(r,e);var t=RN(r);function r(n){gN(this,r);var o,i;return o=t.call(this,n),zp(Cm(o),"props",void 0),o.props=new Vm((i=n)===null||i===void 0?void 0:i.props),o}return mN(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}(Me);zp(Ii,"controlEventKeys",["on_click","on_click_finish"]),zp(Ii,"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 en(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 tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(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&&qp(e,t)}function SN(e,t){return t&&(EN(t)==="object"||typeof t=="function")?t:en(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(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 Um(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){qm(r,e);var t=Um(r);function r(n){Hm(this,r);var o;return o=t.call(this,n),tn(en(o),"processKey",[{type:"string",message:$.getMessage("isNotString")},{type:"string",required:!0,message:$.getMessage("pleaseEnterProcess")}]),o}return r}(le),Wm=function(e){qm(r,e);var t=Um(r);function r(n){Hm(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),tn(en(o),"processKey",void 0),tn(en(o),"initiatorMode",void 0),tn(en(o),"fieldCode",void 0),tn(en(o),"employeeId",void 0);var s;o.icon=(s=(i=n)===null||i===void 0?void 0:i.icon)!==null&&s!==void 0?s:xi.controlIcon;var p;o.content=(p=(u=n)===null||u===void 0?void 0:u.content)!==null&&p!==void 0?p:xi.controlName;var _;o.initiatorMode=(_=(c=n)===null||c===void 0?void 0:c.initiatorMode)!==null&&_!==void 0?_:"currentInitiator";var h;o.processKey=(h=(l=n)===null||l===void 0?void 0:l.processKey)!==null&&h!==void 0?h:"";var d;o.fieldCode=(d=(a=n)===null||a===void 0?void 0:a.fieldCode)!==null&&d!==void 0?d:"";var b;return o.employeeId=(b=(f=n)===null||f===void 0?void 0:f.employeeId)!==null&&b!==void 0?b:"",o}return r}(Ge);tn(Wm,"Rules",IN);function Km(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 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 AN(e,t,r){return t&&Gm(e.prototype,t),r&&Gm(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 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&&Wp(e,t)}function kN(e,t){return t&&(DN(t)==="object"||typeof t=="function")?t:Km(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(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 FN(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 xi=function(e){xN(r,e);var t=FN(r);function r(n){BN(this,r);var o,i;return o=t.call(this,n),Up(Km(o),"props",void 0),o.props=new Wm((i=n)===null||i===void 0?void 0:i.props),o}return AN(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}(Me);Up(xi,"controlEventKeys",["on_click","on_click_finish"]),Up(xi,"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 jN(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 ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(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&&Kp(e,t)}function VN(e,t){return t&&(CN(t)==="object"||typeof t=="function")?t:jN(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function CN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HN(e){var t=zN();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 VN(this,o)}}var qN=function(e){LN(r,e);var t=HN(r);function r(n){MN(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:Ni.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:Ni.controlIcon,o}return r}(Ge);function Xm(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 Jm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WN(e,t,r){return t&&Jm(e.prototype,t),r&&Jm(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 Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(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&&Xp(e,t)}function GN(e,t){return t&&(XN(t)==="object"||typeof t=="function")?t:Xm(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function XN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QN(e){var t=JN();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 GN(this,o)}}var Ni=function(e){KN(r,e);var t=QN(r);function r(n){UN(this,r);var o,i;return o=t.call(this,n),Gp(Xm(o),"props",void 0),o.props=new qN((i=n)===null||i===void 0?void 0:i.props),o}return WN(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}(Me);Gp(Ni,"controlEventKeys",["on_click"]),Gp(Ni,"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 Jp(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 Qm(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 YN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eF(e,t){return t&&(tF(t)==="object"||typeof t=="function")?t:Jp(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}function tF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nF(e){var t=rF();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 eF(this,o)}}var oF=function(e){YN(r,e);var t=nF(r);function r(n){ZN(this,r);var o,i,u,c,l,a;o=t.call(this,n),Qm(Jp(o),"templateList",void 0),Qm(Jp(o),"templateType",void 0);var f;o.icon=(f=(i=n)===null||i===void 0?void 0:i.icon)!==null&&f!==void 0?f:Mi.controlIcon;var s;o.content=(s=(u=n)===null||u===void 0?void 0:u.content)!==null&&s!==void 0?s:Mi.controlName;var p;o.templateType=(p=(c=n)===null||c===void 0?void 0:c.templateType)!==null&&p!==void 0?p:"system";var _;return o.templateList=(_=(a=n)===null||a===void 0||(l=a.templateList)===null||l===void 0?void 0:l.map(function(h){return new Pm(h)}))!==null&&_!==void 0?_:[new Pm({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Ge);function Zm(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 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 uF(e,t,r){return t&&Ym(e.prototype,t),r&&Ym(e,r),e}function Zp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(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&&Yp(e,t)}function lF(e,t){return t&&(aF(t)==="object"||typeof t=="function")?t:Zm(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function aF(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 sF(e){var t=fF();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 lF(this,o)}}var Mi=function(e){cF(r,e);var t=sF(r);function r(n){iF(this,r);var o,i;return o=t.call(this,n),Zp(Zm(o),"props",void 0),o.props=new oF((i=n)===null||i===void 0?void 0:i.props),o}return uF(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}(Me);Zp(Mi,"controlEventKeys",["on_click","on_click_finish"]),Zp(Mi,"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 pF(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 Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(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&&e_(e,t)}function dF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:pF(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(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=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dF(this,o)}}var gF=function(e){yF(r,e);var t=bF(r);function r(n){_F(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:Ci.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:Ci.controlIcon,o}return r}(Ge);function eO(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 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 OF(e,t,r){return t&&tO(e.prototype,t),r&&tO(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 Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(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&&r_(e,t)}function $F(e,t){return t&&(PF(t)==="object"||typeof t=="function")?t:eO(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}function PF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SF(e){var t=RF();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 $F(this,o)}}var Ci=function(e){wF(r,e);var t=SF(r);function r(n){mF(this,r);var o,i;return o=t.call(this,n),t_(eO(o),"props",void 0),o.props=new gF((i=n)===null||i===void 0?void 0:i.props),o}return OF(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}(Me);t_(Ci,"controlEventKeys",["on_click"]),t_(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 n_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(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&&i_(e,t)}function TF(e,t){return t&&(IF(t)==="object"||typeof t=="function")?t:n_(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(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=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TF(this,o)}}var xF=function e(t){rO(this,e),o_(this,"dataCode",void 0),this.dataCode=t.dataCode},kF=function(e){EF(r,e);var t=AF(r);function r(n){rO(this,r);var o,i,u,c,l,a;o=t.call(this,n),o_(n_(o),"canImportList",void 0),o_(n_(o),"templateType",void 0);var f;o.content=(f=(i=n)===null||i===void 0?void 0:i.content)!==null&&f!==void 0?f:qi.controlName;var s;o.icon=(s=(u=n)===null||u===void 0?void 0:u.icon)!==null&&s!==void 0?s:qi.controlIcon;var p;o.canImportList=(p=(l=n)===null||l===void 0||(c=l.canImportList)===null||c===void 0?void 0:c.map(function(h){return new xF(h)}))!==null&&p!==void 0?p:[];var _;return o.templateType=(_=(a=n)===null||a===void 0?void 0:a.templateType)!==null&&_!==void 0?_:"system",o}return r}(Ge);function nO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NF(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 Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function FF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function jF(e,t){return t&&(MF(t)==="object"||typeof t=="function")?t:nO(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function MF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VF(e){var t=LF();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 jF(this,o)}}var qi=function(e){FF(r,e);var t=VF(r);function r(n){DF(this,r);var o,i;return o=t.call(this,n),u_(nO(o),"props",void 0),o.props=new kF((i=n)===null||i===void 0?void 0:i.props),o}return NF(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}(Me);u_(qi,"controlEventKeys",["on_click","on_click_finish"]),u_(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:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Ui(){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 sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iO(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 Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function uO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Vt(e,o,r[o])})}return e}function CF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:sr(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(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 lO(e){var t=HF();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 CF(this,o)}}var qF=function(e){uO(r,e);var t=lO(r);function r(n){iO(this,r);var o;return o=t.call(this,n),Vt(sr(o),"fillPayload",{type:"object",fields:cO({},Ui())}),Vt(sr(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterList")}}}),Vt(sr(o),"fillBack",{type:"object",fields:cO({mode:{type:"string",required:!0,message:$.getMessage("pleaseSelectFillBackMode")}},Ui())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:$.getMessage("pleaseSelectControl")}),o}return r}(le),aO=function(e){uO(r,e);var t=lO(r);function r(n){iO(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),Vt(sr(o),"fillPayload",void 0),Vt(sr(o),"formBind",void 0),Vt(sr(o),"fillBack",void 0),Vt(sr(o),"command",void 0);var s;o.content=(s=(i=n)===null||i===void 0?void 0:i.content)!==null&&s!==void 0?s:Gi.controlName;var p;o.icon=(p=(u=n)===null||u===void 0?void 0:u.icon)!==null&&p!==void 0?p:Gi.controlIcon;var _;return o.command=(_=(c=n)===null||c===void 0?void 0:c.command)!==null&&_!==void 0?_:"create",o.fillPayload=new Tg((l=n)===null||l===void 0?void 0:l.fillPayload),o.formBind=new F2((a=n)===null||a===void 0?void 0:a.formBind),o.fillBack=new Ig((f=n)===null||f===void 0?void 0:f.fillBack),o}return r}(Ge);Vt(aO,"Rules",qF);function fO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WF(e,t,r){return t&&sO(e.prototype,t),r&&sO(e,r),e}function a_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function KF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function GF(e,t){return t&&(XF(t)==="object"||typeof t=="function")?t:fO(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}function XF(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 QF(e){var t=JF();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 GF(this,o)}}var Gi=function(e){KF(r,e);var t=QF(r);function r(n){UF(this,r);var o,i;return o=t.call(this,n),a_(fO(o),"props",void 0),o.props=new aO((i=n)===null||i===void 0?void 0:i.props),o}return WF(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}(Me);a_(Gi,"controlEventKeys",["on_click","on_click_finish"]),a_(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:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"button-action-setting",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 pO(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 Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(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&&s_(e,t)}function yO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){St(e,o,r[o])})}return e}function ZF(e,t){return t&&(YF(t)==="object"||typeof t=="function")?t:Ct(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function YF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ej(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dO(e){var t=ej();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 ZF(this,o)}}var tj=function(e){_O(r,e);var t=dO(r);function r(n){pO(this,r);var o;return o=t.call(this,n),St(Ct(o),"fillPayload",{type:"object",fields:yO({},Ui())}),St(Ct(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:$.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:$.getMessage("pleaseSelectAtLeastOneColumn")}}}),St(Ct(o),"fillBack",{type:"object",fields:yO({mode:{type:"string",required:!0,message:$.getMessage("pleaseSelectFillBackMode")}},Ui())}),o}return r}(le),vO=function(e){_O(r,e);var t=dO(r);function r(n){pO(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),St(Ct(o),"fillPayload",void 0),St(Ct(o),"listPageBind",void 0),St(Ct(o),"fillBack",void 0),St(Ct(o),"showSelectedDetail",void 0),St(Ct(o),"selectedContentConfig",void 0);var p;o.content=(p=(i=n)===null||i===void 0?void 0:i.content)!==null&&p!==void 0?p:Qi.controlName;var _;o.icon=(_=(u=n)===null||u===void 0?void 0:u.icon)!==null&&_!==void 0?_:Qi.controlIcon,o.fillPayload=new Tg((c=n)===null||c===void 0?void 0:c.fillPayload),o.listPageBind=new ws((l=n)===null||l===void 0?void 0:l.listPageBind),o.fillBack=new Ig((a=n)===null||a===void 0?void 0:a.fillBack);var h;return o.showSelectedDetail=(h=(f=n)===null||f===void 0?void 0:f.showSelectedDetail)!==null&&h!==void 0?h:!1,o.selectedContentConfig=new Ss((s=n)===null||s===void 0?void 0:s.selectedContentConfig),o}return r}(Ge);St(vO,"Rules",tj);function hO(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 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 nj(e,t,r){return t&&bO(e.prototype,t),r&&bO(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 Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(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&&__(e,t)}function ij(e,t){return t&&(uj(t)==="object"||typeof t=="function")?t:hO(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(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=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ij(this,o)}}var Qi=function(e){oj(r,e);var t=lj(r);function r(n){rj(this,r);var o,i;return o=t.call(this,n),p_(hO(o),"props",void 0),o.props=new vO((i=n)===null||i===void 0?void 0:i.props),o}return nj(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}(Me);p_(Qi,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),p_(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:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function aj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gO(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 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&&v_(e,t)}function fj(e,t){return t&&(sj(t)==="object"||typeof t=="function")?t:aj(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}function sj(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 h_(e){var t=pj();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 fj(this,o)}}var _j=function(e){d_(r,e);var t=h_(r);function r(n){return y_(this,r),t.call(this,n)}return r}(le),yj=function(e){d_(r,e);var t=h_(r);function r(n){return y_(this,r),t.call(this,n)}return r}(Rr),b_=function(e){d_(r,e);var t=h_(r);function r(n){return y_(this,r),t.call(this,n)}return r}(pe);gO(b_,"Rules",_j),gO(b_,"RuntimeRules",yj);function mO(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 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 vj(e,t,r){return t&&OO(e.prototype,t),r&&OO(e,r),e}function wO(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 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&&g_(e,t)}function bj(e,t){return t&&(gj(t)==="object"||typeof t=="function")?t:mO(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function gj(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 Oj(e){var t=mj();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 bj(this,o)}}var wj=function(e){hj(r,e);var t=Oj(r);function r(n){dj(this,r);var o,i;return o=t.call(this,n),wO(mO(o),"props",void 0),o.props=new b_((i=n)===null||i===void 0?void 0:i.props),o}return vj(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(K);wO(wj,"setting",[]);function et(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 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 eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function PO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $j(e,t){return t&&(Pj(t)==="object"||typeof t=="function")?t:et(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(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 RO(e){var t=Rj();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 $j(this,o)}}var Sj=function(e){PO(r,e);var t=RO(r);function r(n){$O(this,r);var o;return o=t.call(this,n),tt(et(o),"dashboardKey",{type:"string",required:!0,message:$.getMessage("pleaseSelectDashboard")}),tt(et(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),tt(et(o),"isHideCaption",{type:"boolean"}),tt(et(o),"labelPosition",{type:"enum",enum:["top","left"]}),tt(et(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),SO=function(e){PO(r,e);var t=RO(r);function r(n){$O(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),tt(et(o),"dashboardKey",void 0),tt(et(o),"caption",void 0),tt(et(o),"isHideCaption",void 0),tt(et(o),"isShowCaptionTip",void 0),tt(et(o),"captionTip",void 0),tt(et(o),"labelPosition",void 0);var s;o.dashboardKey=(s=(i=n)===null||i===void 0?void 0:i.dashboardKey)!==null&&s!==void 0?s:"";var p;o.caption=(p=(u=n)===null||u===void 0?void 0:u.caption)!==null&&p!==void 0?p:"";var _;o.isHideCaption=(_=(c=n)===null||c===void 0?void 0:c.isHideCaption)!==null&&_!==void 0?_:!1;var h;o.isShowCaptionTip=(h=(l=n)===null||l===void 0?void 0:l.isShowCaptionTip)!==null&&h!==void 0?h:!1;var d;o.captionTip=(d=(a=n)===null||a===void 0?void 0:a.captionTip)!==null&&d!==void 0?d:"";var b;return o.labelPosition=(b=(f=n)===null||f===void 0?void 0:f.labelPosition)!==null&&b!==void 0?b:"top",o}return r}(pe);tt(SO,"Rules",Sj);function EO(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 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 Tj(e,t,r){return t&&TO(e.prototype,t),r&&TO(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 tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function Ij(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O_(e,t)}function Bj(e,t){return t&&(Aj(t)==="object"||typeof t=="function")?t:EO(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}function Aj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kj(e){var t=xj();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 Bj(this,o)}}var Dj=function(e){Ij(r,e);var t=kj(r);function r(n){Ej(this,r);var o,i;return o=t.call(this,n),IO(EO(o),"props",void 0),o.props=new SO((i=n)===null||i===void 0?void 0:i.props),o}return Tj(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(K);IO(Dj,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{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 BO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(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 AO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nj(e,t){return t&&(Fj(t)==="object"||typeof t=="function")?t:vo(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function Fj(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 xO(e){var t=jj();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 Nj(this,o)}}var Mj=function(e){AO(r,e);var t=xO(r);function r(n){BO(this,r);var o;return o=t.call(this,n),ho(vo(o),"showType",{type:"enum",enum:["select","tabs"]}),ho(vo(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}(le),kO=function(e){AO(r,e);var t=xO(r);function r(n){BO(this,r);var o,i,u,c;o=t.call(this,n),ho(vo(o),"showType",void 0),ho(vo(o),"viewList",void 0);var l;o.showType=(l=(i=n)===null||i===void 0?void 0:i.showType)!==null&&l!==void 0?l:"select";var a;return o.viewList=(a=(c=n)===null||c===void 0||(u=c.viewList)===null||u===void 0?void 0:u.map(function(f){return new Z2(f)}))!==null&&a!==void 0?a:[],o}return r}(pe);ho(kO,"Rules",Mj);function DO(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 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 Vj(e,t,r){return t&&NO(e.prototype,t),r&&NO(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 nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(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&&$_(e,t)}function zj(e,t){return t&&(Hj(t)==="object"||typeof t=="function")?t:DO(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}function Hj(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=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zj(this,o)}}var Wj=function(e){Cj(r,e);var t=Uj(r);function r(n){Lj(this,r);var o,i;return o=t.call(this,n),FO(DO(o),"props",void 0),o.props=new kO((i=n)===null||i===void 0?void 0:i.props),o}return Vj(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(K);FO(Wj,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jO(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 ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function MO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function Kj(e,t){return t&&(Gj(t)==="object"||typeof t=="function")?t:Le(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function Gj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LO(e){var t=Xj();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kj(this,o)}}var Jj=function(e){MO(r,e);var t=LO(r);function r(n){jO(this,r);var o;return o=t.call(this,n),Ve(Le(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Ve(Le(o),"isHideCaption",{type:"boolean"}),Ve(Le(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ve(Le(o),"ocrType",{type:"string",required:!0,message:$.getMessage("pleaseSelectOcrType")}),Ve(Le(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l($.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Ve(Le(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),VO=function(e){MO(r,e);var t=LO(r);function r(n){jO(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Ve(Le(o),"caption",void 0),Ve(Le(o),"isHideCaption",void 0),Ve(Le(o),"isShowCaptionTip",void 0),Ve(Le(o),"captionTip",void 0),Ve(Le(o),"labelPosition",void 0),Ve(Le(o),"ocrType",void 0),Ve(Le(o),"fillList",void 0);var d;o.caption=(d=(i=n)===null||i===void 0?void 0:i.caption)!==null&&d!==void 0?d:bo.controlName;var b;o.isHideCaption=(b=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var y;o.isShowCaptionTip=(y=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&y!==void 0?y:!1;var g;o.captionTip=(g=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&g!==void 0?g:"";var O;o.labelPosition=(O=(a=n)===null||a===void 0?void 0:a.labelPosition)!==null&&O!==void 0?O:"top";var w;o.content=(w=(f=n)===null||f===void 0?void 0:f.content)!==null&&w!==void 0?w:bo.controlName;var P;o.icon=(P=(s=n)===null||s===void 0?void 0:s.icon)!==null&&P!==void 0?P:bo.controlIcon;var E;o.ocrType=(E=(p=n)===null||p===void 0?void 0:p.ocrType)!==null&&E!==void 0?E:"";var T;return o.fillList=(T=(h=n)===null||h===void 0||(_=h.fillList)===null||_===void 0?void 0:_.map(function(B){return new je(B)}))!==null&&T!==void 0?T:[],o}return r}(Ge);Ve(VO,"Rules",Jj);function CO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zj(e,t,r){return t&&zO(e.prototype,t),r&&zO(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 iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function Yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function eM(e,t){return t&&(tM(t)==="object"||typeof t=="function")?t:CO(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}function tM(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 nM(e){var t=rM();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 eM(this,o)}}var bo=function(e){Yj(r,e);var t=nM(r);function r(n){Qj(this,r);var o,i;return o=t.call(this,n),R_(CO(o),"props",void 0),o.props=new VO((i=n)===null||i===void 0?void 0:i.props),o}return Zj(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}(Me);R_(bo,"controlEventKeys",["on_click","on_click_finish"]),R_(bo,"setting",[{key:"caption",showItems:[v.CAPTION,v.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:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HO(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 uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function qO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oM(e,t){return t&&(iM(t)==="object"||typeof t=="function")?t:Ce(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function iM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UO(e){var t=uM();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 oM(this,o)}}var cM=function(e){qO(r,e);var t=UO(r);function r(n){HO(this,r);var o;return o=t.call(this,n),ze(Ce(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),ze(Ce(o),"isHideCaption",{type:"boolean"}),ze(Ce(o),"labelPosition",{type:"enum",enum:["top","left"]}),ze(Ce(o),"invoiceCheck",{type:"boolean"}),ze(Ce(o),"fillList",{type:"array",validator:function(u,c,l){var a=c.every(function(f){return!f.controlId});if(a){l($.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),ze(Ce(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),WO=function(e){qO(r,e);var t=UO(r);function r(n){HO(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),ze(Ce(o),"caption",void 0),ze(Ce(o),"isHideCaption",void 0),ze(Ce(o),"isShowCaptionTip",void 0),ze(Ce(o),"captionTip",void 0),ze(Ce(o),"labelPosition",void 0),ze(Ce(o),"invoiceCheck",void 0),ze(Ce(o),"fillList",void 0);var d;o.caption=(d=(i=n)===null||i===void 0?void 0:i.caption)!==null&&d!==void 0?d:go.controlName;var b;o.isHideCaption=(b=(u=n)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var y;o.isShowCaptionTip=(y=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&y!==void 0?y:!1;var g;o.captionTip=(g=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&g!==void 0?g:"";var O;o.labelPosition=(O=(a=n)===null||a===void 0?void 0:a.labelPosition)!==null&&O!==void 0?O:"top";var w;o.content=(w=(f=n)===null||f===void 0?void 0:f.content)!==null&&w!==void 0?w:go.controlName;var P;o.icon=(P=(s=n)===null||s===void 0?void 0:s.icon)!==null&&P!==void 0?P:go.controlIcon;var E;o.invoiceCheck=(E=(p=n)===null||p===void 0?void 0:p.invoiceCheck)!==null&&E!==void 0?E:!0;var T;return o.fillList=(T=(h=n)===null||h===void 0||(_=h.fillList)===null||_===void 0?void 0:_.map(function(B){return new je(B)}))!==null&&T!==void 0?T:[],o}return r}(Ge);ze(WO,"Rules",cM);function KO(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 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 aM(e,t,r){return t&&GO(e.prototype,t),r&&GO(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 cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function fM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function sM(e,t){return t&&(pM(t)==="object"||typeof t=="function")?t:KO(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}function pM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _M(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yM(e){var t=_M();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 sM(this,o)}}var go=function(e){fM(r,e);var t=yM(r);function r(n){lM(this,r);var o,i;return o=t.call(this,n),T_(KO(o),"props",void 0),o.props=new WO((i=n)===null||i===void 0?void 0:i.props),o}return aM(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}(Me);T_(go,"controlEventKeys",["on_click","on_click_finish"]),T_(go,"setting",[{key:"caption",showItems:[v.CAPTION,v.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:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function lu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function JO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dM(e,t){return t&&(vM(t)==="object"||typeof t=="function")?t:lu(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function vM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QO(e){var t=hM();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 dM(this,o)}}var bM=function(e){JO(r,e);var t=QO(r);function r(){XO(this,r);var n;return n=t.apply(this,arguments),au(lu(n),"printTemplates",{type:"array",min:1,required:!0,message:$.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(le),ZO=function(e){JO(r,e);var t=QO(r);function r(n){XO(this,r);var o,i,u,c,l,a;o=t.call(this,n),au(lu(o),"printTemplates",void 0),au(lu(o),"autoSelectTemplate",void 0);var f;o.icon=(f=(i=n)===null||i===void 0?void 0:i.icon)!==null&&f!==void 0?f:pu.controlIcon;var s;o.content=(s=(u=n)===null||u===void 0?void 0:u.content)!==null&&s!==void 0?s:pu.controlName;var p;o.printTemplates=(p=(l=n)===null||l===void 0||(c=l.printTemplates)===null||c===void 0?void 0:c.map(function(h){return new zD(h)}))!==null&&p!==void 0?p:[];var _;return o.autoSelectTemplate=(_=(a=n)===null||a===void 0?void 0:a.autoSelectTemplate)!==null&&_!==void 0?_:!1,o}return r}(Ge);au(ZO,"Rules",bM);function YO(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 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 mM(e,t,r){return t&&ew(e.prototype,t),r&&ew(e,r),e}function A_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function 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&&x_(e,t)}function wM(e,t){return t&&($M(t)==="object"||typeof t=="function")?t:YO(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(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 pu=function(e){OM(r,e);var t=RM(r);function r(n){gM(this,r);var o,i;return o=t.call(this,n),A_(YO(o),"props",void 0),o.props=new ZO((i=n)===null||i===void 0?void 0:i.props),o}return mM(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}(Me);A_(pu,"controlEventKeys",["on_click","on_click_finish"]),A_(pu,"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 SM(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 _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(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&&k_(e,t)}function IM(e,t){return t&&(BM(t)==="object"||typeof t=="function")?t:SM(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(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=_u(e),o;if(t){var i=_u(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){EM(this,r);var o,i,u;o=t.call(this,n);var c;o.content=(c=(i=n)===null||i===void 0?void 0:i.content)!==null&&c!==void 0?c:du.controlName;var l;return o.icon=(l=(u=n)===null||u===void 0?void 0:u.icon)!==null&&l!==void 0?l:du.controlIcon,o}return r}(Ge);function tw(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 rw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NM(e,t,r){return t&&rw(e.prototype,t),r&&rw(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 yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function FM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function jM(e,t){return t&&(MM(t)==="object"||typeof t=="function")?t:tw(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function MM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VM(e){var t=LM();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 jM(this,o)}}var du=function(e){FM(r,e);var t=VM(r);function r(n){DM(this,r);var o,i;return o=t.call(this,n),D_(tw(o),"props",void 0),o.props=new kM((i=n)===null||i===void 0?void 0:i.props),o}return NM(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}(Me);D_(du,"controlEventKeys",["on_click"]),D_(du,"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 ke(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 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 vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function ow(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function CM(e,t){return t&&(zM(t)==="object"||typeof t=="function")?t:ke(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}function zM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iw(e){var t=HM();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 CM(this,o)}}var qM=function(e){ow(r,e);var t=iw(r);function r(n){nw(this,r);var o;return o=t.call(this,n),De(ke(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:$.getMessage("pleaseEnterForm")}),o}return r}(le),hu=function(e){ow(r,e);var t=iw(r);function r(n){nw(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),De(ke(o),"content",void 0),De(ke(o),"code",void 0),De(ke(o),"command",void 0),De(ke(o),"color",void 0),De(ke(o),"icon",void 0),De(ke(o),"formKey",void 0),De(ke(o),"openType",void 0),De(ke(o),"needConfirm",void 0),De(ke(o),"confirmMessage",void 0),De(ke(o),"options",void 0),De(ke(o),"defaultState",void 0),De(ke(o),"priorityProcess",void 0),De(ke(o),"isLoading",void 0);var g;o.content=(g=(i=n)===null||i===void 0?void 0:i.content)!==null&&g!==void 0?g:"\u6309\u94AE",o.code=(u=n)===null||u===void 0?void 0:u.code;var O;o.command=(O=(c=n)===null||c===void 0?void 0:c.command)!==null&&O!==void 0?O:"custom";var w;o.color=(w=(l=n)===null||l===void 0?void 0:l.color)!==null&&w!==void 0?w:"primary",o.icon=(a=n)===null||a===void 0?void 0:a.icon,o.formKey=(f=n)===null||f===void 0?void 0:f.formKey,o.openType=(s=n)===null||s===void 0?void 0:s.openType,o.needConfirm=(p=n)===null||p===void 0?void 0:p.needConfirm,o.confirmMessage=(_=n)===null||_===void 0?void 0:_.confirmMessage,o.options=(h=n)===null||h===void 0?void 0:h.options;var P;o.defaultState=(P=(d=n)===null||d===void 0?void 0:d.defaultState)!==null&&P!==void 0?P:"default",o.priorityProcess=(b=n)===null||b===void 0?void 0:b.priorityProcess;var E;return o.isLoading=(E=(y=n)===null||y===void 0?void 0:y.isLoading)!==null&&E!==void 0?E:!1,o}return r}(pe);De(hu,"Rules",qM);function uw(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 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 WM(e,t,r){return t&&cw(e.prototype,t),r&&cw(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 bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(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&&M_(e,t)}function GM(e,t){return t&&(XM(t)==="object"||typeof t=="function")?t:uw(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}function XM(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 QM(e){var t=JM();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GM(this,o)}}var gu=function(e){KM(r,e);var t=QM(r);function r(n){UM(this,r);var o,i;return o=t.call(this,n),j_(uw(o),"props",void 0),o.props=new hu((i=n)===null||i===void 0?void 0:i.props),o}return WM(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(K);j_(gu,"controlEventKeys",["on_click"]),j_(gu,"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:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YM(e,t,r){return t&&aw(e.prototype,t),r&&aw(e,r),e}function eL(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 tL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function rL(e,t){return t&&(nL(t)==="object"||typeof t=="function")?t:lw(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}function nL(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=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rL(this,o)}}var uL=function(e){tL(r,e);var t=iL(r);function r(n){ZM(this,r);var o,i;return o=t.call(this,n),eL(lw(o),"props",void 0),o.props=new hu((i=n)===null||i===void 0?void 0:i.props),o}return YM(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(nr),V_={Designer:gu,Runtime:uL,Property:hu};function zt(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 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 Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function lL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aL(e,t){return t&&(fL(t)==="object"||typeof t=="function")?t:zt(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}function fL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pL(e){var t=sL();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aL(this,o)}}var _L=function(e){lL(r,e);var t=pL(r);function r(n){cL(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),pr(zt(o),"content",void 0),pr(zt(o),"buttonType",void 0),pr(zt(o),"showType",void 0),pr(zt(o),"color",void 0),pr(zt(o),"icon",void 0),pr(zt(o),"defaultState",void 0),pr(zt(o),"command",void 0),pr(zt(o),"isLoading",void 0);var h;o.content=(h=(i=n)===null||i===void 0?void 0:i.content)!==null&&h!==void 0?h:$u.controlName;var d;o.icon=(d=(u=n)===null||u===void 0?void 0:u.icon)!==null&&d!==void 0?d:$u.controlIcon;var b;o.buttonType=(b=(c=n)===null||c===void 0?void 0:c.buttonType)!==null&&b!==void 0?b:"primary";var y;o.showType=(y=(l=n)===null||l===void 0?void 0:l.showType)!==null&&y!==void 0?y:"iconText";var g;o.color=(g=(a=n)===null||a===void 0?void 0:a.color)!==null&&g!==void 0?g:"danger";var O;o.isHide=(O=(f=n)===null||f===void 0?void 0:f.isHide)!==null&&O!==void 0?O:!1;var w;o.defaultState=(w=(s=n)===null||s===void 0?void 0:s.defaultState)!==null&&w!==void 0?w:"default";var P;o.command=(P=(p=n)===null||p===void 0?void 0:p.command)!==null&&P!==void 0?P:"custom";var E;return o.isLoading=(E=(_=n)===null||_===void 0?void 0:_.isLoading)!==null&&E!==void 0?E:!1,o}return r}(pe);function fw(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 sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dL(e,t,r){return t&&sw(e.prototype,t),r&&sw(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 wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(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&&H_(e,t)}function hL(e,t){return t&&(bL(t)==="object"||typeof t=="function")?t:fw(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}function bL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mL(e){var t=gL();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 hL(this,o)}}var $u=function(e){vL(r,e);var t=mL(r);function r(n){yL(this,r);var o,i;return o=t.call(this,n),z_(fw(o),"props",void 0),o.props=new _L((i=n)===null||i===void 0?void 0:i.props),o}return dL(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(K);z_($u,"controlEventKeys",["on_click"]),z_($u,"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:[v.IS_HIDE]},{key:"super-setting",visible:!0}]);function Et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(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&&W_(e,t)}function OL(e,t){return t&&(wL(t)==="object"||typeof t=="function")?t:Et(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(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 K_(e){var t=$L();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 PL=function(e){U_(r,e);var t=K_(r);function r(n){q_(this,r);var o;return o=t.call(this,n),st(Et(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),st(Et(o),"minLength",{type:"number",max:200,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),st(Et(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=gi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Pe),RL=function(e){U_(r,e);var t=K_(r);function r(n){q_(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:gi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(J),mo=function(e){U_(r,e);var t=K_(r);function r(n){q_(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n),st(Et(o),"maxLength",void 0),st(Et(o),"minLength",void 0),st(Et(o),"regularRules",void 0),st(Et(o),"defaultValue",void 0),st(Et(o),"encrypted",void 0),st(Et(o),"encryptedMode",void 0);var _;o.maxLength=(_=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&_!==void 0?_:200;var h;o.minLength=(h=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&h!==void 0?h:0,o.regularRules=new Bg((c=n)===null||c===void 0?void 0:c.regularRules);var d;o.defaultValue=(d=(l=n)===null||l===void 0?void 0:l.defaultValue)!==null&&d!==void 0?d:"";var b;o.caption=(b=(a=n)===null||a===void 0?void 0:a.caption)!==null&&b!==void 0?b:Oo.controlName;var y;o.placeholder=(y=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165";var g;o.encrypted=(g=(s=n)===null||s===void 0?void 0:s.encrypted)!==null&&g!==void 0?g:!1;var O;return o.encryptedMode=(O=(p=n)===null||p===void 0?void 0:p.encryptedMode)!==null&&O!==void 0?O:"",o}return r}(C);st(mo,"Rules",PL),st(mo,"RuntimeRules",RL);function pw(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 _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 EL(e,t,r){return t&&_w(e.prototype,t),r&&_w(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 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&&G_(e,t)}function IL(e,t){return t&&(BL(t)==="object"||typeof t=="function")?t:pw(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}function BL(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 xL(e){var t=AL();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 Oo=function(e){TL(r,e);var t=xL(r);function r(n){SL(this,r);var o,i;return o=t.call(this,n),Ru(pw(o),"props",void 0),o.props=new mo((i=n)===null||i===void 0?void 0:i.props),o}return EL(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}(H);Ru(Oo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ru(Oo,"controlFieldType",S.VARCHAR),Ru(Oo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP,v.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 yw(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 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 DL(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 Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function NL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FL(e,t){return t&&(jL(t)==="object"||typeof t=="function")?t:yw(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function jL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ML(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LL(e){var t=ML();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 FL(this,o)}}var VL=function(e){NL(r,e);var t=LL(r);function r(n){kL(this,r);var o,i;return o=t.call(this,n),vw(yw(o),"props",void 0),o.props=new mo((i=n)===null||i===void 0?void 0:i.props),o}return DL(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(q);vw(VL,"controlFieldType",S.VARCHAR);function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(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&&Z_(e,t)}function CL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:Se(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}function zL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y_(e){var t=HL();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 CL(this,o)}}var qL=function(e){Q_(r,e);var t=Y_(r);function r(n){J_(this,r);var o;o=t.call(this,n),me(Se(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}(Jr),UL=function(e){Q_(r,e);var t=Y_(r);function r(n){J_(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(J),Iu=function(e){Q_(r,e);var t=Y_(r);function r(n){J_(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),me(Se(o),"checkboxMode",void 0),me(Se(o),"options",void 0),me(Se(o),"optionsOrder",void 0),me(Se(o),"limitMax",void 0),me(Se(o),"limitMin",void 0),me(Se(o),"otherOption",void 0),me(Se(o),"optionConfig",void 0),me(Se(o),"optionsFormat",void 0),me(Se(o),"defaultShowOptions",void 0),me(Se(o),"datasourceBind",void 0),me(Se(o),"multistageFilling",void 0),me(Se(o),"interreaction",void 0),me(Se(o),"defaultValue",void 0),me(Se(o),"openMultistageFilling",void 0);var w;o.options=Nt((w=(i=n)===null||i===void 0?void 0:i.options)!==null&&w!==void 0?w:[{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 P;o.checkboxMode=(P=(u=n)===null||u===void 0?void 0:u.checkboxMode)!==null&&P!==void 0?P:"horizontal";var E;o.optionConfig=(E=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&E!==void 0?E:"custom";var T;o.optionsOrder=(T=(l=n)===null||l===void 0?void 0:l.optionsOrder)!==null&&T!==void 0?T:!1;var B;o.otherOption=(B=(a=n)===null||a===void 0?void 0:a.otherOption)!==null&&B!==void 0?B:!1;var I;o.limitMin=(I=(f=n)===null||f===void 0?void 0:f.limitMin)!==null&&I!==void 0?I:"unlimited";var A;o.limitMax=(A=(s=n)===null||s===void 0?void 0:s.limitMax)!==null&&A!==void 0?A:"unlimited",o.datasourceBind=new se((p=n)===null||p===void 0?void 0:p.datasourceBind);var x;o.interreaction=(x=(_=n)===null||_===void 0?void 0:_.interreaction)!==null&&x!==void 0?x:[];var k;o.caption=(k=(h=n)===null||h===void 0?void 0:h.caption)!==null&&k!==void 0?k:xu.controlName;var N;o.defaultValue=(N=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&N!==void 0?N:[];var D;o.optionsFormat=(D=(b=n)===null||b===void 0?void 0:b.optionsFormat)!==null&&D!==void 0?D:"horizontal";var z;o.defaultShowOptions=(z=(y=n)===null||y===void 0?void 0:y.defaultShowOptions)!==null&&z!==void 0?z:!0;var Y;if(o.openMultistageFilling=(Y=(g=n)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&Y!==void 0?Y:!1,o.multistageFilling=[],Array.isArray((O=n)===null||O===void 0?void 0:O.multistageFilling)){var ee;(ee=n)===null||ee===void 0||ee.multistageFilling.map(function(ne){var oe;(oe=o.multistageFilling)===null||oe===void 0||oe.push(new je(ne))})}return o}return r}(C);me(Iu,"Rules",qL),me(Iu,"RuntimeRules",UL);function hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KL(e,t,r){return t&&bw(e.prototype,t),r&&bw(e,r),e}function Bu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(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&&ey(e,t)}function XL(e,t){return t&&(JL(t)==="object"||typeof t=="function")?t:hw(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function JL(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 ZL(e){var t=QL();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 XL(this,o)}}var xu=function(e){GL(r,e);var t=ZL(r);function r(n){WL(this,r);var o,i;return o=t.call(this,n),Bu(hw(o),"props",void 0),o.props=new Iu((i=n)===null||i===void 0?void 0:i.props),o}return KL(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(H);Bu(xu,"controlEventKeys",["on_change","on_click"]),Bu(xu,"controlFieldType",S.ARRAY),Bu(xu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.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 gw(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 mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e5(e,t,r){return t&&mw(e.prototype,t),r&&mw(e,r),e}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 ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function t5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function r5(e,t){return t&&(n5(t)==="object"||typeof t=="function")?t:gw(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}function n5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i5(e){var t=o5();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r5(this,o)}}var u5=function(e){t5(r,e);var t=i5(r);function r(n){YL(this,r);var o,i;return o=t.call(this,n),Ow(gw(o),"props",void 0),o.props=new Iu((i=n)===null||i===void 0?void 0:i.props),o}return e5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(q);Ow(u5,"controlFieldType",S.ARRAY);function Xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ww(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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&&ry(e,t)}function c5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:Xe(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}function l5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pw(e){var t=a5();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 c5(this,o)}}var f5=function(e){$w(r,e);var t=Pw(r);function r(n){return ww(this,r),t.call(this,n)}return r}(Jr),ny=function(e){$w(r,e);var t=Pw(r);function r(n){ww(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),Je(Xe(o),"radioMode",void 0),Je(Xe(o),"options",void 0),Je(Xe(o),"optionConfig",void 0),Je(Xe(o),"optionsFormat",void 0),Je(Xe(o),"defaultShowOptions",void 0),Je(Xe(o),"otherOption",void 0),Je(Xe(o),"optionsOrder",void 0),Je(Xe(o),"datasourceBind",void 0),Je(Xe(o),"multistageFilling",void 0),Je(Xe(o),"interreaction",void 0),Je(Xe(o),"defaultValue",void 0),Je(Xe(o),"openMultistageFilling",void 0);var g;o.options=Nt((g=(i=n)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{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 O;o.radioMode=(O=(u=n)===null||u===void 0?void 0:u.radioMode)!==null&&O!==void 0?O:"horizontal";var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"custom";var P;o.otherOption=(P=(l=n)===null||l===void 0?void 0:l.otherOption)!==null&&P!==void 0?P:!1;var E;o.optionsOrder=(E=(a=n)===null||a===void 0?void 0:a.optionsOrder)!==null&&E!==void 0?E:!1;var T;o.defaultShowOptions=(T=(f=n)===null||f===void 0?void 0:f.defaultShowOptions)!==null&&T!==void 0?T:!0;var B;o.optionsFormat=(B=(s=n)===null||s===void 0?void 0:s.optionsFormat)!==null&&B!==void 0?B:"horizontal",o.datasourceBind=new se((p=n)===null||p===void 0?void 0:p.datasourceBind);var I;o.interreaction=(I=(_=n)===null||_===void 0?void 0:_.interreaction)!==null&&I!==void 0?I:[];var A;o.caption=(A=(h=n)===null||h===void 0?void 0:h.caption)!==null&&A!==void 0?A:ju.controlName;var x;o.defaultValue=(x=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&x!==void 0?x:"";var k;if(o.openMultistageFilling=(k=(b=n)===null||b===void 0?void 0:b.openMultistageFilling)!==null&&k!==void 0?k:!1,o.multistageFilling=[],Array.isArray((y=n)===null||y===void 0?void 0:y.multistageFilling)){var N;(N=n)===null||N===void 0||N.multistageFilling.map(function(D){var z;(z=o.multistageFilling)===null||z===void 0||z.push(new je(D))})}return o}return r}(C);Je(ny,"Rules",f5);function Rw(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 Sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p5(e,t,r){return t&&Sw(e.prototype,t),r&&Sw(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 Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function _5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function y5(e,t){return t&&(d5(t)==="object"||typeof t=="function")?t:Rw(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(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 y5(this,o)}}var ju=function(e){_5(r,e);var t=h5(r);function r(n){s5(this,r);var o,i;return o=t.call(this,n),Nu(Rw(o),"props",void 0),o.props=new ny((i=n)===null||i===void 0?void 0:i.props),o}return p5(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(H);Nu(ju,"controlEventKeys",["on_change","on_click"]),Nu(ju,"controlFieldType",S.VARCHAR),Nu(ju,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function Ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b5(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 g5(e,t,r){return t&&Tw(e.prototype,t),r&&Tw(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 Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function m5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function O5(e,t){return t&&(w5(t)==="object"||typeof t=="function")?t:Ew(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}function w5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P5(e){var t=$5();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O5(this,o)}}var R5=function(e){m5(r,e);var t=P5(r);function r(n){b5(this,r);var o,i;return o=t.call(this,n),Iw(Ew(o),"props",void 0),o.props=new ny((i=n)===null||i===void 0?void 0:i.props),o}return g5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(q);Iw(R5,"controlFieldType",S.VARCHAR);function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function cy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function S5(e,t){return t&&(E5(t)==="object"||typeof t=="function")?t:Ne(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}function E5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ay(e){var t=T5();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 S5(this,o)}}var I5=function(e){cy(r,e);var t=ay(r);function r(n){uy(this,r);var o;o=t.call(this,n),Ee(Ne(o),"defaultValue",[{type:"number",min:0,max:200,message:$.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Ee(Ne(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=gi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Pe),B5=function(e){cy(r,e);var t=ay(r);function r(n){uy(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:$.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:gi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(J),Vu=function(e){cy(r,e);var t=ay(r);function r(n){uy(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g;o=t.call(this,n),Ee(Ne(o),"rangeMin",void 0),Ee(Ne(o),"rangeMax",void 0),Ee(Ne(o),"numberType",void 0),Ee(Ne(o),"percentageFormat",void 0),Ee(Ne(o),"micrometer",void 0),Ee(Ne(o),"precision",void 0),Ee(Ne(o),"showUpperCase",void 0),Ee(Ne(o),"isShowUnit",void 0),Ee(Ne(o),"unitPosition",void 0),Ee(Ne(o),"unit",void 0),Ee(Ne(o),"defaultValue",void 0),Ee(Ne(o),"regularRules",void 0);var O;o.rangeMin=(O=(i=n)===null||i===void 0?void 0:i.rangeMin)!==null&&O!==void 0?O:"";var w;o.rangeMax=(w=(u=n)===null||u===void 0?void 0:u.rangeMax)!==null&&w!==void 0?w:"";var P;o.numberType=(P=(c=n)===null||c===void 0?void 0:c.numberType)!==null&&P!==void 0?P:"number";var E;o.percentageFormat=(E=(l=n)===null||l===void 0?void 0:l.percentageFormat)!==null&&E!==void 0?E:!1;var T;o.micrometer=(T=(a=n)===null||a===void 0?void 0:a.micrometer)!==null&&T!==void 0?T:!1;var B;o.precision=(B=(f=n)===null||f===void 0?void 0:f.precision)!==null&&B!==void 0?B:0;var I;o.showUpperCase=(I=(s=n)===null||s===void 0?void 0:s.showUpperCase)!==null&&I!==void 0?I:!1;var A;o.isShowUnit=(A=(p=n)===null||p===void 0?void 0:p.isShowUnit)!==null&&A!==void 0?A:!1;var x;o.unitPosition=(x=(_=n)===null||_===void 0?void 0:_.unitPosition)!==null&&x!==void 0?x:"right";var k;o.unit=(k=(h=n)===null||h===void 0?void 0:h.unit)!==null&&k!==void 0?k:"";var N;o.caption=(N=(d=n)===null||d===void 0?void 0:d.caption)!==null&&N!==void 0?N:Hu.controlName;var D;o.placeholder=(D=(b=n)===null||b===void 0?void 0:b.placeholder)!==null&&D!==void 0?D:"\u8BF7\u8F93\u5165";var z;return o.defaultValue=(z=(y=n)===null||y===void 0?void 0:y.defaultValue)!==null&&z!==void 0?z:"",o.regularRules=new Bg((g=n)===null||g===void 0?void 0:g.regularRules),o}return r}(C);Ee(Vu,"Rules",I5),Ee(Vu,"RuntimeRules",B5);function Bw(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 Aw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x5(e,t,r){return t&&Aw(e.prototype,t),r&&Aw(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 zu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zu=Reflect.get:zu=function(o,i,u){var c=N5(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},zu(e,t,r||e)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rn(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&&fy(e,t)}function D5(e,t){return t&&(F5(t)==="object"||typeof t=="function")?t:Bw(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function N5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function F5(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 M5(e){var t=j5();return function(){var n=rn(e),o;if(t){var i=rn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D5(this,o)}}var Hu=function(e){k5(r,e);var t=M5(r);function r(n){A5(this,r);var o,i;return o=t.call(this,n),Cu(Bw(o),"props",void 0),o.props=new Vu((i=n)===null||i===void 0?void 0:i.props),o}return x5(r,[{key:"toDataBindModel",value:function(o){var i=zu(rn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(H);Cu(Hu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Cu(Hu,"controlFieldType",S.DECIMAL),Cu(Hu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_UNIT,v.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:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L5(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 V5(e,t,r){return t&&kw(e.prototype,t),r&&kw(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function C5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function z5(e,t){return t&&(H5(t)==="object"||typeof t=="function")?t:xw(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}function H5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U5(e){var t=q5();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 z5(this,o)}}var W5=function(e){C5(r,e);var t=U5(r);function r(n){L5(this,r);var o,i;return o=t.call(this,n),Dw(xw(o),"props",void 0),o.props=new Vu((i=n)===null||i===void 0?void 0:i.props),o}return V5(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(q);Dw(W5,"controlFieldType",S.DECIMAL);function Ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K5(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 Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(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&&py(e,t)}function X5(e,t){return t&&(J5(t)==="object"||typeof t=="function")?t:Ht(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}function J5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z5(e){var t=Q5();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 X5(this,o)}}var Nw=function(e){G5(r,e);var t=Z5(r);function r(n){K5(this,r);var o,i,u,c,l,a,f,s,p,_,h,d;o=t.call(this,n),_r(Ht(o),"dateType",void 0),_r(Ht(o),"dateFormat",void 0),_r(Ht(o),"commonTimeSetting",void 0),_r(Ht(o),"setValueType",void 0),_r(Ht(o),"defaultValue",void 0),_r(Ht(o),"limitDateList",void 0),_r(Ht(o),"allowDateRange",void 0),_r(Ht(o),"filterWeekend",void 0);var b;o.dateType=(b=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&b!==void 0?b:Zt.DATE;var y;o.dateFormat=(y=(u=n)===null||u===void 0?void 0:u.dateFormat)!==null&&y!==void 0?y:"";var g;o.commonTimeSetting=(g=(c=n)===null||c===void 0?void 0:c.commonTimeSetting)!==null&&g!==void 0?g:[];var O;o.setValueType=(O=(l=n)===null||l===void 0?void 0:l.setValueType)!==null&&O!==void 0?O:"custom";var w;o.caption=(w=(a=n)===null||a===void 0?void 0:a.caption)!==null&&w!==void 0?w:dy.controlName;var P;o.placeholder=(P=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&P!==void 0?P:"\u8BF7\u8F93\u5165\u65E5\u671F";var E;o.defaultValue=(E=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&E!==void 0?E:"";var T;o.limitDateList=(T=(_=n)===null||_===void 0||(p=_.limitDateList)===null||p===void 0?void 0:p.map(function(A){return new Tp(A)}))!==null&&T!==void 0?T:[];var B;o.allowDateRange=(B=(h=n)===null||h===void 0?void 0:h.allowDateRange)!==null&&B!==void 0?B:["",""];var I;return o.filterWeekend=(I=(d=n)===null||d===void 0?void 0:d.filterWeekend)!==null&&I!==void 0?I:!1,o}return r}(C);function Fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 e6(e,t,r){return t&&jw(e.prototype,t),r&&jw(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 Wu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Wu=Reflect.get:Wu=function(o,i,u){var c=n6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Wu(e,t,r||e)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nn(e)}function t6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yy(e,t)}function r6(e,t){return t&&(o6(t)==="object"||typeof t=="function")?t:Fw(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yy(e,t)}function n6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nn(e),e!==null););return e}function o6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u6(e){var t=i6();return function(){var n=nn(e),o;if(t){var i=nn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r6(this,o)}}var dy=function(e){t6(r,e);var t=u6(r);function r(n){Y5(this,r);var o,i;return o=t.call(this,n),_y(Fw(o),"props",void 0),o.props=new Nw((i=n)===null||i===void 0?void 0:i.props),o}return e6(r,[{key:"toDataBindModel",value:function(o){var i=Wu(nn(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}(H);_y(dy,"controlFieldType",S.TIMESTAMP),_y(dy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Mw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c6(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 l6(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(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 Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function a6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function f6(e,t){return t&&(s6(t)==="object"||typeof t=="function")?t:Mw(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}function s6(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 _6(e){var t=p6();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 f6(this,o)}}var y6=function(e){a6(r,e);var t=_6(r);function r(n){c6(this,r);var o,i;return o=t.call(this,n),Vw(Mw(o),"props",void 0),o.props=new Nw((i=n)===null||i===void 0?void 0:i.props),o}return l6(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(q);Vw(y6,"controlFieldType",S.TIMESTAMP);function rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function zw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function d6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:rt(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(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 Hw(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 b6=function(e){zw(r,e);var t=Hw(r);function r(n){Cw(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(J),by=function(e){zw(r,e);var t=Hw(r);function r(n){Cw(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),nt(rt(o),"dataBind",void 0),nt(rt(o),"rangeMin",void 0),nt(rt(o),"rangeMax",void 0),nt(rt(o),"placeholderStart",void 0),nt(rt(o),"placeholderEnd",void 0),nt(rt(o),"dateFormat",void 0),nt(rt(o),"commonTimeSetting",void 0),nt(rt(o),"dateType",void 0),nt(rt(o),"setValueType",void 0),nt(rt(o),"defaultValue",void 0),nt(rt(o),"limitDateList",void 0),o.dataBind=new K2((i=n)===null||i===void 0?void 0:i.dataBind),o.defaultValue=new G2((u=n)===null||u===void 0?void 0:u.defaultValue);var g;o.dateType=(g=(c=n)===null||c===void 0?void 0:c.dateType)!==null&&g!==void 0?g:Zt.DATE;var O;o.dateFormat=(O=(l=n)===null||l===void 0?void 0:l.dateFormat)!==null&&O!==void 0?O:"";var w;o.commonTimeSetting=(w=(a=n)===null||a===void 0?void 0:a.commonTimeSetting)!==null&&w!==void 0?w:[];var P;o.setValueType=(P=(f=n)===null||f===void 0?void 0:f.setValueType)!==null&&P!==void 0?P:"custom";var E;o.rangeMin=(E=(s=n)===null||s===void 0?void 0:s.rangeMin)!==null&&E!==void 0?E:"";var T;o.rangeMax=(T=(p=n)===null||p===void 0?void 0:p.rangeMax)!==null&&T!==void 0?T:"";var B;o.placeholderStart=(B=(_=n)===null||_===void 0?void 0:_.placeholderStart)!==null&&B!==void 0?B:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var I;o.placeholderEnd=(I=(h=n)===null||h===void 0?void 0:h.placeholderEnd)!==null&&I!==void 0?I:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var A;o.caption=(A=(d=n)===null||d===void 0?void 0:d.caption)!==null&&A!==void 0?A:Oy.controlName;var x;return o.limitDateList=(x=(y=n)===null||y===void 0||(b=y.limitDateList)===null||b===void 0?void 0:b.map(function(k){return new Tp(k)}))!==null&&x!==void 0?x:[],o}return r}(C);nt(by,"RuntimeRules",b6);function qw(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 Uw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m6(e,t,r){return t&&Uw(e.prototype,t),r&&Uw(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 Xu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xu=Reflect.get:Xu=function(o,i,u){var c=$6(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Xu(e,t,r||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},on(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&&my(e,t)}function w6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:qw(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}function $6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function P6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S6(e){var t=R6();return function(){var n=on(e),o;if(t){var i=on(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w6(this,o)}}var Oy=function(e){O6(r,e);var t=S6(r);function r(n){g6(this,r);var o,i;return o=t.call(this,n),gy(qw(o),"props",void 0),o.props=new by((i=n)===null||i===void 0?void 0:i.props),o}return m6(r,[{key:"toDataBindModel",value:function(o){var i=Xu(on(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}(H);gy(Oy,"controlFieldType",S.TIMESCOPE),gy(Oy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",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 E6(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 T6(e,t,r){return t&&Kw(e.prototype,t),r&&Kw(e,r),e}function Gw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function I6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function B6(e,t){return t&&(A6(t)==="object"||typeof t=="function")?t:Ww(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function A6(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 k6(e){var t=x6();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 B6(this,o)}}var D6=function(e){I6(r,e);var t=k6(r);function r(n){E6(this,r);var o,i;return o=t.call(this,n),Gw(Ww(o),"props",void 0),o.props=new by((i=n)===null||i===void 0?void 0:i.props),o}return T6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(q);Gw(D6,"controlFieldType",S.TIMESCOPE);function yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function Py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function N6(e,t){return t&&(F6(t)==="object"||typeof t=="function")?t:yr(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function F6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sy(e){var t=j6();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 N6(this,o)}}var M6=function(e){Py(r,e);var t=Sy(r);function r(n){$y(this,r);var o;return o=t.call(this,n),qt(yr(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),qt(yr(o),"minLength",{type:"number",max:1e6,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),qt(yr(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}(Pe),L6=function(e){Py(r,e);var t=Sy(r);function r(n){$y(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(J),Zu=function(e){Py(r,e);var t=Sy(r);function r(n){$y(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),qt(yr(o),"maxLength",void 0),qt(yr(o),"minLength",void 0),qt(yr(o),"defaultValue",void 0),qt(yr(o),"lineEllipsis",void 0);var s;o.maxLength=(s=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&s!==void 0?s:5e4;var p;o.minLength=(p=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&p!==void 0?p:0;var _;o.defaultValue=(_=(c=n)===null||c===void 0?void 0:c.defaultValue)!==null&&_!==void 0?_:"";var h;o.caption=(h=(l=n)===null||l===void 0?void 0:l.caption)!==null&&h!==void 0?h:tc.controlName;var d;o.placeholder=(d=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var b;return o.lineEllipsis=(b=(f=n)===null||f===void 0?void 0:f.lineEllipsis)!==null&&b!==void 0?b:4,o}return r}(C);qt(Zu,"Rules",M6),qt(Zu,"RuntimeRules",L6);function Xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 C6(e,t,r){return t&&Jw(e.prototype,t),r&&Jw(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){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function z6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function H6(e,t){return t&&(q6(t)==="object"||typeof t=="function")?t:Xw(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function q6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W6(e){var t=U6();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H6(this,o)}}var tc=function(e){z6(r,e);var t=W6(r);function r(n){V6(this,r);var o,i;return o=t.call(this,n),Yu(Xw(o),"props",void 0),o.props=new Zu((i=n)===null||i===void 0?void 0:i.props),o}return C6(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}(H);Yu(tc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Yu(tc,"controlFieldType",S.TEXT),Yu(tc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.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 Qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K6(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 G6(e,t,r){return t&&Zw(e.prototype,t),r&&Zw(e,r),e}function Yw(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 X6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function J6(e,t){return t&&(Q6(t)==="object"||typeof t=="function")?t:Qw(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}function Q6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y6(e){var t=Z6();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 J6(this,o)}}var e4=function(e){X6(r,e);var t=Y6(r);function r(n){K6(this,r);var o,i;return o=t.call(this,n),Yw(Qw(o),"props",void 0),o.props=new Zu((i=n)===null||i===void 0?void 0:i.props),o}return G6(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(q);Yw(e4,"controlFieldType",S.TEXT);function Ir(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function By(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}function t4(e,t){return t&&(r4(t)==="object"||typeof t=="function")?t:Ir(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}function r4(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 xy(e){var t=n4();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 t4(this,o)}}var o4=function(e){By(r,e);var t=xy(r);function r(n){Iy(this,r);var o;return o=t.call(this,n),dr(Ir(o),"maxLength",{type:"number",min:0,message:$.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),dr(Ir(o),"minLength",{type:"number",max:1e6,message:$.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),dr(Ir(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}(Pe),i4=function(e){By(r,e);var t=xy(r);function r(n){Iy(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:$.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(J),oc=function(e){By(r,e);var t=xy(r);function r(n){Iy(this,r);var o,i,u,c,l,a;o=t.call(this,n),dr(Ir(o),"maxLength",void 0),dr(Ir(o),"minLength",void 0),dr(Ir(o),"defaultValue",void 0);var f;o.maxLength=(f=(i=n)===null||i===void 0?void 0:i.maxLength)!==null&&f!==void 0?f:5e4;var s;o.minLength=(s=(u=n)===null||u===void 0?void 0:u.minLength)!==null&&s!==void 0?s:0;var p;o.defaultValue=(p=(c=n)===null||c===void 0?void 0:c.defaultValue)!==null&&p!==void 0?p:"";var _;o.caption=(_=(l=n)===null||l===void 0?void 0:l.caption)!==null&&_!==void 0?_:cc.controlName;var h;return o.placeholder=(h=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165",o}return r}(C);dr(oc,"Rules",o4),dr(oc,"RuntimeRules",i4);function e$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 c4(e,t,r){return t&&t$(e.prototype,t),r&&t$(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){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function l4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a4(e,t){return t&&(f4(t)==="object"||typeof t=="function")?t:e$(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function f4(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 p4(e){var t=s4();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 a4(this,o)}}var cc=function(e){l4(r,e);var t=p4(r);function r(n){u4(this,r);var o,i;return o=t.call(this,n),ic(e$(o),"props",void 0),o.props=new oc((i=n)===null||i===void 0?void 0:i.props),o}return c4(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}(H);ic(cc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ic(cc,"controlFieldType",S.TEXT),ic(cc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.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 r$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 y4(e,t,r){return t&&n$(e.prototype,t),r&&n$(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 lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(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&&Dy(e,t)}function v4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:r$(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g4(e){var t=b4();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 v4(this,o)}}var m4=function(e){d4(r,e);var t=g4(r);function r(n){_4(this,r);var o,i;return o=t.call(this,n),o$(r$(o),"props",void 0),o.props=new oc((i=n)===null||i===void 0?void 0:i.props),o}return y4(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(q);o$(m4,"controlFieldType",S.TEXT);function ot(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 it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(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&&Ny(e,t)}function O4(e,t){return t&&(w4(t)==="object"||typeof t=="function")?t:ot(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function w4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c$(e){var t=$4();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 O4(this,o)}}var P4=function(e){u$(r,e);var t=c$(r);function r(n){return i$(this,r),t.call(this,n)}return r}(Jr),Fy=function(e){u$(r,e);var t=c$(r);function r(n){i$(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),it(ot(o),"options",void 0),it(ot(o),"defaultShowOptions",void 0),it(ot(o),"optionConfig",void 0),it(ot(o),"defaultValue",void 0),it(ot(o),"datasourceBind",void 0),it(ot(o),"multistageFilling",void 0),it(ot(o),"allowCopyOptions",void 0),it(ot(o),"openMultistageFilling",void 0),it(ot(o),"viewFormModelType",void 0),it(ot(o),"canViewForm",void 0),it(ot(o),"formBind",void 0);var g;o.options=Nt((g=(i=n)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{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 O;o.defaultShowOptions=(O=(u=n)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&O!==void 0?O:!0;var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"custom",o.datasourceBind=new se((l=n)===null||l===void 0?void 0:l.datasourceBind);var P;o.caption=(P=(a=n)===null||a===void 0?void 0:a.caption)!==null&&P!==void 0?P:Ly.controlName;var E;o.placeholder=(E=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&E!==void 0?E:"\u8BF7\u9009\u62E9";var T;o.defaultValue=(T=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&T!==void 0?T:"";var B;o.allowCopyOptions=(B=(p=n)===null||p===void 0?void 0:p.allowCopyOptions)!==null&&B!==void 0?B:!1;var I;if(o.openMultistageFilling=(I=(_=n)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&I!==void 0?I:!1,o.multistageFilling=[],Array.isArray((h=n)===null||h===void 0?void 0:h.multistageFilling)){var A;(A=n)===null||A===void 0||A.multistageFilling.map(function(N){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new je(N))})}var x;o.canViewForm=(x=(d=n)===null||d===void 0?void 0:d.canViewForm)!==null&&x!==void 0?x:!1;var k;return o.viewFormModelType=(k=(b=n)===null||b===void 0?void 0:b.viewFormModelType)!==null&&k!==void 0?k:"window",o.formBind=new Gr((y=n)===null||y===void 0?void 0:y.formBind),o}return r}(C);it(Fy,"Rules",P4);function l$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 S4(e,t,r){return t&&a$(e.prototype,t),r&&a$(e,r),e}function jy(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 E4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T4(e,t){return t&&(I4(t)==="object"||typeof t=="function")?t:l$(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}function I4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A4(e){var t=B4();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T4(this,o)}}var Ly=function(e){E4(r,e);var t=A4(r);function r(n){R4(this,r);var o,i;return o=t.call(this,n),jy(l$(o),"props",void 0),o.props=new Fy((i=n)===null||i===void 0?void 0:i.props),o}return S4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(H);jy(Ly,"controlFieldType",S.VARCHAR),jy(Ly,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.DEFAULT_SHOW_OPTIONS,v.IS_SHOW_CAPTION_TIP,v.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[v.CAN_VIEW_FORM,v.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function f$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k4(e,t,r){return t&&s$(e.prototype,t),r&&s$(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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(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&&Vy(e,t)}function N4(e,t){return t&&(F4(t)==="object"||typeof t=="function")?t:f$(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}function F4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M4(e){var t=j4();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 N4(this,o)}}var L4=function(e){D4(r,e);var t=M4(r);function r(n){x4(this,r);var o,i;return o=t.call(this,n),p$(f$(o),"props",void 0),o.props=new Fy((i=n)===null||i===void 0?void 0:i.props),o}return k4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(q);p$(L4,"controlFieldType",S.VARCHAR);function pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function zy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function V4(e,t){return t&&(C4(t)==="object"||typeof t=="function")?t:pt(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}function C4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qy(e){var t=z4();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 V4(this,o)}}var H4=function(e){zy(r,e);var t=qy(r);function r(n){return Cy(this,r),t.call(this,n)}return r}(Jr),q4=function(e){zy(r,e);var t=qy(r);function r(n){Cy(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),_c=function(e){zy(r,e);var t=qy(r);function r(n){Cy(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),ut(pt(o),"options",void 0),ut(pt(o),"defaultShowOptions",void 0),ut(pt(o),"optionConfig",void 0),ut(pt(o),"defaultValue",void 0),ut(pt(o),"datasourceBind",void 0),ut(pt(o),"multistageFilling",void 0),ut(pt(o),"openMultistageFilling",void 0),ut(pt(o),"viewFormModelType",void 0),ut(pt(o),"canViewForm",void 0),ut(pt(o),"formBind",void 0);var y;o.options=Nt((y=(i=n)===null||i===void 0?void 0:i.options)!==null&&y!==void 0?y:[{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 g;o.defaultShowOptions=(g=(u=n)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&g!==void 0?g:!0;var O;o.optionConfig=(O=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&O!==void 0?O:"custom",o.datasourceBind=new se((l=n)===null||l===void 0?void 0:l.datasourceBind);var w;o.caption=(w=(a=n)===null||a===void 0?void 0:a.caption)!==null&&w!==void 0?w:Ky.controlName;var P;o.placeholder=(P=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&P!==void 0?P:"\u8BF7\u9009\u62E9";var E;o.defaultValue=(E=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&E!==void 0?E:[];var T;if(o.openMultistageFilling=(T=(p=n)===null||p===void 0?void 0:p.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray((_=n)===null||_===void 0?void 0:_.multistageFilling)){var B;(B=n)===null||B===void 0||B.multistageFilling.map(function(x){var k;(k=o.multistageFilling)===null||k===void 0||k.push(new je(x))})}var I;o.canViewForm=(I=(h=n)===null||h===void 0?void 0:h.canViewForm)!==null&&I!==void 0?I:!1;var A;return o.viewFormModelType=(A=(d=n)===null||d===void 0?void 0:d.viewFormModelType)!==null&&A!==void 0?A:"window",o.formBind=new Gr((b=n)===null||b===void 0?void 0:b.formBind),o}return r}(C);ut(_c,"Rules",H4),ut(_c,"RuntimeRules",q4);function _$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W4(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function Uy(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 K4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function G4(e,t){return t&&(X4(t)==="object"||typeof t=="function")?t:_$(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function X4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q4(e){var t=J4();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 G4(this,o)}}var Ky=function(e){K4(r,e);var t=Q4(r);function r(n){U4(this,r);var o,i;return o=t.call(this,n),Uy(_$(o),"props",void 0),o.props=new _c((i=n)===null||i===void 0?void 0:i.props),o}return W4(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}(H);Uy(Ky,"controlFieldType",S.ARRAY),Uy(Ky,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.DEFAULT_SHOW_OPTIONS,v.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[v.CAN_VIEW_FORM,v.VIEW_FORM_MODEL_TYPE]},{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 Z4(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 Y4(e,t,r){return t&&v$(e.prototype,t),r&&v$(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 dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function e7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t7(e,t){return t&&(r7(t)==="object"||typeof t=="function")?t:d$(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}function r7(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 o7(e){var t=n7();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 t7(this,o)}}var i7=function(e){e7(r,e);var t=o7(r);function r(n){Z4(this,r);var o,i;return o=t.call(this,n),h$(d$(o),"props",void 0),o.props=new _c((i=n)===null||i===void 0?void 0:i.props),o}return Y4(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(q);h$(i7,"controlFieldType",S.ARRAY);function Ut(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 Wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(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&&Xy(e,t)}function u7(e,t){return t&&(c7(t)==="object"||typeof t=="function")?t:Ut(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}function c7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m$(e){var t=l7();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 u7(this,o)}}var a7=function(e){g$(r,e);var t=m$(r);function r(n){b$(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Jy=function(e){g$(r,e);var t=m$(r);function r(n){b$(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),Wt(Ut(o),"showType",void 0),Wt(Ut(o),"range",void 0),Wt(Ut(o),"rangeOptions",void 0),Wt(Ut(o),"multiple",void 0),Wt(Ut(o),"defaultValueType",void 0),Wt(Ut(o),"defaultValue",void 0),Wt(Ut(o),"multistageFilling",void 0),Wt(Ut(o),"openMultistageFilling",void 0);var d;o.showType=(d=(i=n)===null||i===void 0?void 0:i.showType)!==null&&d!==void 0?d:"default";var b;o.range=(b=(u=n)===null||u===void 0?void 0:u.range)!==null&&b!==void 0?b:"all";var y;o.rangeOptions=(y=(c=n)===null||c===void 0?void 0:c.rangeOptions)!==null&&y!==void 0?y:[];var g;o.multiple=(g=(l=n)===null||l===void 0?void 0:l.multiple)!==null&&g!==void 0?g:!1;var O;o.defaultValueType=(O=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&O!==void 0?O:"none";var w;o.defaultValue=(w=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&w!==void 0?w:[];var P;o.caption=(P=(s=n)===null||s===void 0?void 0:s.caption)!==null&&P!==void 0?P:Yy.controlName;var E;o.placeholder=(E=(p=n)===null||p===void 0?void 0:p.placeholder)!==null&&E!==void 0?E:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var T;if(o.openMultistageFilling=(T=(_=n)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray((h=n)===null||h===void 0?void 0:h.multistageFilling)){var B;(B=n)===null||B===void 0||B.multistageFilling.map(function(I){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new je(I))})}return o}return r}(C);Wt(Jy,"RuntimeRules",a7);function O$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 s7(e,t,r){return t&&w$(e.prototype,t),r&&w$(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 hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(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&&Zy(e,t)}function _7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:O$(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function y7(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=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _7(this,o)}}var Yy=function(e){p7(r,e);var t=v7(r);function r(n){f7(this,r);var o,i;return o=t.call(this,n),Qy(O$(o),"props",void 0),o.props=new Jy((i=n)===null||i===void 0?void 0:i.props),o}return s7(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(H);Qy(Yy,"controlFieldType",S.EMPLOYEES),Qy(Yy,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.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 $$(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 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 b7(e,t,r){return t&&P$(e.prototype,t),r&&P$(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 bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function g7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function m7(e,t){return t&&(O7(t)==="object"||typeof t=="function")?t:$$(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function O7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $7(e){var t=w7();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 m7(this,o)}}var P7=function(e){g7(r,e);var t=$7(r);function r(n){h7(this,r);var o,i;return o=t.call(this,n),R$($$(o),"props",void 0),o.props=new Jy((i=n)===null||i===void 0?void 0:i.props),o}return b7(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(q);R$(P7,"controlFieldType",S.EMPLOYEES);function Kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(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&&nd(e,t)}function R7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:Kt(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function S7(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 od(e){var t=E7();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 R7(this,o)}}var T7=10485760,I7=104857600,B7=1048576e3,A7=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),Tt(Kt(o),"maxSize",{type:"number",min:0,max:B7,message:$.getMessage("attachmentMaxSize")}),o}return r}(Pe),x7=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:$.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(J),mc=function(e){rd(r,e);var t=od(r);function r(n){td(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Tt(Kt(o),"defaultValue",void 0),Tt(Kt(o),"showType",void 0),Tt(Kt(o),"resultShowType",void 0),Tt(Kt(o),"attachmentAccept",void 0),Tt(Kt(o),"maxLimit",void 0),Tt(Kt(o),"minLimit",void 0),Tt(Kt(o),"maxSize",void 0);var h;o.defaultValue=(h=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&h!==void 0?h:[];var d;o.showType=(d=(u=n)===null||u===void 0?void 0:u.showType)!==null&&d!==void 0?d:"default";var b;o.resultShowType=(b=(c=n)===null||c===void 0?void 0:c.resultShowType)!==null&&b!==void 0?b:"simple";var y;o.attachmentAccept=(y=(l=n)===null||l===void 0?void 0:l.attachmentAccept)!==null&&y!==void 0?y:[];var g;o.maxLimit=(g=(a=n)===null||a===void 0?void 0:a.maxLimit)!==null&&g!==void 0?g:10;var O;o.minLimit=(O=(f=n)===null||f===void 0?void 0:f.minLimit)!==null&&O!==void 0?O:0;var w;o.maxSize=(w=(s=n)===null||s===void 0?void 0:s.maxSize)!==null&&w!==void 0?w:I7;var P;o.caption=(P=(p=n)===null||p===void 0?void 0:p.caption)!==null&&P!==void 0?P:wo.controlName;var E;return o.placeholder=(E=(_=n)===null||_===void 0?void 0:_.placeholder)!==null&&E!==void 0?E:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(C);Tt(mc,"Rules",A7),Tt(mc,"RuntimeRules",x7);function S$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 D7(e,t,r){return t&&E$(e.prototype,t),r&&E$(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 N7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function F7(e,t){return t&&(j7(t)==="object"||typeof t=="function")?t:S$(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function j7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L7(e){var t=M7();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 F7(this,o)}}var wo=function(e){N7(r,e);var t=L7(r);function r(n){k7(this,r);var o,i;return o=t.call(this,n),Oc(S$(o),"props",void 0),o.props=new mc((i=n)===null||i===void 0?void 0:i.props),o}return D7(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(H);Oc(wo,"controlEventKeys",["on_change"]),Oc(wo,"controlFieldType",S.FILE),Oc(wo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.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 T$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C7(e,t,r){return t&&I$(e.prototype,t),r&&I$(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 $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function H7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:T$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function q7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W7(e){var t=U7();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 H7(this,o)}}var K7=function(e){z7(r,e);var t=W7(r);function r(n){V7(this,r);var o,i;return o=t.call(this,n),B$(T$(o),"props",void 0),o.props=new mc((i=n)===null||i===void 0?void 0:i.props),o}return C7(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(q);B$(K7,"controlFieldType",S.FILE);function G7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 J7(e,t,r){return t&&A$(e.prototype,t),r&&A$(e,r),e}function x$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(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&&cd(e,t)}function Z7(e,t){return t&&(Y7(t)==="object"||typeof t=="function")?t:G7(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function Y7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t8(e){var t=e8();return function(){var n=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z7(this,o)}}var k$=function(e){Q7(r,e);var t=t8(r);function r(n){X7(this,r);var o,i,u,c,l;o=t.call(this,n),o.props.showType="image";var a;o.props.caption=(a=(u=n)===null||u===void 0||(i=u.props)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:r.controlName;var f;return o.props.placeholder=(f=(l=n)===null||l===void 0||(c=l.props)===null||c===void 0?void 0:c.placeholder)!==null&&f!==void 0?f:"\u4E0A\u4F20\u56FE\u7247",o}return J7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(wo);x$(k$,"controlFieldType",S.IMAGE),x$(k$,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",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 ld(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 Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function ad(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function r8(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){Te(e,o,r[o])})}return e}function n8(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 o8(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n8(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:He(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function u8(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 sd(e){var t=c8();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 i8(this,o)}}var l8=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o;o=t.call(this,n),Te(He(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:$.getMessage("pleaseEnterNumberRange")}]}}),Te(He(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}(Jr),a8=function(e){ad(r,e);var t=sd(r);function r(n){ld(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:[o8(r8({},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}(J),Sc=function(e){ad(r,e);var t=sd(r);function r(n){ld(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),Te(He(o),"rangeMin",void 0),Te(He(o),"rangeMax",void 0),Te(He(o),"showUpperCase",void 0),Te(He(o),"submitSelectCurrency",void 0),Te(He(o),"micrometer",void 0),Te(He(o),"precision",void 0),Te(He(o),"optionConfig",void 0),Te(He(o),"dataBind",void 0),Te(He(o),"datasourceBind",void 0),Te(He(o),"defaultValue",void 0),Te(He(o),"options",void 0);var g;o.rangeMin=(g=(i=n)===null||i===void 0?void 0:i.rangeMin)!==null&&g!==void 0?g:"";var O;o.rangeMax=(O=(u=n)===null||u===void 0?void 0:u.rangeMax)!==null&&O!==void 0?O:"";var w;o.optionConfig=(w=(c=n)===null||c===void 0?void 0:c.optionConfig)!==null&&w!==void 0?w:"datasource";var P;o.micrometer=(P=(l=n)===null||l===void 0?void 0:l.micrometer)!==null&&P!==void 0?P:!1;var E;o.precision=(E=(a=n)===null||a===void 0?void 0:a.precision)!==null&&E!==void 0?E:2,o.dataBind=new U2((f=n)===null||f===void 0?void 0:f.dataBind);var T;o.datasourceBind=new se((T=(s=n)===null||s===void 0?void 0:s.datasourceBind)!==null&&T!==void 0?T:{displayBoList:[new Ps({value:"name"})]});var B;o.defaultValue=new W2((B=(p=n)===null||p===void 0?void 0:p.defaultValue)!==null&&B!==void 0?B:{amount:"",currency:zo.CNY}),o.options=Nt((_=n)===null||_===void 0?void 0:_.options);var I;o.caption=(I=(h=n)===null||h===void 0?void 0:h.caption)!==null&&I!==void 0?I:Ic.controlName;var A;o.placeholder=(A=(d=n)===null||d===void 0?void 0:d.placeholder)!==null&&A!==void 0?A:"\u8BF7\u8F93\u5165";var x;o.submitSelectCurrency=(x=(b=n)===null||b===void 0?void 0:b.submitSelectCurrency)!==null&&x!==void 0?x:!1;var k;return o.showUpperCase=(k=(y=n)===null||y===void 0?void 0:y.showUpperCase)!==null&&k!==void 0?k:!1,o}return r}(C);Te(Sc,"Rules",l8),Te(Sc,"RuntimeRules",a8);function D$(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 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 s8(e,t,r){return t&&N$(e.prototype,t),r&&N$(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=y8(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Tc(e,t,r||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},un(e)}function p8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function _8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:D$(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}function y8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}function d8(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 h8(e){var t=v8();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 _8(this,o)}}var Ic=function(e){p8(r,e);var t=h8(r);function r(n){f8(this,r);var o,i;return o=t.call(this,n),Ec(D$(o),"props",void 0),o.props=new Sc((i=n)===null||i===void 0?void 0:i.props),o}return s8(r,[{key:"toDataBindModel",value:function(o){var i=Tc(un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(H);Ec(Ic,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ec(Ic,"controlFieldType",S.MONEY),Ec(Ic,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.SUBMIT_SELECT_CURRENCY,v.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function F$(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 j$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g8(e,t,r){return t&&j$(e.prototype,t),r&&j$(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 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&&_d(e,t)}function O8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:F$(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}function w8(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 P8(e){var t=$8();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 R8=function(e){m8(r,e);var t=P8(r);function r(n){b8(this,r);var o,i;return o=t.call(this,n),M$(F$(o),"props",void 0),o.props=new Sc((i=n)===null||i===void 0?void 0:i.props),o}return g8(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(q);M$(R8,"controlFieldType",S.MONEY);function vr(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 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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(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&&vd(e,t)}function S8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:vr(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(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 hd(e){var t=T8();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 S8(this,o)}}var I8=function(e){dd(r,e);var t=hd(r);function r(n){yd(this,r);var o;return o=t.call(this,n),Gt(vr(o),"totalScore",[{type:"number",required:!0,message:$.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:$.getMessage("theTotalScoreMustNotBeLessThan1")}]),Gt(vr(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}(Pe),B8=function(e){dd(r,e);var t=hd(r);function r(n){yd(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}(J),xc=function(e){dd(r,e);var t=hd(r);function r(n){yd(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),Gt(vr(o),"totalScore",void 0),Gt(vr(o),"scoreType",void 0),Gt(vr(o),"isShowExplain",void 0),Gt(vr(o),"explain",void 0),Gt(vr(o),"defaultValue",void 0);var p;o.totalScore=(p=(i=n)===null||i===void 0?void 0:i.totalScore)!==null&&p!==void 0?p:5;var _;o.scoreType=(_=(u=n)===null||u===void 0?void 0:u.scoreType)!==null&&_!==void 0?_:Ip.STAR;var h;o.isShowExplain=(h=(c=n)===null||c===void 0?void 0:c.isShowExplain)!==null&&h!==void 0?h:!0;var d;o.explain=(d=(a=n)===null||a===void 0||(l=a.explain)===null||l===void 0?void 0:l.map(function(g){return new Bp(g)}))!==null&&d!==void 0?d:Array(o.totalScore).fill(void 0).map(function(){return new Bp});var b;o.defaultValue=(b=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&b!==void 0?b:0;var y;return o.caption=(y=(s=n)===null||s===void 0?void 0:s.caption)!==null&&y!==void 0?y:Nc.controlName,o}return r}(C);Gt(xc,"Rules",I8),Gt(xc,"RuntimeRules",B8);function bd(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 A8(e){if(Array.isArray(e))return bd(e)}function L$(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 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 k8(e,t,r){return t&&V$(e.prototype,t),r&&V$(e,r),e}function kc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Dc=Reflect.get:Dc=function(o,i,u){var c=M8(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Dc(e,t,r||e)}function cn(e){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cn(e)}function D8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function N8(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function F8(){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 j8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:L$(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function M8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=cn(e),e!==null););return e}function L8(e){return A8(e)||N8(e)||C8(e)||F8()}function V8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C8(e,t){if(!!e){if(typeof e=="string")return bd(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 bd(e,t)}}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=cn(e),o;if(t){var i=cn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j8(this,o)}}var Nc=function(e){D8(r,e);var t=H8(r);function r(n){x8(this,r);var o,i;return o=t.call(this,n),kc(L$(o),"props",void 0),o.props=new xc((i=n)===null||i===void 0?void 0:i.props),o}return k8(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,l=Array(c).fill(void 0).map(function(){return new Bp});(u=this.props.explain).push.apply(u,L8(l))}}Dc(cn(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}(H);kc(Nc,"controlEventKeys",["on_change","on_click"]),kc(Nc,"controlFieldType",S.DECIMAL),kc(Nc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.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 C$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q8(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 U8(e,t,r){return t&&z$(e.prototype,t),r&&z$(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 Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function W8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function K8(e,t){return t&&(G8(t)==="object"||typeof t=="function")?t:C$(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}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 J8(e){var t=X8();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 K8(this,o)}}var Q8=function(e){W8(r,e);var t=J8(r);function r(n){q8(this,r);var o,i;return o=t.call(this,n),H$(C$(o),"props",void 0),o.props=new xc((i=n)===null||i===void 0?void 0:i.props),o}return U8(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(q);H$(Q8,"controlFieldType",S.DECIMAL);function jc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(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 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&&Od(e,t)}function Z8(e,t){return t&&(Y8(t)==="object"||typeof t=="function")?t:jc(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}function Y8(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 W$(e){var t=e9();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 Z8(this,o)}}var t9=function(e){U$(r,e);var t=W$(r);function r(n){q$(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}(J),wd=function(e){U$(r,e);var t=W$(r);function r(n){q$(this,r);var o,i,u,c,l,a;o=t.call(this,n),Mc(jc(o),"defaultValueType",void 0),Mc(jc(o),"defaultValue",void 0),Mc(jc(o),"addressType",void 0);var f;o.caption=(f=(i=n)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:Rd.controlName;var s;o.defaultValueType=(s=(u=n)===null||u===void 0?void 0:u.defaultValueType)!==null&&s!==void 0?s:"default";var p;o.addressType=(p=(c=n)===null||c===void 0?void 0:c.addressType)!==null&&p!==void 0?p:["province","city","district"];var _;o.defaultValue=new X2((_=(l=n)===null||l===void 0?void 0:l.defaultValue)!==null&&_!==void 0?_:{});var h;return o.placeholder=(h=(a=n)===null||a===void 0?void 0:a.placeholder)!==null&&h!==void 0?h:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(C);Mc(wd,"RuntimeRules",t9);function K$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 n9(e,t,r){return t&&G$(e.prototype,t),r&&G$(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 Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(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&&Pd(e,t)}function i9(e,t){return t&&(u9(t)==="object"||typeof t=="function")?t:K$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}function u9(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=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i9(this,o)}}var Rd=function(e){o9(r,e);var t=l9(r);function r(n){r9(this,r);var o,i;return o=t.call(this,n),$d(K$(o),"props",void 0),o.props=new wd((i=n)===null||i===void 0?void 0:i.props),o}return n9(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(H);$d(Rd,"controlFieldType",S.ADDRESS),$d(Rd,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function X$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f9(e,t,r){return t&&J$(e.prototype,t),r&&J$(e,r),e}function Q$(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 s9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function p9(e,t){return t&&(_9(t)==="object"||typeof t=="function")?t:X$(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function _9(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 d9(e){var t=y9();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 p9(this,o)}}var v9=function(e){s9(r,e);var t=d9(r);function r(n){a9(this,r);var o,i;return o=t.call(this,n),Q$(X$(o),"props",void 0),o.props=new wd((i=n)===null||i===void 0?void 0:i.props),o}return f9(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}(q);Q$(v9,"controlFieldType",S.ADDRESS);function _t(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 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 zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(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&&Ed(e,t)}function h9(e,t){return t&&(b9(t)==="object"||typeof t=="function")?t:_t(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function b9(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 eP(e){var t=g9();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 h9(this,o)}}var m9=function(e){Y$(r,e);var t=eP(r);function r(n){Z$(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Td=function(e){Y$(r,e);var t=eP(r);function r(n){Z$(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),yt(_t(o),"showType",void 0),yt(_t(o),"range",void 0),yt(_t(o),"defaultValueType",void 0),yt(_t(o),"multiple",void 0),yt(_t(o),"rangeOptions",void 0),yt(_t(o),"defaultValue",void 0),yt(_t(o),"displayLevel",void 0),yt(_t(o),"showSubDept",void 0),yt(_t(o),"multistageFilling",void 0),yt(_t(o),"openMultistageFilling",void 0);var y;o.showType=(y=(i=n)===null||i===void 0?void 0:i.showType)!==null&&y!==void 0?y:"default";var g;o.multiple=(g=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&g!==void 0?g:!1;var O;o.range=(O=(c=n)===null||c===void 0?void 0:c.range)!==null&&O!==void 0?O:"all";var w;o.defaultValueType=(w=(l=n)===null||l===void 0?void 0:l.defaultValueType)!==null&&w!==void 0?w:"none";var P;o.rangeOptions=(P=(a=n)===null||a===void 0?void 0:a.rangeOptions)!==null&&P!==void 0?P:[];var E;o.defaultValue=(E=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&E!==void 0?E:[];var T;o.displayLevel=(T=(s=n)===null||s===void 0?void 0:s.displayLevel)!==null&&T!==void 0?T:1;var B;o.showSubDept=(B=(p=n)===null||p===void 0?void 0:p.showSubDept)!==null&&B!==void 0?B:!0;var I;o.caption=(I=(_=n)===null||_===void 0?void 0:_.caption)!==null&&I!==void 0?I:Uc.controlName;var A;o.placeholder=(A=(h=n)===null||h===void 0?void 0:h.placeholder)!==null&&A!==void 0?A:"\u8BF7\u9009\u62E9\u90E8\u95E8";var x;if(o.openMultistageFilling=(x=(d=n)===null||d===void 0?void 0:d.openMultistageFilling)!==null&&x!==void 0?x:!1,o.multistageFilling=[],Array.isArray((b=n)===null||b===void 0?void 0:b.multistageFilling)){var k;(k=n)===null||k===void 0||k.multistageFilling.map(function(N){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new je(N))})}return o}return r}(C);yt(Td,"RuntimeRules",m9);function tP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O9(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 w9(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function Hc(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?qc=Reflect.get:qc=function(o,i,u){var c=R9(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},qc(e,t,r||e)}function ln(e){return ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ln(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&&Id(e,t)}function P9(e,t){return t&&(S9(t)==="object"||typeof t=="function")?t:tP(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function R9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ln(e),e!==null););return e}function S9(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=ln(e),o;if(t){var i=ln(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P9(this,o)}}var Uc=function(e){$9(r,e);var t=T9(r);function r(n){O9(this,r);var o,i;return o=t.call(this,n),Hc(tP(o),"props",void 0),o.props=new Td((i=n)===null||i===void 0?void 0:i.props),o}return w9(r,[{key:"toDataBindModel",value:function(o){var i=qc(ln(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(H);Hc(Uc,"controlName","\u90E8\u95E8"),Hc(Uc,"controlFieldType",S.DEPARTMENTS),Hc(Uc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.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 nP(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 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 B9(e,t,r){return t&&oP(e.prototype,t),r&&oP(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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&Bd(e,t)}function x9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:nP(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function k9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N9(e){var t=D9();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 x9(this,o)}}var F9=function(e){A9(r,e);var t=N9(r);function r(n){I9(this,r);var o,i;return o=t.call(this,n),iP(nP(o),"props",void 0),o.props=new Td((i=n)===null||i===void 0?void 0:i.props),o}return B9(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(q);iP(F9,"controlFieldType",S.DEPARTMENTS);function uP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M9(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 L9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:uP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function C9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H9(e){var t=z9();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 V9(this,o)}}var cP=function(e){L9(r,e);var t=H9(r);function r(n){j9(this,r);var o,i,u,c;o=t.call(this,n),M9(uP(o),"defaultValue",void 0);var l;o.defaultValue=(l=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&l!==void 0?l:"";var a;o.caption=(a=(u=n)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:Jc.controlName;var f;return o.placeholder=(f=(c=n)===null||c===void 0?void 0:c.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(C);function lP(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 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 U9(e,t,r){return t&&aP(e.prototype,t),r&&aP(e,r),e}function Gc(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 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&&xd(e,t)}function K9(e,t){return t&&(G9(t)==="object"||typeof t=="function")?t:lP(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function G9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J9(e){var t=X9();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 K9(this,o)}}var Jc=function(e){W9(r,e);var t=J9(r);function r(n){q9(this,r);var o,i;return o=t.call(this,n),Gc(lP(o),"props",void 0),o.props=new cP((i=n)===null||i===void 0?void 0:i.props),o}return U9(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}(H);Gc(Jc,"controlEventKeys",["on_change"]),Gc(Jc,"controlFieldType",S.AUTO_NUMBER),Gc(Jc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function fP(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 sP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z9(e,t,r){return t&&sP(e.prototype,t),r&&sP(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 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&&kd(e,t)}function eV(e,t){return t&&(tV(t)==="object"||typeof t=="function")?t:fP(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function tV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nV(e){var t=rV();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 eV(this,o)}}var oV=function(e){Y9(r,e);var t=nV(r);function r(n){Q9(this,r);var o,i;return o=t.call(this,n),pP(fP(o),"props",void 0),o.props=new cP((i=n)===null||i===void 0?void 0:i.props),o}return Z9(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(q);pP(oV,"controlFieldType",S.AUTO_NUMBER);function hr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function Nd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function iV(e,t){return t&&(uV(t)==="object"||typeof t=="function")?t:hr(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(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 jd(e){var t=cV();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 iV(this,o)}}var lV=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(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),aV=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:$.getMessage("isNotObject"),fields:{result:[{type:"number",message:$.getMessage("isNotNumber")}],unit:{type:"string",message:$.getMessage("isNotString")}}}),o}return r}(J),Yc=function(e){Nd(r,e);var t=jd(r);function r(n){Dd(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Xt(hr(o),"precision",void 0),Xt(hr(o),"micrometer",void 0),Xt(hr(o),"showUpperCase",void 0),Xt(hr(o),"scriptSrc",void 0),Xt(hr(o),"scriptEcho",void 0),Xt(hr(o),"dataBind",void 0),Xt(hr(o),"defaultValue",void 0);var h;o.precision=(h=(i=n)===null||i===void 0?void 0:i.precision)!==null&&h!==void 0?h:0;var d;o.micrometer=(d=(u=n)===null||u===void 0?void 0:u.micrometer)!==null&&d!==void 0?d:!1;var b;o.showUpperCase=(b=(c=n)===null||c===void 0?void 0:c.showUpperCase)!==null&&b!==void 0?b:!1,o.dataBind=new J2((l=n)===null||l===void 0?void 0:l.dataBind),o.defaultValue=new Q2((a=n)===null||a===void 0?void 0:a.defaultValue);var y;o.caption=(y=(f=n)===null||f===void 0?void 0:f.caption)!==null&&y!==void 0?y:rl.controlName;var g;o.placeholder=(g=(s=n)===null||s===void 0?void 0:s.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var O;o.scriptEcho=(O=(p=n)===null||p===void 0?void 0:p.scriptEcho)!==null&&O!==void 0?O:[];var w;return o.scriptSrc=(w=(_=n)===null||_===void 0?void 0:_.scriptSrc)!==null&&w!==void 0?w:"",o}return r}(C);Xt(Yc,"Rules",lV),Xt(Yc,"RuntimeRules",aV);function _P(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 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 sV(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function el(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?tl=Reflect.get:tl=function(o,i,u){var c=yV(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},tl(e,t,r||e)}function an(e){return an=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},an(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&&Md(e,t)}function _V(e,t){return t&&(dV(t)==="object"||typeof t=="function")?t:_P(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function yV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=an(e),e!==null););return e}function dV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hV(e){var t=vV();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 _V(this,o)}}var rl=function(e){pV(r,e);var t=hV(r);function r(n){fV(this,r);var o,i;return o=t.call(this,n),el(_P(o),"props",void 0),o.props=new Yc((i=n)===null||i===void 0?void 0:i.props),o}return sV(r,[{key:"toDataBindModel",value:function(o){var i=tl(an(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}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}(H);el(rl,"controlEventKeys",["on_change"]),el(rl,"controlFieldType",S.CALC),el(rl,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[v.SHOW_UPPER_CASE,v.MICROMETER,v.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function dP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bV(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 gV(e,t,r){return t&&vP(e.prototype,t),r&&vP(e,r),e}function hP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function mV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function OV(e,t){return t&&(wV(t)==="object"||typeof t=="function")?t:dP(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function wV(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 PV(e){var t=$V();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 OV(this,o)}}var RV=function(e){mV(r,e);var t=PV(r);function r(n){bV(this,r);var o,i;return o=t.call(this,n),hP(dP(o),"props",void 0),o.props=new Yc((i=n)===null||i===void 0?void 0:i.props),o}return gV(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(q);hP(RV,"controlFieldType",S.CALC);function fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function gP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function SV(e,t){return t&&(EV(t)==="object"||typeof t=="function")?t:fn(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function EV(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 mP(e){var t=TV();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 SV(this,o)}}var IV=function(e){gP(r,e);var t=mP(r);function r(n){bP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,c){if(n.required){var l=c.every(function(a){return!a});return l?Promise.reject($.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(J),Cd=function(e){gP(r,e);var t=mP(r);function r(n){bP(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),sn(fn(o),"rangeMin",void 0),sn(fn(o),"rangeMax",void 0),sn(fn(o),"placeholderStart",void 0),sn(fn(o),"placeholderEnd",void 0),sn(fn(o),"defaultValue",void 0);var s;o.defaultValue=(s=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&s!==void 0?s:["",""];var p;o.rangeMin=(p=(u=n)===null||u===void 0?void 0:u.rangeMin)!==null&&p!==void 0?p:"";var _;o.rangeMax=(_=(c=n)===null||c===void 0?void 0:c.rangeMax)!==null&&_!==void 0?_:"";var h;o.placeholderStart=(h=(l=n)===null||l===void 0?void 0:l.placeholderStart)!==null&&h!==void 0?h:"\u6700\u5C0F\u503C";var d;o.placeholderEnd=(d=(a=n)===null||a===void 0?void 0:a.placeholderEnd)!==null&&d!==void 0?d:"\u6700\u5927\u503C";var b;return o.caption=(b=(f=n)===null||f===void 0?void 0:f.caption)!==null&&b!==void 0?b:qd.controlName,o}return r}(C);sn(Cd,"RuntimeRules",IV);function OP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BV(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 AV(e,t,r){return t&&wP(e.prototype,t),r&&wP(e,r),e}function zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(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&&Hd(e,t)}function kV(e,t){return t&&(DV(t)==="object"||typeof t=="function")?t:OP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function DV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FV(e){var t=NV();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 kV(this,o)}}var qd=function(e){xV(r,e);var t=FV(r);function r(n){BV(this,r);var o,i;return o=t.call(this,n),zd(OP(o),"props",void 0),o.props=new Cd((i=n)===null||i===void 0?void 0:i.props),o}return AV(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(H);zd(qd,"controlFieldType",S.DECIMAL_RANGE),zd(qd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function $P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MV(e,t,r){return t&&PP(e.prototype,t),r&&PP(e,r),e}function RP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function LV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function VV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:$P(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}function CV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HV(e){var t=zV();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 VV(this,o)}}var qV=function(e){LV(r,e);var t=HV(r);function r(n){jV(this,r);var o,i;return o=t.call(this,n),RP($P(o),"props",void 0),o.props=new Cd((i=n)===null||i===void 0?void 0:i.props),o}return MV(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(q);RP(qV,"controlFieldType",S.DECIMAL_RANGE);function dt(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 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 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&&Wd(e,t)}function UV(e,t){return t&&(WV(t)==="object"||typeof t=="function")?t:dt(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function WV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TP(e){var t=KV();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 UV(this,o)}}var GV=function(e){EP(r,e);var t=TP(r);function r(n){SP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(J),Kd=function(e){EP(r,e);var t=TP(r);function r(n){SP(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),vt(dt(o),"rangeMin",void 0),vt(dt(o),"rangeMax",void 0),vt(dt(o),"placeholderStart",void 0),vt(dt(o),"placeholderEnd",void 0),vt(dt(o),"dateType",void 0),vt(dt(o),"dateFormat",void 0),vt(dt(o),"commonTimeSetting",void 0),vt(dt(o),"setValueType",void 0),vt(dt(o),"defaultValue",void 0),vt(dt(o),"limitDateList",void 0);var y;o.defaultValue=(y=(i=n)===null||i===void 0?void 0:i.defaultValue)!==null&&y!==void 0?y:["",""];var g;o.dateType=(g=(u=n)===null||u===void 0?void 0:u.dateType)!==null&&g!==void 0?g:Zt.DATE;var O;o.dateFormat=(O=(c=n)===null||c===void 0?void 0:c.dateFormat)!==null&&O!==void 0?O:"";var w;o.commonTimeSetting=(w=(l=n)===null||l===void 0?void 0:l.commonTimeSetting)!==null&&w!==void 0?w:[];var P;o.setValueType=(P=(a=n)===null||a===void 0?void 0:a.setValueType)!==null&&P!==void 0?P:"custom";var E;o.rangeMin=(E=(f=n)===null||f===void 0?void 0:f.rangeMin)!==null&&E!==void 0?E:"";var T;o.rangeMax=(T=(s=n)===null||s===void 0?void 0:s.rangeMax)!==null&&T!==void 0?T:"";var B;o.placeholderStart=(B=(p=n)===null||p===void 0?void 0:p.placeholderStart)!==null&&B!==void 0?B:"\u5F00\u59CB\u65E5\u671F";var I;o.placeholderEnd=(I=(_=n)===null||_===void 0?void 0:_.placeholderEnd)!==null&&I!==void 0?I:"\u7ED3\u675F\u65E5\u671F";var A;o.caption=(A=(h=n)===null||h===void 0?void 0:h.caption)!==null&&A!==void 0?A:Jd.controlName;var x;return o.limitDateList=(x=(b=n)===null||b===void 0||(d=b.limitDateList)===null||d===void 0?void 0:d.map(function(k){return new Tp(k)}))!==null&&x!==void 0?x:[],o}return r}(C);vt(Kd,"RuntimeRules",GV);function IP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 JV(e,t,r){return t&&BP(e.prototype,t),r&&BP(e,r),e}function Gd(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 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&&Xd(e,t)}function ZV(e,t){return t&&(YV(t)==="object"||typeof t=="function")?t:IP(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function YV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tC(e){var t=eC();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 ZV(this,o)}}var Jd=function(e){QV(r,e);var t=tC(r);function r(n){XV(this,r);var o,i;return o=t.call(this,n),Gd(IP(o),"props",void 0),o.props=new Kd((i=n)===null||i===void 0?void 0:i.props),o}return JV(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}(H);Gd(Jd,"controlFieldType",S.ARRAY),Gd(Jd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",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 rC(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 nC(e,t,r){return t&&xP(e.prototype,t),r&&xP(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 al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function oC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qd(e,t)}function iC(e,t){return t&&(uC(t)==="object"||typeof t=="function")?t:AP(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function uC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lC(e){var t=cC();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 iC(this,o)}}var aC=function(e){oC(r,e);var t=lC(r);function r(n){rC(this,r);var o,i;return o=t.call(this,n),kP(AP(o),"props",void 0),o.props=new Kd((i=n)===null||i===void 0?void 0:i.props),o}return nC(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(q);kP(aC,"controlFieldType",S.ARRAY);function $o(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 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 fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(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&&ev(e,t)}function fC(e,t){return t&&(sC(t)==="object"||typeof t=="function")?t:$o(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function sC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tv(e){var t=pC();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 fC(this,o)}}var _C=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(Pe),yC=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(J),sl=function(e){Yd(r,e);var t=tv(r);function r(n){Zd(this,r);var o,i,u,c,l,a;o=t.call(this,n),pn($o(o),"controlExportName",void 0),pn($o(o),"permissions",void 0),pn($o(o),"defaultValue",void 0),pn($o(o),"isInlineEdit",void 0);var f;o.caption=(f=(i=n)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:yl.controlName;var s;o.defaultValue=(s=(u=n)===null||u===void 0?void 0:u.defaultValue)!==null&&s!==void 0?s:void 0;var p;o.controlExportName=(p=(c=n)===null||c===void 0?void 0:c.controlExportName)!==null&&p!==void 0?p:"";var _;o.permissions=(_=(l=n)===null||l===void 0?void 0:l.permissions)!==null&&_!==void 0?_:[];var h;return o.isInlineEdit=(h=(a=n)===null||a===void 0?void 0:a.isInlineEdit)!==null&&h!==void 0?h:!1,o}return r}(C);pn(sl,"Rules",_C),pn(sl,"RuntimeRules",yC);function DP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vC(e,t,r){return t&&NP(e.prototype,t),r&&NP(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 _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(e)}function hC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bC(e,t){return t&&(gC(t)==="object"||typeof t=="function")?t:DP(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function gC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OC(e){var t=mC();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 bC(this,o)}}var yl=function(e){hC(r,e);var t=OC(r);function r(n){dC(this,r);var o,i;return o=t.call(this,n),pl(DP(o),"props",void 0),o.props=new sl((i=n)===null||i===void 0?void 0:i.props),o}return vC(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}(H);pl(yl,"controlFieldType",S.ANY),pl(yl,"controlEventKeys",[]),pl(yl,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_HIDE_CAPTION,v.REQUIRED,v.IS_SHOW_CAPTION_TIP,v.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function FP(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 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 $C(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function MP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function PC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RC(e,t){return t&&(SC(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 SC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TC(e){var t=EC();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 RC(this,o)}}var IC=function(e){PC(r,e);var t=TC(r);function r(n){wC(this,r);var o,i;return o=t.call(this,n),MP(FP(o),"props",void 0),o.props=new sl((i=n)===null||i===void 0?void 0:i.props),o}return $C(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(q);MP(IC,"controlFieldType",S.ANY);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function VP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BC(e,t){return t&&(AC(t)==="object"||typeof t=="function")?t:qe(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function AC(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 CP(e){var t=xC();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 BC(this,o)}}var kC=function(e){VP(r,e);var t=CP(r);function r(n){LP(this,r);var o;return o=t.call(this,n),Ue(qe(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}(Jr),iv=function(e){VP(r,e);var t=CP(r);function r(n){LP(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g;o=t.call(this,n),Ue(qe(o),"options",void 0),Ue(qe(o),"optionConfig",void 0),Ue(qe(o),"defaultValue",void 0),Ue(qe(o),"listPageBind",void 0),Ue(qe(o),"datasourceBind",void 0),Ue(qe(o),"multistageFilling",void 0),Ue(qe(o),"viewFormModelType",void 0),Ue(qe(o),"canViewForm",void 0),Ue(qe(o),"formBind",void 0),Ue(qe(o),"openMultistageFilling",void 0),Ue(qe(o),"showSelectedDetail",void 0),Ue(qe(o),"selectedContentConfig",void 0);var O;o.options=Nt((O=(i=n)===null||i===void 0?void 0:i.options)!==null&&O!==void 0?O:[]);var w;o.optionConfig=(w=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&w!==void 0?w:"datasource",o.listPageBind=new ws((c=n)===null||c===void 0?void 0:c.listPageBind),o.datasourceBind=new se((l=n)===null||l===void 0?void 0:l.datasourceBind);var P;o.caption=(P=(a=n)===null||a===void 0?void 0:a.caption)!==null&&P!==void 0?P:gl.controlName;var E;o.placeholder=(E=(f=n)===null||f===void 0?void 0:f.placeholder)!==null&&E!==void 0?E:"\u8BF7\u9009\u62E9";var T;o.defaultValue=(T=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&T!==void 0?T:"";var B;o.openMultistageFilling=(B=(p=n)===null||p===void 0?void 0:p.openMultistageFilling)!==null&&B!==void 0?B:!1;var I;if(o.showSelectedDetail=(I=(_=n)===null||_===void 0?void 0:_.showSelectedDetail)!==null&&I!==void 0?I:!1,o.selectedContentConfig=new Ss((h=n)===null||h===void 0?void 0:h.selectedContentConfig),o.multistageFilling=[],Array.isArray((d=n)===null||d===void 0?void 0:d.multistageFilling)){var A;(A=n)===null||A===void 0||A.multistageFilling.map(function(N){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new je(N))})}var x;o.canViewForm=(x=(b=n)===null||b===void 0?void 0:b.canViewForm)!==null&&x!==void 0?x:!1;var k;return o.viewFormModelType=(k=(y=n)===null||y===void 0?void 0:y.viewFormModelType)!==null&&k!==void 0?k:"window",o.formBind=new Gr((g=n)===null||g===void 0?void 0:g.formBind),o}return r}(C);Ue(iv,"Rules",kC);function zP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NC(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}function hl(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 FC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jC(e,t){return t&&(MC(t)==="object"||typeof t=="function")?t:zP(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function MC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VC(e){var t=LC();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 jC(this,o)}}var gl=function(e){FC(r,e);var t=VC(r);function r(n){DC(this,r);var o,i;return o=t.call(this,n),hl(zP(o),"props",void 0),o.props=new iv((i=n)===null||i===void 0?void 0:i.props),o}return NC(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}(H);hl(gl,"controlFieldType",S.VARCHAR),hl(gl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[v.CAN_VIEW_FORM,v.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),hl(gl,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function qP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zC(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 ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function HC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qC(e,t){return t&&(UC(t)==="object"||typeof t=="function")?t:qP(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function UC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KC(e){var t=WC();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 qC(this,o)}}var GC=function(e){HC(r,e);var t=KC(r);function r(n){CC(this,r);var o,i;return o=t.call(this,n),WP(qP(o),"props",void 0),o.props=new iv((i=n)===null||i===void 0?void 0:i.props),o}return zC(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(q);WP(GC,"controlFieldType",S.VARCHAR);function XC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function QC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lv(e,t)}function ZC(e,t){return t&&(YC(t)==="object"||typeof t=="function")?t:XC(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function YC(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=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZC(this,o)}}var KP=function(e){QC(r,e);var t=tz(r);function r(n){return JC(this,r),t.call(this,n)}return r}(mo);function GP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nz(e,t,r){return t&&XP(e.prototype,t),r&&XP(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 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&&av(e,t)}function iz(e,t){return t&&(uz(t)==="object"||typeof t=="function")?t:GP(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function uz(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=wl(e),o;if(t){var i=wl(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){rz(this,r);var o,i;return o=t.call(this,n),JP(GP(o),"props",void 0),o.props=new KP((i=n)===null||i===void 0?void 0:i.props),o}return nz(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(Oo);JP(az,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED]},{key:"super-setting",visible:!0}]);function QP(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 ZP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sz(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function YP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function pz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function _z(e,t){return t&&(yz(t)==="object"||typeof t=="function")?t:QP(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function yz(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 vz(e){var t=dz();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 _z(this,o)}}var hz=function(e){pz(r,e);var t=vz(r);function r(n){fz(this,r);var o,i;return o=t.call(this,n),YP(QP(o),"props",void 0),o.props=new KP((i=n)===null||i===void 0?void 0:i.props),o}return sz(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(q);YP(hz,"controlFieldType",S.VARCHAR);function te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(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&&_v(e,t)}function bz(e,t){return t&&(gz(t)==="object"||typeof t=="function")?t:te(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}function gz(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 yv(e){var t=mz();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 Oz=function(e){pv(r,e);var t=yv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),re(te(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Wo.call(te(o),n,Br.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","gv"],required:!0},value:{type:"array",required:!0,min:1,message:$.getMessage("rootNodeIsRequired")}}}]),o}return r}(Pe),wz=function(e){pv(r,e);var t=yv(r);function r(n){sv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Rl=function(e){pv(r,e);var t=yv(r);function r(n){sv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T;o=t.call(this,n),re(te(o),"placeholder",void 0),re(te(o),"multiple",void 0),re(te(o),"canSearch",void 0),re(te(o),"levelType",void 0),re(te(o),"optionalLevel",void 0),re(te(o),"containsSubNode",void 0),re(te(o),"defaultDisplay",void 0),re(te(o),"isShowIncludeSub",void 0),re(te(o),"isDefaultCheckSub",void 0),re(te(o),"isShowFilterItem",void 0),re(te(o),"defaultCollapse",void 0),re(te(o),"defaultCollapseLevel",void 0),re(te(o),"optionConfig","datasource"),re(te(o),"datasourceBind",void 0),re(te(o),"filterItemDatasourceBind",void 0),re(te(o),"multistageFilling",void 0),re(te(o),"defaultValue",void 0),re(te(o),"openMultistageFilling",void 0);var B;o.caption=(B=(i=n)===null||i===void 0?void 0:i.caption)!==null&&B!==void 0?B:Br.controlName;var I;o.placeholder=(I=(u=n)===null||u===void 0?void 0:u.placeholder)!==null&&I!==void 0?I:"\u8BF7\u9009\u62E9";var A;o.multiple=(A=(c=n)===null||c===void 0?void 0:c.multiple)!==null&&A!==void 0?A:!1;var x;o.canSearch=(x=(l=n)===null||l===void 0?void 0:l.canSearch)!==null&&x!==void 0?x:!0;var k;o.levelType=(k=(a=n)===null||a===void 0?void 0:a.levelType)!==null&&k!==void 0?k:"all";var N;o.optionalLevel=(N=(f=n)===null||f===void 0?void 0:f.optionalLevel)!==null&&N!==void 0?N:1;var D;o.containsSubNode=(D=(s=n)===null||s===void 0?void 0:s.containsSubNode)!==null&&D!==void 0?D:!1;var z;o.isShowFilterItem=(z=(p=n)===null||p===void 0?void 0:p.isShowFilterItem)!==null&&z!==void 0?z:!1;var Y;o.isShowIncludeSub=(Y=(_=n)===null||_===void 0?void 0:_.isShowIncludeSub)!==null&&Y!==void 0?Y:!1;var ee;o.isDefaultCheckSub=(ee=(h=n)===null||h===void 0?void 0:h.isDefaultCheckSub)!==null&&ee!==void 0?ee:!1;var ne;o.defaultCollapse=(ne=(d=n)===null||d===void 0?void 0:d.defaultCollapse)!==null&&ne!==void 0?ne:"all";var oe;o.defaultCollapseLevel=(oe=(b=n)===null||b===void 0?void 0:b.defaultCollapseLevel)!==null&&oe!==void 0?oe:1;var fe;o.datasourceBind=new Sg((fe=(y=n)===null||y===void 0?void 0:y.datasourceBind)!==null&&fe!==void 0?fe:{attributes:Br.controlCustomAttributes});var Ze;o.filterItemDatasourceBind=new Sg((Ze=(g=n)===null||g===void 0?void 0:g.filterItemDatasourceBind)!==null&&Ze!==void 0?Ze:{attributes:Br.controlCustomAttributes});var Fe;o.openMultistageFilling=(Fe=(O=n)===null||O===void 0?void 0:O.openMultistageFilling)!==null&&Fe!==void 0?Fe:!1;var Ot;o.defaultDisplay=(Ot=(w=n)===null||w===void 0?void 0:w.defaultDisplay)!==null&&Ot!==void 0?Ot:!1;var wt;o.multistageFilling=(wt=(E=n)===null||E===void 0||(P=E.multistageFilling)===null||P===void 0?void 0:P.map(function(Qt){return new je(Qt)}))!==null&&wt!==void 0?wt:[];var $t;return o.defaultValue=($t=(T=n)===null||T===void 0?void 0:T.defaultValue)!==null&&$t!==void 0?$t:[],o}return r}(C);re(Rl,"Rules",Oz),re(Rl,"RuntimeRules",wz);function eR(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 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 Pz(e,t,r){return t&&tR(e.prototype,t),r&&tR(e,r),e}function Sl(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 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&&dv(e,t)}function Sz(e,t){return t&&(Ez(t)==="object"||typeof t=="function")?t:eR(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(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 Iz(e){var t=Tz();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 Sz(this,o)}}var Br=function(e){Rz(r,e);var t=Iz(r);function r(n){$z(this,r);var o,i;return o=t.call(this,n),Sl(eR(o),"props",void 0),o.props=new Rl((i=n)===null||i===void 0?void 0:i.props),o}return Pz(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}(H);Sl(Br,"controlEventKeys",["on_change","on_click"]),Sl(Br,"controlFieldType",S.ARRAY),Sl(Br,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.CAN_SEARCH,v.DEFAULT_DISPLAY,v.CONTAINS_SUB_NODE,v.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 rR(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 nR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Az(e,t,r){return t&&nR(e.prototype,t),r&&nR(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 Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function xz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function kz(e,t){return t&&(Dz(t)==="object"||typeof t=="function")?t:rR(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function Dz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fz(e){var t=Nz();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 kz(this,o)}}var jz=function(e){xz(r,e);var t=Fz(r);function r(n){Bz(this,r);var o,i;return o=t.call(this,n),oR(rR(o),"props",void 0),o.props=new Rl((i=n)===null||i===void 0?void 0:i.props),o}return Az(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(q);oR(jz,"controlFieldType",S.ARRAY);function Oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(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 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&&gv(e,t)}function Mz(e,t){return t&&(Lz(t)==="object"||typeof t=="function")?t:Oe(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function Lz(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 mv(e){var t=Vz();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 Mz(this,o)}}var Cz=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),we(Oe(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),we(Oe(o),"externalScope",{type:"any"}),Wo.call(Oe(o),n,Po.controlCustomAttributes),n.externalType===lr.ASSIGN&&(o.externalScope={type:"array",required:!0,message:$.getMessage("pleaseAssignExternal")}),o}return r}(Pe),zz=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Bl=function(e){bv(r,e);var t=mv(r);function r(n){hv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),we(Oe(o),"showType",void 0),we(Oe(o),"range",void 0),we(Oe(o),"rangeOptions",void 0),we(Oe(o),"multiple",void 0),we(Oe(o),"defaultValueType",void 0),we(Oe(o),"defaultValue",void 0),we(Oe(o),"multistageFilling",void 0),we(Oe(o),"datasourceBind",void 0),we(Oe(o),"datasourceType",void 0),we(Oe(o),"insideType",void 0),we(Oe(o),"externalType",void 0),we(Oe(o),"externalScope",void 0),we(Oe(o),"openMultistageFilling",void 0);var w;o.showType=(w=(i=n)===null||i===void 0?void 0:i.showType)!==null&&w!==void 0?w:"default";var P;o.range=(P=(u=n)===null||u===void 0?void 0:u.range)!==null&&P!==void 0?P:"all";var E;o.rangeOptions=(E=(c=n)===null||c===void 0?void 0:c.rangeOptions)!==null&&E!==void 0?E:[];var T;o.multiple=(T=(l=n)===null||l===void 0?void 0:l.multiple)!==null&&T!==void 0?T:!1;var B;o.defaultValueType=(B=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&B!==void 0?B:"none";var I;o.defaultValue=(I=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&I!==void 0?I:[];var A;o.caption=(A=(s=n)===null||s===void 0?void 0:s.caption)!==null&&A!==void 0?A:Po.controlName;var x;o.placeholder=(x=(p=n)===null||p===void 0?void 0:p.placeholder)!==null&&x!==void 0?x:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var k;o.datasourceBind=new Co((k=(_=n)===null||_===void 0?void 0:_.datasourceBind)!==null&&k!==void 0?k:{attributes:Po.controlCustomAttributes});var N;o.datasourceType=(N=(h=n)===null||h===void 0?void 0:h.datasourceType)!==null&&N!==void 0?N:xp.INTERNAL;var D;o.insideType=(D=(d=n)===null||d===void 0?void 0:d.insideType)!==null&&D!==void 0?D:kp.ADMIN;var z;o.externalType=(z=(b=n)===null||b===void 0?void 0:b.externalType)!==null&&z!==void 0?z:lr.ALL;var Y;o.externalScope=(Y=(y=n)===null||y===void 0?void 0:y.externalScope)!==null&&Y!==void 0?Y:[];var ee;if(o.openMultistageFilling=(ee=(g=n)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&ee!==void 0?ee:!1,o.multistageFilling=[],Array.isArray((O=n)===null||O===void 0?void 0:O.multistageFilling)){var ne;(ne=n)===null||ne===void 0||ne.multistageFilling.map(function(oe){var fe;(fe=o.multistageFilling)===null||fe===void 0||fe.push(new je(oe))})}return o}return r}(C);we(Bl,"Rules",Cz),we(Bl,"RuntimeRules",zz);function iR(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 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 qz(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function Ov(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(e)}function Uz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wz(e,t){return t&&(Kz(t)==="object"||typeof t=="function")?t:iR(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function Kz(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 Xz(e){var t=Gz();return function(){var n=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wz(this,o)}}var Po=function(e){Uz(r,e);var t=Xz(r);function r(n){Hz(this,r);var o,i;return o=t.call(this,n),Ov(iR(o),"props",void 0),o.props=new Bl((i=n)===null||i===void 0?void 0:i.props),o}return qz(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}(H);Ov(Po,"controlFieldType",S.EMPLOYEES),Ov(Po,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.MULTIPLE,v.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 cR(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 lR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qz(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function aR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function Zz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function Yz(e,t){return t&&(eH(t)==="object"||typeof t=="function")?t:cR(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function eH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rH(e){var t=tH();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 Yz(this,o)}}var nH=function(e){Zz(r,e);var t=rH(r);function r(n){Jz(this,r);var o,i;return o=t.call(this,n),aR(cR(o),"props",void 0),o.props=new Bl((i=n)===null||i===void 0?void 0:i.props),o}return Qz(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(q);aR(nH,"controlFieldType",S.EMPLOYEES);function It(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(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&&Pv(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:It(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function iH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pR(e){var t=uH();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 oH(this,o)}}var cH=function(e){sR(r,e);var t=pR(r);function r(n){fR(this,r);var o;return o=t.call(this,n),Bt(It(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(a,f,s){if(u.type==="public"&&vs(f.value)&&f.value.length===0){s("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}s()}},company:{type:"object",required:!0,validator:function(a,f,s){if(u.type==="public"&&u.signatureType.includes("company")&&vs(f.value)&&f.value.length===0){s("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}s()}}}},i},{})}}},o}return r}(Pe),Rv=function(e){sR(r,e);var t=pR(r);function r(n){fR(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),Bt(It(o),"buttonType",void 0),Bt(It(o),"content",void 0),Bt(It(o),"showType",void 0),Bt(It(o),"color",void 0),Bt(It(o),"icon",void 0),Bt(It(o),"command",""),Bt(It(o),"isLoading",!1),Bt(It(o),"signatureConfig",void 0);var p;o.caption=(p=(i=n)===null||i===void 0?void 0:i.caption)!==null&&p!==void 0?p:Fl.controlName;var _;o.content=(_=(u=n)===null||u===void 0?void 0:u.content)!==null&&_!==void 0?_:"\u53D1\u8D77\u7B7E\u7F72";var h;o.buttonType=(h=(c=n)===null||c===void 0?void 0:c.buttonType)!==null&&h!==void 0?h:"primary";var d;o.showType=(d=(l=n)===null||l===void 0?void 0:l.showType)!==null&&d!==void 0?d:"text";var b;o.color=(b=(a=n)===null||a===void 0?void 0:a.color)!==null&&b!==void 0?b:"primary";var y;return o.icon=(y=(f=n)===null||f===void 0?void 0:f.icon)!==null&&y!==void 0?y:"iconfenlei2",o.signatureConfig=new LD((s=n)===null||s===void 0?void 0:s.signatureConfig),o}return r}(C);Bt(Rv,"Rules",cH);function _R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aH(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function Dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function fH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sv(e,t)}function sH(e,t){return t&&(pH(t)==="object"||typeof t=="function")?t:_R(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function pH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _H(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yH(e){var t=_H();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 sH(this,o)}}var Fl=function(e){fH(r,e);var t=yH(r);function r(n){lH(this,r);var o,i;return o=t.call(this,n),Dl(_R(o),"props",void 0),o.props=new Rv((i=n)===null||i===void 0?void 0:i.props),o}return aH(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}(H);Dl(Fl,"controlEventKeys",["on_click","on_click_finish"]),Dl(Fl,"controlFieldType",S.VARCHAR),Dl(Fl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.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 dR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vH(e,t,r){return t&&vR(e.prototype,t),r&&vR(e,r),e}function hR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function hH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bH(e,t){return t&&(gH(t)==="object"||typeof t=="function")?t:dR(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function gH(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 OH(e){var t=mH();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 bH(this,o)}}var wH=function(e){hH(r,e);var t=OH(r);function r(n){dH(this,r);var o,i;return o=t.call(this,n),hR(dR(o),"props",void 0),o.props=new Rv((i=n)===null||i===void 0?void 0:i.props),o}return vH(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(q);hR(wH,"controlFieldType",S.VARCHAR);function Ie(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 $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 Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function Iv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function $H(e,t){return t&&(PH(t)==="object"||typeof t=="function")?t:Ie(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function PH(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 Av(e){var t=RH();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 $H(this,o)}}var SH=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),$e(Ie(o),"content",{type:"string",required:!0,message:$.getMessage("pleaseEnterButtonContent")}),$e(Ie(o),"canAdd",void 0),$e(Ie(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l($.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l($.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,c,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l($.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(Pe),EH=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Ll=function(e){Iv(r,e);var t=Av(r);function r(n){Tv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y;o=t.call(this,n),$e(Ie(o),"content",void 0),$e(Ie(o),"canAdd",void 0),$e(Ie(o),"addLocal",void 0),$e(Ie(o),"addOnline",void 0),$e(Ie(o),"canDownload",void 0),$e(Ie(o),"canEdit",void 0),$e(Ie(o),"canExport",void 0),$e(Ie(o),"canDelete",void 0),$e(Ie(o),"wpsSetting",void 0),$e(Ie(o),"maxSize",void 0),$e(Ie(o),"defaultValue",void 0),$e(Ie(o),"revisionsMode",void 0);var g;o.caption=(g=(i=n)===null||i===void 0?void 0:i.caption)!==null&&g!==void 0?g:zl.controlName;var O;o.content=(O=(u=n)===null||u===void 0?void 0:u.content)!==null&&O!==void 0?O:"\u65B0\u5EFA\u6587\u6863";var w;o.canAdd=(w=(c=n)===null||c===void 0?void 0:c.canAdd)!==null&&w!==void 0?w:!0;var P;o.addLocal=(P=(l=n)===null||l===void 0?void 0:l.addLocal)!==null&&P!==void 0?P:!0;var E;o.addOnline=(E=(a=n)===null||a===void 0?void 0:a.addOnline)!==null&&E!==void 0?E:!0;var T;o.canEdit=(T=(f=n)===null||f===void 0?void 0:f.canEdit)!==null&&T!==void 0?T:!0;var B;o.canDownload=(B=(s=n)===null||s===void 0?void 0:s.canDownload)!==null&&B!==void 0?B:!0;var I;o.canExport=(I=(p=n)===null||p===void 0?void 0:p.canExport)!==null&&I!==void 0?I:!0;var A;o.canDelete=(A=(_=n)===null||_===void 0?void 0:_.canDelete)!==null&&A!==void 0?A:!1;var x;o.maxSize=(x=(h=n)===null||h===void 0?void 0:h.maxSize)!==null&&x!==void 0?x:T7;var k;o.defaultValue=(k=(d=n)===null||d===void 0?void 0:d.defaultValue)!==null&&k!==void 0?k:[],o.wpsSetting=new VD((b=n)===null||b===void 0?void 0:b.wpsSetting);var N;return o.revisionsMode=(N=(y=n)===null||y===void 0?void 0:y.revisionsMode)!==null&&N!==void 0?N:!1,o}return r}(C);$e(Ll,"Rules",SH),$e(Ll,"RuntimeRules",EH);function bR(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 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 IH(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function Vl(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 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&&xv(e,t)}function AH(e,t){return t&&(xH(t)==="object"||typeof t=="function")?t:bR(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(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=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 zl=function(e){BH(r,e);var t=DH(r);function r(n){TH(this,r);var o,i;return o=t.call(this,n),Vl(bR(o),"props",void 0),o.props=new Ll((i=n)===null||i===void 0?void 0:i.props),o}return IH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(H);Vl(zl,"controlEventKeys",["on_change","on_wps_open"]),Vl(zl,"controlFieldType",S.FILE),Vl(zl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[v.REQUIRED,v.IS_HIDE,v.IS_SHOW_CAPTION_TIP,v.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 mR(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 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 FH(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function wR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function jH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function MH(e,t){return t&&(LH(t)==="object"||typeof t=="function")?t:mR(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function LH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CH(e){var t=VH();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 MH(this,o)}}var zH=function(e){jH(r,e);var t=CH(r);function r(n){NH(this,r);var o,i;return o=t.call(this,n),wR(mR(o),"props",void 0),o.props=new Ll((i=n)===null||i===void 0?void 0:i.props),o}return FH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(q);wR(zH,"controlFieldType",S.FILE);function _e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function Nv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function HH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:_e(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function qH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jv(e){var t=UH();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 HH(this,o)}}var WH=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;return o=t.call(this,n),ye(_e(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),ye(_e(o),"businessScope",{type:"any"}),Wo.call(_e(o),n,yn.controlCustomAttributes),n.businessType===lr.ASSIGN&&(o.businessScope={type:"array",required:!0,message:$.getMessage("pleaseAssignBusiness")}),o}return r}(Pe),KH=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Ul=function(e){Nv(r,e);var t=jv(r);function r(n){Dv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w;o=t.call(this,n),ye(_e(o),"showType",void 0),ye(_e(o),"range",void 0),ye(_e(o),"defaultValueType",void 0),ye(_e(o),"multiple",void 0),ye(_e(o),"rangeOptions",void 0),ye(_e(o),"defaultValue",void 0),ye(_e(o),"displayLevel",void 0),ye(_e(o),"showSubDept",void 0),ye(_e(o),"multistageFilling",void 0),ye(_e(o),"datasourceBind",void 0),ye(_e(o),"datasourceType",void 0),ye(_e(o),"businessType",void 0),ye(_e(o),"businessScope",void 0),ye(_e(o),"openMultistageFilling",void 0);var P;o.showType=(P=(i=n)===null||i===void 0?void 0:i.showType)!==null&&P!==void 0?P:"default";var E;o.multiple=(E=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&E!==void 0?E:!1;var T;o.range=(T=(c=n)===null||c===void 0?void 0:c.range)!==null&&T!==void 0?T:"all";var B;o.defaultValueType=(B=(l=n)===null||l===void 0?void 0:l.defaultValueType)!==null&&B!==void 0?B:"none";var I;o.rangeOptions=(I=(a=n)===null||a===void 0?void 0:a.rangeOptions)!==null&&I!==void 0?I:[];var A;o.defaultValue=(A=(f=n)===null||f===void 0?void 0:f.defaultValue)!==null&&A!==void 0?A:[];var x;o.displayLevel=(x=(s=n)===null||s===void 0?void 0:s.displayLevel)!==null&&x!==void 0?x:1;var k;o.showSubDept=(k=(p=n)===null||p===void 0?void 0:p.showSubDept)!==null&&k!==void 0?k:!0;var N;o.caption=(N=(_=n)===null||_===void 0?void 0:_.caption)!==null&&N!==void 0?N:yn.controlName;var D;o.placeholder=(D=(h=n)===null||h===void 0?void 0:h.placeholder)!==null&&D!==void 0?D:"\u8BF7\u9009\u62E9\u90E8\u95E8";var z;o.datasourceBind=new Co((z=(d=n)===null||d===void 0?void 0:d.datasourceBind)!==null&&z!==void 0?z:{attributes:yn.controlCustomAttributes});var Y;o.datasourceType=(Y=(b=n)===null||b===void 0?void 0:b.datasourceType)!==null&&Y!==void 0?Y:mi.INTERNAL;var ee;o.businessScope=(ee=(y=n)===null||y===void 0?void 0:y.businessScope)!==null&&ee!==void 0?ee:[];var ne;o.businessType=(ne=(g=n)===null||g===void 0?void 0:g.businessType)!==null&&ne!==void 0?ne:lr.ALL;var oe;if(o.openMultistageFilling=(oe=(O=n)===null||O===void 0?void 0:O.openMultistageFilling)!==null&&oe!==void 0?oe:!1,o.multistageFilling=[],Array.isArray((w=n)===null||w===void 0?void 0:w.multistageFilling)){var fe;(fe=n)===null||fe===void 0||fe.multistageFilling.map(function(Ze){var Fe;(Fe=o.multistageFilling)===null||Fe===void 0||Fe.push(new je(Ze))})}return o}return r}(C);ye(Ul,"Rules",WH),ye(Ul,"RuntimeRules",KH);function $R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XH(e,t,r){return t&&PR(e.prototype,t),r&&PR(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Kl=Reflect.get:Kl=function(o,i,u){var c=ZH(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Kl(e,t,r||e)}function _n(e){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_n(e)}function JH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function QH(e,t){return t&&(YH(t)==="object"||typeof t=="function")?t:$R(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function ZH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_n(e),e!==null););return e}function YH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tq(e){var t=eq();return function(){var n=_n(e),o;if(t){var i=_n(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QH(this,o)}}var yn=function(e){JH(r,e);var t=tq(r);function r(n){GH(this,r);var o,i;return o=t.call(this,n),Wl($R(o),"props",void 0),o.props=new Ul((i=n)===null||i===void 0?void 0:i.props),o}return XH(r,[{key:"toDataBindModel",value:function(o){var i=Kl(_n(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{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}(H);Wl(yn,"controlName","\u90E8\u95E8"),Wl(yn,"controlFieldType",S.DEPARTMENTS),Wl(yn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.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 RR(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 SR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nq(e,t,r){return t&&SR(e.prototype,t),r&&SR(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 Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(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&&Lv(e,t)}function iq(e,t){return t&&(uq(t)==="object"||typeof t=="function")?t:RR(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lq(e){var t=cq();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 iq(this,o)}}var aq=function(e){oq(r,e);var t=lq(r);function r(n){rq(this,r);var o,i;return o=t.call(this,n),ER(RR(o),"props",void 0),o.props=new Ul((i=n)===null||i===void 0?void 0:i.props),o}return nq(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(q);ER(aq,"controlFieldType",S.DEPARTMENTS);function Q(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 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 Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(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&&zv(e,t)}function fq(e,t){return t&&(sq(t)==="object"||typeof t=="function")?t:Q(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hv(e){var t=pq();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 fq(this,o)}}var _q=function(e){Cv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),Z(Q(o),"datasourceBind",[{type:"object",message:$.getMessage("isNotObject")}]),Z(Q(o),"businessScope",{type:"any"}),Wo.call(Q(o),n,vn.controlCustomAttributes),n.businessType===lr.ASSIGN&&(o.businessScope={type:"array",required:!0,message:$.getMessage("pleaseAssignBusiness")}),o}return r}(Pe),yq=function(e){Cv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(J),Jl=function(e){Cv(r,e);var t=Hv(r);function r(n){Vv(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T,B,I;o=t.call(this,n),Z(Q(o),"showType",void 0),Z(Q(o),"range",void 0),Z(Q(o),"defaultValueType",void 0),Z(Q(o),"multiple",void 0),Z(Q(o),"rangeOptions",void 0),Z(Q(o),"defaultValue",void 0),Z(Q(o),"displayLevel",void 0),Z(Q(o),"showSubDept",void 0),Z(Q(o),"multistageFilling",void 0),Z(Q(o),"datasourceBind",void 0),Z(Q(o),"listPageBind",void 0),Z(Q(o),"datasourceType",void 0),Z(Q(o),"businessType",void 0),Z(Q(o),"businessScope",void 0),Z(Q(o),"organizingFunction",void 0),Z(Q(o),"organizationView",void 0),Z(Q(o),"openMultistageFilling",void 0),Z(Q(o),"showSelectedDetail",void 0),Z(Q(o),"selectedContentConfig",void 0);var A;o.showType=(A=(i=n)===null||i===void 0?void 0:i.showType)!==null&&A!==void 0?A:"default";var x;o.multiple=(x=(u=n)===null||u===void 0?void 0:u.multiple)!==null&&x!==void 0?x:!1;var k;o.range=(k=(c=n)===null||c===void 0?void 0:c.range)!==null&&k!==void 0?k:"all",o.listPageBind=new ws((l=n)===null||l===void 0?void 0:l.listPageBind);var N;o.defaultValueType=(N=(a=n)===null||a===void 0?void 0:a.defaultValueType)!==null&&N!==void 0?N:"none";var D;o.rangeOptions=(D=(f=n)===null||f===void 0?void 0:f.rangeOptions)!==null&&D!==void 0?D:[];var z;o.defaultValue=(z=(s=n)===null||s===void 0?void 0:s.defaultValue)!==null&&z!==void 0?z:[];var Y;o.displayLevel=(Y=(p=n)===null||p===void 0?void 0:p.displayLevel)!==null&&Y!==void 0?Y:1;var ee;o.showSubDept=(ee=(_=n)===null||_===void 0?void 0:_.showSubDept)!==null&&ee!==void 0?ee:!0;var ne;o.caption=(ne=(h=n)===null||h===void 0?void 0:h.caption)!==null&&ne!==void 0?ne:vn.controlName;var oe;o.placeholder=(oe=(d=n)===null||d===void 0?void 0:d.placeholder)!==null&&oe!==void 0?oe:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var fe;o.datasourceBind=new H2((fe=(b=n)===null||b===void 0?void 0:b.datasourceBind)!==null&&fe!==void 0?fe:{attributes:vn.controlCustomAttributes});var Ze;o.datasourceType=(Ze=(y=n)===null||y===void 0?void 0:y.datasourceType)!==null&&Ze!==void 0?Ze:mi.INTERNAL;var Fe;o.businessScope=(Fe=(g=n)===null||g===void 0?void 0:g.businessScope)!==null&&Fe!==void 0?Fe:[];var Ot;o.businessType=(Ot=(O=n)===null||O===void 0?void 0:O.businessType)!==null&&Ot!==void 0?Ot:lr.ALL;var wt;o.organizingFunction=(wt=(w=n)===null||w===void 0?void 0:w.organizingFunction)!==null&&wt!==void 0?wt:void 0;var $t;o.organizationView=($t=(P=n)===null||P===void 0?void 0:P.organizationView)!==null&&$t!==void 0?$t:void 0;var Qt;o.showSelectedDetail=(Qt=(E=n)===null||E===void 0?void 0:E.showSelectedDetail)!==null&&Qt!==void 0?Qt:!1,o.selectedContentConfig=new Ss((T=n)===null||T===void 0?void 0:T.selectedContentConfig);var Cr;if(o.openMultistageFilling=(Cr=(B=n)===null||B===void 0?void 0:B.openMultistageFilling)!==null&&Cr!==void 0?Cr:!1,o.multistageFilling=[],Array.isArray((I=n)===null||I===void 0?void 0:I.multistageFilling)){var zr;(zr=n)===null||zr===void 0||zr.multistageFilling.map(function(jo){var Hr;(Hr=o.multistageFilling)===null||Hr===void 0||Hr.push(new je(jo))})}return o}return r}(C);Z(Jl,"Rules",_q),Z(Jl,"RuntimeRules",yq);function TR(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 IR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vq(e,t,r){return t&&IR(e.prototype,t),r&&IR(e,r),e}function Ql(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zl=Reflect.get:Zl=function(o,i,u){var c=gq(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Zl(e,t,r||e)}function dn(e){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dn(e)}function hq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function bq(e,t){return t&&(mq(t)==="object"||typeof t=="function")?t:TR(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function gq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dn(e),e!==null););return e}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=dn(e),o;if(t){var i=dn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bq(this,o)}}var vn=function(e){hq(r,e);var t=wq(r);function r(n){dq(this,r);var o,i;return o=t.call(this,n),Ql(TR(o),"props",void 0),o.props=new Jl((i=n)===null||i===void 0?void 0:i.props),o}return vq(r,[{key:"toDataBindModel",value:function(o){var i=Zl(dn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(H);Ql(vn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Ql(vn,"controlFieldType",S.DEPARTMENTS),Ql(vn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[v.CAPTION,v.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:[v.REQUIRED,v.IS_HIDE,v.IS_HIDE_CAPTION,v.MULTIPLE,v.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function BR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pq(e,t,r){return t&&AR(e.prototype,t),r&&AR(e,r),e}function xR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function Rq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function Sq(e,t){return t&&(Eq(t)==="object"||typeof t=="function")?t:BR(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}function Eq(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=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sq(this,o)}}var Bq=function(e){Rq(r,e);var t=Iq(r);function r(n){$q(this,r);var o,i;return o=t.call(this,n),xR(BR(o),"props",void 0),o.props=new Jl((i=n)===null||i===void 0?void 0:i.props),o}return Pq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(q);xR(Bq,"controlFieldType",S.DEPARTMENTS);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 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 kq(e,t,r){return t&&kR(e.prototype,t),r&&kR(e,r),e}function Dq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(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&&Wv(e,t)}function Fq(e,t){return t&&(jq(t)==="object"||typeof t=="function")?t:Aq(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}function jq(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 Lq(e){var t=Mq();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 Fq(this,o)}}var Vq=function(e){Nq(r,e);var t=Lq(r);function r(n){return xq(this,r),t.call(this,n)}return kq(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ve);Dq(Vq,"excludes",[m.GRID]);function Kv(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 DR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(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&&Gv(e,t)}function Hq(e,t){return t&&(qq(t)==="object"||typeof t=="function")?t:Kv(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function qq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wq(e){var t=Uq();return function(){var n=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hq(this,o)}}var Kq=24,Ro=function(e){zq(r,e);var t=Wq(r);function r(n){Cq(this,r);var o,i,u;o=t.call(this,n),DR(Kv(o),"span",void 0),DR(Kv(o),"offset",void 0);var c;o.span=(c=(i=n)===null||i===void 0?void 0:i.span)!==null&&c!==void 0?c:Kq;var l;return o.offset=(l=(u=n)===null||u===void 0?void 0:u.offset)!==null&&l!==void 0?l:0,o}return r}(de);function NR(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 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 Xq(e,t,r){return t&&FR(e.prototype,t),r&&FR(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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(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&&Jv(e,t)}function Qq(e,t){return t&&(Zq(t)==="object"||typeof t=="function")?t:NR(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function Zq(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 eU(e){var t=Yq();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 Qq(this,o)}}var So=function(e){Jq(r,e);var t=eU(r);function r(n){Gq(this,r);var o,i;return o=t.call(this,n),Xv(NR(o),"props",void 0),o.props=new Ro((i=n)===null||i===void 0?void 0:i.props),o}return Xq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ve);Xv(So,"excludes",[m.COL,m.CARD_GROUP,m.SUBTABLE,m.SUBTABLE_COLUMN,m.GRID_LAYOUT_CONTAINER,m.DIVIDER]),Xv(So,"childrenMaxLength",1);function jR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tU(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 rU(e,t,r){return t&&MR(e.prototype,t),r&&MR(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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function oU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function iU(e,t){return t&&(uU(t)==="object"||typeof t=="function")?t:jR(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function uU(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 lU(e){var t=cU();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 iU(this,o)}}var aU=function(e){oU(r,e);var t=lU(r);function r(n){tU(this,r);var o,i;return o=t.call(this,n),nU(jR(o),"props",void 0),o.props=new Ro((i=n)===null||i===void 0?void 0:i.props),o}return rU(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Er),LR={Designer:So,Runtime:aU,Property:Ro};function Zv(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,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 sU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pU(e,t){return t&&(_U(t)==="object"||typeof t=="function")?t:Zv(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function _U(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dU(e){var t=yU();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 pU(this,o)}}var eh=function(e){sU(r,e);var t=dU(r);function r(n){fU(this,r);var o,i,u;o=t.call(this,n),VR(Zv(o),"layoutMode",void 0),VR(Zv(o),"gutter",void 0);var c;o.layoutMode=(c=(i=n)===null||i===void 0?void 0:i.layoutMode)!==null&&c!==void 0?c:"select";var l;return o.gutter=(l=(u=n)===null||u===void 0?void 0:u.gutter)!==null&&l!==void 0?l:0,o}return r}(de);function CR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hU(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function bU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function gU(e,t){return t&&(mU(t)==="object"||typeof t=="function")?t:CR(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function mU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wU(e){var t=OU();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 gU(this,o)}}var nh=function(e){bU(r,e);var t=wU(r);function r(n){vU(this,r);var o,i;return o=t.call(this,n),th(CR(o),"props",void 0),o.props=new eh((i=n)===null||i===void 0?void 0:i.props),o}return hU(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);th(nh,"excludes",[m.ROW]),th(nh,"setting",[{key:"col-setting",visible:!0}]);function HR(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 qR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PU(e,t,r){return t&&qR(e.prototype,t),r&&qR(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 ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function SU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EU(e,t){return t&&(TU(t)==="object"||typeof t=="function")?t:HR(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function TU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BU(e){var t=IU();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 EU(this,o)}}var AU=function(e){SU(r,e);var t=BU(r);function r(n){$U(this,r);var o,i;return o=t.call(this,n),RU(HR(o),"props",void 0),o.props=new eh((i=n)===null||i===void 0?void 0:i.props),o}return PU(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Er);function xU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 DU(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}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 ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function NU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function FU(e,t){return t&&(jU(t)==="object"||typeof t=="function")?t:xU(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function jU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LU(e){var t=MU();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 FU(this,o)}}var VU=4,la=function(e){NU(r,e);var t=LU(r);function r(n){return kU(this,r),t.call(this,n)}return DU(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}(nh);ih(la,"excludes",[m.GRID_ROW]),ih(la,"setting",[]),ih(la,"childrenMaxLength",VU);function CU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HU(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function qU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function UU(e,t){return t&&(WU(t)==="object"||typeof t=="function")?t:CU(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}function WU(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 GU(e){var t=KU();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 UU(this,o)}}var XU=function(e){qU(r,e);var t=GU(r);function r(n){return zU(this,r),t.call(this,n)}return HU(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(AU);function JU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function ZU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function YU(e,t){return t&&(eW(t)==="object"||typeof t=="function")?t:JU(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function eW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rW(e){var t=tW();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 YU(this,o)}}var nW=function(e){ZU(r,e);var t=rW(r);function r(n){return QU(this,r),t.call(this,n)}return r}(eh),oW={Designer:la,Runtime:XU,Property:nW};function sa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function GR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function iW(e,t){return t&&(uW(t)==="object"||typeof t=="function")?t:sa(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function uW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XR(e){var t=cW();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 iW(this,o)}}var lW=function(e){GR(r,e);var t=XR(r);function r(){KR(this,r);var n;return n=t.apply(this,arguments),pa(sa(n),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),n}return r}(de.Rules),JR=function(e){GR(r,e);var t=XR(r);function r(n){KR(this,r);var o,i,u;o=t.call(this,n),pa(sa(o),"caption",void 0),pa(sa(o),"collapse",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:"\u5206\u7EC4";var l;return o.collapse=(l=(u=n)===null||u===void 0?void 0:u.collapse)!==null&&l!==void 0?l:"none",o}return r}(de);pa(JR,"Rules",lW);function QR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fW(e,t,r){return t&&ZR(e.prototype,t),r&&ZR(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 ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(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&&sh(e,t)}function pW(e,t){return t&&(_W(t)==="object"||typeof t=="function")?t:QR(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function _W(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dW(e){var t=yW();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 pW(this,o)}}var YR=function(e){sW(r,e);var t=dW(r);function r(n){aW(this,r);var o,i;return o=t.call(this,n),fh(QR(o),"props",void 0),o.props=new JR((i=n)===null||i===void 0?void 0:i.props),o}return fW(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(ve);fh(YR,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),fh(YR,"excludes",[m.CARD_GROUP]);function At(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function tS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}function vW(e,t){return t&&(hW(t)==="object"||typeof t=="function")?t:At(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function hW(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 rS(e){var t=bW();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 vW(this,o)}}var gW=function(e){tS(r,e);var t=rS(r);function r(n){eS(this,r);var o;return o=t.call(this,n),xt(At(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),xt(At(o),"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),xt(At(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(le),va=function(e){tS(r,e);var t=rS(r);function r(n){eS(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),xt(At(o),"metaAutoWidth",void 0),xt(At(o),"caption",void 0),xt(At(o),"fixed",void 0),xt(At(o),"isShowCaptionTip",void 0),xt(At(o),"captionTip",void 0),xt(At(o),"isHideCaption",void 0);var s;o.caption=(s=(i=n)===null||i===void 0?void 0:i.caption)!==null&&s!==void 0?s:"";var p;o.fixed=(p=(u=n)===null||u===void 0?void 0:u.fixed)!==null&&p!==void 0?p:!1;var _;o.isShowCaptionTip=(_=(c=n)===null||c===void 0?void 0:c.isShowCaptionTip)!==null&&_!==void 0?_:!1;var h;o.captionTip=(h=(l=n)===null||l===void 0?void 0:l.captionTip)!==null&&h!==void 0?h:"";var d;return o.isHideCaption=(d=(a=n)===null||a===void 0?void 0:a.isHideCaption)!==null&&d!==void 0?d:!1,o.metaAutoWidth=new D2((f=n)===null||f===void 0?void 0:f.metaAutoWidth),o}return r}(de);xt(va,"Rules",gW);function nS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function OW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function wW(e,t){return t&&($W(t)==="object"||typeof t=="function")?t:nS(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(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 RW(e){var t=PW();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 wW(this,o)}}var ht=function(e){OW(r,e);var t=RW(r);function r(n){mW(this,r);var o,i;return o=t.call(this,n),Ar(nS(o),"props",void 0),o.props=new va((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);Ar(ht,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Ar(ht,"controlType","subtable-column"),Ar(ht,"controlIcon","subtable-column"),Ar(ht,"childrenMaxLength",1),Ar(ht,"excludes",[m.SUBTABLE,m.SUBTABLE_COLUMN,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),Ar(ht,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",showItems:[v.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function oS(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 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 ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(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&&yh(e,t)}function TW(e,t){return t&&(IW(t)==="object"||typeof t=="function")?t:oS(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(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=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TW(this,o)}}var uS=function(e){EW(r,e);var t=AW(r);function r(n){SW(this,r);var o,i;return o=t.call(this,n),iS(oS(o),"props",void 0),o.props=new va((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);iS(uS,"controlType","subtable-column");var xW={Designer:ht,Runtime:uS,Property:va};function kW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function NW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function FW(e,t){return t&&(jW(t)==="object"||typeof t=="function")?t:kW(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function jW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LW(e){var t=MW();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 FW(this,o)}}var VW=function(e){NW(r,e);var t=LW(r);function r(n){return DW(this,r),t.call(this,n)}return r}(de);function cS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function zW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:cS(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function qW(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 WW(e){var t=UW();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 HW(this,o)}}var hn=function(e){zW(r,e);var t=WW(r);function r(n){CW(this,r);var o,i;return o=t.call(this,n),xr(cS(o),"props",void 0),o.props=new VW((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);xr(hn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),xr(hn,"controlType","subtable-row"),xr(hn,"controlIcon","subtable-row"),xr(hn,"childrenMaxLength",1),xr(hn,"excludes",[m.SUBTABLE,m.SUBTABLE_COLUMN,m.SUBTABLE_ROW,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),xr(hn,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0}]);function Qe(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 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 Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(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&&hh(e,t)}function XW(e,t){return t&&(JW(t)==="object"||typeof t=="function")?t:Qe(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function JW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZW(e){var t=QW();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 XW(this,o)}}var lS=function(e){GW(r,e);var t=ZW(r);function r(n){KW(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b;o=t.call(this,n),ct(Qe(o),"widthType",void 0),ct(Qe(o),"width",void 0),ct(Qe(o),"caption",void 0),ct(Qe(o),"fieldCode",void 0),ct(Qe(o),"fieldType",void 0),ct(Qe(o),"fieldName",void 0),ct(Qe(o),"datasourceBind",void 0),ct(Qe(o),"fixed",void 0),ct(Qe(o),"textCleanFormart",void 0),ct(Qe(o),"decimalKeepPrecision",void 0),ct(Qe(o),"timestampDateType",void 0),ct(Qe(o),"departmentDisplayLevel",void 0);var y;o.width=(y=(i=n)===null||i===void 0?void 0:i.width)!==null&&y!==void 0?y:200,o.widthType=((u=n)===null||u===void 0?void 0:u.widthType)||"auto";var g;o.caption=(g=(c=n)===null||c===void 0?void 0:c.caption)!==null&&g!==void 0?g:"";var O;o.fixed=(O=(l=n)===null||l===void 0?void 0:l.fixed)!==null&&O!==void 0?O:!1;var w;o.fieldCode=(w=(a=n)===null||a===void 0?void 0:a.fieldCode)!==null&&w!==void 0?w:"";var P;o.fieldType=(P=(f=n)===null||f===void 0?void 0:f.fieldType)!==null&&P!==void 0?P:S.VARCHAR;var E;o.fieldName=(E=(s=n)===null||s===void 0?void 0:s.fieldName)!==null&&E!==void 0?E:"",o.datasourceBind=new se((p=n)===null||p===void 0?void 0:p.datasourceBind);var T;o.textCleanFormart=(T=(_=n)===null||_===void 0?void 0:_.textCleanFormart)!==null&&T!==void 0?T:!1;var B;o.decimalKeepPrecision=(B=(h=n)===null||h===void 0?void 0:h.decimalKeepPrecision)!==null&&B!==void 0?B:0;var I;o.timestampDateType=(I=(d=n)===null||d===void 0?void 0:d.timestampDateType)!==null&&I!==void 0?I:Zt.DATE;var A;return o.departmentDisplayLevel=(A=(b=n)===null||b===void 0?void 0:b.departmentDisplayLevel)!==null&&A!==void 0?A:1,o}return r}(de);function aS(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 kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(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&&bh(e,t)}function tK(e,t){return t&&(rK(t)==="object"||typeof t=="function")?t:aS(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function rK(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 oK(e){var t=nK();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 tK(this,o)}}var bn=function(e){eK(r,e);var t=oK(r);function r(n){YW(this,r);var o,i;return o=t.call(this,n),kr(aS(o),"props",void 0),o.props=new lS((i=n)===null||i===void 0?void 0:i.props),o}return r}(ve);kr(bn,"controlName","\u5217\u8868\u5355\u5143\u683C"),kr(bn,"controlType","gridtable-column"),kr(bn,"controlIcon","gridtable-column"),kr(bn,"childrenMaxLength",1),kr(bn,"excludes",[m.GRID_TABLE,m.GRID_TABLE_COLUMN,m.ROW,m.COL,m.CARD_GROUP,m.DIVIDER,m.TEXT]),kr(bn,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",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 iK(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 $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&&gh(e,t)}function cK(e,t){return t&&(lK(t)==="object"||typeof t=="function")?t:fS(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}function lK(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 sK=function(e){uK(r,e);var t=fK(r);function r(n){iK(this,r);var o,i;return o=t.call(this,n),sS(fS(o),"props",void 0),o.props=new lS((i=n)===null||i===void 0?void 0:i.props),o}return r}(Er);sS(sK,"controlType","gridtable-column");function mh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function _K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function yK(e,t){return t&&(dK(t)==="object"||typeof t=="function")?t:mh(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function dK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hK(e){var t=vK();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 yK(this,o)}}var bK=function(e){_K(r,e);var t=hK(r);function r(n){pK(this,r);var o,i,u;o=t.call(this,n),pS(mh(o),"childMinWidth",void 0),pS(mh(o),"colGap",void 0);var c;o.childMinWidth=(c=(i=n)===null||i===void 0?void 0:i.childMinWidth)!==null&&c!==void 0?c:230;var l;return o.colGap=(l=(u=n)===null||u===void 0?void 0:u.colGap)!==null&&l!==void 0?l:24,o}return r}(de);function _S(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 yS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mK(e,t,r){return t&&yS(e.prototype,t),r&&yS(e,r),e}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 Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(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&&$h(e,t)}function wK(e,t){return t&&($K(t)==="object"||typeof t=="function")?t:_S(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function $K(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RK(e){var t=PK();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wK(this,o)}}var dS=function(e){OK(r,e);var t=RK(r);function r(n){gK(this,r);var o,i;return o=t.call(this,n),wh(_S(o),"props",void 0),o.props=new bK((i=n)===null||i===void 0?void 0:i.props),o}return mK(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(ve);wh(dS,"excludes",[m.GRID_LAYOUT_CONTAINER,m.CARD_GROUP,m.TAB]),wh(dS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",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 SK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EK(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 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&&Ph(e,t)}function IK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:vS(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(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=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IK(this,o)}}var kK=function(e){TK(r,e);var t=xK(r);function r(n){SK(this,r);var o,i;o=t.call(this,n),EK(vS(o),"mobileShowType",void 0);var u;return o.mobileShowType=(u=(i=n)===null||i===void 0?void 0:i.mobileShowType)!==null&&u!==void 0?u:"vertical",o}return r}(de);function Rh(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 Sh(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 bS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DK(e,t){return t&&(NK(t)==="object"||typeof t=="function")?t:Rh(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function NK(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 gS(e){var t=FK();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 DK(this,o)}}var jK=function(e){bS(r,e);var t=gS(r);function r(n){hS(this,r);var o;return o=t.call(this,n),Sh(Rh(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),o}return r}(le),mS=function(e){bS(r,e);var t=gS(r);function r(n){hS(this,r);var o,i;o=t.call(this,n),Sh(Rh(o),"caption",void 0);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:xa.controlName,o}return r}(de);Sh(mS,"Rules",jK);function OS(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 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 LK(e,t,r){return t&&wS(e.prototype,t),r&&wS(e,r),e}function Th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(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&&Ih(e,t)}function CK(e,t){return t&&(zK(t)==="object"||typeof t=="function")?t:OS(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function zK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qK(e){var t=HK();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 CK(this,o)}}var Ia=function(e){VK(r,e);var t=qK(r);function r(n){MK(this,r);var o,i;return o=t.call(this,n),Th(OS(o),"props",void 0),o.props=new mS((i=n)===null||i===void 0?void 0:i.props),o}return LK(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);Th(Ia,"excludes",[m.TAB]),Th(Ia,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{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 UK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PS(e,t){for(var r=0;r<t.length;r++){var 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&&PS(e.prototype,t),r&&PS(e,r),e}function Ba(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 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&&Bh(e,t)}function GK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:$S(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}function XK(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 QK(e){var t=JK();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 GK(this,o)}}var xa=function(e){KK(r,e);var t=QK(r);function r(n){UK(this,r);var o,i,u;o=t.call(this,n),Ba($S(o),"props",void 0),o.props=new kK((i=n)===null||i===void 0?void 0:i.props);var c;return o.children=(c=(u=n)===null||u===void 0?void 0:u.children)!==null&&c!==void 0?c:[new Ia,new Ia],o}return WK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(ve);Ba(xa,"excludes",[m.TAB]),Ba(xa,"controlEventKeys",["on_change_tab"]),Ba(xa,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function ZK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&Ah(e,t)}function tG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:ZK(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function rG(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 oG(e){var t=nG();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tG(this,o)}}var iG=function(e){eG(r,e);var t=oG(r);function r(n){return YK(this,r),t.call(this,n)}return r}(de);function RS(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 SS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cG(e,t,r){return t&&SS(e.prototype,t),r&&SS(e,r),e}function ES(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function lG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function aG(e,t){return t&&(fG(t)==="object"||typeof t=="function")?t:RS(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function fG(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 pG(e){var t=sG();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 aG(this,o)}}var _G=function(e){lG(r,e);var t=pG(r);function r(n){uG(this,r);var o,i;return o=t.call(this,n),ES(RS(o),"props",void 0),o.props=new iG({}),o.children=((i=n)===null||i===void 0?void 0:i.children)||[new So({props:new Ro({span:12})}),new So({props:new Ro({span:12})})],o}return cG(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ve);ES(_G,"excludes",[m.GRID_ROW,m.ROW,m.GRID,m.SUBTABLE,m.TAB,m.TOOLBOX]);function ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(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&&Nh(e,t)}function yG(e,t){return t&&(dG(t)==="object"||typeof t=="function")?t:ue(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function dG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fh(e){var t=vG();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 yG(this,o)}}var Fa;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Fa||(Fa={}));var hG=function(e){Dh(r,e);var t=Fh(r);function r(n){kh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),bG=function(e){Dh(r,e);var t=Fh(r);function r(n){kh(this,r);var o;if(o=t.call(this,n),ce(ue(o),"triggerFieldCode",{type:"any"}),ce(ue(o),"datasourceBind",{type:"any"}),ce(ue(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===Fa.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:$.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:$.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:$.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Vs.call(ue(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}(le),Eo=function(e){Dh(r,e);var t=Fh(r);function r(n){kh(this,r);var o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O;o=t.call(this,n),ce(ue(o),"datasourceBind",void 0),ce(ue(o),"isLoading",void 0),ce(ue(o),"isShowSubList",void 0),ce(ue(o),"triggerType",void 0),ce(ue(o),"triggerFieldCode",void 0),ce(ue(o),"sublistPage",void 0),ce(ue(o),"isShowJoinRelation",void 0),ce(ue(o),"joinRelation",void 0),ce(ue(o),"showType",void 0),ce(ue(o),"showFullScreen",void 0),ce(ue(o),"isFixedHeader",void 0),ce(ue(o),"selectionType",void 0),ce(ue(o),"isShowSelection",void 0),ce(ue(o),"isAllLoaded",void 0),ce(ue(o),"countType",void 0),o.datasourceBind=new se((i=n)===null||i===void 0?void 0:i.datasourceBind);var w;o.isLoading=(w=(u=n)===null||u===void 0?void 0:u.isLoading)!==null&&w!==void 0?w:!1;var P;o.isShowSubList=(P=(c=n)===null||c===void 0?void 0:c.isShowSubList)!==null&&P!==void 0?P:!1;var E;o.triggerType=(E=(l=n)===null||l===void 0?void 0:l.triggerType)!==null&&E!==void 0?E:Fa.CLICK_ROW;var T;o.triggerFieldCode=(T=(a=n)===null||a===void 0?void 0:a.triggerFieldCode)!==null&&T!==void 0?T:"",o.sublistPage=new L2((f=n)===null||f===void 0?void 0:f.sublistPage);var B;o.isShowJoinRelation=(B=(s=n)===null||s===void 0?void 0:s.isShowJoinRelation)!==null&&B!==void 0?B:!1,o.joinRelation=new C2((p=n)===null||p===void 0?void 0:p.joinRelation);var I;o.showType=(I=(_=n)===null||_===void 0?void 0:_.showType)!==null&&I!==void 0?I:"stretch";var A;o.showFullScreen=(A=(h=n)===null||h===void 0?void 0:h.showFullScreen)!==null&&A!==void 0?A:!1;var x;o.selectionType=(x=(d=n)===null||d===void 0?void 0:d.selectionType)!==null&&x!==void 0?x:"multiple";var k;o.isFixedHeader=(k=(b=n)===null||b===void 0?void 0:b.isFixedHeader)!==null&&k!==void 0?k:!1;var N;o.isShowSelection=(N=(y=n)===null||y===void 0?void 0:y.isShowSelection)!==null&&N!==void 0?N:!1;var D;return o.isAllLoaded=(D=(g=n)===null||g===void 0?void 0:g.isAllLoaded)!==null&&D!==void 0?D:!0,o.countType=(O=n)===null||O===void 0?void 0:O.countType,o}return r}(de);ce(Eo,"Rules",bG),ce(Eo,"RuntimeRules",hG);function TS(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 IS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mG(e,t,r){return t&&IS(e.prototype,t),r&&IS(e,r),e}function ja(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 OG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function wG(e,t){return t&&($G(t)==="object"||typeof t=="function")?t:TS(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}function $G(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RG(e){var t=PG();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wG(this,o)}}var La=function(e){OG(r,e);var t=RG(r);function r(n){gG(this,r);var o,i;return o=t.call(this,n),ja(TS(o),"props",void 0),o.props=new Eo((i=n)===null||i===void 0?void 0:i.props),o}return mG(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);ja(La,"excludes",[m.ROW]),ja(La,"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"]),ja(La,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}]);function BS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EG(e,t,r){return t&&AS(e.prototype,t),r&&AS(e,r),e}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 Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function IG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function BG(e,t){return t&&(AG(t)==="object"||typeof t=="function")?t:BS(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function AG(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 kG(e){var t=xG();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 BG(this,o)}}var DG=function(e){IG(r,e);var t=kG(r);function r(n){SG(this,r);var o,i;return o=t.call(this,n),TG(BS(o),"props",void 0),o.props=new Eo((i=n)===null||i===void 0?void 0:i.props),o}return EG(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Er),NG={Designer:La,Runtime:DG,Property:Eo};function br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xS(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 Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function kS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FG(e,t){return t&&(jG(t)==="object"||typeof t=="function")?t:br(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function jG(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 DS(e){var t=MG();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 FG(this,o)}}var LG=function(e){kS(r,e);var t=DS(r);function r(n){xS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),za=function(e){kS(r,e);var t=DS(r);function r(n){xS(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),gr(br(o),"save",void 0),gr(br(o),"cancel",void 0),gr(br(o),"saveAs",void 0),gr(br(o),"print",void 0),gr(br(o),"custom",void 0),gr(br(o),"isLoading",void 0),gr(br(o),"datasourceBind",void 0);var p;o.save=new tr((p=(i=n)===null||i===void 0?void 0:i.save)!==null&&p!==void 0?p:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var _;o.cancel=new tr((_=(u=n)===null||u===void 0?void 0:u.cancel)!==null&&_!==void 0?_:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var h;o.saveAs=new tr((h=(c=n)===null||c===void 0?void 0:c.saveAs)!==null&&h!==void 0?h:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var d;o.print=new tr((d=(l=n)===null||l===void 0?void 0:l.print)!==null&&d!==void 0?d:{content:"\u6253\u5370",type:"print",isShow:!1});var b;o.custom=((b=(a=n)===null||a===void 0?void 0:a.custom)!==null&&b!==void 0?b:[]).map(function(g){return new tr(g)});var y;return o.isLoading=(y=(f=n)===null||f===void 0?void 0:f.isLoading)!==null&&y!==void 0?y:!1,o.datasourceBind=new se((s=n)===null||s===void 0?void 0:s.datasourceBind),o}return r}(de);gr(za,"RuntimeRules",LG);function NS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CG(e,t,r){return t&&FS(e.prototype,t),r&&FS(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 Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function zG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function HG(e,t){return t&&(qG(t)==="object"||typeof t=="function")?t:NS(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function qG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WG(e){var t=UG();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HG(this,o)}}var MS=function(e){zG(r,e);var t=WG(r);function r(n){VG(this,r);var o,i;return o=t.call(this,n),jS(NS(o),"props",void 0),o.props=new za((i=n)===null||i===void 0?void 0:i.props),o}return CG(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ve);jS(MS,"excludes",[]);function LS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GG(e,t,r){return t&&VS(e.prototype,t),r&&VS(e,r),e}function XG(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 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&&Ch(e,t)}function QG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:LS(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}function ZG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eX(e){var t=YG();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 QG(this,o)}}var tX=function(e){JG(r,e);var t=eX(r);function r(n){KG(this,r);var o,i;return o=t.call(this,n),XG(LS(o),"props",void 0),o.props=new za((i=n)===null||i===void 0?void 0:i.props),o}return GG(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Er),rX={Designer:MS,Runtime:tX,Property:za};function Ua(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 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 Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(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&&Hh(e,t)}function iX(e,t){return t&&(uX(t)==="object"||typeof t=="function")?t:Ua(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function uX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lX(e){var t=cX();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 iX(this,o)}}var aX=function(e){oX(r,e);var t=lX(r);function r(n){nX(this,r);var o,i,u,c;o=t.call(this,n),zh(Ua(o),"position",void 0),zh(Ua(o),"opacity",void 0),zh(Ua(o),"align",void 0);var l;o.position=(l=(i=n)===null||i===void 0?void 0:i.position)!==null&&l!==void 0?l:"bottom";var a;o.opacity=(a=(u=n)===null||u===void 0?void 0:u.opacity)!==null&&a!==void 0?a:!0;var f;return o.align=(f=(c=n)===null||c===void 0?void 0:c.align)!==null&&f!==void 0?f:"right",o}return r}(de);function CS(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 zS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sX(e,t,r){return t&&zS(e.prototype,t),r&&zS(e,r),e}function qh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function pX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function _X(e,t){return t&&(yX(t)==="object"||typeof t=="function")?t:CS(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function yX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vX(e){var t=dX();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _X(this,o)}}var HS=function(e){pX(r,e);var t=vX(r);function r(n){fX(this,r);var o,i;o=t.call(this,n),qh(CS(o),"props",void 0);var u;return o.props=new aX((u=(i=n)===null||i===void 0?void 0:i.props)!==null&&u!==void 0?u:{}),o}return sX(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(ve);qh(HS,"excludes",[]),qh(HS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function L(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wh(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 Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(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&&Gh(e,t)}function hX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:L(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(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 Xh(e){var t=gX();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 hX(this,o)}}var mX=function(e){Kh(r,e);var t=Xh(r);function r(n){Wh(this,r);var o;return o=t.call(this,n),j(L(o),"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),j(L(o),"limitRows",[{type:"number",required:!0,message:$.getMessage("isNotNumber")},{type:"number",min:0,message:$.getMessage("limitRowsCannotBeLessThan0")}]),j(L(o),"formKey",{type:"string",required:!1,message:$.getMessage("pleaseEnterForm")}),j(L(o),"maxHeight",{type:"number",required:!0,message:$.getMessage("pleaseEnterMaxHeight")}),j(L(o),"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")}),j(L(o),"mobileRowCaption",{type:"string",required:!1,message:$.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(le),OX=function(e){Kh(r,e);var t=Xh(r);function r(n){Wh(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,l){c.length<n.limitRows&&l($.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:$.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Rr),Jh=function(e){Kh(r,e);var t=Xh(r);function r(n,o){Wh(this,r);var i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T,B,I,A,x,k,N,D,z,Y,ee,ne,oe;i=t.call(this,n,o),j(L(i),"caption",void 0),j(L(i),"labelPosition",void 0),j(L(i),"isHideCaption",void 0),j(L(i),"isShowCaptionTip",void 0),j(L(i),"captionTip",void 0),j(L(i),"defaultState",void 0),j(L(i),"limitRows",void 0),j(L(i),"maxRows",void 0),j(L(i),"defaultRows",void 0),j(L(i),"datasourceBind",void 0),j(L(i),"printMode",void 0),j(L(i),"openType",void 0),j(L(i),"formKey",void 0),j(L(i),"useCustomHeight",void 0),j(L(i),"maxHeight",void 0),j(L(i),"canAdd",void 0),j(L(i),"canDelete",void 0),j(L(i),"canCheck",void 0),j(L(i),"canEdit",void 0),j(L(i),"canImport",void 0),j(L(i),"canExport",void 0),j(L(i),"canClear",void 0),j(L(i),"isPaste",void 0),j(L(i),"mobileShowType",void 0),j(L(i),"mobileDefaultNum",void 0),j(L(i),"dataStorageDoc",void 0),j(L(i),"serverPagination",void 0),j(L(i),"fixedColumn",void 0),j(L(i),"mobileRowCaption",void 0),j(L(i),"mobileIsTile",void 0);var fe;i.caption=(fe=(u=o)===null||u===void 0?void 0:u.caption)!==null&&fe!==void 0?fe:eb.controlName;var Ze;i.isHideCaption=(Ze=(c=o)===null||c===void 0?void 0:c.isHideCaption)!==null&&Ze!==void 0?Ze:!1;var Fe;i.defaultState=(Fe=(l=o)===null||l===void 0?void 0:l.defaultState)!==null&&Fe!==void 0?Fe:"default";var Ot;i.labelPosition=(Ot=(a=o)===null||a===void 0?void 0:a.labelPosition)!==null&&Ot!==void 0?Ot:"top";var wt;i.openType=(wt=(f=o)===null||f===void 0?void 0:f.openType)!==null&&wt!==void 0?wt:"default";var $t;i.formKey=($t=(s=o)===null||s===void 0?void 0:s.formKey)!==null&&$t!==void 0?$t:"";var Qt;i.useCustomHeight=(Qt=(p=o)===null||p===void 0?void 0:p.useCustomHeight)!==null&&Qt!==void 0?Qt:!1;var Cr;i.maxHeight=(Cr=(_=o)===null||_===void 0?void 0:_.maxHeight)!==null&&Cr!==void 0?Cr:CD;var zr;i.printMode=(zr=(h=o)===null||h===void 0?void 0:h.printMode)!==null&&zr!==void 0?zr:"row";var jo;i.limitRows=(jo=(d=o)===null||d===void 0?void 0:d.limitRows)!==null&&jo!==void 0?jo:1;var Hr;i.maxRows=(Hr=(b=o)===null||b===void 0?void 0:b.maxRows)!==null&&Hr!==void 0?Hr:null;var L0;i.defaultRows=(L0=(y=o)===null||y===void 0?void 0:y.defaultRows)!==null&&L0!==void 0?L0:1,i.datasourceBind=new se((g=o)===null||g===void 0?void 0:g.datasourceBind);var V0;i.canAdd=(V0=(O=o)===null||O===void 0?void 0:O.canAdd)!==null&&V0!==void 0?V0:!0;var C0;i.canDelete=(C0=(w=o)===null||w===void 0?void 0:w.canDelete)!==null&&C0!==void 0?C0:!0;var z0;i.canCheck=(z0=(P=o)===null||P===void 0?void 0:P.canCheck)!==null&&z0!==void 0?z0:!1;var H0;i.canEdit=(H0=(E=o)===null||E===void 0?void 0:E.canEdit)!==null&&H0!==void 0?H0:!1;var q0;i.canImport=(q0=(T=o)===null||T===void 0?void 0:T.canImport)!==null&&q0!==void 0?q0:!1;var U0;i.canExport=(U0=(B=o)===null||B===void 0?void 0:B.canExport)!==null&&U0!==void 0?U0:!1;var W0;i.canClear=(W0=(I=o)===null||I===void 0?void 0:I.canClear)!==null&&W0!==void 0?W0:!0;var K0;i.serverPagination=(K0=(A=o)===null||A===void 0?void 0:A.serverPagination)!==null&&K0!==void 0?K0:!1;var G0;i.isShowCaptionTip=(G0=(x=o)===null||x===void 0?void 0:x.isShowCaptionTip)!==null&&G0!==void 0?G0:!1;var X0;i.captionTip=(X0=(k=o)===null||k===void 0?void 0:k.captionTip)!==null&&X0!==void 0?X0:"";var J0;i.mobileShowType=(J0=(N=o)===null||N===void 0?void 0:N.mobileShowType)!==null&&J0!==void 0?J0:"list";var Q0;i.mobileDefaultNum=(Q0=(D=o)===null||D===void 0?void 0:D.mobileDefaultNum)!==null&&Q0!==void 0?Q0:10;var Z0;i.dataStorageDoc=(Z0=(z=o)===null||z===void 0?void 0:z.dataStorageDoc)!==null&&Z0!==void 0?Z0:new N2;var Y0;i.fixedColumn=(Y0=(Y=o)===null||Y===void 0?void 0:Y.fixedColumn)!==null&&Y0!==void 0?Y0:[];var eg;i.mobileRowCaption=(eg=(ee=o)===null||ee===void 0?void 0:ee.mobileRowCaption)!==null&&eg!==void 0?eg:"\u660E\u7EC6";var tg;i.mobileIsTile=(tg=(ne=o)===null||ne===void 0?void 0:ne.mobileIsTile)!==null&&tg!==void 0?tg:!1;var rg;return i.isPaste=(rg=(oe=o)===null||oe===void 0?void 0:oe.isPaste)!==null&&rg!==void 0?rg:!1,i}return r}(Ys);j(Jh,"Rules",mX),j(Jh,"RuntimeRules",OX);function Qh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $X(e,t,r){return t&&qS(e.prototype,t),r&&qS(e,r),e}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 Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function PX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function RX(e,t){return t&&(SX(t)==="object"||typeof t=="function")?t:Qh(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function SX(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=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RX(this,o)}}var eb=function(e){PX(r,e);var t=TX(r);function r(n){wX(this,r);var o,i,u,c,l,a;return o=t.call(this,n),Zh(Qh(o),"props",void 0),o.props=new Jh(Qh(o),(i=n)===null||i===void 0?void 0:i.props),((c=n)===null||c===void 0||(u=c.props)===null||u===void 0?void 0:u.headers)===void 0&&(o.props.headers=[new ht,new ht,new ht]),((a=n)===null||a===void 0||(l=a.props)===null||l===void 0?void 0:l.footers)===void 0&&(o.props.footers=[]),o}return $X(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ht,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}(rp);Zh(eb,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Zh(eb,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[v.CAPTION,v.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE,v.IS_SHOW_CAPTION_TIP,v.IS_PASTE]},{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 IX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function To(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function 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&&tb(e,t)}function AX(e,t){return t&&(xX(t)==="object"||typeof t=="function")?t:gn(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function xX(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 DX(e){var t=kX();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 AX(this,o)}}var NX=function(e){BX(r,e);var t=DX(r);function r(n,o){IX(this,r);var i,u,c,l,a,f;i=t.call(this,n,o),To(gn(i),"isFixedHeader",void 0),To(gn(i),"selectionType",void 0),To(gn(i),"isShowToolbar",void 0),To(gn(i),"isShowSelection",void 0),To(gn(i),"isShowCustomColumns",void 0);var s;i.isFixedHeader=(s=(u=o)===null||u===void 0?void 0:u.isFixedHeader)!==null&&s!==void 0?s:!1,i.selectionType=(c=o)===null||c===void 0?void 0:c.selectionType;var p;i.isShowToolbar=(p=(l=o)===null||l===void 0?void 0:l.isShowToolbar)!==null&&p!==void 0?p:!0;var _;i.isShowSelection=(_=(a=o)===null||a===void 0?void 0:a.isShowSelection)!==null&&_!==void 0?_:!1;var h;return i.isShowCustomColumns=(h=(f=o)===null||f===void 0?void 0:f.isShowCustomColumns)!==null&&h!==void 0?h:!0,i}return r}(Ys);function FX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function US(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jX(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 WS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rb(e,t)}function MX(e,t){return t&&(LX(t)==="object"||typeof t=="function")?t:FX(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function LX(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 KS(e){var t=VX();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 MX(this,o)}}var CX=function(e){WS(r,e);var t=KS(r);function r(n){US(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(jt),nb=function(e){WS(r,e);var t=KS(r);function r(n){US(this,r);var o,i,u,c,l,a,f,s,p;o=t.call(this,n);var _;o.fixed=(_=(i=n)===null||i===void 0?void 0:i.fixed)!==null&&_!==void 0?_:"left";var h;o.caption=(h=(u=n)===null||u===void 0?void 0:u.caption)!==null&&h!==void 0?h:mn.controlName;var d;o.width=(d=(c=n)===null||c===void 0?void 0:c.width)!==null&&d!==void 0?d:60;var b;o.autoWidth.minWidth=(b=(a=n)===null||a===void 0||(l=a.autoWidth)===null||l===void 0?void 0:l.minWidth)!==null&&b!==void 0?b:60;var y;o.autoWidth.flex=(y=(s=n)===null||s===void 0||(f=s.autoWidth)===null||f===void 0?void 0:f.flex)!==null&&y!==void 0?y:.4;var g;return o.widthType=(g=(p=n)===null||p===void 0?void 0:p.widthType)!==null&&g!==void 0?g:"px",o}return r}(ie);jX(nb,"Rules",CX);function GS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function HX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function qX(e,t){return t&&(UX(t)==="object"||typeof t=="function")?t:GS(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(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=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qX(this,o)}}var mn=function(e){HX(r,e);var t=KX(r);function r(n){zX(this,r);var o,i;return o=t.call(this,n),Io(GS(o),"props",void 0),o.props=new nb((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Io(mn,"controlType","order-column"),Io(mn,"controlName","\u5E8F\u53F7"),Io(mn,"controlIcon","order-column"),Io(mn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function XS(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 ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(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&&ub(e,t)}function JX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:XS(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function QX(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=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JX(this,o)}}var JS=function(e){XX(r,e);var t=YX(r);function r(n){GX(this,r);var o,i;return o=t.call(this,n),ib(XS(o),"props",void 0),o.props=new nb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);ib(JS,"controlType","order-column"),ib(JS,"controlFieldType",S.DECIMAL);function cb(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 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 ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&lb(e,t)}function rJ(e,t){return t&&(nJ(t)==="object"||typeof t=="function")?t:cb(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function nJ(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=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rJ(this,o)}}var ZS=function(e){tJ(r,e);var t=iJ(r);function r(n){eJ(this,r);var o,i,u,c,l,a,f;o=t.call(this,n),QS(cb(o),"showType",void 0),QS(cb(o),"limit",void 0);var s;o.fixed=(s=(i=n)===null||i===void 0?void 0:i.fixed)!==null&&s!==void 0?s:"right",o.widthType="auto";var p;o.autoWidth.minWidth=(p=(c=n)===null||c===void 0||(u=c.autoWidth)===null||u===void 0?void 0:u.minWidth)!==null&&p!==void 0?p:84;var _;o.caption=(_=(l=n)===null||l===void 0?void 0:l.caption)!==null&&_!==void 0?_:wn.controlName;var h;o.showType=(h=(a=n)===null||a===void 0?void 0:a.showType)!==null&&h!==void 0?h:"icon";var d;return o.limit=(d=(f=n)===null||f===void 0?void 0:f.limit)!==null&&d!==void 0?d:3,o}return r}(ie);function tf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YS(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function uJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){YS(i,n,o,u,c,"next",l)}function c(l){YS(i,n,o,u,c,"throw",l)}u(void 0)})}}function cJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lJ(e,t,r){return t&&eE(e.prototype,t),r&&eE(e,r),e}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function On(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?On=Reflect.get:On=function(o,i,u){var c=yJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},On(e,t,r||e)}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(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&&ab(e,t)}function fJ(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){Dr(e,o,r[o])})}return e}function sJ(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 pJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function _J(e,t){return t&&(dJ(t)==="object"||typeof t=="function")?t:tf(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function yJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mr(e),e!==null););return e}function dJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hJ(e){var t=vJ();return function(){var n=mr(e),o;if(t){var i=mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _J(this,o)}}function bJ(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var wn=function(e){aJ(r,e);var t=hJ(r);function r(n){cJ(this,r);var o,i,u;return o=t.call(this,n),Dr(tf(o),"props",void 0),Dr(tf(o),"children",void 0),o.props=new ZS((i=n)===null||i===void 0?void 0:i.props),Ft(tf(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return lJ(r,[{key:"toDataBindModel",value:function(){var o=On(mr(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===gu.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=On(mr(r.prototype),"toSchema",this).call(this);return pJ(fJ({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return On(mr(r.prototype),"validate",u)};return uJ(function(){return bJ(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(be);Dr(wn,"controlType","operation-column"),Dr(wn,"controlName","\u64CD\u4F5C"),Dr(wn,"controlIcon","operation-column"),Dr(wn,"setting",[{key:"caption",showItems:[v.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 rf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(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 mJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function OJ(e,t){return t&&(wJ(t)==="object"||typeof t=="function")?t:rf(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function wJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PJ(e){var t=$J();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OJ(this,o)}}var tE=function(e){mJ(r,e);var t=PJ(r);function r(n){gJ(this,r);var o,i,u;return o=t.call(this,n),nf(rf(o),"props",void 0),nf(rf(o),"children",void 0),o.props=new ZS((i=n)===null||i===void 0?void 0:i.props),Ft(rf(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}(ge);nf(tE,"controlType","operation-column"),nf(tE,"controlFieldType",S.FILE);function Bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rE(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(a){r(a);return}c.done?t(l):Promise.resolve(l).then(n,o)}function RJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){rE(i,n,o,u,c,"next",l)}function c(l){rE(i,n,o,u,c,"throw",l)}u(void 0)})}}function SJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EJ(e,t,r){return t&&nE(e.prototype,t),r&&nE(e,r),e}function uf(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ao=Reflect.get:Ao=function(o,i,u){var c=kJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ao(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function TJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function IJ(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){uf(e,o,r[o])})}return e}function BJ(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 AJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):BJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function xJ(e,t){return t&&(DJ(t)==="object"||typeof t=="function")?t:Bo(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function kJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}function DJ(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 FJ(e){var t=NJ();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 xJ(this,o)}}function jJ(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(a){return function(f){return l([a,f])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(f){a=[6,f],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var MJ=function(e){TJ(r,e);var t=FJ(r);function r(n){SJ(this,r);var o,i,u,c,l,a;return o=t.call(this,n),uf(Bo(o),"props",void 0),uf(Bo(o),"children",void 0),o.props=new NX(Bo(o),(i=n)===null||i===void 0?void 0:i.props),Ft(Bo(o),"children",(u=n)===null||u===void 0?void 0:u.children),((c=n)===null||c===void 0?void 0:c.props.headers)===void 0&&(o.props.headers=[new mn,new wn]),((a=n)===null||a===void 0||(l=a.props)===null||l===void 0?void 0:l.footers)===void 0&&(o.props.footers=[]),o}return EJ(r,[{key:"toSchema",value:function(){var o=Ao(Nr(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return AJ(IJ({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return Ao(Nr(r.prototype),"validate",u)};return RJ(function(){return jJ(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,i)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(rp);uf(MJ,"setting",[{key:"list-fixed-header",visible:!0}]);function Or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function iE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function LJ(e,t){return t&&(VJ(t)==="object"||typeof t=="function")?t:Or(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function VJ(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 uE(e){var t=CJ();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 LJ(this,o)}}var zJ=function(e){iE(r,e);var t=uE(r);function r(n){oE(this,r);var o;return o=t.call(this,n),Tr.call(Or(o),n),o}return r}(am),_b=function(e){iE(r,e);var t=uE(r);function r(n){oE(this,r);var o,i,u,c,l,a,f,s;o=t.call(this,n),Fr(Or(o),"optionConfig",void 0),Fr(Or(o),"datasourceBind",void 0),Fr(Or(o),"showLinkOperation",void 0),Fr(Or(o),"linkOperationOption",void 0),Fr(Or(o),"options",void 0),Fr(Or(o),"lineEllipsis",void 0);var p;o.caption=(p=(i=n)===null||i===void 0?void 0:i.caption)!==null&&p!==void 0?p:Pn.controlName;var _;o.optionConfig=(_=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&_!==void 0?_:"none",o.datasourceBind=new se((c=n)===null||c===void 0?void 0:c.datasourceBind);var h;o.options=Nt((h=(l=n)===null||l===void 0?void 0:l.options)!==null&&h!==void 0?h:[{}]);var d;o.showLinkOperation=(d=(a=n)===null||a===void 0?void 0:a.showLinkOperation)!==null&&d!==void 0?d:!1,o.linkOperationOption=new er((f=n)===null||f===void 0?void 0:f.linkOperationOption);var b;return o.lineEllipsis=(b=(s=n)===null||s===void 0?void 0:s.lineEllipsis)!==null&&b!==void 0?b:1,o}return r}(ie);Fr(_b,"Rules",zJ);function cE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(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&&yb(e,t)}function UJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:cE(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}function WJ(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=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UJ(this,o)}}var Pn=function(e){qJ(r,e);var t=GJ(r);function r(n){HJ(this,r);var o,i;return o=t.call(this,n),$n(cE(o),"props",void 0),o.props=new _b((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);$n(Pn,"controlType","varchar-column"),$n(Pn,"controlName","\u77ED\u6587\u672C"),$n(Pn,"controlIcon","varchar-column"),$n(Pn,"controlFieldType",S.VARCHAR),$n(Pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 lE(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 db(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(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&&vb(e,t)}function QJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:lE(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function ZJ(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 eQ(e){var t=YJ();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 QJ(this,o)}}var aE=function(e){JJ(r,e);var t=eQ(r);function r(n){XJ(this,r);var o,i;return o=t.call(this,n),db(lE(o),"props",void 0),o.props=new _b((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);db(aE,"controlType","varchar-column"),db(aE,"controlFieldType",S.VARCHAR);function Rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function sE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function tQ(e,t){return t&&(rQ(t)==="object"||typeof t=="function")?t:Rn(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function rQ(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 pE(e){var t=nQ();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 tQ(this,o)}}var oQ=function(e){sE(r,e);var t=pE(r);function r(n){fE(this,r);var o;return o=t.call(this,n),Tr.call(Rn(o),n),o}return r}(jt),bb=function(e){sE(r,e);var t=pE(r);function r(n){fE(this,r);var o,i,u,c,l,a;o=t.call(this,n),xo(Rn(o),"escapeHTML",void 0),xo(Rn(o),"showLinkOperation",void 0),xo(Rn(o),"linkOperationOption",void 0),xo(Rn(o),"lineEllipsis",void 0);var f;o.escapeHTML=(f=(i=n)===null||i===void 0?void 0:i.escapeHTML)!==null&&f!==void 0?f:!0;var s;o.caption=(s=(u=n)===null||u===void 0?void 0:u.caption)!==null&&s!==void 0?s:Tn.controlName;var p;o.lineEllipsis=(p=(c=n)===null||c===void 0?void 0:c.lineEllipsis)!==null&&p!==void 0?p:1;var _;return o.showLinkOperation=(_=(l=n)===null||l===void 0?void 0:l.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new er((a=n)===null||a===void 0?void 0:a.linkOperationOption),o}return r}(ie);xo(bb,"Rules",oQ);function _E(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 yE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uQ(e,t,r){return t&&yE(e.prototype,t),r&&yE(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 sf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sf=Reflect.get:sf=function(o,i,u){var c=aQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},sf(e,t,r||e)}function En(e){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},En(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&&gb(e,t)}function lQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:_E(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function aQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=En(e),e!==null););return e}function fQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pQ(e){var t=sQ();return function(){var n=En(e),o;if(t){var i=En(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lQ(this,o)}}var Tn=function(e){cQ(r,e);var t=pQ(r);function r(n){iQ(this,r);var o,i;return o=t.call(this,n),Sn(_E(o),"props",void 0),o.props=new bb((i=n)===null||i===void 0?void 0:i.props),o}return uQ(r,[{key:"toDataBindModel",value:function(o){var i=sf(En(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(be);Sn(Tn,"controlType","text-column"),Sn(Tn,"controlName","\u957F\u6587\u672C"),Sn(Tn,"controlIcon","text-column"),Sn(Tn,"controlFieldType",S.TEXT),Sn(Tn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 dE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mb(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 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&&Ob(e,t)}function dQ(e,t){return t&&(vQ(t)==="object"||typeof t=="function")?t:dE(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(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=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dQ(this,o)}}var vE=function(e){yQ(r,e);var t=bQ(r);function r(n){_Q(this,r);var o,i;return o=t.call(this,n),mb(dE(o),"props",void 0),o.props=new bb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);mb(vE,"controlType","text-column"),mb(vE,"controlFieldType",S.TEXT);function kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function bE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:kt(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(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 gE(e){var t=OQ();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 gQ(this,o)}}var wQ=function(e){bE(r,e);var t=gE(r);function r(n){hE(this,r);var o;return o=t.call(this,n),Tr.call(kt(o),n),o}return r}(jt),$b=function(e){bE(r,e);var t=gE(r);function r(n){hE(this,r);var o,i,u,c,l,a,f,s,p,_;o=t.call(this,n),Jt(kt(o),"optionConfig",void 0),Jt(kt(o),"datasourceBind",void 0),Jt(kt(o),"showLinkOperation",void 0),Jt(kt(o),"linkOperationOption",void 0),Jt(kt(o),"options",void 0),Jt(kt(o),"precision",void 0),Jt(kt(o),"micrometer",void 0),Jt(kt(o),"percentageFormat",void 0);var h;o.caption=(h=(i=n)===null||i===void 0?void 0:i.caption)!==null&&h!==void 0?h:An.controlName;var d;o.precision=(d=(u=n)===null||u===void 0?void 0:u.precision)!==null&&d!==void 0?d:0;var b;o.micrometer=(b=(c=n)===null||c===void 0?void 0:c.micrometer)!==null&&b!==void 0?b:!1;var y;o.percentageFormat=(y=(l=n)===null||l===void 0?void 0:l.percentageFormat)!==null&&y!==void 0?y:!1;var g;o.optionConfig=(g=(a=n)===null||a===void 0?void 0:a.optionConfig)!==null&&g!==void 0?g:"none",o.datasourceBind=new se((f=n)===null||f===void 0?void 0:f.datasourceBind);var O;o.options=Nt((O=(s=n)===null||s===void 0?void 0:s.options)!==null&&O!==void 0?O:[{}]);var w;return o.showLinkOperation=(w=(p=n)===null||p===void 0?void 0:p.showLinkOperation)!==null&&w!==void 0?w:!1,o.linkOperationOption=new er((_=n)===null||_===void 0?void 0:_.linkOperationOption),o}return r}(ie);Jt($b,"Rules",wQ);function mE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PQ(e,t,r){return t&&OE(e.prototype,t),r&&OE(e,r),e}function In(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?yf=Reflect.get:yf=function(o,i,u){var c=EQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},yf(e,t,r||e)}function Bn(e){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bn(e)}function RQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function SQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:mE(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function EQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bn(e),e!==null););return e}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=Bn(e),o;if(t){var i=Bn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SQ(this,o)}}var An=function(e){RQ(r,e);var t=BQ(r);function r(n){$Q(this,r);var o,i;return o=t.call(this,n),In(mE(o),"props",void 0),o.props=new $b((i=n)===null||i===void 0?void 0:i.props),o}return PQ(r,[{key:"toDataBindModel",value:function(o){var i=yf(Bn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}]),r}(be);In(An,"controlType","decimal-column"),In(An,"controlName","\u6570\u503C"),In(An,"controlIcon","decimal-column"),In(An,"controlFieldType",S.DECIMAL),In(An,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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:[v.MICROMETER,v.PRECISION,v.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function wE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AQ(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 df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(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&&Sb(e,t)}function kQ(e,t){return t&&(DQ(t)==="object"||typeof t=="function")?t:wE(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function DQ(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 FQ(e){var t=NQ();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 kQ(this,o)}}var $E=function(e){xQ(r,e);var t=FQ(r);function r(n){AQ(this,r);var o,i;return o=t.call(this,n),Rb(wE(o),"props",void 0),o.props=new $b((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Rb($E,"controlType","decimal-column"),Rb($E,"controlFieldType",S.DECIMAL);function ko(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vf(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 RE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function jQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:ko(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function MQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SE(e){var t=LQ();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 jQ(this,o)}}var VQ=function(e){RE(r,e);var t=SE(r);function r(n){PE(this,r);var o;return o=t.call(this,n),Tr.call(ko(o),n),o}return r}(jt),Tb=function(e){RE(r,e);var t=SE(r);function r(n){PE(this,r);var o,i,u,c,l;o=t.call(this,n),vf(ko(o),"dateType",void 0),vf(ko(o),"showLinkOperation",void 0),vf(ko(o),"linkOperationOption",void 0);var a;o.dateType=(a=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&a!==void 0?a:Zt.DATE;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.caption=(s=(l=n)===null||l===void 0?void 0:l.caption)!==null&&s!==void 0?s:Dn.controlName,o}return r}(ie);vf(Tb,"Rules",VQ);function EE(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 TE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zQ(e,t,r){return t&&TE(e.prototype,t),r&&TE(e,r),e}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 bf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?bf=Reflect.get:bf=function(o,i,u){var c=UQ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},bf(e,t,r||e)}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kn(e)}function HQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function qQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:EE(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function UQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kn(e),e!==null););return e}function WQ(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=kn(e),o;if(t){var i=kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qQ(this,o)}}var Dn=function(e){HQ(r,e);var t=GQ(r);function r(n){CQ(this,r);var o,i;return o=t.call(this,n),xn(EE(o),"props",void 0),o.props=new Tb((i=n)===null||i===void 0?void 0:i.props),o}return zQ(r,[{key:"toDataBindModel",value:function(o){var i=bf(kn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(be);xn(Dn,"controlType","timescope-column"),xn(Dn,"controlName","\u65E5\u671F\u533A\u95F4"),xn(Dn,"controlIcon","timescope-column"),xn(Dn,"controlFieldType",S.TIMESCOPE),xn(Dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 IE(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 Bb(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 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&&Ab(e,t)}function QQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:IE(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function ZQ(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 eZ(e){var t=YQ();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 QQ(this,o)}}var BE=function(e){JQ(r,e);var t=eZ(r);function r(n){XQ(this,r);var o,i;return o=t.call(this,n),Bb(IE(o),"props",void 0),o.props=new Tb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Bb(BE,"controlType","timescope-column"),Bb(BE,"controlFieldType",S.TIMESCOPE);function Do(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function xE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xb(e,t)}function tZ(e,t){return t&&(rZ(t)==="object"||typeof t=="function")?t:Do(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function rZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kE(e){var t=nZ();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 tZ(this,o)}}var oZ=function(e){xE(r,e);var t=kE(r);function r(n){AE(this,r);var o;return o=t.call(this,n),Tr.call(Do(o),n),o}return r}(jt),kb=function(e){xE(r,e);var t=kE(r);function r(n){AE(this,r);var o,i,u,c,l;o=t.call(this,n),mf(Do(o),"dateType",void 0),mf(Do(o),"showLinkOperation",void 0),mf(Do(o),"linkOperationOption",void 0);var a;o.dateType=(a=(i=n)===null||i===void 0?void 0:i.dateType)!==null&&a!==void 0?a:Zt.DATE;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.caption=(s=(l=n)===null||l===void 0?void 0:l.caption)!==null&&s!==void 0?s:jn.controlName,o}return r}(ie);mf(kb,"Rules",oZ);function DE(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 NE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uZ(e,t,r){return t&&NE(e.prototype,t),r&&NE(e,r),e}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 wf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wf=Reflect.get:wf=function(o,i,u){var c=aZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},wf(e,t,r||e)}function Fn(e){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fn(e)}function cZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function lZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:DE(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function aZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fn(e),e!==null););return e}function fZ(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 pZ(e){var t=sZ();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 lZ(this,o)}}var jn=function(e){cZ(r,e);var t=pZ(r);function r(n){iZ(this,r);var o,i;return o=t.call(this,n),Nn(DE(o),"props",void 0),o.props=new kb((i=n)===null||i===void 0?void 0:i.props),o}return uZ(r,[{key:"toDataBindModel",value:function(o){var i=wf(Fn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(be);Nn(jn,"controlType","timestamp-column"),Nn(jn,"controlName","\u65E5\u671F"),Nn(jn,"controlIcon","timestamp-column"),Nn(jn,"controlFieldType",S.TIMESTAMP),Nn(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 FE(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 Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function yZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function dZ(e,t){return t&&(vZ(t)==="object"||typeof t=="function")?t:FE(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function vZ(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=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dZ(this,o)}}var jE=function(e){yZ(r,e);var t=bZ(r);function r(n){_Z(this,r);var o,i;return o=t.call(this,n),Nb(FE(o),"props",void 0),o.props=new kb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Nb(jE,"controlType","timestamp-column"),Nb(jE,"controlFieldType",S.TIMESTAMP);function Pf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ME(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function LE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function gZ(e,t){return t&&(mZ(t)==="object"||typeof t=="function")?t:Pf(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function mZ(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 VE(e){var t=OZ();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 gZ(this,o)}}var wZ=function(e){LE(r,e);var t=VE(r);function r(n){return ME(this,r),t.call(this,n)}return r}(am),Mb=function(e){LE(r,e);var t=VE(r);function r(n){ME(this,r);var o,i,u,c,l;o=t.call(this,n),Rf(Pf(o),"optionConfig",void 0),Rf(Pf(o),"datasourceBind",void 0),Rf(Pf(o),"options",void 0);var a;o.caption=(a=(i=n)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:Ln.controlName;var f;o.optionConfig=(f=(u=n)===null||u===void 0?void 0:u.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new se((c=n)===null||c===void 0?void 0:c.datasourceBind);var s;return o.options=Nt((s=(l=n)===null||l===void 0?void 0:l.options)!==null&&s!==void 0?s:[{}]),o}return r}(ie);Rf(Mb,"Rules",wZ);function CE(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 Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function PZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function RZ(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:CE(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function SZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TZ(e){var t=EZ();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RZ(this,o)}}var Ln=function(e){PZ(r,e);var t=TZ(r);function r(n){$Z(this,r);var o,i;return o=t.call(this,n),Mn(CE(o),"props",void 0),o.props=new Mb((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Mn(Ln,"controlType","array-column"),Mn(Ln,"controlName","\u6570\u7EC4"),Mn(Ln,"controlIcon","array-column"),Mn(Ln,"controlFieldType",S.ARRAY),Mn(Ln,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 zE(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 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 Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(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&&Cb(e,t)}function AZ(e,t){return t&&(xZ(t)==="object"||typeof t=="function")?t:zE(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}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=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AZ(this,o)}}var HE=function(e){BZ(r,e);var t=DZ(r);function r(n){IZ(this,r);var o,i;return o=t.call(this,n),Vb(zE(o),"props",void 0),o.props=new Mb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Vb(HE,"controlType","array-column"),Vb(HE,"controlFieldType",S.ARRAY);function qE(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 FZ(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 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&&zb(e,t)}function MZ(e,t){return t&&(LZ(t)==="object"||typeof t=="function")?t:qE(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function LZ(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 CZ(e){var t=VZ();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 MZ(this,o)}}var UE=function(e){jZ(r,e);var t=CZ(r);function r(n){NZ(this,r);var o,i,u;o=t.call(this,n),FZ(qE(o),"displayLevel",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:zn.controlName;var l;return o.displayLevel=(l=(u=n)===null||u===void 0?void 0:u.displayLevel)!==null&&l!==void 0?l:1,o}return r}(ie);function WE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HZ(e,t,r){return t&&KE(e.prototype,t),r&&KE(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 Bf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bf=Reflect.get:Bf=function(o,i,u){var c=WZ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Bf(e,t,r||e)}function Cn(e){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cn(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&&Hb(e,t)}function UZ(e,t){return t&&(KZ(t)==="object"||typeof t=="function")?t:WE(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function WZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cn(e),e!==null););return e}function KZ(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 XZ(e){var t=GZ();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 UZ(this,o)}}var zn=function(e){qZ(r,e);var t=XZ(r);function r(n){zZ(this,r);var o,i;return o=t.call(this,n),Vn(WE(o),"props",void 0),o.props=new UE((i=n)===null||i===void 0?void 0:i.props),o}return HZ(r,[{key:"toDataBindModel",value:function(o){var i=Bf(Cn(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(be);Vn(zn,"controlType","department-column"),Vn(zn,"controlName","\u90E8\u95E8"),Vn(zn,"controlIcon","department-column"),Vn(zn,"controlFieldType",S.DEPARTMENTS),Vn(zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function GE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(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 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&&Ub(e,t)}function ZZ(e,t){return t&&(YZ(t)==="object"||typeof t=="function")?t:GE(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}function YZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tY(e){var t=eY();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 ZZ(this,o)}}var XE=function(e){QZ(r,e);var t=tY(r);function r(n){JZ(this,r);var o,i;return o=t.call(this,n),qb(GE(o),"props",void 0),o.props=new UE((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);qb(XE,"controlType","department-column"),qb(XE,"controlFieldType",S.DEPARTMENTS);function xf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wb(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 QE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function rY(e,t){return t&&(nY(t)==="object"||typeof t=="function")?t:xf(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function nY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZE(e){var t=oY();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 rY(this,o)}}var iY=function(e){QE(r,e);var t=ZE(r);function r(n){JE(this,r);var o;return o=t.call(this,n),Tr.call(xf(o),n),o}return r}(jt),Gb=function(e){QE(r,e);var t=ZE(r);function r(n){JE(this,r);var o,i,u,c;o=t.call(this,n),Wb(xf(o),"showLinkOperation",void 0),Wb(xf(o),"linkOperationOption",void 0);var l;o.caption=(l=(i=n)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:qn.controlName;var a;return o.showLinkOperation=(a=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption),o}return r}(ie);Wb(Gb,"Rules",iY);function YE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function cY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function lY(e,t){return t&&(aY(t)==="object"||typeof t=="function")?t:YE(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function aY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sY(e){var t=fY();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 lY(this,o)}}var qn=function(e){cY(r,e);var t=sY(r);function r(n){uY(this,r);var o,i;return o=t.call(this,n),Hn(YE(o),"props",void 0),o.props=new Gb((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Hn(qn,"controlType","auto-number-column"),Hn(qn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Hn(qn,"controlIcon","auto-number-column"),Hn(qn,"controlFieldType",S.AUTO_NUMBER),Hn(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 eT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function _Y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qb(e,t)}function yY(e,t){return t&&(dY(t)==="object"||typeof t=="function")?t:eT(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}function dY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hY(e){var t=vY();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 yY(this,o)}}var tT=function(e){_Y(r,e);var t=hY(r);function r(n){pY(this,r);var o,i;return o=t.call(this,n),Jb(eT(o),"props",void 0),o.props=new Gb((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);Jb(tT,"controlType","auto-number-column"),Jb(tT,"controlFieldType",S.AUTO_NUMBER);function bY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function mY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zb(e,t)}function OY(e,t){return t&&(wY(t)==="object"||typeof t=="function")?t:bY(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function wY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $Y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PY(e){var t=$Y();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 OY(this,o)}}var rT=function(e){mY(r,e);var t=PY(r);function r(n){gY(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Wn.controlName,o}return r}(ie);function nT(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 Un(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 SY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function EY(e,t){return t&&(TY(t)==="object"||typeof t=="function")?t:nT(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}function TY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BY(e){var t=IY();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 EY(this,o)}}var Wn=function(e){SY(r,e);var t=BY(r);function r(n){RY(this,r);var o,i;return o=t.call(this,n),Un(nT(o),"props",void 0),o.props=new rT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Un(Wn,"controlType","file-column"),Un(Wn,"controlName","\u9644\u4EF6"),Un(Wn,"controlIcon","file-column"),Un(Wn,"controlFieldType",S.FILE),Un(Wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e0(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 xY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function kY(e,t){return t&&(DY(t)==="object"||typeof t=="function")?t:oT(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function DY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FY(e){var t=NY();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 kY(this,o)}}var iT=function(e){xY(r,e);var t=FY(r);function r(n){AY(this,r);var o,i;return o=t.call(this,n),e0(oT(o),"props",void 0),o.props=new rT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);e0(iT,"controlType","file-column"),e0(iT,"controlFieldType",S.FILE);function jY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function LY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function VY(e,t){return t&&(CY(t)==="object"||typeof t=="function")?t:jY(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}function CY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HY(e){var t=zY();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 VY(this,o)}}var uT=function(e){LY(r,e);var t=HY(r);function r(n){MY(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Gn.controlName,o}return r}(ie);function cT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function UY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:cT(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function KY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XY(e){var t=GY();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 WY(this,o)}}var Gn=function(e){UY(r,e);var t=XY(r);function r(n){qY(this,r);var o,i;return o=t.call(this,n),Kn(cT(o),"props",void 0),o.props=new uT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Kn(Gn,"controlType","image-column"),Kn(Gn,"controlName","\u56FE\u7247"),Kn(Gn,"controlIcon","image-column"),Kn(Gn,"controlFieldType",S.IMAGE),Kn(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function lT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o0(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 QY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function ZY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:lT(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function YY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tee(e){var t=eee();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZY(this,o)}}var aT=function(e){QY(r,e);var t=tee(r);function r(n){JY(this,r);var o,i;return o=t.call(this,n),o0(lT(o),"props",void 0),o.props=new uT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);o0(aT,"controlType","image-column"),o0(aT,"controlFieldType",S.IMAGE);function ree(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function oee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u0(e,t)}function iee(e,t){return t&&(uee(t)==="object"||typeof t=="function")?t:ree(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function uee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lee(e){var t=cee();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 iee(this,o)}}var fT=function(e){oee(r,e);var t=lee(r);function r(n){nee(this,r);var o,i;o=t.call(this,n);var u;return o.caption=(u=(i=n)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Jn.controlName,o}return r}(ie);function sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aee(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 Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function fee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function see(e,t){return t&&(pee(t)==="object"||typeof t=="function")?t:sT(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function pee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yee(e){var t=_ee();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 see(this,o)}}var Jn=function(e){fee(r,e);var t=yee(r);function r(n){aee(this,r);var o,i;return o=t.call(this,n),Xn(sT(o),"props",void 0),o.props=new fT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Xn(Jn,"controlType","people-column"),Xn(Jn,"controlName","\u4EBA\u5458"),Xn(Jn,"controlIcon","people-column"),Xn(Jn,"controlFieldType",S.EMPLOYEES),Xn(Jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function pT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function vee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function hee(e,t){return t&&(bee(t)==="object"||typeof t=="function")?t:pT(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function bee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mee(e){var t=gee();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 hee(this,o)}}var _T=function(e){vee(r,e);var t=mee(r);function r(n){dee(this,r);var o,i;return o=t.call(this,n),l0(pT(o),"props",void 0),o.props=new fT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);l0(_T,"controlType","people-column"),l0(_T,"controlFieldType",S.EMPLOYEES);function Uf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f0(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 dT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function Oee(e,t){return t&&(wee(t)==="object"||typeof t=="function")?t:Uf(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function wee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vT(e){var t=$ee();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 Oee(this,o)}}var Pee=function(e){dT(r,e);var t=vT(r);function r(n){yT(this,r);var o;return o=t.call(this,n),Tr.call(Uf(o),n),o}return r}(jt),p0=function(e){dT(r,e);var t=vT(r);function r(n){yT(this,r);var o,i,u,c;o=t.call(this,n),f0(Uf(o),"showLinkOperation",void 0),f0(Uf(o),"linkOperationOption",void 0);var l;o.caption=(l=(i=n)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:Zn.controlName;var a;return o.showLinkOperation=(a=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption),o}return r}(ie);f0(p0,"Rules",Pee);function hT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ree(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 Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function See(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function Eee(e,t){return t&&(Tee(t)==="object"||typeof t=="function")?t:hT(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function Tee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bee(e){var t=Iee();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 Eee(this,o)}}var Zn=function(e){See(r,e);var t=Bee(r);function r(n){Ree(this,r);var o,i;return o=t.call(this,n),Qn(hT(o),"props",void 0),o.props=new p0((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Qn(Zn,"controlType","location-column"),Qn(Zn,"controlName","\u5730\u5740"),Qn(Zn,"controlIcon","location-column"),Qn(Zn,"controlFieldType",S.ADDRESS),Qn(Zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.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 bT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function xee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d0(e,t)}function kee(e,t){return t&&(Dee(t)==="object"||typeof t=="function")?t:bT(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}function Dee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fee(e){var t=Nee();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 kee(this,o)}}var gT=function(e){xee(r,e);var t=Fee(r);function r(n){Aee(this,r);var o,i;return o=t.call(this,n),y0(bT(o),"props",void 0),o.props=new p0((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);y0(gT,"controlType","location-column"),y0(gT,"controlFieldType",S.ADDRESS);function mT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mee(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 Lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function Vee(e,t){return t&&(Cee(t)==="object"||typeof t=="function")?t:mT(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function Cee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hee(e){var t=zee();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 Vee(this,o)}}var OT=function(e){Lee(r,e);var t=Hee(r);function r(n){jee(this,r);var o,i,u;o=t.call(this,n),Mee(mT(o),"fieldCodeList",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:Mr.controlName;var l;return o.fieldCodeList=(l=(u=n)===null||u===void 0?void 0:u.fieldCodeList)!==null&&l!==void 0?l:[],o}return r}(ie);function Yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uee(e,t,r){return t&&wT(e.prototype,t),r&&wT(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 No(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?No=Reflect.get:No=function(o,i,u){var c=Zee(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},No(e,t,r||e)}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function Wee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h0(e,t)}function Kee(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Gee(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 Xee(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 Jee(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xee(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Qee(e,t){return t&&(Yee(t)==="object"||typeof t=="function")?t:Yn(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function Zee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jr(e),e!==null););return e}function Yee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tte(e){var t=ete();return function(){var n=jr(e),o;if(t){var i=jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qee(this,o)}}var rte=1,Mr=function(t){Wee(n,t);var r=tte(n);function n(o){qee(this,n);var i,u,c;i=r.call(this,o),bt(Yn(i),"excludes",void 0),bt(Yn(i),"childrenMaxLength",void 0),bt(Yn(i),"props",void 0),bt(Yn(i),"children",void 0);var l=Kee(this,n)?this.constructor:void 0,a=l.excludes,f=l.childrenMaxLength;return i.props=new OT((u=o)===null||u===void 0?void 0:u.props),Ft(Yn(i),"children",(c=o)===null||c===void 0?void 0:c.children),i.excludes=Yt(a),i.childrenMaxLength=f,i}return Uee(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=No(jr(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=No(jr(n.prototype),"toSchema",this).call(this);return Jee(Gee({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(be);bt(Mr,"controlType","custom-column"),bt(Mr,"controlName","\u81EA\u5B9A\u4E49"),bt(Mr,"controlIcon","custom-column"),bt(Mr,"excludes",[]),bt(Mr,"childrenMaxLength",rte),bt(Mr,"setting",[{key:"caption",showItems:[v.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 Jf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b0(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 ote(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g0(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:Jf(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lte(e){var t=cte();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 ite(this,o)}}var ate=function(e){ote(r,e);var t=lte(r);function r(n){nte(this,r);var o,i,u;return o=t.call(this,n),b0(Jf(o),"props",void 0),b0(Jf(o),"children",void 0),o.props=new OT((i=n)===null||i===void 0?void 0:i.props),Ft(Jf(o),"children",(u=n)===null||u===void 0?void 0:u.children),o}return r}(ge);b0(ate,"controlType","custom-column");function $T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ste(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 pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function _te(e,t){return t&&(yte(t)==="object"||typeof t=="function")?t:$T(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function yte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vte(e){var t=dte();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 _te(this,o)}}var PT=function(e){pte(r,e);var t=vte(r);function r(n){fte(this,r);var o,i,u;o=t.call(this,n),ste($T(o),"datasourceBind",void 0);var c;o.caption=(c=(i=n)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:Lr.controlName;var l;return o.datasourceBind=new Co((l=(u=n)===null||u===void 0?void 0:u.datasourceBind)!==null&&l!==void 0?l:{attributes:Lr.controlCustomAttributes}),o}return r}(ie);function RT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ST(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bte(e,t,r){return t&&ST(e.prototype,t),r&&ST(e,r),e}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 Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function gte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function mte(e,t){return t&&(Ote(t)==="object"||typeof t=="function")?t:RT(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function Ote(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $te(e){var t=wte();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 mte(this,o)}}var Lr=function(e){gte(r,e);var t=$te(r);function r(n){hte(this,r);var o,i;return o=t.call(this,n),eo(RT(o),"props",void 0),o.props=new PT((i=n)===null||i===void 0?void 0:i.props),o}return bte(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(be);eo(Lr,"controlType","employee-column"),eo(Lr,"controlName","\u4EBA\u5458"),eo(Lr,"controlIcon","employee-column"),eo(Lr,"controlFieldType",S.EMPLOYEES),eo(Lr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function ET(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function Rte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function Ste(e,t){return t&&(Ete(t)==="object"||typeof t=="function")?t:ET(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function Ete(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ite(e){var t=Tte();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ste(this,o)}}var TT=function(e){Rte(r,e);var t=Ite(r);function r(n){Pte(this,r);var o,i;return o=t.call(this,n),w0(ET(o),"props",void 0),o.props=new PT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);w0(TT,"controlType","employee-column"),w0(TT,"controlFieldType",S.EMPLOYEES);function ts(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function Ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R0(e,t)}function xte(e,t){return t&&(kte(t)==="object"||typeof t=="function")?t:ts(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Dte();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xte(this,o)}}var IT=function(e){Ate(r,e);var t=Nte(r);function r(n){Bte(this,r);var o,i,u,c,l;o=t.call(this,n),P0(ts(o),"lineEllipsis",void 0),P0(ts(o),"showLinkOperation",void 0),P0(ts(o),"linkOperationOption",void 0);var a;o.caption=(a=(i=n)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:to.controlName;var f;o.showLinkOperation=(f=(u=n)===null||u===void 0?void 0:u.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new er((c=n)===null||c===void 0?void 0:c.linkOperationOption);var s;return o.lineEllipsis=(s=(l=n)===null||l===void 0?void 0:l.lineEllipsis)!==null&&s!==void 0?s:1,o}return r}(ie);function S0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E0(e,t)}function Mte(e,t){return t&&(Lte(t)==="object"||typeof t=="function")?t:S0(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function Lte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Vte();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mte(this,o)}}var to=function(e){jte(r,e);var t=Cte(r);function r(n){Fte(this,r);var o,i;return o=t.call(this,n),Vr(S0(o),"props",void 0),Vr(S0(o),"children",void 0),o.props=new IT((i=n)===null||i===void 0?void 0:i.props),o}return r}(be);Vr(to,"controlType","approval-status-column"),Vr(to,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Vr(to,"controlIcon","approval-status-column"),Vr(to,"excludes",[]),Vr(to,"setting",[{key:"caption",showItems:[v.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function T0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function Hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B0(e,t)}function qte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:T0(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B0(e,t)}function Ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kte(e){var t=Wte();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qte(this,o)}}var Gte=function(e){Hte(r,e);var t=Kte(r);function r(n){zte(this,r);var o,i;return o=t.call(this,n),I0(T0(o),"props",void 0),I0(T0(o),"children",void 0),o.props=new IT((i=n)===null||i===void 0?void 0:i.props),o}return r}(ge);I0(Gte,"controlType","approval-status-column");function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(e)}function AT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function Xte(e,t){return t&&(Jte(t)==="object"||typeof t=="function")?t:gt(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function Jte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xT(e){var t=Qte();return function(){var n=is(e),o;if(t){var i=is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xte(this,o)}}var Zte=function(e){AT(r,e);var t=xT(r);function r(n){BT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Rr),x0=function(e){AT(r,e);var t=xT(r);function r(n){BT(this,r);var o,i,u,c,l,a,f,s,p,_,h;o=t.call(this,n),mt(gt(o),"search",void 0),mt(gt(o),"cancel",void 0),mt(gt(o),"searchType",void 0),mt(gt(o),"labelPosition",void 0),mt(gt(o),"viewType",void 0),mt(gt(o),"isLoading",void 0),mt(gt(o),"custom",void 0),mt(gt(o),"queryTypeMap",void 0),mt(gt(o),"childMinWidth",void 0),mt(gt(o),"colGap",void 0);var d;o.searchType=(d=(i=n)===null||i===void 0?void 0:i.searchType)!==null&&d!==void 0?d:"model";var b;o.labelPosition=(b=(u=n)===null||u===void 0?void 0:u.labelPosition)!==null&&b!==void 0?b:"top";var y;o.viewType=(y=(c=n)===null||c===void 0?void 0:c.viewType)!==null&&y!==void 0?y:"mini";var g;o.search=new tr((g=(l=n)===null||l===void 0?void 0:l.search)!==null&&g!==void 0?g:{content:"\u67E5\u8BE2",isShow:!0});var O;o.cancel=new tr((O=(a=n)===null||a===void 0?void 0:a.cancel)!==null&&O!==void 0?O:{content:"\u91CD\u7F6E",isShow:!0});var w;o.isLoading=(w=(f=n)===null||f===void 0?void 0:f.isLoading)!==null&&w!==void 0?w:!1;var P;o.custom=((P=(s=n)===null||s===void 0?void 0:s.custom)!==null&&P!==void 0?P:[]).map(function(I){return new tr(I)});var E;o.queryTypeMap=(E=(p=n)===null||p===void 0?void 0:p.queryTypeMap)!==null&&E!==void 0?E:[];var T;o.childMinWidth=(T=(_=n)===null||_===void 0?void 0:_.childMinWidth)!==null&&T!==void 0?T:230;var B;return o.colGap=(B=(h=n)===null||h===void 0?void 0:h.colGap)!==null&&B!==void 0?B:24,o}return r}(pp);mt(x0,"RuntimeRules",Zte);function kT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function ere(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D0(e,t)}function tre(e,t){return t&&(rre(t)==="object"||typeof t=="function")?t:kT(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function rre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ore(e){var t=nre();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tre(this,o)}}var DT=function(e){ere(r,e);var t=ore(r);function r(n){Yte(this,r);var o,i;return o=t.call(this,n),k0(kT(o),"props",void 0),o.props=new x0((i=n)===null||i===void 0?void 0:i.props),o}return r}(Hk);k0(DT,"controlType","simple-search"),k0(DT,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[v.IS_HIDE]},{key:"search-view-type",visible:!0}]);function N0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ire(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function ure(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j0(e,t)}function cre(e,t){return t&&(lre(t)==="object"||typeof t=="function")?t:N0(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function lre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fre(e){var t=are();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cre(this,o)}}var sre=function(e){ure(r,e);var t=fre(r);function r(n){ire(this,r);var o,i,u;o=t.call(this,n),F0(N0(o),"props",void 0),F0(N0(o),"children",void 0),o.props=new x0((i=n)===null||i===void 0?void 0:i.props);var c;return o.children=(c=(u=n)===null||u===void 0?void 0:u.children)!==null&&c!==void 0?c:[],o}return r}(Jk);F0(sre,"controlType","simple-search");const pre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Pre(t==null?void 0:t.events),bre(n),gre(n);const o=hre(n),i=mre(o,t);let u=Kr(xe(i,c=>vre(c,t)));return r?u:u[0]},_re=[m.DIVIDER,m.TEXT,m.TITLE,m.LINK,m.BUTTON,"list-btn-export-list","list-btn-export-record"],yre=["subtable","grid-table"],dre=["simple-search"];function vre(e,t){var o,i,u,c,l,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":_re.includes(r.type)?r.controlType="base":r.controlType="form",yre.includes(r.type)&&(r.controlType="list"),dre.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),Ae((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),Ae((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),Ae((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=(l=e.attachment_format)==null?void 0:l.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(Ae(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(Ae(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",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((s,p)=>{const _=new xW.Designer;_.props.caption=Ae(s.field_name)?s.field_name.zh:s.field_name;const h=_.toSchema();h.id=s.header_id;const d=r.children[0].children[p].children[0];return d&&(h.children=[d]),h}),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=Ae(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(s=>{const p=new LR.Designer;p.props.span=f;const _=p.toSchema();return _.children.push(s),_})}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],s=r==null?void 0:r.children[1],p={};f&&(NT(r,t),p.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),s&&(p.unit=s.props.data_bind,r.props.default_value={unit:s.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],s=r==null?void 0:r.children[1],p={},_={};f&&(NT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=Wr(f.props.range_min),r.props.range_max=Wr(f.props.range_max),_.amount=Wr(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=Ae(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),s&&(p.currency=s.props.data_bind,_.currency=s.props.value,r.props.datasourceBind=s.props.datasource_bind,r.props.options=s.props.options.map(h=>({label:h.text,value:h.value}))),r.props.dataBind=p,r.props.defaultValue=_,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],s=r==null?void 0:r.children[1];r.props.placeholderStart=Ae(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=Ae(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),s&&(p.max=s.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=Ae(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Wr(e.props.range_min),r.props.range_max=Wr(e.props.range_max),r.props.defaultValue=Wr(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"),Rre(r,t==null?void 0:t.control_events),r}function NT(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(a=>a===o),l=u.hide_controls.findIndex(a=>a===o);c>-1&&u.show_controls.splice(c,1,i),l>-1&&u.hide_controls.splice(l,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function hre(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new rX.Designer().toSchema();return n.children=e,[n]}function bre(e){e.forEach(t=>{t.children&&$re(t.children)})}function gre(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 mre(e,t){var _,h,d,b,y,g,O,w;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;Ore(i),c.props.is_fixed_header=(_=n==null?void 0:n.source_config)==null?void 0:_.is_fixed_header,wre(c,u);const l=(d=(h=n==null?void 0:n.source_config)==null?void 0:h.data_code)!=null?d:t==null?void 0:t.dataCode,a=((y=(b=n==null?void 0:n.source_config)==null?void 0:b.svc_code)!=null?y:l)?`${l}_selectMore`:void 0,f=(O=(g=n==null?void 0:n.source_config)==null?void 0:g.orders)!=null?O:[],s=new NG.Designer;s.props.datasourceBind=new se({dataCode:l,svcCode:a,orders:y2(f)}),s.props.isShowSubList=n.is_show_sublist,s.props.triggerType=n.timing_type,s.props.triggerFieldCode=n.ctrl_field_code,(w=n==null?void 0:n.sublist_page)==null||w.sublists.forEach(P=>{P.title=Ae(P.title)?P.title.zh:P.title}),s.props.sublistPage=n.sublist_page;const p=s.toSchema();return p.children.push(i,c),[p]}function Ore(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=Ae(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 wre(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:Ae(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=Ae(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 se({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 $re(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 Pre(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 Rre(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 Sre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Ere(i)));return r?o:o[0]};function Ere(e,t){return e.type===m.LIST_VIEW&&e.children.find(n=>n.type===m.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new ft({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Tre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Ire(i)));return r?o:o[0]};function Ire(e,t){return[m.BUTTON,m.CREATE_FORM_LIST_BUTTON,m.BATCH_SUBMISSION_LIST_BUTTON,m.SUBMISSION_RECORD_LIST_BUTTON,m.IMPORT_RECORD_LIST_BUTTON,m.EXPORT_RECORD_LIST_BUTTON,m.EXPORT_LIST_BUTTON,m.FORM_SELECT_BUTTON,m.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===m.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===m.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Bre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Are(i)));return r?o:o[0]};function Are(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 xre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Dre(i)));return r?o:o[0]},kre=[m.ROW,m.TAB,m.SUBTABLE,m.GRID_ROW,m.CARD_GROUP];function Dre(e,t){return e.type===m.TAB_PANE&&(e.children=e.children.map(r=>{if(kre.includes(r.type))return r;const n=new oW.Designer,o=new LR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const Nre=(e,t)=>{const r=Array.isArray(e);let o=Kr(xe(r?e:[e],i=>Fre(i)));return r?o:o[0]};function Fre(e,t){return e.type===m.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===m.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const jre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Mre(i));return r?o:o[0]};function Mre(e,t){return e.type===m.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Lre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Vre(i));return r?o:o[0]};function wr(e,t){e.field_code&&(e.field_type=t)}function Vre(e,t){var n;const r={[m.TITLE]:S.AUTO_NUMBER,[m.ADDRESS]:S.ADDRESS,[m.ATTACHMENT]:S.FILE,[m.AUTO_NUMBER]:S.AUTO_NUMBER,[m.CHECKBOX]:S.ARRAY,[m.DATE_PICKER]:S.TIMESTAMP,[m.DEPARTMENT]:S.DEPARTMENTS,[m.EMPLOYEE]:S.EMPLOYEES,[m.EMPLOYEE2]:S.EMPLOYEES,[m.IMAGE]:S.IMAGE,[m.INPUT]:S.VARCHAR,[m.NUMBER]:S.DECIMAL,[m.RADIO]:S.VARCHAR,[m.RICH_TEXT]:S.TEXT,[m.SCORE]:S.DECIMAL,[m.SELECT]:S.VARCHAR,[m.SELECT_MULTIPLE]:S.ARRAY,[m.SELECT_RELATION]:S.VARCHAR,[m.TEXTAREA]:S.TEXT,[m.TREE]:S.ARRAY,[m.SEARCH_DATE_RANGE]:S.ARRAY,[m.SEARCH_INPUT]:S.VARCHAR,[m.SEARCH_NUMBER_RANGE]:S.ARRAY};return r.hasOwnProperty(e.type)&&wr(e.props.data_bind,r[e.type]),e.type===m.AMOUNT&&(wr(e.props.data_bind.amount,S.DECIMAL),wr(e.props.data_bind.currency,S.VARCHAR)),e.type===m.CALC&&(wr(e.props.data_bind.result,S.DECIMAL),wr(e.props.data_bind.unit,S.VARCHAR)),e.type===m.DATE_RANGE&&(wr(e.props.data_bind.min,S.TIMESTAMP),wr(e.props.data_bind.max,S.TIMESTAMP)),e.type===m.VUE_FORM_ITEM&&wr(e.props.data_bind,(n=e.field_type)!=null?n:S.ANY),e}const Cre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>zre(i));return r?o:o[0]};function zre(e,t){return e.type===m.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===m.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const Hre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>qre(i));return r?o:o[0]};function qre(e,t){return e.type===m.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[S.VARCHAR,S.TEXT,S.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 Ure=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Wre(i));return r?o:o[0]};function Wre(e,t){return[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.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 Kre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Gre(i));return r?o:o[0]};function Gre(e,t){return[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.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 Xre=(e,t)=>{const r=Array.isArray(e);let o=xe(r?e:[e],i=>Jre(i));return r?o:o[0]};function Jre(e,t){return e.type===m.TITLE&&e.props.config.push(Lt.ShowTitle),e.type===m.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,l,a,f,s,p,_,h,d,b,y,g,O,w,P,E,T,B;if(r.type===m.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 I=new V_.Designer;Object.defineProperty(I,"id",{value:"listPageCheckBtnId"}),I.props.code="view",I.props.icon="iconliulan1",I.props.command="view",I.props.content=(i=r.props)==null?void 0:i.check.content,I.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,I.props.openType=(c=r.props)==null?void 0:c.check.open_type,I.props.formKey=(l=r.props)==null?void 0:l.check.form_key,(a=r.props)!=null&&a.check.is_show&&r.children.push(I.toSchema()),(f=r.props)==null||delete f.check}if(((s=r.props)==null?void 0:s.edit)!==void 0){const I=new V_.Designer;Object.defineProperty(I,"id",{value:"listPageEditBtnId"}),I.props.code="edit",I.props.icon="iconbianji1",I.props.command="edit",I.props.content=(p=r.props)==null?void 0:p.edit.content,I.props.priorityProcess=(_=r.props)==null?void 0:_.edit.priority_process,I.props.openType=(h=r.props)==null?void 0:h.edit.open_type,I.props.formKey=(d=r.props)==null?void 0:d.edit.form_key,(b=r.props)!=null&&b.edit.is_show&&r.children.push(I.toSchema()),(y=r.props)==null||delete y.edit}if(((g=r.props)==null?void 0:g.delete)!==void 0){const I=new V_.Designer;Object.defineProperty(I,"id",{value:"listPageDeleteBtnId"}),I.props.code="delete",I.props.icon="iconlajitong",I.props.command="delete",I.props.content=(O=r.props)==null?void 0:O.delete.content,I.props.priorityProcess=(w=r.props)==null?void 0:w.delete.priority_process,I.props.openType=(P=r.props)==null?void 0:P.delete.open_type,I.props.formKey=(E=r.props)==null?void 0:E.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(T=r.props)!=null&&T.delete.is_show&&r.children.push(I.toSchema()),(B=r.props)==null||delete B.delete}}}),[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===m.SUBTABLE&&e.props.headers.forEach(r=>{[m.SELECT,m.SELECT_RELATION,m.SELECT_MULTIPLE,m.RADIO,m.CHECKBOX,m.TREE,m.DEPARTMENT2,m.EMPLOYEE2,m.DEPARTMENT,m.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 FT={"v1.0":pre,"v2.0":Sre,"v2.1":Tre,"v2.2":Bre,"v2.3":xre,"v2.4":Nre,"v2.5":jre,"v2.6":Lre,"v2.7":Cre,"v2.8":Hre,"v2.9":Ure,"v2.10":Kre,"v3.0":Xre,"v3.1":()=>{}};const jT=(e,t)=>{const r=MT(e),n=MT(t),o=r.pop(),i=n.pop(),u=CT(r,n);return u!==0?u:o&&i?CT(o.split("."),i.split(".")):o||i?o?-1:1:0},ls=(e,t,r)=>{ene(r);const n=jT(e,t);return zT[r].includes(n)},Qre=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,MT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Qre);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},LT=e=>e==="*"||e==="x"||e==="X",VT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Zre=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Yre=(e,t)=>{if(LT(e)||LT(t))return 0;const[r,n]=Zre(VT(e),VT(t));return r>n?1:r<n?-1:0},CT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Yre(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},zT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},HT=Object.keys(zT),ene=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(HT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${HT.join("|")}`)};function M0(e){return e.replace(/^v/,"")}const ro=Object.keys(FT).map(e=>M0(e)).sort(jT),Fo=ro[ro.length-1];class tne{constructor(t,r=Fo){this.schemaVersion=t,this.toVersion=r,ls(r,Fo,">")?uo(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${Fo}`):(!ro.includes(M0(r))||!ro.includes(M0(t)))&&uo(`Version Builder: Please give me a valid version number, The valid version is: ${ro.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(ls(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var s;const l=(s=c[u+1])!=null?s:this.toVersion;Lo(`Version Builder: current version: ${i}, nextVersion: ${l}`);const a=FT[i];let f=o;if(typeof a=="function"){const p=a(o,r);p&&(f=p)}return f},t);return Lo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return ro.filter(t=>ls(t,this.schemaVersion,">=")&&ls(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Fo}static get version(){return Fo}}qr.VersionBuilder=tne,Object.defineProperty(qr,"__esModule",{value:!0})});
|