@byteluck-fe/model-driven-upgrade 2.11.0-alpha.0 → 2.11.0-alpha.1

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(Nn,Jr){typeof exports=="object"&&typeof module!="undefined"?Jr(exports):typeof define=="function"&&define.amd?define(["exports"],Jr):(Nn=typeof globalThis!="undefined"?globalThis:Nn||self,Jr(Nn.modelDrivenUpgrade={}))})(this,function(Nn){"use strict";var Jr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",XT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",JT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",QT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ZT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",YT="{caption}\u5FC5\u586B",e3="\u8BF7\u8F93\u5165\u6807\u9898",t3="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",n3="\u8BF7\u8F93\u5165\u884C\u6807\u9898",r3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",o3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",i3="\u8BF7\u7ED1\u5B9A\u8868\u5355",u3="\u8BF7\u7ED1\u5B9A\u5217\u8868",c3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",l3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",a3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",f3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",s3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",_3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",y3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",p3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",d3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",v3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",h3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",b3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",g3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",m3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",O3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",w3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",$3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",P3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",R3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",S3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",E3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",T3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",I3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",B3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",A3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",x3="\u8BF7\u9009\u62E9\u7701",k3="\u8BF7\u9009\u62E9\u5E02",D3="\u8BF7\u9009\u62E9\u533A",N3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",F3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",j3="\u8BF7\u8F93\u5165\u5217\u5BBD",L3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",M3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",C3="\u8BF7\u9009\u62E9\u63A7\u4EF6",V3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",z3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",H3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",q3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",U3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",W3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",K3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",G3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",X3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",J3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Q3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Z3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Y3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",eI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",tI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",nI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",rI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",oI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",iI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",uI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",cI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",lI="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",aI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",fI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",sI="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",_I="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",yI="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",pI={isNotNumber:Jr,isNotString:XT,isNotObject:JT,isNotArray:QT,isNotBoolean:ZT,runtimeRequired:YT,pleaseEnterCaption:e3,pleaseEnterCaptionTip:t3,pleaseEnterRowCaption:n3,pleaseEnterPlaceholder:r3,pleaseEnterFieldCode:o3,pleaseEnterForm:i3,pleaseEnterList:u3,pleaseEnterProcess:c3,pleaseEnterLabel:l3,pleaseEnterValue:a3,bizKeyNotBindFiled:f3,pleaseSelectOneField:s3,pleaseEnterNumberRange:_3,pleaseEnterAValueGreaterThanMin:y3,pleaseEnterAValueLessThanMax:p3,numberRangeSetError:d3,stringRangeError:v3,attachmentMaxSize:h3,pleaseEnterTotalScoreSetting:b3,theTotalScoreMustNotBeLessThan1:g3,scoreDefaultValueRange:m3,attachmentLimitError:O3,PleaseReselectTheOptionalQuantity:w3,TheMaximumLengthIsGreaterThanTheMinimumLength:$3,TheMinimumLengthIsGreaterThanTheMaximumLength:P3,PleaseSelectTheCorrectOptionSettings:R3,optionIdIsRepeat:S3,optionIsRequired:E3,pleaseEnterDataCode:T3,pleaseEnterValueFieldCode:I3,pleaseEnterSvcCode:B3,pleaseBindAtLeastOneDisplayValue:A3,pleaseSelectProvince:x3,pleaseSelectCity:k3,pleaseSelectDistrict:D3,limitRowsCannotBeLessThan0:N3,TheNumberOfRowsCannotBeLessThanMinRows:F3,pleaseEnterColumnWidth:j3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:L3,pleaseCompleteAllRulesAndConditions:M3,pleaseSelectControl:C3,pleaseSelectAtLeastOneColumn:V3,pleaseSelectFillBackMode:z3,pleaseSelectDashboard:H3,rootNodeIsRequired:q3,theViewNameCannotBeEmpty:U3,pleaseSelectOcrType:W3,pleaseSelectAtLeastOneFieldToFillIn:K3,pleaseChooseAtLeastOne:G3,pleaseEnterButtonContent:X3,pleaseEnterDataCodeInDataSetting:J3,pleaseEnterValueFieldCodeInDataSetting:Q3,pleaseEnterSvcCodeInDataSetting:Z3,pleaseBindAtLeastOneDisplayValueInDataSetting:Y3,rootNodeIsRequiredInDataSetting:eI,pleaseEnterMaxHeight:tI,pleaseEnter:nI,pleaseEnterWatermark:rI,pleaseEnterFileName:oI,pleaseUploadAtLeastOnePrintTemplate:iI,pleaseAssignBusiness:uI,pleaseAssignExternal:cI,pleaseEnterAliasCode:lI,pleaseSelectDataCode:aI,pleaseSelectSvcCode:fI,pleaseSelectJoinFieldCode:sI,pleaseSelectMainFieldCode:_I,pleaseSelectSortFieldCode:yI},dI="Please enter a number",vI="Please enter a string",hI="Please enter an object",bI="Please enter an array",gI="Please enter a boolean",mI="{caption} Required",OI="Please enter the title",wI="Please enter the bubble prompt",$I="Please enter the row title",PI="Please enter the prompt text",RI="Please bind data items",SI="Please bind the form",EI="Please bind the list",TI="Please bind the process",II="Please enter the displayed value",BI="Please enter the stored value",AI="The document number is not bound to the data item",xI="Please select at least one display field",kI="Please enter a value greater than or equal to {min} and less than or equal to {max}",DI="Please enter a value greater than or equal to {min}",NI="Please enter a value less than or equal to {max}",FI="The value range is set incorrectly",jI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",LI="The attachment size must be between 0MB and 1000MB",MI="Please fill in the total score setting",CI="The total score cannot be less than 1",VI="The default value must be between {min} and {max}",zI="The number of attachments uploaded must be between {min} and {max}",HI="Please re-select the optional quantity",qI="The maximum length of the control must be greater than the minimum length",UI="The minimum length of the control must be less than the maximum length",WI="Please select the correct option setting",KI="Option ID cannot be repeated",GI="Please enter at least one option",XI="Please bind the data source",JI="Please bind the stored value",QI="Please bind the service",ZI="At least one display value must be bound",YI="Please select a province",eB="Please select a city",tB="Please select a district",nB="The minimum number of lines to fill in cannot be less than 0",rB="The number of rows cannot be less than {min} rows",oB="Please enter the column width",iB="Please set the logical relationship of all rule conditions",uB="Please complete all rules and conditions",cB="please select control",lB="Please select the dashboard",aB="View name cannot be empty",fB="Please select recognition type",sB="Please select at least one field to fill in",_B="Please select at least one",yB="Please enter the button title",pB="Please bind the business model in the data settings",dB="Please bind storage values in data settings",vB="Please bind the service in the data settings",hB="Please bind at least one display value in the data settings",bB="Please select the root node in the data settings",gB="Please enter the maximum height",mB="The input content cannot be empty",OB="Watermark cannot be empty",wB="File name cannot be empty",$B="Please upload at least one printing template!\uFF01",PB="Please select a specific business department",RB="Please select a specified external organization",SB="Please enter a sub table alias",EB="Please select the associated table to set the business model",TB="Please select the association table to set the binding service",IB="Select associated sub table fields",BB="Please select the associated main table field",AB="Please select the sort field",xB={isNotNumber:dI,isNotString:vI,isNotObject:hI,isNotArray:bI,isNotBoolean:gI,runtimeRequired:mI,pleaseEnterCaption:OI,pleaseEnterCaptionTip:wI,pleaseEnterRowCaption:$I,pleaseEnterPlaceholder:PI,pleaseEnterFieldCode:RI,pleaseEnterForm:SI,pleaseEnterList:EI,pleaseEnterProcess:TI,pleaseEnterLabel:II,pleaseEnterValue:BI,bizKeyNotBindFiled:AI,pleaseSelectOneField:xI,pleaseEnterNumberRange:kI,pleaseEnterAValueGreaterThanMin:DI,pleaseEnterAValueLessThanMax:NI,numberRangeSetError:FI,stringRangeError:jI,attachmentMaxSize:LI,pleaseEnterTotalScoreSetting:MI,theTotalScoreMustNotBeLessThan1:CI,scoreDefaultValueRange:VI,attachmentLimitError:zI,PleaseReselectTheOptionalQuantity:HI,TheMaximumLengthIsGreaterThanTheMinimumLength:qI,TheMinimumLengthIsGreaterThanTheMaximumLength:UI,PleaseSelectTheCorrectOptionSettings:WI,optionIdIsRepeat:KI,optionIsRequired:GI,pleaseEnterDataCode:XI,pleaseEnterValueFieldCode:JI,pleaseEnterSvcCode:QI,pleaseBindAtLeastOneDisplayValue:ZI,pleaseSelectProvince:YI,pleaseSelectCity:eB,pleaseSelectDistrict:tB,limitRowsCannotBeLessThan0:nB,TheNumberOfRowsCannotBeLessThanMinRows:rB,pleaseEnterColumnWidth:oB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:iB,pleaseCompleteAllRulesAndConditions:uB,pleaseSelectControl:cB,pleaseSelectDashboard:lB,theViewNameCannotBeEmpty:aB,pleaseSelectOcrType:fB,pleaseSelectAtLeastOneFieldToFillIn:sB,pleaseChooseAtLeastOne:_B,pleaseEnterButtonContent:yB,pleaseEnterDataCodeInDataSetting:pB,pleaseEnterValueFieldCodeInDataSetting:dB,pleaseEnterSvcCodeInDataSetting:vB,pleaseBindAtLeastOneDisplayValueInDataSetting:hB,rootNodeIsRequiredInDataSetting:bB,pleaseEnterMaxHeight:gB,pleaseEnter:mB,pleaseEnterWatermark:OB,pleaseEnterFileName:wB,pleaseUploadAtLeastOnePrintTemplate:$B,pleaseAssignBusiness:PB,pleaseAssignExternal:RB,pleaseEnterAliasCode:SB,pleaseSelectDataCode:EB,pleaseSelectSvcCode:TB,pleaseSelectJoinFieldCode:IB,pleaseSelectMainFieldCode:BB,pleaseSelectSortFieldCode:AB},kB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",DB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",NB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jB="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LB="{caption}\u5FC5\u9808",MB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",VB="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zB="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HB="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qB="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",UB="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",WB="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KB="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",GB="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",XB="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",JB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QB="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ZB="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YB="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",e1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",t1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",r1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",o1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",i1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",u1="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",c1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",l1="\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",a1="\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",f1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",s1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",_1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",y1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",p1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",d1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",v1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",h1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",b1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",g1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",m1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",O1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",w1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",P1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",R1="please select control",S1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",E1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",T1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",I1="\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",B1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",A1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",k1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",D1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",N1="\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",F1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",M1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",C1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",V1="\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",z1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",H1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",q1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",U1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",W1="\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",K1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",G1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",X1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",J1={isNotNumber:kB,isNotString:DB,isNotObject:NB,isNotArray:FB,isNotBoolean:jB,runtimeRequired:LB,pleaseEnterCaption:MB,pleaseEnterCaptionTip:CB,pleaseEnterRowCaption:VB,pleaseEnterPlaceholder:zB,pleaseEnterFieldCode:HB,pleaseEnterForm:qB,pleaseEnterList:UB,pleaseEnterProcess:WB,pleaseEnterLabel:KB,pleaseEnterValue:GB,bizKeyNotBindFiled:XB,pleaseSelectOneField:JB,pleaseEnterNumberRange:QB,pleaseEnterAValueGreaterThanMin:ZB,pleaseEnterAValueLessThanMax:YB,numberRangeSetError:e1,stringRangeError:t1,attachmentMaxSize:n1,pleaseEnterTotalScoreSetting:r1,theTotalScoreMustNotBeLessThan1:o1,scoreDefaultValueRange:i1,attachmentLimitError:u1,PleaseReselectTheOptionalQuantity:c1,TheMaximumLengthIsGreaterThanTheMinimumLength:l1,TheMinimumLengthIsGreaterThanTheMaximumLength:a1,PleaseSelectTheCorrectOptionSettings:f1,optionIdIsRepeat:s1,optionIsRequired:_1,pleaseEnterDataCode:y1,pleaseEnterValueFieldCode:p1,pleaseEnterSvcCode:d1,pleaseBindAtLeastOneDisplayValue:v1,pleaseSelectProvince:h1,pleaseSelectCity:b1,pleaseSelectDistrict:g1,limitRowsCannotBeLessThan0:m1,TheNumberOfRowsCannotBeLessThanMinRows:O1,pleaseEnterColumnWidth:w1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$1,pleaseCompleteAllRulesAndConditions:P1,pleaseSelectControl:R1,pleaseSelectDashboard:S1,theViewNameCannotBeEmpty:E1,pleaseSelectOcrType:T1,pleaseSelectAtLeastOneFieldToFillIn:I1,pleaseChooseAtLeastOne:B1,pleaseEnterButtonContent:A1,pleaseEnterDataCodeInDataSetting:x1,pleaseEnterValueFieldCodeInDataSetting:k1,pleaseEnterSvcCodeInDataSetting:D1,pleaseBindAtLeastOneDisplayValueInDataSetting:N1,rootNodeIsRequiredInDataSetting:F1,pleaseEnterMaxHeight:j1,pleaseEnter:L1,pleaseEnterWatermark:M1,pleaseEnterFileName:C1,pleaseUploadAtLeastOnePrintTemplate:V1,pleaseAssignBusiness:z1,pleaseAssignExternal:H1,pleaseEnterAliasCode:q1,pleaseSelectDataCode:U1,pleaseSelectSvcCode:W1,pleaseSelectJoinFieldCode:K1,pleaseSelectMainFieldCode:G1,pleaseSelectSortFieldCode:X1},Q1={zhCN:pI,enUS:xB,jaJP:J1},Zb;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Zb||(Zb={}));var Yb;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Yb||(Yb={}));var Z1="zh-CN";function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Fn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Fn||(Fn={}));var eg;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(eg||(eg={}));var y;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",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",e.VUE_PAGE="vue-page"})(y||(y={}));var tg;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(tg||(tg={}));var m;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.REAL_DECIMAL="real-decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.DATETIME="datetime",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",e.BOOLEAN="boolean",e.MODEL="model",e.MODEL_SET="model_set"})(m||(m={}));var q;q={},k(q,"varchar","\u77ED\u6587\u672C"),k(q,"timestamp","\u65F6\u95F4"),k(q,"datetime","\u65F6\u95F4\uFF08datetime\uFF09"),k(q,"text","\u957F\u6587\u672C"),k(q,"decimal","\u6570\u503C\u7C7B\u578B"),k(q,"real-decimal","\u6570\u503C\u7C7B\u578B\uFF08decimal\uFF09"),k(q,"relation","\u5F15\u7528\u7C7B\u578B"),k(q,"bigint","\u957F\u6574\u578B"),k(q,"image","\u56FE\u7247"),k(q,"file","\u9644\u4EF6"),k(q,"auto_number","\u81EA\u52A8\u7F16\u53F7"),k(q,"boolean","\u903B\u8F91"),k(q,"people","\u4EBA\u5458"),k(q,"location","\u5730\u5740"),k(q,"department","\u90E8\u95E8"),k(q,"relation-field","\u5173\u8054\u5B57\u6BB5"),k(q,"reference-field","\u5F15\u7528\u5B57\u6BB5"),k(q,"calc","\u8BA1\u7B97\u516C\u5F0F"),k(q,"json","JSON"),k(q,"model","\u6A21\u578B"),k(q,"model_set","\u6A21\u578B\u96C6\u5408"),k(q,"array","\u6570\u7EC4");var ce;ce={},k(ce,"array","array-column"),k(ce,"auto_number","auto-number-column"),k(ce,"decimal","decimal-column"),k(ce,"real-decimal","decimal-column"),k(ce,"department","department-column"),k(ce,"file","file-column"),k(ce,"image","image-column"),k(ce,"location","location-column"),k(ce,"people","employee-column"),k(ce,"text","text-column"),k(ce,"timescope","timescope-column"),k(ce,"timestamp","timestamp-column"),k(ce,"datetime","timestamp-column"),k(ce,"varchar","varchar-column"),k(ce,"relation","varchar-column");var Wt;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Wt||(Wt={}));var ng={DEFAULT:"default"},rg="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Y1=rg+"0123456789";function et(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?rg:Y1,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function ws(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 eA(e){if(Array.isArray(e))return ws(e)}function tA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uo(e,t,r){return cg()?Uo=Reflect.construct:Uo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Zr(l,u.prototype),l},Uo.apply(null,arguments)}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(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&&Zr(e,t)}function nA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function rA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function iA(e,t){return t&&(uA(t)==="object"||typeof t=="function")?t:tA(e)}function Zr(e,t){return Zr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zr(e,t)}function ug(e){return eA(e)||rA(e)||cA(e)||oA()}function uA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cA(e,t){if(!!e){if(typeof e=="string")return ws(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 ws(e,t)}}function $s(e){var t=typeof Map=="function"?new Map:void 0;return $s=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 Uo(n,arguments,Qr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Zr(o,n)},$s(e)}function cg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lg(e){var t=cg();return function(){var n=Qr(e),o;if(t){var i=Qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iA(this,o)}}var Ps=console;function Rs(){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=Ps).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(ug(o)))}function Wo(){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=Ps).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(ug(o)))}function lA(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ss=function(e){ig(r,e);var t=lg(r);function r(n){og(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?lA(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}($s(Error)),aA=function(e){ig(r,e);var t=lg(r);function r(n){og(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Ss);function Yr(e){throw new Ss(e)}function ag(e){throw new aA(e)}function fA(e){Ps.error(new Ss(e))}var sA=Object.prototype.toString;function fg(e,t){return sA.call(e)==="[object "+t+"]"}function _A(e){return fg(e,"String")}function yA(e){return fg(e,"Promise")}var pA=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();yA(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&&!_A(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 dA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vA(e,t,r){return t&&sg(e.prototype,t),r&&sg(e,r),e}function hA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v=function(){function e(){dA(this,e)}return vA(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]:Z1;return new pA({locale:r,messages:Q1})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();hA(v,"$i18n",v.resetI18n());function bA(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)){Rs("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 gA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Es={exports:{}};(function(e){(function(t){var r=function(d,$,P){if(!l($)||_($)||p($)||b($)||a($))return $;var R,S=0,M=0;if(f($))for(R=[],M=$.length;S<M;S++)R.push(r(d,$[S],P));else{R={};for(var I in $)Object.prototype.hasOwnProperty.call($,I)&&(R[d(I,P)]=r(d,$[I],P))}return R},n=function(d,$){$=$||{};var P=$.separator||"_",R=$.split||/(?=[A-Z])/;return d.split(R).join(P)},o=function(d){return O(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var $=o(d);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(d,$){return n(d,$).toLowerCase()},c=Object.prototype.toString,a=function(d){return typeof d=="function"},l=function(d){return d===Object(d)},f=function(d){return c.call(d)=="[object Array]"},_=function(d){return c.call(d)=="[object Date]"},p=function(d){return c.call(d)=="[object RegExp]"},b=function(d){return c.call(d)=="[object Boolean]"},O=function(d){return d=d-0,d===d},g=function(d,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?d:function(R,S){return P(R,d,S)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(d,$){return r(g(o,$),d)},decamelizeKeys:function(d,$){return r(g(u,$),d,$)},pascalizeKeys:function(d,$){return r(g(i,$),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(gA)})(Es);var _g={};Object.defineProperty(_g,"__esModule",{value:!0});function Ts(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ts(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Ts(n)}return t}}var mA=_g.default=Ts;function tt(e){if(e!==void 0)return typeof e=="object"?mA(e):e}function $e(e){return yg(e)&&"zh"in e}function yg(e){return Object.prototype.toString.call(e)==="[object Object]"}function Is(e){return Array.isArray(e)}function jn(e){return isNaN(parseFloat(e))?"":Number(e)}function OA(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function Y(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=Y(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=Y(n.footers,t)),t(o)})),r}function wA(e){return Es.exports.camelizeKeys(e)}function hn(e){return Es.exports.decamelizeKeys(e)}function Bs(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 $A(e){if(Array.isArray(e))return Bs(e)}function pg(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 PA(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){pg(i,n,o,u,c,"next",a)}function c(a){pg(i,n,o,u,c,"throw",a)}u(void 0)})}}function RA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SA(e,t,r){return t&&dg(e.prototype,t),r&&dg(e,r),e}function vg(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){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function TA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function As(e){return $A(e)||EA(e)||IA(e)||TA()}function IA(e,t){if(!!e){if(typeof e=="string")return Bs(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 Bs(e,t)}}function BA(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}}}var AA=function(){function e(){RA(this,e),vg(this,"_events",new Map),vg(this,"debug",!1)}return SA(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 PA(function(){var c,a,l,f,_,p,b,O,g,w,d,$;return BA(this,function(P){switch(P.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];l=c.slice(),f=!0,_=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=l[Symbol.iterator](),P.label=2;case 2:if(f=(O=b.next()).done)return[3,7];if(g=O.value,!c.includes(g))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&Wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(As(o))),[4,g.apply(null,As(o))];case 4:return w=P.sent(),u.debug&&Wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(As(o),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return d=P.sent(),fA(String(d)+":"+String(d.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),_=!0,p=$,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(_)throw p}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 xA(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 kA(e,t,r){return t&&hg(e.prototype,t),r&&hg(e,r),e}function DA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var NA=[{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"}],FA=function(){function e(){xA(this,e)}return kA(e,null,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}},{key:"getEventsFromControl",value:function(r){var n=[],o=r.eventKeys;n=n.concat(e.events.filter(function(u){return o.includes(u.key)}));var i=r.customEvents.map(function(u){var c=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(c=u.namespace+":"+u.key),{key:c,code:u.key,name:u.name}});return n=n.concat(i),n}}]),e}();DA(FA,"events",NA);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 jA(e){if(Array.isArray(e))return xs(e)}function LA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function MA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function bg(e){return jA(e)||LA(e)||CA(e)||MA()}function CA(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 ks(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function gg(e,t,r){r==="Designer"&&(e.parent=t,ks(e,"parent"))}function VA(e,t,r){e.forEach(function(n){gg(n,t,r)})}var mg=Symbol("targetKey");function Og(e){var t;return(t=e[mg])!==null&&t!==void 0?t:e}function wg(e,t,r){return VA(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var l;return i===mg?o:(l=Reflect).get.apply(l,[o,i].concat(bg(c)))},set:function(o,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),l=3;l<c;l++)a[l-3]=arguments[l];var f;if(Is(e)&&i==="length"&&u===e.length)return!0;var _=(f=Reflect).set.apply(f,[o,i,u].concat(bg(a)));return yg(u)&&gg(u,t,r),_}})}function Et(e,t,r,n,o){var i=n!=null?n:e,u=wg(Og(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=wg(Og(a),i,o)},enumerable:!0})}function zA(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 HA(e,t,r){return t&&$g(e.prototype,t),r&&$g(e,r),e}function Kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Pg=[],Ko=function(){function e(t){zA(this,e),Kt(this,"registeredControlTypes",new Set),Kt(this,"controlConfigMap",new Map),Kt(this,"_controls",[]),Kt(this,"_type",void 0),this._type=t,this._initControls(t)}return HA(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__||Yr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Rs("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===Fn.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===Fn.FORM}},{key:"isListControl",value:function(r){return r.controlType===Fn.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===Fn.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 _;return f&&(_=o.createControl(f,n)),_}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var a=n(c);a&&(c=a)}var l;return u.mode==="Runtime"?(l=c,l.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new u(c),l}else Yr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),ks(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,c=n.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var f=l.findIndex(function(b){return b==r}),_=c[a]||[],p;return _.length!==l.length?p=_[0]:p=_[f],p}}}}),ks(r,"parent"))}},{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]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Yr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===o.controlType});return c>-1&&(Rs("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Kt(Ko,"staticControlsRuntimeRules",new Map),Kt(Ko,"staticControls",Pg),Kt(Ko,"staticRegisteredTypes",new Set(Pg.map(function(e){return e.Designer.controlType}))),Kt(Ko,"staticRegisteredConfigs",new Map);function V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function nt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ds(e,t)}function qA(e,t){return t&&(UA(t)==="object"||typeof t=="function")?t:V(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}function UA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rt(e){var t=WA();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 qA(this,o)}}var ot=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(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},Rg=function e(t){E(this,e),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Sg=function e(t){E(this,e),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var r;this.rowHeightType=(r=t==null?void 0:t.rowHeightType)!==null&&r!==void 0?r:"fixed";var n;this.minRows=(n=t==null?void 0:t.minRows)!==null&&n!==void 0?n:4;var o;this.maxRows=(o=t==null?void 0:t.maxRows)!==null&&o!==void 0?o:20;var i;this.fiexdRow=(i=t==null?void 0:t.fiexdRow)!==null&&i!==void 0?i:4},Eg=function e(t){E(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Sg(t==null?void 0:t.pc),this.mobile=new Sg(t==null?void 0:t.mobile)},Ns=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o;o=t.call(this,n),h(V(o),"width",void 0),h(V(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}(Rg),Tg=function e(t){E(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Ns(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Ns(t==null?void 0:t.mobile):new Ns({width:130,minWidth:180})},KA=function e(t){E(this,e),h(this,"type",void 0),h(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Ln=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},GA=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o;o=t.call(this,n),h(V(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Ln),Ig=function e(t){E(this,e),h(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Fs=function e(t){E(this,e);var r;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Ig(u)}))!==null&&i!==void 0?i:[]},XA=function e(t){E(this,e),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:m.VARCHAR},JA=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o;o=t.call(this,n),h(V(o),"title",void 0),h(V(o),"svcCode",void 0),h(V(o),"isOpenFilter",void 0),h(V(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}(Ln),QA=function e(t){E(this,e);var r,n;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new Ln(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 XA(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 JA(u)}))!==null&&i!==void 0?i:[]},ZA=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},eo=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},js=function e(t){var r=this;E(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:et();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,_=new Xo(c);(f=r.children)===null||f===void 0||f.push(_)}}))},Xo=function e(t){E(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:et();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 ZA(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new eo(t==null?void 0:t.rightVariableBo)},YA=function e(t){E(this,e),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new oe(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Ae=function e(t){E(this,e),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Ls=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},ex=function e(t){E(this,e),h(this,"columnName",void 0),h(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function Ms(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 js(c):new Xo(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 js(c):new Xo(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 ex(c)}))!==null&&u!==void 0?u:[]}var oe=function e(t){var r=this;E(this,e),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];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 _;(_=r.displayBoList)===null||_===void 0||_.push(new Ls(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:"",Ms.call(this,t)},Cs=function e(t){E(this,e),h(this,"dataCode",void 0),h(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:[]},Tt=function e(t){E(this,e),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(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,this.formType=t==null?void 0:t.formType;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 _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},Bg=function e(t){E(this,e);var r;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new Ls(u)}))!==null&&i!==void 0?i:[]},Jo=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o,i;o=t.call(this,n),h(V(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 Bg(c)}))!==null&&u!==void 0?u:[],o}return r}(oe),tx=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o,i;o=t.call(this,n),h(V(o),"attributes",void 0),h(V(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 Bg(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}(oe),Ag=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o;o=t.call(this,n),h(V(o),"rootNode",void 0),h(V(o),"filterCode",void 0),o.rootNode=new eo(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}(Jo),xg=function e(t){E(this,e);var r;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Ae(u)}))!==null&&i!==void 0?i:[]},kg=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o;return o=t.call(this,n),h(V(o),"filters",void 0),h(V(o),"viewFilters",void 0),h(V(o),"orders",void 0),Ms.call(V(o),n),o}return r}(xg),Dg=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o;o=t.call(this,n),h(V(o),"mode",void 0),h(V(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}(xg),Ng=function e(t){E(this,e),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},nx=function e(t){E(this,e),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:et(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 It(e){var t;return(t=e==null?void 0:e.map(function(r){return new nx(r)}))!==null&&t!==void 0?t:[]}var Vs=function e(){E(this,e)},rx=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o;return o=t.call(this),h(V(o),"amount",void 0),h(V(o),"currency",void 0),o.amount=new ot(n==null?void 0:n.amount),o.currency=new ot(n==null?void 0:n.currency),o}return r}(Vs),ox=function e(t){E(this,e),h(this,"amount",void 0),h(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},ix=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o;return o=t.call(this),h(V(o),"min",void 0),h(V(o),"max",void 0),o.min=new ot(n==null?void 0:n.min),o.max=new ot(n==null?void 0:n.max),o}return r}(Vs),ux=function e(t){E(this,e),h(this,"min",void 0),h(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},cx=function e(t){E(this,e),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var 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:""},lx=function(e){nt(r,e);var t=rt(r);function r(n){E(this,r);var o;return o=t.call(this),h(V(o),"result",void 0),h(V(o),"unit",void 0),o.result=new ot(n==null?void 0:n.result),o.unit=new ot(n==null?void 0:n.unit),o}return r}(Vs),ax=function e(t){E(this,e),h(this,"result",void 0),h(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""},zs;(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"})(zs||(zs={}));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 Hs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Hs||(Hs={}));var Gt=function e(t){E(this,e),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var 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},fx=function e(t){E(this,e);var r;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:et(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 Ig(u)}))!==null&&i!==void 0?i:[],Ms.call(this,t)},sx=function e(t){E(this,e),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},_x=function e(t){E(this,e),h(this,"optCode",void 0),h(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:""},yx=function e(t){E(this,e);var r;h(this,"id",void 0),h(this,"name",void 0),h(this,"color",void 0),h(this,"filters",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:et();var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new js(c):new Xo(c)}))!==null&&u!==void 0?u:[]},px=function e(t){E(this,e),h(this,"id",void 0),h(this,"script",void 0),h(this,"color",void 0);var r;this.id=(r=t.id)!==null&&r!==void 0?r:et();var n;this.script=(n=t.script)!==null&&n!==void 0?n:"";var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme"};function dx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qo(e,t,r){return Fg()?Qo=Reflect.construct:Qo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&no(l,u.prototype),l},Qo.apply(null,arguments)}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 to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function vx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&no(e,t)}function hx(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bx(e,t){return t&&(gx(t)==="object"||typeof t=="function")?t:dx(e)}function no(e,t){return no=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},no(e,t)}function gx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Us(e){var t=typeof Map=="function"?new Map:void 0;return Us=function(n){if(n===null||!hx(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 Qo(n,arguments,to(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),no(o,n)},Us(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 mx(e){var t=Fg();return function(){var n=to(e),o;if(t){var i=to(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bx(this,o)}}var te=function e(t){qs(this,e),Xt(this,"isHide",{type:"boolean"})},bn=function(e){vx(r,e);var t=mx(r);function r(n){return qs(this,r),t.call(this)}return r}(Us(Array)),ne=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";qs(this,e),Xt(this,"isHide",void 0),Xt(this,"className",void 0),Xt(this,"style",void 0),Xt(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new sx(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Xt(ne,"mode",void 0),Xt(ne,"Rules",te),Xt(ne,"RuntimeRules",bn);function yt(){return yt=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},yt.apply(this,arguments)}function Ox(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function Zo(e,t){return Zo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zo(e,t)}function wx(){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 Yo(e,t,r){return wx()?Yo=Reflect.construct:Yo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Zo(l,u.prototype),l},Yo.apply(null,arguments)}function $x(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ks(e){var t=typeof Map=="function"?new Map:void 0;return Ks=function(n){if(n===null||!$x(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 Yo(n,arguments,Ws(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Zo(o,n)},Ks(e)}var Px=/%[sdj%]/g,jg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(jg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Gs(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 Fe(){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(Px,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 Rx(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function re(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Rx(t)&&typeof e=="string"&&!e)}function Sx(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 Lg(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 Ex(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Mg=function(e){Ox(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}(Ks(Error));function Tx(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var b=function(w){return n(w),w.length?p(new Mg(w,Gs(w))):_()},O=Ex(e);Lg(O,r,b)});return o.catch(function(_){return _}),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(_,p){var b=function(g){if(l.push.apply(l,g),a++,a===c)return n(l),l.length?p(new Mg(l,Gs(l))):_()};u.length||(n(l),_()),u.forEach(function(O){var g=e[O];i.indexOf(O)!==-1?Lg(g,r,b):Sx(g,r,b)})});return f.catch(function(_){return _}),f}function Cg(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Vg(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]=yt(yt({},e[r]),n):e[r]=n}}return e}function zg(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||re(t,i||e.type))&&n.push(Fe(o.messages.required,e.fullField))}function Ix(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Fe(o.messages.whitespace,e.fullField))}var Xs={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},ro={integer:function(t){return ro.number(t)&&parseInt(t,10)===t},float:function(t){return ro.number(t)&&!ro.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"&&!ro.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Xs.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Xs.url)},hex:function(t){return typeof t=="string"&&!!t.match(Xs.hex)}};function Bx(e,t,r,n,o){if(e.required&&t===void 0){zg(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?ro[u](t)||n.push(Fe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Fe(o.messages.types[u],e.fullField,e.type))}function Ax(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,_=typeof t=="number",p=typeof t=="string",b=Array.isArray(t);if(_?f="number":p?f="string":b&&(f="array"),!f)return!1;b&&(l=t.length),p&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(Fe(o.messages[f].len,e.fullField,e.len)):u&&!c&&l<e.min?n.push(Fe(o.messages[f].min,e.fullField,e.min)):c&&!u&&l>e.max?n.push(Fe(o.messages[f].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&n.push(Fe(o.messages[f].range,e.fullField,e.min,e.max))}var Mn="enum";function xx(e,t,r,n,o){e[Mn]=Array.isArray(e[Mn])?e[Mn]:[],e[Mn].indexOf(t)===-1&&n.push(Fe(o.messages[Mn],e.fullField,e[Mn].join(", ")))}function kx(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Fe(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(Fe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var D={required:zg,whitespace:Ix,type:Bx,range:Ax,enum:xx,pattern:kx};function Dx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t,"string")&&!e.required)return r();D.required(e,t,n,i,o,"string"),re(t,"string")||(D.type(e,t,n,i,o),D.range(e,t,n,i,o),D.pattern(e,t,n,i,o),e.whitespace===!0&&D.whitespace(e,t,n,i,o))}r(i)}function Nx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t)&&!e.required)return r();D.required(e,t,n,i,o),t!==void 0&&D.type(e,t,n,i,o)}r(i)}function Fx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),re(t)&&!e.required)return r();D.required(e,t,n,i,o),t!==void 0&&(D.type(e,t,n,i,o),D.range(e,t,n,i,o))}r(i)}function jx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t)&&!e.required)return r();D.required(e,t,n,i,o),t!==void 0&&D.type(e,t,n,i,o)}r(i)}function Lx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t)&&!e.required)return r();D.required(e,t,n,i,o),re(t)||D.type(e,t,n,i,o)}r(i)}function Mx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t)&&!e.required)return r();D.required(e,t,n,i,o),t!==void 0&&(D.type(e,t,n,i,o),D.range(e,t,n,i,o))}r(i)}function Cx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t)&&!e.required)return r();D.required(e,t,n,i,o),t!==void 0&&(D.type(e,t,n,i,o),D.range(e,t,n,i,o))}r(i)}function Vx(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();D.required(e,t,n,i,o,"array"),t!=null&&(D.type(e,t,n,i,o),D.range(e,t,n,i,o))}r(i)}function zx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t)&&!e.required)return r();D.required(e,t,n,i,o),t!==void 0&&D.type(e,t,n,i,o)}r(i)}var Hx="enum";function qx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t)&&!e.required)return r();D.required(e,t,n,i,o),t!==void 0&&D[Hx](e,t,n,i,o)}r(i)}function Ux(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t,"string")&&!e.required)return r();D.required(e,t,n,i,o),re(t,"string")||D.pattern(e,t,n,i,o)}r(i)}function Wx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t,"date")&&!e.required)return r();if(D.required(e,t,n,i,o),!re(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),D.type(e,c,n,i,o),c&&D.range(e,c.getTime(),n,i,o)}}r(i)}function Kx(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;D.required(e,t,n,i,o,u),r(i)}function Js(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(re(t,i)&&!e.required)return r();D.required(e,t,n,u,o,i),re(t,i)||D.type(e,t,n,u,o)}r(u)}function Gx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(re(t)&&!e.required)return r();D.required(e,t,n,i,o)}r(i)}var oo={string:Dx,method:Nx,number:Fx,boolean:jx,regexp:Lx,integer:Mx,float:Cx,array:Vx,object:zx,enum:qx,pattern:Ux,date:Wx,url:Js,hex:Js,email:Js,required:Kx,any:Gx};function Qs(){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 Zs=Qs();function Jt(e){this.rules=null,this._messages=Zs,this.define(e)}Jt.prototype={messages:function(t){return t&&(this._messages=Vg(Qs(),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(g){var w,d=[],$={};function P(R){if(Array.isArray(R)){var S;d=(S=d).concat.apply(S,R)}else d.push(R)}for(w=0;w<g.length;w++)P(g[w]);d.length?$=Gs(d):(d=null,$=null),c(d,$)}if(u.messages){var l=this.messages();l===Zs&&(l=Qs()),Vg(l,u.messages),u.messages=l}else u.messages=this.messages();var f,_,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(g){f=o.rules[g],_=i[g],f.forEach(function(w){var d=w;typeof d.transform=="function"&&(i===t&&(i=yt({},i)),_=i[g]=d.transform(_)),typeof d=="function"?d={validator:d}:d=yt({},d),d.validator=o.getValidationMethod(d),d.field=g,d.fullField=d.fullField||g,d.type=o.getType(d),d.validator&&(p[g]=p[g]||[],p[g].push({rule:d,value:_,source:i,field:g}))})});var O={};return Tx(p,u,function(g,w){var d=g.rule,$=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");$=$&&(d.required||!d.required&&g.value),d.field=g.field;function P(M,I){return yt(yt({},I),{},{fullField:d.fullField+"."+M})}function R(M){M===void 0&&(M=[]);var I=M;if(Array.isArray(I)||(I=[I]),!u.suppressWarning&&I.length&&Jt.warning("async-validator:",I),I.length&&d.message!==void 0&&(I=[].concat(d.message)),I=I.map(Cg(d)),u.first&&I.length)return O[d.field]=1,w(I);if(!$)w(I);else{if(d.required&&!g.value)return d.message!==void 0?I=[].concat(d.message).map(Cg(d)):u.error&&(I=[u.error(d,Fe(u.messages.required,d.field))]),w(I);var J={};if(d.defaultField)for(var x in g.value)g.value.hasOwnProperty(x)&&(J[x]=d.defaultField);J=yt(yt({},J),g.rule.fields);for(var Rt in J)if(J.hasOwnProperty(Rt)){var qo=Array.isArray(J[Rt])?J[Rt]:[J[Rt]];J[Rt]=qo.map(P.bind(null,Rt))}var Xr=new Jt(J);Xr.messages(u.messages),g.rule.options&&(g.rule.options.messages=u.messages,g.rule.options.error=u.error),Xr.validate(g.value,g.rule.options||u,function(Dn){var St=[];I&&I.length&&St.push.apply(St,I),Dn&&Dn.length&&St.push.apply(St,Dn),w(St.length?St:null)})}}var S;d.asyncValidator?S=d.asyncValidator(d,g.value,R,g.source,u):d.validator&&(S=d.validator(d,g.value,R,g.source,u),S===!0?R():S===!1?R(d.message||d.field+" fails"):S instanceof Array?R(S):S instanceof Error&&R(S.message)),S&&S.then&&S.then(function(){return R()},function(M){return R(M)})},function(g){a(g)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!oo.hasOwnProperty(t.type))throw new Error(Fe("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"?oo.required:oo[this.getType(t)]||!1}},Jt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");oo[t]=r},Jt.warning=jg,Jt.messages=Zs,Jt.validators=oo;var Xx={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 Jx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Jt(e);return r.messages(Object.assign(Xx,t)),r}var Qx=new AA;function Ys(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 Zx(e){if(Array.isArray(e))return e}function Yx(e){if(Array.isArray(e))return Ys(e)}function Hg(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 qg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Hg(i,n,o,u,c,"next",a)}function c(a){Hg(i,n,o,u,c,"throw",a)}u(void 0)})}}function ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tk(e,t,r){return t&&Ug(e.prototype,t),r&&Ug(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 Wg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Kg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nk(){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 rk(){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 Gg(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){L(e,o,r[o])})}return e}function ok(e){return Zx(e)||Kg(e)||Xg(e)||nk()}function e_(e){return Yx(e)||Kg(e)||Xg(e)||rk()}function Xg(e,t){if(!!e){if(typeof e=="string")return Ys(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 Ys(e,t)}}function Jg(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}}}var C=function(){function t(r){var n=this;ek(this,t),L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"slots",void 0),L(this,"slotPosition",void 0),L(this,"updateSetting",Zg),L(this,"removeSetting",Qg),this._callControlHooks("preInstance",r);var o=Wg(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,a=o.controlFieldType,l=o.controlEventKeys,f=o.controlCustomEvents,_=o.name,p=o.setting,b=o.slots,O=o.slotPosition;i&&u&&c||ag("The ".concat(_," controlName,controlIcon,controlType is not define"));var g;this.id=(g=r==null?void 0:r.id)!==null&&g!==void 0?g:et(10),this.name=i,this.icon=u;var w;this.type=(w=r==null?void 0:r.type)!==null&&w!==void 0?w:c,this.props=new ne(r==null?void 0:r.props,(Wg(this,t)?this.constructor:void 0).controlName);var d;this.controlType=(d=r==null?void 0:r.controlType)!==null&&d!==void 0?d:"base",this.setting=tt(p);var $;this.fieldType=($=r==null?void 0:r.fieldType)!==null&&$!==void 0?$:a,this.eventKeys=tt(l),this.customEvents=tt(f),this.slots=tt(b),this.slotPosition=tt(O),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return tk(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=ok(o),a=c[0],l=c.slice(1);return(u=Qx).emit.apply(u,[a,this].concat(e_(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),bA(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return qg(function(){var o,i,u;return Jg(this,function(c){switch(c.label){case 0:return o=Gg({},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 qg(function(){var u,c,a,l;return Jg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:Gg({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),a=Jx(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,_=c.caption,p=c.required,b=c.maxLength,O=c.options,g=c.encrypted,w=c.encryptedMode;if(!(!o&&!a&&!l)){var d={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(a&&(d.dataBind=a),f){case"datasource":case void 0:l&&(d.datasourceBind=l);break;case"custom":d.props.options=O;break}return p!==void 0&&(d.required=p),b!==void 0&&(d.maxLength=b),g!==void 0&&(d.encrypted=g),w!==void 0&&(d.encryptedMode=w),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:tt(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,e_(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();L(C,"mode","Designer"),L(C,"slots",void 0),L(C,"slotPosition",void 0),L(C,"controlName","\u63A7\u4EF6"),L(C,"controlIcon","icon"),L(C,"controlType","control"),L(C,"controlFieldType",void 0),L(C,"controlEventKeys",[]),L(C,"controlCustomEvents",[]),L(C,"setting",[]),L(C,"__is_control__",!0),L(C,"removeSettingItem",Qg),L(C,"updateSettingItem",Zg);function Qg(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 Zg(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,e_(t.showItems))}}}})}function ik(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uk(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(e,r),e}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ck(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Bt=function(){function t(r){ik(this,t),je(this,"id",void 0),je(this,"type",void 0),je(this,"controlType",void 0),je(this,"props",void 0),je(this,"fieldType",void 0),je(this,"customEvents",[]),je(this,"pageStatus",void 0),je(this,"parent",null);var n=ck(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||ag("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:et(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new ne(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 _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:Hs.UNKNOWN}return uk(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();je(Bt,"mode","Runtime"),je(Bt,"controlType","control"),je(Bt,"controlFieldType",void 0),je(Bt,"__is_control__",!0),je(Bt,"controlCustomEvents",[]);function t_(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:v.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:v.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=OA(i);i.length!==u.length?o(v.getMessage("optionIdIsRepeat")):o()},message:v.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:v.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}])}function ei(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:v.getMessage("isNotString")},key:{type:"string",required:!0,message:v.getMessage("isNotString")},value:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}]}function lk(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ti(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function ri(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ak(e,t){return t&&(fk(t)==="object"||typeof t=="function")?t:W(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}function fk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oi(e){var t=sk();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 ak(this,o)}}var le=function(e){ri(r,e);var t=oi(r);function r(n){ti(this,r);var o;o=t.call(this,n),K(W(o),"dataBind",{}),K(W(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),K(W(o),"isHideCaption",{type:"boolean"}),K(W(o),"labelPosition",{type:"enum",enum:["top","left"]}),K(W(o),"defaultState",{type:"enum",enum:["default","readonly"]}),K(W(o),"required",{type:"boolean"}),K(W(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}};if(lk(n.dataBind))o.dataBind={type:"object",required:!0,fields:tt(i),message:v.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:v.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:tt(i),message:v.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(te),U=function(e){ri(r,e);var t=oi(r);function r(n){ti(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:v.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(bn),N=function(e){ri(r,e);var t=oi(r);function r(n){ti(this,r);var o;o=t.call(this,n),K(W(o),"caption",void 0),K(W(o),"isHideCaption",void 0),K(W(o),"isShowCaptionTip",void 0),K(W(o),"captionTip",void 0),K(W(o),"labelPosition",void 0),K(W(o),"dataBind",void 0),K(W(o),"defaultValue",void 0),K(W(o),"placeholder",void 0),K(W(o),"defaultState",void 0),K(W(o),"required",void 0),K(W(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 _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new ot(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}(ne);K(N,"Rules",le),K(N,"RuntimeRules",U);var Cn=function(e){ri(r,e);var t=oi(r);function r(n){ti(this,r);var o;return o=t.call(this,n),K(W(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")}),K(W(o),"options",[{type:"array",message:v.getMessage("isNotArray")}]),K(W(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),t_.call(W(o),n),o}return r}(le);function r_(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 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 ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(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&&o_(e,t)}function pk(e,t){return t&&(dk(t)==="object"||typeof t=="function")?t:r_(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}function dk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pk(this,o)}}var F=function(e){yk(r,e);var t=hk(r);function r(n){_k(this,r);var o;return o=t.call(this,n),ii(r_(o),"controlType","form"),ii(r_(o),"props",void 0),o.props=new N(n==null?void 0:n.props),o}return r}(C);ii(F,"controlEventKeys",["on_change","on_focus","on_blur"]),ii(F,"controlCustomAttributes",void 0);function ci(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 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 li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(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&&u_(e,t)}function mk(e,t){return t&&(Ok(t)==="object"||typeof t=="function")?t:ci(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(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=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mk(this,o)}}var j=function(e){gk(r,e);var t=$k(r);function r(n){bk(this,r);var o;return o=t.call(this,n),i_(ci(o),"controlType","form"),i_(ci(o),"props",void 0),i_(ci(o),"value",void 0),o.props=new N(n==null?void 0:n.props),o}return r}(Bt);function Pk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(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&&c_(e,t)}function Ek(e,t){return t&&(Tk(t)==="object"||typeof t=="function")?t:Pk(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}function Tk(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 Bk(e){var t=Ik();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 Ek(this,o)}}var ae=function(e){Sk(r,e);var t=Bk(r);function r(n){return Rk(this,r),t.call(this,n)}return r}(ne);function l_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ak(e){if(Array.isArray(e))return l_(e)}function gn(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),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function xk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){em(i,n,o,u,c,"next",a)}function c(a){em(i,n,o,u,c,"throw",a)}u(void 0)})}}function kk(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 Dk(e,t,r){return t&&tm(e.prototype,t),r&&tm(e,r),e}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 Vn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vn=Reflect.get:Vn=function(o,i,u){var c=Hk(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Vn(e,t,r||e)}function Zt(e){return Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zt(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&&a_(e,t)}function Fk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function jk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lk(){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 Mk(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){Qt(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 Vk(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 zk(e,t){return t&&(qk(t)==="object"||typeof t=="function")?t:gn(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}function Hk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zt(e),e!==null););return e}function nm(e){return Ak(e)||jk(e)||Uk(e)||Lk()}function qk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uk(e,t){if(!!e){if(typeof e=="string")return l_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l_(e,t)}}function Wk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kk(e){var t=Wk();return function(){var n=Zt(e),o;if(t){var i=Zt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zk(this,o)}}function Gk(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}}}var Xk=1e4,fe=function(t){Nk(n,t);var r=Kk(n);function n(o){kk(this,n);var i;i=r.call(this,o),Qt(gn(i),"controlType","layout"),Qt(gn(i),"children",void 0),Qt(gn(i),"excludes",void 0),Qt(gn(i),"childrenMaxLength",void 0),Qt(gn(i),"props",void 0);var u=Fk(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new ae(o==null?void 0:o.props),Et(gn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=tt(c),i.childrenMaxLength=a,i}return Dk(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 Vn(Zt(n.prototype),"validate",c)};return xk(function(){return Gk(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(_){return _.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=Vn(Zt(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 _=f.filter(function(p){return!!p});return nm(a).concat(nm(_))}return f&&a.push(f),a},c)}},{key:"toSchema",value:function(){var i=Vn(Zt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return Vk(Mk({},i),{children:u})}}]),n}(C);Qt(fe,"excludes",!1),Qt(fe,"childrenMaxLength",Xk);function io(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 f_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function Qk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function Zk(e,t){return t&&(Yk(t)==="object"||typeof t=="function")?t:io(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}function Yk(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=fi(e),o;if(t){var i=fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zk(this,o)}}var mn=function(e){Qk(r,e);var t=t2(r);function r(n){Jk(this,r);var o;return o=t.call(this,n),f_(io(o),"controlType","layout"),f_(io(o),"children",void 0),f_(io(o),"props",void 0),o.props=new ae(n==null?void 0:n.props),Et(io(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Bt);function At(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 zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(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&&__(e,t)}function o2(e,t){return t&&(i2(t)==="object"||typeof t=="function")?t:At(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function i2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c2(e){var t=u2();return function(){var n=si(e),o;if(t){var i=si(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o2(this,o)}}var y_=function(e){r2(r,e);var t=c2(r);function r(n,o,i){n2(this,r);var u;u=t.call(this,o),zn(At(u),"headers",void 0),zn(At(u),"footers",void 0),zn(At(u),"pageIndex",void 0),zn(At(u),"pageSize",void 0),zn(At(u),"pageSizeOptions",void 0),zn(At(u),"totalCount",void 0),Et(At(u),"headers",o==null?void 0:o.headers,n,i),Et(At(u),"footers",o==null?void 0:o.footers,n);var c;u.pageIndex=(c=o==null?void 0:o.pageIndex)!==null&&c!==void 0?c:1;var a;u.pageSize=(a=o==null?void 0:o.pageSize)!==null&&a!==void 0?a:20;var l;u.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[20];var f;return u.totalCount=(f=o==null?void 0:o.totalCount)!==null&&f!==void 0?f:0,u}return r}(ne);function p_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l2(e){if(Array.isArray(e))return p_(e)}function _i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rm(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 a2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){rm(i,n,o,u,c,"next",a)}function c(a){rm(i,n,o,u,c,"throw",a)}u(void 0)})}}function f2(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 s2(e,t,r){return t&&om(e.prototype,t),r&&om(e,r),e}function yi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hn=Reflect.get:Hn=function(o,i,u){var c=h2(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Hn(e,t,r||e)}function Yt(e){return Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yt(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&&d_(e,t)}function y2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function p2(){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 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){yi(e,o,r[o])})}return e}function d2(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 um(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d2(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function v2(e,t){return t&&(b2(t)==="object"||typeof t=="function")?t:_i(e)}function d_(e,t){return d_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d_(e,t)}function h2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yt(e),e!==null););return e}function cm(e){return l2(e)||y2(e)||g2(e)||p2()}function b2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g2(e,t){if(!!e){if(typeof e=="string")return p_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p_(e,t)}}function 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 O2(e){var t=m2();return function(){var n=Yt(e),o;if(t){var i=Yt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v2(this,o)}}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(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}}}var v_=function(e){_2(r,e);var t=O2(r);function r(n){f2(this,r);var o;return o=t.call(this,n),yi(_i(o),"controlType","list"),yi(_i(o),"props",void 0),o.props=new y_(_i(o),n==null?void 0:n.props,"Designer"),o}return s2(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Hn(Yt(r.prototype),"validate",u)};return a2(function(){return w2(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=Hn(Yt(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(_){return!!_});return cm(c).concat(cm(f))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o,i,u=Hn(Yt(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(l){return l.toSchema()}),a=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(l){if(l)return l.toSchema()});return um(im({},u),{props:um(im({},this.props),{headers:c,footers:a})})}}]),r}(C);yi(v_,"controlFieldType",m.LIST);function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h_(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 pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function b_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function $2(e,t){return t&&(P2(t)==="object"||typeof t=="function")?t:se(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function P2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=R2();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 $2(this,o)}}var pt=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;return o=t.call(this,n),ge(se(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),ge(se(o),"width",{type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(te),ee=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;o=t.call(this,n),ge(se(o),"widthType",void 0),ge(se(o),"width",void 0),ge(se(o),"caption",void 0),ge(se(o),"dataBind",void 0),ge(se(o),"autoWidth",void 0),ge(se(o),"fixed",void 0),ge(se(o),"sort",void 0),ge(se(o),"align",void 0),ge(se(o),"colSpan",void 0),ge(se(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 Rg(n==null?void 0:n.autoWidth),o.dataBind=new ot(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}(ne);ge(ee,"Rules",pt);var lm=function(e){b_(r,e);var t=m_(r);function r(n){h_(this,r);var o;return o=t.call(this,n),ge(se(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")}),ge(se(o),"options",[{type:"array",message:v.getMessage("isNotArray")}]),ge(se(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),t_.call(se(o),n),o}return r}(pt);function O_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function am(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 E2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T2(e,t){return t&&(I2(t)==="object"||typeof t=="function")?t:O_(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function I2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A2(e){var t=B2();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 T2(this,o)}}var _e=function(e){E2(r,e);var t=A2(r);function r(n){S2(this,r);var o;return o=t.call(this,n),am(O_(o),"controlType","column"),am(O_(o),"props",void 0),o.props=new ee(n==null?void 0:n.props),o}return r}(C);function $_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(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&&P_(e,t)}function D2(e,t){return t&&(N2(t)==="object"||typeof t=="function")?t:$_(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}function N2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j2(e){var t=F2();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 D2(this,o)}}var ye=function(e){k2(r,e);var t=j2(r);function r(n){x2(this,r);var o;return o=t.call(this,n),fm($_(o),"controlType","column"),fm($_(o),"props",void 0),o.props=new ee(n==null?void 0:n.props),o}return r}(Bt);function sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M2(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 C2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V2(e,t){return t&&(z2(t)==="object"||typeof t=="function")?t:sm(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}function z2(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 q2(e){var t=H2();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 V2(this,o)}}var S_=function(e){C2(r,e);var t=q2(r);function r(n){L2(this,r);var o;return o=t.call(this,n),M2(sm(o),"dataBind",void 0),o.dataBind=new ot(n==null?void 0:n.dataBind),o}return r}(ae);function E_(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 _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 bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function W2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}function K2(e,t){return t&&(G2(t)==="object"||typeof t=="function")?t:E_(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}function G2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J2(e){var t=X2();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 K2(this,o)}}var Q2=function(e){W2(r,e);var t=J2(r);function r(n){U2(this,r);var o;return o=t.call(this,n),_m(E_(o),"controlType","search"),_m(E_(o),"props",void 0),o.props=new S_(n==null?void 0:n.props),o}return r}(fe);function I_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function Y2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:I_(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function tD(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=gi(e),o;if(t){var i=gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eD(this,o)}}var oD=function(e){Y2(r,e);var t=rD(r);function r(n){Z2(this,r);var o;return o=t.call(this,n),ym(I_(o),"controlType","search"),ym(I_(o),"props",void 0),o.props=new S_(n==null?void 0:n.props),o}return r}(mn);function en(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}}}])}function On(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function uD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A_(e,t)}function cD(e,t){return t&&(lD(t)==="object"||typeof t=="function")?t:On(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}function lD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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=mi(e),o;if(t){var i=mi(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){iD(this,r);var o;o=t.call(this,n),qn(On(o),"content",void 0),qn(On(o),"fontSize",void 0),qn(On(o),"color",void 0),qn(On(o),"icon",void 0),qn(On(o),"align",void 0),qn(On(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;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:"\u8BF4\u660E\u6587\u5B57";var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"",o}return r}(ne);function pm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yD(e,t,r){return t&&dm(e.prototype,t),r&&dm(e,r),e}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 Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function pD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function dD(e,t){return t&&(vD(t)==="object"||typeof t=="function")?t:pm(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}function vD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bD(e){var t=hD();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 dD(this,o)}}var gD=function(e){pD(r,e);var t=bD(r);function r(n){_D(this,r);var o;return o=t.call(this,n),vm(pm(o),"props",void 0),o.props=new sD(n==null?void 0:n.props),o}return yD(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(C);vm(gD,"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 wi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(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&&D_(e,t)}function wD(e,t){return t&&($D(t)==="object"||typeof t=="function")?t:wi(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(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=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wD(this,o)}}var SD=function(e){OD(r,e);var t=RD(r);function r(n){mD(this,r);var o;o=t.call(this,n),k_(wi(o),"content",void 0),k_(wi(o),"url",void 0),k_(wi(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}(ne);function hm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ED(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 TD(e,t,r){return t&&bm(e.prototype,t),r&&bm(e,r),e}function N_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(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&&F_(e,t)}function BD(e,t){return t&&(AD(t)==="object"||typeof t=="function")?t:hm(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}function AD(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 kD(e){var t=xD();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 BD(this,o)}}var gm=function(e){ID(r,e);var t=kD(r);function r(n){ED(this,r);var o;return o=t.call(this,n),N_(hm(o),"props",void 0),o.props=new SD(n==null?void 0:n.props),o}return TD(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(C);N_(gm,"controlEventKeys",["on_click"]),N_(gm,"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 dt(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 Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(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&&j_(e,t)}function FD(e,t){return t&&(jD(t)==="object"||typeof t=="function")?t:dt(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}function jD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MD(e){var t=LD();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 FD(this,o)}}var Le=function(e){ND(r,e);var t=MD(r);function r(n){DD(this,r);var o;o=t.call(this,n),xt(dt(o),"content",void 0),xt(dt(o),"buttonType",void 0),xt(dt(o),"showType",void 0),xt(dt(o),"color",void 0),xt(dt(o),"icon",void 0),xt(dt(o),"defaultState",void 0),xt(dt(o),"command",void 0),xt(dt(o),"isLoading",void 0),xt(dt(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 _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var b;return o.optObj=new _x((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(ne);function mm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 VD(e,t,r){return t&&Om(e.prototype,t),r&&Om(e,r),e}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 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&&L_(e,t)}function HD(e,t){return t&&(qD(t)==="object"||typeof t=="function")?t:mm(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}function qD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WD(e){var t=UD();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 HD(this,o)}}var Pe=function(e){zD(r,e);var t=WD(r);function r(n){CD(this,r);var o;return o=t.call(this,n),Si(mm(o),"props",void 0),o.props=new Le(n==null?void 0:n.props),o}return VD(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(C);Si(Pe,"slots",["grid-table-toolbar-slot","action-bar-slot",ng.DEFAULT]),Si(Pe,"controlEventKeys",["on_click"]),Si(Pe,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",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 it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kt;(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"})(kt||(kt={}));var wm;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(wm||(wm={}));var $m;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})($m||($m={}));var M_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:et(8),value:["",""]};it(this,e),T(this,"dateConfigType",void 0),T(this,"dateLimitType",void 0),T(this,"id",void 0),T(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},C_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(C_||(C_={}));var V_=function e(t){it(this,e),T(this,"id",void 0),T(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:et();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},z_;(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"})(z_||(z_={}));var Pm=function e(t){it(this,e),T(this,"type",void 0),T(this,"person",void 0),T(this,"signatureType",void 0),T(this,"telephone",void 0),T(this,"company",void 0),T(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new eo((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 eo((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 eo((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:""},KD=function e(t){it(this,e);var r;T(this,"fileControl",void 0),T(this,"undersignedList",void 0),T(this,"statusControl",void 0),T(this,"completeControl",void 0),T(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new Pm(a)}))!==null&&o!==void 0?o:[new Pm];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:""},Ti=function e(t){it(this,e),T(this,"id",void 0),T(this,"appId",void 0),T(this,"dataCode",void 0),T(this,"svcCode",void 0),T(this,"name",void 0),T(this,"fieldList",void 0),T(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:et(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},Rm=function e(t){it(this,e),T(this,"active",void 0),T(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},GD=function e(t){it(this,e),T(this,"types",void 0),T(this,"history",void 0),T(this,"collaborativeRecord",void 0),T(this,"logicToDelete",void 0),T(this,"watermark",void 0),T(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Rm(t==null?void 0:t.watermark),this.autoRename=new Rm(t==null?void 0:t.autoRename)},XD=function e(t){it(this,e),T(this,"dataCode",void 0),this.dataCode=t.dataCode},JD=function e(t){it(this,e);var r;T(this,"templateType",void 0),T(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new XD(i)}))!==null&&o!==void 0?o:[]},QD=function e(t){it(this,e);var r;T(this,"templateType",void 0),T(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new Ti(i)}))!==null&&o!==void 0?o:[new Ti({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},ZD=480;function Ii(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var YD=function e(t){it(this,e),T(this,"fileId",void 0),T(this,"fileName",void 0),T(this,"ruleName",void 0),T(this,"isDefault",void 0),T(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},Sm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Sm||(Sm={}));var H_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(H_||(H_={}));var Bi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(Bi||(Bi={}));var tn;(function(e){e.ALL="all",e.ASSIGN="assign"})(tn||(tn={}));var q_;(function(e){e.ALL="all",e.ADMIN="admin"})(q_||(q_={}));function U_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eN(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 Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function tN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nN(e,t){return t&&(rN(t)==="object"||typeof t=="function")?t:U_(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}function rN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iN(e){var t=oN();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 nN(this,o)}}var uN=function(e){tN(r,e);var t=iN(r);function r(n){eN(this,r);var o;o=t.call(this,n),Em(U_(o),"color",void 0),Em(U_(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:z_.SOLID,o}return r}(ne);function Tm(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 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 lN(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 xi(e){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xi(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&&K_(e,t)}function fN(e,t){return t&&(sN(t)==="object"||typeof t=="function")?t:Tm(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}function sN(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=xi(e),o;if(t){var i=xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fN(this,o)}}var pN=function(e){aN(r,e);var t=yN(r);function r(n){cN(this,r);var o;return o=t.call(this,n),Bm(Tm(o),"props",void 0),o.props=new uN(n==null?void 0:n.props),o}return lN(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(C);Bm(pN,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function nn(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 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 ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(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&&G_(e,t)}function dN(e,t){return t&&(vN(t)==="object"||typeof t=="function")?t:nn(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(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 km(e){var t=hN();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 dN(this,o)}}var bN=function(e){xm(r,e);var t=km(r);function r(n){Am(this,r);var o;return o=t.call(this,n),rn(nn(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),rn(nn(o),"dataBind",{type:"any"}),rn(nn(o),"config",{type:"array"}),n.config.includes(kt.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")}},message:v.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:v.getMessage("pleaseSelectOneField")}),o}return r}(te),Dm=function(e){xm(r,e);var t=km(r);function r(n){Am(this,r);var o;o=t.call(this,n),rn(nn(o),"dataBind",void 0),rn(nn(o),"caption",void 0),rn(nn(o),"config",void 0),rn(nn(o),"position",void 0),o.dataBind=new ot(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[kt.ShowSubmitUser,kt.ShowSubmitDept,kt.ShowSubmitTime,kt.ShowCurrentApprovar,kt.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:uo==null?void 0:uo.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}(ne);rn(Dm,"Rules",bN);function Nm(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 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 mN(e,t,r){return t&&Fm(e.prototype,t),r&&Fm(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 Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(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&&J_(e,t)}function wN(e,t){return t&&($N(t)==="object"||typeof t=="function")?t:Nm(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(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=Di(e),o;if(t){var i=Di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wN(this,o)}}var uo=function(e){ON(r,e);var t=RN(r);function r(n){gN(this,r);var o;return o=t.call(this,n),X_(Nm(o),"props",void 0),o.props=new Dm(n==null?void 0:n.props),o}return mN(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(C);X_(uo,"controlFieldType",m.AUTO_NUMBER),X_(uo,"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 Ni(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 Fi(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 Lm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function SN(e,t){return t&&(EN(t)==="object"||typeof t=="function")?t:Ni(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(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 Mm(e){var t=TN();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 SN(this,o)}}var IN=function(e){Lm(r,e);var t=Mm(r);function r(n){jm(this,r);var o;return o=t.call(this,n),Fi(Ni(o),"formKey",{type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}),o}return r}(te),Cm=function(e){Lm(r,e);var t=Mm(r);function r(n){jm(this,r);var o;o=t.call(this,n),Fi(Ni(o),"formKey",void 0),Fi(Ni(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:co.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:co.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}(Le);Fi(Cm,"Rules",IN);function Vm(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 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 AN(e,t,r){return t&&zm(e.prototype,t),r&&zm(e,r),e}function Li(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(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&&Z_(e,t)}function kN(e,t){return t&&(DN(t)==="object"||typeof t=="function")?t:Vm(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(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=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kN(this,o)}}var co=function(e){xN(r,e);var t=FN(r);function r(n){BN(this,r);var o;return o=t.call(this,n),Li(Vm(o),"props",void 0),o.props=new Cm(n==null?void 0:n.props),o}return AN(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Pe);Li(co,"slots",["grid-table-toolbar-slot"]),Li(co,"controlEventKeys",["on_click","on_click_finish"]),Li(co,"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 Un(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 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 Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(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&&Y_(e,t)}function jN(e,t){return t&&(LN(t)==="object"||typeof t=="function")?t:Un(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}function LN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Um(e){var t=MN();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 jN(this,o)}}var CN=function(e){qm(r,e);var t=Um(r);function r(n){Hm(this,r);var o;return o=t.call(this,n),Wn(Un(o),"processKey",[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterProcess")}]),o}return r}(te),Wm=function(e){qm(r,e);var t=Um(r);function r(n){Hm(this,r);var o;o=t.call(this,n),Wn(Un(o),"processKey",void 0),Wn(Un(o),"initiatorMode",void 0),Wn(Un(o),"fieldCode",void 0),Wn(Un(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:lo.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:lo.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}(Le);Wn(Wm,"Rules",CN);function Km(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zN(e,t,r){return t&&Gm(e.prototype,t),r&&Gm(e,r),e}function Vi(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 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&&ey(e,t)}function qN(e,t){return t&&(UN(t)==="object"||typeof t=="function")?t:Km(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ey(e,t)}function UN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KN(e){var t=WN();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qN(this,o)}}var lo=function(e){HN(r,e);var t=KN(r);function r(n){VN(this,r);var o;return o=t.call(this,n),Vi(Km(o),"props",void 0),o.props=new Wm(n==null?void 0:n.props),o}return zN(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Pe);Vi(lo,"slots",["grid-table-toolbar-slot"]),Vi(lo,"controlEventKeys",["on_click","on_click_finish"]),Vi(lo,"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 GN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function JN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function QN(e,t){return t&&(ZN(t)==="object"||typeof t=="function")?t:GN(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}function ZN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eF(e){var t=YN();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 QN(this,o)}}var tF=function(e){JN(r,e);var t=eF(r);function r(n){XN(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:ao.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ao.controlIcon,o}return r}(Le);function Xm(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 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 rF(e,t,r){return t&&Jm(e.prototype,t),r&&Jm(e,r),e}function qi(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 oF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function iF(e,t){return t&&(uF(t)==="object"||typeof t=="function")?t:Xm(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}function uF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lF(e){var t=cF();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 iF(this,o)}}var ao=function(e){oF(r,e);var t=lF(r);function r(n){nF(this,r);var o;return o=t.call(this,n),qi(Xm(o),"props",void 0),o.props=new tF(n==null?void 0:n.props),o}return rF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Pe);qi(ao,"slots",["grid-table-toolbar-slot"]),qi(ao,"controlEventKeys",["on_click"]),qi(ao,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aF(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 Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(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&&oy(e,t)}function sF(e,t){return t&&(_F(t)==="object"||typeof t=="function")?t:ry(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}function _F(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pF(e){var t=yF();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sF(this,o)}}var dF=function(e){fF(r,e);var t=pF(r);function r(n){aF(this,r);var o,i;o=t.call(this,n),Qm(ry(o),"templateList",void 0),Qm(ry(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:fo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:fo.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 Ti(f)}))!==null&&l!==void 0?l:[new Ti({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Le);function Zm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hF(e,t,r){return t&&Ym(e.prototype,t),r&&Ym(e,r),e}function Ki(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 bF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function gF(e,t){return t&&(mF(t)==="object"||typeof t=="function")?t:Zm(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}function mF(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 wF(e){var t=OF();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 gF(this,o)}}var fo=function(e){bF(r,e);var t=wF(r);function r(n){vF(this,r);var o;return o=t.call(this,n),Ki(Zm(o),"props",void 0),o.props=new dF(n==null?void 0:n.props),o}return hF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Pe);Ki(fo,"slots",["grid-table-toolbar-slot"]),Ki(fo,"controlEventKeys",["on_click","on_click_finish"]),Ki(fo,"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 $F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function RF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function SF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:$F(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}function EF(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=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SF(this,o)}}var BF=function(e){RF(r,e);var t=IF(r);function r(n){PF(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:so.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:so.controlIcon,o}return r}(Le);function eO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AF(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 xF(e,t,r){return t&&tO(e.prototype,t),r&&tO(e,r),e}function Ji(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(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&&cy(e,t)}function DF(e,t){return t&&(NF(t)==="object"||typeof t=="function")?t:eO(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}function NF(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 jF(e){var t=FF();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 DF(this,o)}}var so=function(e){kF(r,e);var t=jF(r);function r(n){AF(this,r);var o;return o=t.call(this,n),Ji(eO(o),"props",void 0),o.props=new BF(n==null?void 0:n.props),o}return xF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Pe);Ji(so,"slots",["grid-table-toolbar-slot"]),Ji(so,"controlEventKeys",["on_click"]),Ji(so,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function ly(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function LF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MF(e,t){return t&&(CF(t)==="object"||typeof t=="function")?t:ly(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}function CF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zF(e){var t=VF();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 MF(this,o)}}var HF=function e(t){nO(this,e),ay(this,"dataCode",void 0),this.dataCode=t.dataCode},qF=function(e){LF(r,e);var t=zF(r);function r(n){nO(this,r);var o,i;o=t.call(this,n),ay(ly(o),"canImportList",void 0),ay(ly(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:_o.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:_o.controlIcon;var a;o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new HF(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}(Le);function rO(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 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 WF(e,t,r){return t&&oO(e.prototype,t),r&&oO(e,r),e}function Yi(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 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&&sy(e,t)}function GF(e,t){return t&&(XF(t)==="object"||typeof t=="function")?t:rO(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(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=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GF(this,o)}}var _o=function(e){KF(r,e);var t=QF(r);function r(n){UF(this,r);var o;return o=t.call(this,n),Yi(rO(o),"props",void 0),o.props=new qF(n==null?void 0:n.props),o}return WF(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Pe);Yi(_o,"slots",["grid-table-toolbar-slot"]),Yi(_o,"controlEventKeys",["on_click","on_click_finish"]),Yi(_o,"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 tu(){return{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}}}}}}function on(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 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 nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(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&&_y(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){Dt(e,o,r[o])})}return e}function ZF(e,t){return t&&(YF(t)==="object"||typeof t=="function")?t:on(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(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 lO(e){var t=ej();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 ZF(this,o)}}var tj=function(e){uO(r,e);var t=lO(r);function r(n){iO(this,r);var o;return o=t.call(this,n),Dt(on(o),"fillPayload",{type:"object",fields:cO({},tu())}),Dt(on(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}}}),Dt(on(o),"fillBack",{type:"object",fields:cO({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},tu())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}),o}return r}(te),aO=function(e){uO(r,e);var t=lO(r);function r(n){iO(this,r);var o;o=t.call(this,n),Dt(on(o),"fillPayload",void 0),Dt(on(o),"formBind",void 0),Dt(on(o),"fillBack",void 0),Dt(on(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ou.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ou.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new kg(n==null?void 0:n.fillPayload),o.formBind=new GA(n==null?void 0:n.formBind),o.fillBack=new Dg(n==null?void 0:n.fillBack),o}return r}(Le);Dt(aO,"Rules",tj);function fO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rj(e,t,r){return t&&sO(e.prototype,t),r&&sO(e,r),e}function yy(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 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&&py(e,t)}function ij(e,t){return t&&(uj(t)==="object"||typeof t=="function")?t:fO(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(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=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ij(this,o)}}var ou=function(e){oj(r,e);var t=lj(r);function r(n){nj(this,r);var o;return o=t.call(this,n),yy(fO(o),"props",void 0),o.props=new aO(n==null?void 0:n.props),o}return rj(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Pe);yy(ou,"controlEventKeys",["on_click","on_click_finish"]),yy(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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Nt(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 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 iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(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&&dy(e,t)}function pO(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 aj(e,t){return t&&(fj(t)==="object"||typeof t=="function")?t:Nt(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}function fj(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 dO(e){var t=sj();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 aj(this,o)}}var _j=function(e){yO(r,e);var t=dO(r);function r(n){_O(this,r);var o;return o=t.call(this,n),vt(Nt(o),"fillPayload",{type:"object",fields:pO({},tu())}),vt(Nt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}),vt(Nt(o),"fillBack",{type:"object",fields:pO({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},tu())}),o}return r}(te),vO=function(e){yO(r,e);var t=dO(r);function r(n){_O(this,r);var o;o=t.call(this,n),vt(Nt(o),"fillPayload",void 0),vt(Nt(o),"listPageBind",void 0),vt(Nt(o),"fillBack",void 0),vt(Nt(o),"showSelectedDetail",void 0),vt(Nt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:cu.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:cu.controlIcon,o.fillPayload=new kg(n==null?void 0:n.fillPayload),o.listPageBind=new Fs(n==null?void 0:n.listPageBind),o.fillBack=new Dg(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 Cs(n==null?void 0:n.selectedContentConfig),o}return r}(Le);vt(vO,"Rules",_j);function hO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pj(e,t,r){return t&&bO(e.prototype,t),r&&bO(e,r),e}function vy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function dj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function vj(e,t){return t&&(hj(t)==="object"||typeof t=="function")?t:hO(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}function hj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gj(e){var t=bj();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vj(this,o)}}var cu=function(e){dj(r,e);var t=gj(r);function r(n){yj(this,r);var o;return o=t.call(this,n),vy(hO(o),"props",void 0),o.props=new vO(n==null?void 0:n.props),o}return pj(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Pe);vy(cu,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),vy(cu,"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 mj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function by(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function gy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Oj(e,t){return t&&(wj(t)==="object"||typeof t=="function")?t:mj(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(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 Oy(e){var t=$j();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 Oj(this,o)}}var Pj=function(e){gy(r,e);var t=Oy(r);function r(n){return by(this,r),t.call(this,n)}return r}(te),Rj=function(e){gy(r,e);var t=Oy(r);function r(n){return by(this,r),t.call(this,n)}return r}(bn),wy=function(e){gy(r,e);var t=Oy(r);function r(n){return by(this,r),t.call(this,n)}return r}(ne);gO(wy,"Rules",Pj),gO(wy,"RuntimeRules",Rj);function mO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ej(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 au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(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&&$y(e,t)}function Ij(e,t){return t&&(Bj(t)==="object"||typeof t=="function")?t:mO(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}function Bj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xj(e){var t=Aj();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ij(this,o)}}var kj=function(e){Tj(r,e);var t=xj(r);function r(n){Sj(this,r);var o;return o=t.call(this,n),wO(mO(o),"props",void 0),o.props=new wy(n==null?void 0:n.props),o}return Ej(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(C);wO(kj,"setting",[]);function Ke(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 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 fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(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&&Py(e,t)}function Dj(e,t){return t&&(Nj(t)==="object"||typeof t=="function")?t:Ke(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}function Nj(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 RO(e){var t=Fj();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 Dj(this,o)}}var jj=function(e){PO(r,e);var t=RO(r);function r(n){$O(this,r);var o;return o=t.call(this,n),Ge(Ke(o),"dashboardKey",{type:"string",required:!0,message:v.getMessage("pleaseSelectDashboard")}),Ge(Ke(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Ge(Ke(o),"isHideCaption",{type:"boolean"}),Ge(Ke(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ge(Ke(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(te),SO=function(e){PO(r,e);var t=RO(r);function r(n){$O(this,r);var o;o=t.call(this,n),Ge(Ke(o),"dashboardKey",void 0),Ge(Ke(o),"caption",void 0),Ge(Ke(o),"isHideCaption",void 0),Ge(Ke(o),"isShowCaptionTip",void 0),Ge(Ke(o),"captionTip",void 0),Ge(Ke(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}(ne);Ge(SO,"Rules",jj);function EO(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 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 Mj(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 su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(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&&Ry(e,t)}function Vj(e,t){return t&&(zj(t)==="object"||typeof t=="function")?t:EO(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function zj(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=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vj(this,o)}}var Uj=function(e){Cj(r,e);var t=qj(r);function r(n){Lj(this,r);var o;return o=t.call(this,n),IO(EO(o),"props",void 0),o.props=new SO(n==null?void 0:n.props),o}return Mj(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(C);IO(Uj,"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 yo(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 po(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(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&&Sy(e,t)}function Wj(e,t){return t&&(Kj(t)==="object"||typeof t=="function")?t:yo(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}function Kj(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 xO(e){var t=Gj();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 Wj(this,o)}}var Xj=function(e){AO(r,e);var t=xO(r);function r(n){BO(this,r);var o;return o=t.call(this,n),po(yo(o),"showType",{type:"enum",enum:["select","tabs"]}),po(yo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:v.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(te),kO=function(e){AO(r,e);var t=xO(r);function r(n){BO(this,r);var o,i;o=t.call(this,n),po(yo(o),"showType",void 0),po(yo(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 fx(a)}))!==null&&c!==void 0?c:[],o}return r}(ne);po(kO,"Rules",Xj);function DO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Qj(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 yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(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&&Ey(e,t)}function Yj(e,t){return t&&(eL(t)==="object"||typeof t=="function")?t:DO(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function eL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nL(e){var t=tL();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yj(this,o)}}var rL=function(e){Zj(r,e);var t=nL(r);function r(n){Jj(this,r);var o;return o=t.call(this,n),FO(DO(o),"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return Qj(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}(C);FO(rL,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jO(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 pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function LO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function oL(e,t){return t&&(iL(t)==="object"||typeof t=="function")?t:xe(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}function iL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MO(e){var t=uL();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 cL=function(e){LO(r,e);var t=MO(r);function r(n){jO(this,r);var o;return o=t.call(this,n),ke(xe(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),ke(xe(o),"isHideCaption",{type:"boolean"}),ke(xe(o),"labelPosition",{type:"enum",enum:["top","left"]}),ke(xe(o),"ocrType",{type:"string",required:!0,message:v.getMessage("pleaseSelectOcrType")}),ke(xe(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),ke(xe(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(te),CO=function(e){LO(r,e);var t=MO(r);function r(n){jO(this,r);var o,i;o=t.call(this,n),ke(xe(o),"caption",void 0),ke(xe(o),"isHideCaption",void 0),ke(xe(o),"isShowCaptionTip",void 0),ke(xe(o),"captionTip",void 0),ke(xe(o),"labelPosition",void 0),ke(xe(o),"ocrType",void 0),ke(xe(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:vo.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 _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:vo.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:vo.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(g){return new Ae(g)}))!==null&&O!==void 0?O:[],o}return r}(Le);ke(CO,"Rules",cL);function VO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aL(e,t,r){return t&&zO(e.prototype,t),r&&zO(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 du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function fL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function sL(e,t){return t&&(_L(t)==="object"||typeof t=="function")?t:VO(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}function _L(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pL(e){var t=yL();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sL(this,o)}}var vo=function(e){fL(r,e);var t=pL(r);function r(n){lL(this,r);var o;return o=t.call(this,n),Iy(VO(o),"props",void 0),o.props=new CO(n==null?void 0:n.props),o}return aL(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Pe);Iy(vo,"controlEventKeys",["on_click","on_click_finish"]),Iy(vo,"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 De(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 Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(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&&Ay(e,t)}function dL(e,t){return t&&(vL(t)==="object"||typeof t=="function")?t:De(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}function vL(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 UO(e){var t=hL();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 dL(this,o)}}var bL=function(e){qO(r,e);var t=UO(r);function r(n){HO(this,r);var o;return o=t.call(this,n),Ne(De(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Ne(De(o),"isHideCaption",{type:"boolean"}),Ne(De(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ne(De(o),"invoiceCheck",{type:"boolean"}),Ne(De(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Ne(De(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(te),WO=function(e){qO(r,e);var t=UO(r);function r(n){HO(this,r);var o,i;o=t.call(this,n),Ne(De(o),"caption",void 0),Ne(De(o),"isHideCaption",void 0),Ne(De(o),"isShowCaptionTip",void 0),Ne(De(o),"captionTip",void 0),Ne(De(o),"labelPosition",void 0),Ne(De(o),"invoiceCheck",void 0),Ne(De(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ho.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 _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:ho.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:ho.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(g){return new Ae(g)}))!==null&&O!==void 0?O:[],o}return r}(Le);Ne(WO,"Rules",bL);function KO(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 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 mL(e,t,r){return t&&GO(e.prototype,t),r&&GO(e,r),e}function xy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function OL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wL(e,t){return t&&($L(t)==="object"||typeof t=="function")?t:KO(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function $L(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=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wL(this,o)}}var ho=function(e){OL(r,e);var t=RL(r);function r(n){gL(this,r);var o;return o=t.call(this,n),xy(KO(o),"props",void 0),o.props=new WO(n==null?void 0:n.props),o}return mL(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Pe);xy(ho,"controlEventKeys",["on_click","on_click_finish"]),xy(ho,"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 bu(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 gu(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 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&&Dy(e,t)}function SL(e,t){return t&&(EL(t)==="object"||typeof t=="function")?t:bu(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function EL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QO(e){var t=TL();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 SL(this,o)}}var IL=function(e){JO(r,e);var t=QO(r);function r(){XO(this,r);var n;return n=t.apply(this,arguments),gu(bu(n),"printTemplates",{type:"array",min:1,required:!0,message:v.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(te),ZO=function(e){JO(r,e);var t=QO(r);function r(n){XO(this,r);var o,i;o=t.call(this,n),gu(bu(o),"printTemplates",void 0),gu(bu(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:bo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:bo.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new YD(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}(Le);gu(ZO,"Rules",IL);function YO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 AL(e,t,r){return t&&ew(e.prototype,t),r&&ew(e,r),e}function Ou(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 xL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function kL(e,t){return t&&(DL(t)==="object"||typeof t=="function")?t:YO(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function DL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FL(e){var t=NL();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 kL(this,o)}}var bo=function(e){xL(r,e);var t=FL(r);function r(n){BL(this,r);var o;return o=t.call(this,n),Ou(YO(o),"props",void 0),o.props=new ZO(n==null?void 0:n.props),o}return AL(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Pe);Ou(bo,"slots",["grid-table-toolbar-slot"]),Ou(bo,"controlEventKeys",["on_click","on_click_finish"]),Ou(bo,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function jL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LL(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 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&&Fy(e,t)}function CL(e,t){return t&&(VL(t)==="object"||typeof t=="function")?t:jL(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}function VL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HL(e){var t=zL();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 CL(this,o)}}var qL=function(e){ML(r,e);var t=HL(r);function r(n){LL(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:go.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:go.controlIcon,o}return r}(Le);function tw(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 nw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WL(e,t,r){return t&&nw(e.prototype,t),r&&nw(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 Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(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&&jy(e,t)}function GL(e,t){return t&&(XL(t)==="object"||typeof t=="function")?t:tw(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}function XL(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 QL(e){var t=JL();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 GL(this,o)}}var go=function(e){KL(r,e);var t=QL(r);function r(n){UL(this,r);var o;return o=t.call(this,n),Pu(tw(o),"props",void 0),o.props=new qL(n==null?void 0:n.props),o}return WL(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Pe);Pu(go,"slots",["grid-table-toolbar-slot"]),Pu(go,"controlEventKeys",["on_click"]),Pu(go,"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 Re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(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&&Ly(e,t)}function ZL(e,t){return t&&(YL(t)==="object"||typeof t=="function")?t:Re(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}function YL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=eM();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 ZL(this,o)}}var tM=function(e){ow(r,e);var t=iw(r);function r(n){rw(this,r);var o;return o=t.call(this,n),Se(Re(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}),o}return r}(te),Eu=function(e){ow(r,e);var t=iw(r);function r(n){rw(this,r);var o;o=t.call(this,n),Se(Re(o),"content",void 0),Se(Re(o),"code",void 0),Se(Re(o),"command",void 0),Se(Re(o),"color",void 0),Se(Re(o),"icon",void 0),Se(Re(o),"formKey",void 0),Se(Re(o),"openType",void 0),Se(Re(o),"needConfirm",void 0),Se(Re(o),"confirmMessage",void 0),Se(Re(o),"options",void 0),Se(Re(o),"defaultState",void 0),Se(Re(o),"priorityProcess",void 0),Se(Re(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}(ne);Se(Eu,"Rules",tM);function uw(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 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 rM(e,t,r){return t&&cw(e.prototype,t),r&&cw(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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(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&&Cy(e,t)}function iM(e,t){return t&&(uM(t)==="object"||typeof t=="function")?t:uw(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}function uM(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 lM(e){var t=cM();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iM(this,o)}}var Iu=function(e){oM(r,e);var t=lM(r);function r(n){nM(this,r);var o;return o=t.call(this,n),My(uw(o),"props",void 0),o.props=new Eu(n==null?void 0:n.props),o}return rM(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}(C);My(Iu,"controlEventKeys",["on_click"]),My(Iu,"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 lw(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 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 fM(e,t,r){return t&&aw(e.prototype,t),r&&aw(e,r),e}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 Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function _M(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function yM(e,t){return t&&(pM(t)==="object"||typeof t=="function")?t:lw(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}function pM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dM();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 yM(this,o)}}var hM=function(e){_M(r,e);var t=vM(r);function r(n){aM(this,r);var o;return o=t.call(this,n),sM(lw(o),"props",void 0),o.props=new Eu(n==null?void 0:n.props),o}return fM(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Bt),zy={Designer:Iu,Runtime:hM,Property:Eu};function Ft(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 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 Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function gM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function mM(e,t){return t&&(OM(t)==="object"||typeof t=="function")?t:Ft(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}function OM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $M(e){var t=wM();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 mM(this,o)}}var PM=function(e){gM(r,e);var t=$M(r);function r(n){bM(this,r);var o;o=t.call(this,n),un(Ft(o),"content",void 0),un(Ft(o),"buttonType",void 0),un(Ft(o),"showType",void 0),un(Ft(o),"color",void 0),un(Ft(o),"icon",void 0),un(Ft(o),"defaultState",void 0),un(Ft(o),"command",void 0),un(Ft(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:mo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:mo.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 _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(ne);function fw(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 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 SM(e,t,r){return t&&sw(e.prototype,t),r&&sw(e,r),e}function xu(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 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&&qy(e,t)}function TM(e,t){return t&&(IM(t)==="object"||typeof t=="function")?t:fw(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}function IM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AM(e){var t=BM();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 TM(this,o)}}var mo=function(e){EM(r,e);var t=AM(r);function r(n){RM(this,r);var o;return o=t.call(this,n),xu(fw(o),"props",void 0),o.props=new PM(n==null?void 0:n.props),o}return SM(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}(C);xu(mo,"slots",["grid-table-toolbar-slot"]),xu(mo,"controlEventKeys",["on_click"]),xu(mo,"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 ht(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 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 Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function Wy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ky(e,t)}function xM(e,t){return t&&(kM(t)==="object"||typeof t=="function")?t:ht(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}function kM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gy(e){var t=DM();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xM(this,o)}}var NM=function(e){Wy(r,e);var t=Gy(r);function r(n){Uy(this,r);var o;return o=t.call(this,n),ut(ht(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ut(ht(o),"minLength",{type:"number",max:200,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ut(ht(o),"defaultValue",[{type:"string",max:200,min:0,message:v.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Ii(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(le),FM=function(e){Wy(r,e);var t=Gy(r);function r(n){Uy(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:v.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ii(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(U),Oo=function(e){Wy(r,e);var t=Gy(r);function r(n){Uy(this,r);var o;o=t.call(this,n),ut(ht(o),"maxLength",void 0),ut(ht(o),"minLength",void 0),ut(ht(o),"regularRules",void 0),ut(ht(o),"defaultValue",void 0),ut(ht(o),"encrypted",void 0),ut(ht(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 Ng(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:wo.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 _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(N);ut(Oo,"Rules",NM),ut(Oo,"RuntimeRules",FM);function _w(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 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 LM(e,t,r){return t&&yw(e.prototype,t),r&&yw(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 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&&Xy(e,t)}function CM(e,t){return t&&(VM(t)==="object"||typeof t=="function")?t:_w(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}function VM(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=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CM(this,o)}}var wo=function(e){MM(r,e);var t=HM(r);function r(n){jM(this,r);var o;return o=t.call(this,n),Nu(_w(o),"props",void 0),o.props=new Oo(n==null?void 0:n.props),o}return LM(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}(F);Nu(wo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Nu(wo,"controlFieldType",m.VARCHAR),Nu(wo,"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 pw(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 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 UM(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 ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(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&&Jy(e,t)}function KM(e,t){return t&&(GM(t)==="object"||typeof t=="function")?t:pw(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}function GM(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=ju(e),o;if(t){var i=ju(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),vw(pw(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}(j);vw(QM,"controlFieldType",m.VARCHAR);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 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 Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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&&Yy(e,t)}function ZM(e,t){return t&&(YM(t)==="object"||typeof t=="function")?t:me(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}function YM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ep(e){var t=e5();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 ZM(this,o)}}var t5=function(e){Zy(r,e);var t=ep(r);function r(n){Qy(this,r);var o;o=t.call(this,n),pe(me(o),"limitMax",{type:"number",min:void 0,message:v.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Cn),n5=function(e){Zy(r,e);var t=ep(r);function r(n){Qy(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(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}(U),Mu=function(e){Zy(r,e);var t=ep(r);function r(n){Qy(this,r);var o;o=t.call(this,n),pe(me(o),"checkboxMode",void 0),pe(me(o),"options",void 0),pe(me(o),"optionsOrder",void 0),pe(me(o),"limitMax",void 0),pe(me(o),"limitMin",void 0),pe(me(o),"otherOption",void 0),pe(me(o),"optionConfig",void 0),pe(me(o),"optionsFormat",void 0),pe(me(o),"defaultShowOptions",void 0),pe(me(o),"datasourceBind",void 0),pe(me(o),"multistageFilling",void 0),pe(me(o),"interreaction",void 0),pe(me(o),"defaultValue",void 0),pe(me(o),"openMultistageFilling",void 0);var i;o.options=It((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 _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:zu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var g;o.optionsFormat=(g=n==null?void 0:n.optionsFormat)!==null&&g!==void 0?g:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Ae($))})),o}return r}(N);pe(Mu,"Rules",t5),pe(Mu,"RuntimeRules",n5);function hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 o5(e,t,r){return t&&bw(e.prototype,t),r&&bw(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 Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function i5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function u5(e,t){return t&&(c5(t)==="object"||typeof t=="function")?t:hw(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function c5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a5(e){var t=l5();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 u5(this,o)}}var zu=function(e){i5(r,e);var t=a5(r);function r(n){r5(this,r);var o;return o=t.call(this,n),Cu(hw(o),"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return o5(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(F);Cu(zu,"controlEventKeys",["on_change","on_click"]),Cu(zu,"controlFieldType",m.ARRAY),Cu(zu,"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 gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 s5(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 Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(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&&np(e,t)}function y5(e,t){return t&&(p5(t)==="object"||typeof t=="function")?t:gw(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function p5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v5(e){var t=d5();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y5(this,o)}}var h5=function(e){_5(r,e);var t=v5(r);function r(n){f5(this,r);var o;return o=t.call(this,n),Ow(gw(o),"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return s5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(j);Ow(h5,"controlFieldType",m.ARRAY);function Me(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 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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(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&&rp(e,t)}function b5(e,t){return t&&(g5(t)==="object"||typeof t=="function")?t:Me(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function g5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pw(e){var t=m5();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 b5(this,o)}}var O5=function(e){$w(r,e);var t=Pw(r);function r(n){return ww(this,r),t.call(this,n)}return r}(Cn),op=function(e){$w(r,e);var t=Pw(r);function r(n){ww(this,r);var o;o=t.call(this,n),Ce(Me(o),"radioMode",void 0),Ce(Me(o),"options",void 0),Ce(Me(o),"optionConfig",void 0),Ce(Me(o),"optionsFormat",void 0),Ce(Me(o),"defaultShowOptions",void 0),Ce(Me(o),"otherOption",void 0),Ce(Me(o),"optionsOrder",void 0),Ce(Me(o),"datasourceBind",void 0),Ce(Me(o),"multistageFilling",void 0),Ce(Me(o),"interreaction",void 0),Ce(Me(o),"defaultValue",void 0),Ce(Me(o),"openMultistageFilling",void 0);var i;o.options=It((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 _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Ku.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Ae(w))})),o}return r}(N);Ce(op,"Rules",O5);function Rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $5(e,t,r){return t&&Sw(e.prototype,t),r&&Sw(e,r),e}function Uu(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 P5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function R5(e,t){return t&&(S5(t)==="object"||typeof t=="function")?t:Rw(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function S5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T5(e){var t=E5();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 R5(this,o)}}var Ku=function(e){P5(r,e);var t=T5(r);function r(n){w5(this,r);var o;return o=t.call(this,n),Uu(Rw(o),"props",void 0),o.props=new op(n==null?void 0:n.props),o}return $5(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(F);Uu(Ku,"controlEventKeys",["on_change","on_click"]),Uu(Ku,"controlFieldType",m.VARCHAR),Uu(Ku,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I5(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 B5(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 Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function A5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function x5(e,t){return t&&(k5(t)==="object"||typeof t=="function")?t:Ew(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function k5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N5(e){var t=D5();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 x5(this,o)}}var F5=function(e){A5(r,e);var t=N5(r);function r(n){I5(this,r);var o;return o=t.call(this,n),Iw(Ew(o),"props",void 0),o.props=new op(n==null?void 0:n.props),o}return B5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(j);Iw(F5,"controlFieldType",m.VARCHAR);function Ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function lp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function j5(e,t){return t&&(L5(t)==="object"||typeof t=="function")?t:Ee(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}function L5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fp(e){var t=M5();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 j5(this,o)}}var C5=function(e){lp(r,e);var t=fp(r);function r(n){cp(this,r);var o;o=t.call(this,n),Oe(Ee(o),"defaultValue",[{type:"number",min:0,max:200,message:v.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Oe(Ee(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Ii(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(le),V5=function(e){lp(r,e);var t=fp(r);function r(n){cp(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ii(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(U),Ju=function(e){lp(r,e);var t=fp(r);function r(n){cp(this,r);var o;o=t.call(this,n),Oe(Ee(o),"rangeMin",void 0),Oe(Ee(o),"rangeMax",void 0),Oe(Ee(o),"numberType",void 0),Oe(Ee(o),"percentageFormat",void 0),Oe(Ee(o),"micrometer",void 0),Oe(Ee(o),"precision",void 0),Oe(Ee(o),"showUpperCase",void 0),Oe(Ee(o),"isShowUnit",void 0),Oe(Ee(o),"unitPosition",void 0),Oe(Ee(o),"unit",void 0),Oe(Ee(o),"defaultValue",void 0),Oe(Ee(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 _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var b;o.unitPosition=(b=n==null?void 0:n.unitPosition)!==null&&b!==void 0?b:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Yu.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var d;return o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"",o.regularRules=new Ng(n==null?void 0:n.regularRules),o}return r}(N);Oe(Ju,"Rules",C5),Oe(Ju,"RuntimeRules",V5);function Bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 H5(e,t,r){return t&&Aw(e.prototype,t),r&&Aw(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 Zu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zu=Reflect.get:Zu=function(o,i,u){var c=W5(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Zu(e,t,r||e)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(e)}function q5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U5(e,t){return t&&(K5(t)==="object"||typeof t=="function")?t:Bw(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function W5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kn(e),e!==null););return e}function K5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X5(e){var t=G5();return function(){var n=Kn(e),o;if(t){var i=Kn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U5(this,o)}}var Yu=function(e){q5(r,e);var t=X5(r);function r(n){z5(this,r);var o;return o=t.call(this,n),Qu(Bw(o),"props",void 0),o.props=new Ju(n==null?void 0:n.props),o}return H5(r,[{key:"toDataBindModel",value:function(o){var i=Zu(Kn(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}(F);Qu(Yu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Qu(Yu,"controlFieldType",m.DECIMAL),Qu(Yu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J5(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 Q5(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 ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function Z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function Y5(e,t){return t&&(e6(t)==="object"||typeof t=="function")?t:xw(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}function e6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n6(e){var t=t6();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y5(this,o)}}var r6=function(e){Z5(r,e);var t=n6(r);function r(n){J5(this,r);var o;return o=t.call(this,n),Dw(xw(o),"props",void 0),o.props=new Ju(n==null?void 0:n.props),o}return Q5(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(j);Dw(r6,"controlFieldType",m.DECIMAL);function jt(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 cn(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 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&&yp(e,t)}function u6(e,t){return t&&(c6(t)==="object"||typeof t=="function")?t:jt(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function c6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a6(e){var t=l6();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 u6(this,o)}}var Nw=function(e){i6(r,e);var t=a6(r);function r(n){o6(this,r);var o,i;o=t.call(this,n),cn(jt(o),"dateType",void 0),cn(jt(o),"dateFormat",void 0),cn(jt(o),"commonTimeSetting",void 0),cn(jt(o),"setValueType",void 0),cn(jt(o),"defaultValue",void 0),cn(jt(o),"limitDateList",void 0),cn(jt(o),"allowDateRange",void 0),cn(jt(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Wt.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:vp.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var b;o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new M_(w)}))!==null&&b!==void 0?b:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var g;return o.filterWeekend=(g=n==null?void 0:n.filterWeekend)!==null&&g!==void 0?g:!1,o}return r}(N);function Fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 s6(e,t,r){return t&&jw(e.prototype,t),r&&jw(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 nc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nc=Reflect.get:nc=function(o,i,u){var c=p6(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},nc(e,t,r||e)}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gn(e)}function _6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function y6(e,t){return t&&(d6(t)==="object"||typeof t=="function")?t:Fw(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}function p6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gn(e),e!==null););return e}function d6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h6(e){var t=v6();return function(){var n=Gn(e),o;if(t){var i=Gn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y6(this,o)}}var vp=function(e){_6(r,e);var t=h6(r);function r(n){f6(this,r);var o;return o=t.call(this,n),pp(Fw(o),"props",void 0),o.props=new Nw(n==null?void 0:n.props),o}return s6(r,[{key:"toDataBindModel",value:function(o){var i=nc(Gn(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}(F);pp(vp,"controlFieldType",m.TIMESTAMP),pp(vp,"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 Lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 g6(e,t,r){return t&&Mw(e.prototype,t),r&&Mw(e,r),e}function Cw(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 m6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function O6(e,t){return t&&(w6(t)==="object"||typeof t=="function")?t:Lw(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function w6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P6(e){var t=$6();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 O6(this,o)}}var R6=function(e){m6(r,e);var t=P6(r);function r(n){b6(this,r);var o;return o=t.call(this,n),Cw(Lw(o),"props",void 0),o.props=new Nw(n==null?void 0:n.props),o}return g6(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(j);Cw(R6,"controlFieldType",m.TIMESTAMP);function Xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(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&&bp(e,t)}function S6(e,t){return t&&(E6(t)==="object"||typeof t=="function")?t:Xe(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function E6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hw(e){var t=T6();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 S6(this,o)}}var I6=function(e){zw(r,e);var t=Hw(r);function r(n){Vw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!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}(U),gp=function(e){zw(r,e);var t=Hw(r);function r(n){Vw(this,r);var o,i;o=t.call(this,n),Je(Xe(o),"dataBind",void 0),Je(Xe(o),"rangeMin",void 0),Je(Xe(o),"rangeMax",void 0),Je(Xe(o),"placeholderStart",void 0),Je(Xe(o),"placeholderEnd",void 0),Je(Xe(o),"dateFormat",void 0),Je(Xe(o),"commonTimeSetting",void 0),Je(Xe(o),"dateType",void 0),Je(Xe(o),"setValueType",void 0),Je(Xe(o),"defaultValue",void 0),Je(Xe(o),"limitDateList",void 0),o.dataBind=new ix(n==null?void 0:n.dataBind),o.defaultValue=new ux(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Wt.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 _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:wp.controlName;var g;return o.limitDateList=(g=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new M_(w)}))!==null&&g!==void 0?g:[],o}return r}(N);Je(gp,"RuntimeRules",I6);function qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 A6(e,t,r){return t&&Uw(e.prototype,t),r&&Uw(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 ic(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ic=Reflect.get:ic=function(o,i,u){var c=D6(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},ic(e,t,r||e)}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(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&&Op(e,t)}function k6(e,t){return t&&(N6(t)==="object"||typeof t=="function")?t:qw(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}function D6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xn(e),e!==null););return e}function N6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j6(e){var t=F6();return function(){var n=Xn(e),o;if(t){var i=Xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k6(this,o)}}var wp=function(e){x6(r,e);var t=j6(r);function r(n){B6(this,r);var o;return o=t.call(this,n),mp(qw(o),"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return A6(r,[{key:"toDataBindModel",value:function(o){var i=ic(Xn(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}(F);mp(wp,"controlFieldType",m.TIMESCOPE),mp(wp,"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 Ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 M6(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 uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function C6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V6(e,t){return t&&(z6(t)==="object"||typeof t=="function")?t:Ww(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function z6(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 q6(e){var t=H6();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 V6(this,o)}}var U6=function(e){C6(r,e);var t=q6(r);function r(n){L6(this,r);var o;return o=t.call(this,n),Gw(Ww(o),"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return M6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(j);Gw(U6,"controlFieldType",m.TIMESCOPE);function ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function Rp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function W6(e,t){return t&&(K6(t)==="object"||typeof t=="function")?t:ln(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}function K6(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 Ep(e){var t=G6();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 W6(this,o)}}var X6=function(e){Rp(r,e);var t=Ep(r);function r(n){Pp(this,r);var o;return o=t.call(this,n),Lt(ln(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Lt(ln(o),"minLength",{type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Lt(ln(o),"defaultValue",{type:"string",max:200,min:0,message:v.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(le),J6=function(e){Rp(r,e);var t=Ep(r);function r(n){Pp(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(U),lc=function(e){Rp(r,e);var t=Ep(r);function r(n){Pp(this,r);var o;o=t.call(this,n),Lt(ln(o),"maxLength",void 0),Lt(ln(o),"minLength",void 0),Lt(ln(o),"defaultValue",void 0),Lt(ln(o),"rowHeightSetting",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:sc.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o.rowHeightSetting=new Eg(n==null?void 0:n.rowHeightSetting),o}return r}(N);Lt(lc,"Rules",X6),Lt(lc,"RuntimeRules",J6);function Xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Z6(e,t,r){return t&&Jw(e.prototype,t),r&&Jw(e,r),e}function ac(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function Y6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function e4(e,t){return t&&(t4(t)==="object"||typeof t=="function")?t:Xw(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function t4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r4(e){var t=n4();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e4(this,o)}}var sc=function(e){Y6(r,e);var t=r4(r);function r(n){Q6(this,r);var o;return o=t.call(this,n),ac(Xw(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return Z6(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}(F);ac(sc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ac(sc,"controlFieldType",m.TEXT),ac(sc,"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:"row-height-setting",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 o4(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 i4(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 _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function u4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c4(e,t){return t&&(l4(t)==="object"||typeof t=="function")?t:Qw(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}function l4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f4(e){var t=a4();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 c4(this,o)}}var s4=function(e){u4(r,e);var t=f4(r);function r(n){o4(this,r);var o;return o=t.call(this,n),Yw(Qw(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return i4(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(j);Yw(s4,"controlFieldType",m.TEXT);function wn(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 an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function Ap(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _4(e,t){return t&&(y4(t)==="object"||typeof t=="function")?t:wn(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function y4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kp(e){var t=p4();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 _4(this,o)}}var d4=function(e){Ap(r,e);var t=kp(r);function r(n){Bp(this,r);var o;return o=t.call(this,n),an(wn(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),an(wn(o),"minLength",{type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),an(wn(o),"defaultValue",{type:"string",max:200,min:0,message:v.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(le),v4=function(e){Ap(r,e);var t=kp(r);function r(n){Bp(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(U),pc=function(e){Ap(r,e);var t=kp(r);function r(n){Bp(this,r);var o;o=t.call(this,n),an(wn(o),"maxLength",void 0),an(wn(o),"minLength",void 0),an(wn(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:hc.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);an(pc,"Rules",d4),an(pc,"RuntimeRules",v4);function e$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h4(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 b4(e,t,r){return t&&t$(e.prototype,t),r&&t$(e,r),e}function dc(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 g4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function m4(e,t){return t&&(O4(t)==="object"||typeof t=="function")?t:e$(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}function O4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $4(e){var t=w4();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 m4(this,o)}}var hc=function(e){g4(r,e);var t=$4(r);function r(n){h4(this,r);var o;return o=t.call(this,n),dc(e$(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return b4(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}(F);dc(hc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),dc(hc,"controlFieldType",m.TEXT),dc(hc,"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 n$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 R4(e,t,r){return t&&r$(e.prototype,t),r&&r$(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 bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function S4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function E4(e,t){return t&&(T4(t)==="object"||typeof t=="function")?t:n$(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function T4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B4(e){var t=I4();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 E4(this,o)}}var A4=function(e){S4(r,e);var t=B4(r);function r(n){P4(this,r);var o;return o=t.call(this,n),o$(n$(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return R4(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(j);o$(A4,"controlFieldType",m.TEXT);function Ve(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 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 gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(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&&Fp(e,t)}function x4(e,t){return t&&(k4(t)==="object"||typeof t=="function")?t:Ve(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function k4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c$(e){var t=D4();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 x4(this,o)}}var N4=function(e){u$(r,e);var t=c$(r);function r(n){i$(this,r);var o;return o=t.call(this,n),ze(Ve(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:v.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Cn),jp=function(e){u$(r,e);var t=c$(r);function r(n){i$(this,r);var o;o=t.call(this,n),ze(Ve(o),"options",void 0),ze(Ve(o),"defaultShowOptions",void 0),ze(Ve(o),"optionConfig",void 0),ze(Ve(o),"defaultValue",void 0),ze(Ve(o),"datasourceBind",void 0),ze(Ve(o),"multistageFilling",void 0),ze(Ve(o),"allowCopyOptions",void 0),ze(Ve(o),"openMultistageFilling",void 0),ze(Ve(o),"viewFormModelType",void 0),ze(Ve(o),"canViewForm",void 0),ze(Ve(o),"formBind",void 0);var i;o.options=It((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 oe(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Cp.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 _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Ae(g))}));var b;o.canViewForm=(b=n==null?void 0:n.canViewForm)!==null&&b!==void 0?b:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new Ln(n==null?void 0:n.formBind),o}return r}(N);ze(jp,"Rules",N4);function l$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 j4(e,t,r){return t&&a$(e.prototype,t),r&&a$(e,r),e}function Lp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function 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&&Mp(e,t)}function M4(e,t){return t&&(C4(t)==="object"||typeof t=="function")?t:l$(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}function C4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z4(e){var t=V4();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M4(this,o)}}var Cp=function(e){L4(r,e);var t=z4(r);function r(n){F4(this,r);var o;return o=t.call(this,n),Lp(l$(o),"props",void 0),o.props=new jp(n==null?void 0:n.props),o}return j4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(F);Lp(Cp,"controlFieldType",m.VARCHAR),Lp(Cp,"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 f$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H4(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 q4(e,t,r){return t&&s$(e.prototype,t),r&&s$(e,r),e}function _$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function U4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 W4(e,t){return t&&(K4(t)==="object"||typeof t=="function")?t:f$(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}function K4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X4(e){var t=G4();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 W4(this,o)}}var J4=function(e){U4(r,e);var t=X4(r);function r(n){H4(this,r);var o;return o=t.call(this,n),_$(f$(o),"props",void 0),o.props=new jp(n==null?void 0:n.props),o}return q4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(j);_$(J4,"controlFieldType",m.VARCHAR);function Qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function Hp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function Q4(e,t){return t&&(Z4(t)==="object"||typeof t=="function")?t:Qe(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function Z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Up(e){var t=Y4();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 Q4(this,o)}}var eC=function(e){Hp(r,e);var t=Up(r);function r(n){zp(this,r);var o;return o=t.call(this,n),He(Qe(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:v.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Cn),tC=function(e){Hp(r,e);var t=Up(r);function r(n){zp(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),$c=function(e){Hp(r,e);var t=Up(r);function r(n){zp(this,r);var o;o=t.call(this,n),He(Qe(o),"options",void 0),He(Qe(o),"defaultShowOptions",void 0),He(Qe(o),"optionConfig",void 0),He(Qe(o),"defaultValue",void 0),He(Qe(o),"datasourceBind",void 0),He(Qe(o),"multistageFilling",void 0),He(Qe(o),"openMultistageFilling",void 0),He(Qe(o),"viewFormModelType",void 0),He(Qe(o),"canViewForm",void 0),He(Qe(o),"formBind",void 0);var i;o.options=It((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 oe(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Gp.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 _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Ae(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Ln(n==null?void 0:n.formBind),o}return r}(N);He($c,"Rules",eC),He($c,"RuntimeRules",tC);function y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nC(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 rC(e,t,r){return t&&p$(e.prototype,t),r&&p$(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 Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(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&&Kp(e,t)}function iC(e,t){return t&&(uC(t)==="object"||typeof t=="function")?t:y$(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(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=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iC(this,o)}}var Gp=function(e){oC(r,e);var t=lC(r);function r(n){nC(this,r);var o;return o=t.call(this,n),Wp(y$(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return rC(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}(F);Wp(Gp,"controlFieldType",m.ARRAY),Wp(Gp,"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 d$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aC(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 fC(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 Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function sC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _C(e,t){return t&&(yC(t)==="object"||typeof t=="function")?t:d$(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function yC(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 dC(e){var t=pC();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 _C(this,o)}}var vC=function(e){sC(r,e);var t=dC(r);function r(n){aC(this,r);var o;return o=t.call(this,n),h$(d$(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return fC(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(j);h$(vC,"controlFieldType",m.ARRAY);function Mt(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 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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&Jp(e,t)}function hC(e,t){return t&&(bC(t)==="object"||typeof t=="function")?t:Mt(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}function bC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m$(e){var t=gC();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 hC(this,o)}}var mC=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]!==void 0&&(o[0].type="array"),o}return r}(U),Qp=function(e){g$(r,e);var t=m$(r);function r(n){b$(this,r);var o;o=t.call(this,n),Ct(Mt(o),"showType",void 0),Ct(Mt(o),"range",void 0),Ct(Mt(o),"rangeOptions",void 0),Ct(Mt(o),"multiple",void 0),Ct(Mt(o),"defaultValueType",void 0),Ct(Mt(o),"defaultValue",void 0),Ct(Mt(o),"multistageFilling",void 0),Ct(Mt(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 _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:ed.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Ae(O))})),o}return r}(N);Ct(Qp,"RuntimeRules",mC);function O$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wC(e,t,r){return t&&w$(e.prototype,t),r&&w$(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 Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function $C(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function PC(e,t){return t&&(RC(t)==="object"||typeof t=="function")?t:O$(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function RC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EC(e){var t=SC();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PC(this,o)}}var ed=function(e){$C(r,e);var t=EC(r);function r(n){OC(this,r);var o;return o=t.call(this,n),Zp(O$(o),"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return wC(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(F);Zp(ed,"controlFieldType",m.EMPLOYEES),Zp(ed,"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 $$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TC(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 IC(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 Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function BC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&td(e,t)}function AC(e,t){return t&&(xC(t)==="object"||typeof t=="function")?t:$$(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}function xC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DC(e){var t=kC();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 AC(this,o)}}var NC=function(e){BC(r,e);var t=DC(r);function r(n){TC(this,r);var o;return o=t.call(this,n),R$($$(o),"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return IC(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(j);R$(NC,"controlFieldType",m.EMPLOYEES);function Vt(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 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 Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(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&&od(e,t)}function FC(e,t){return t&&(jC(t)==="object"||typeof t=="function")?t:Vt(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}function jC(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 id(e){var t=LC();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FC(this,o)}}var MC=10485760,CC=104857600,VC=1048576e3,zC=function(e){rd(r,e);var t=id(r);function r(n){nd(this,r);var o;return o=t.call(this,n),bt(Vt(o),"maxSize",{type:"number",min:0,max:VC,message:v.getMessage("attachmentMaxSize")}),o}return r}(le),HC=function(e){rd(r,e);var t=id(r);function r(n){nd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:v.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(U),Bc=function(e){rd(r,e);var t=id(r);function r(n){nd(this,r);var o;o=t.call(this,n),bt(Vt(o),"defaultValue",void 0),bt(Vt(o),"showType",void 0),bt(Vt(o),"resultShowType",void 0),bt(Vt(o),"attachmentAccept",void 0),bt(Vt(o),"maxLimit",void 0),bt(Vt(o),"minLimit",void 0),bt(Vt(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 _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:CC;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:$o.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(N);bt(Bc,"Rules",zC),bt(Bc,"RuntimeRules",HC);function S$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 UC(e,t,r){return t&&E$(e.prototype,t),r&&E$(e,r),e}function Ac(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function WC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function KC(e,t){return t&&(GC(t)==="object"||typeof t=="function")?t:S$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function GC(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 JC(e){var t=XC();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 KC(this,o)}}var $o=function(e){WC(r,e);var t=JC(r);function r(n){qC(this,r);var o;return o=t.call(this,n),Ac(S$(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return UC(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(F);Ac($o,"controlEventKeys",["on_change"]),Ac($o,"controlFieldType",m.FILE),Ac($o,"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 T$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZC(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 kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function YC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eV(e,t){return t&&(tV(t)==="object"||typeof t=="function")?t:T$(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function tV(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 rV(e){var t=nV();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 eV(this,o)}}var oV=function(e){YC(r,e);var t=rV(r);function r(n){QC(this,r);var o;return o=t.call(this,n),B$(T$(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return ZC(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(j);B$(oV,"controlFieldType",m.FILE);function iV(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 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 cV(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 Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&ld(e,t)}function aV(e,t){return t&&(fV(t)==="object"||typeof t=="function")?t:iV(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}function fV(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 _V(e){var t=sV();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 aV(this,o)}}var k$=function(e){lV(r,e);var t=_V(r);function r(n){uV(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 cV(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}($o);x$(k$,"controlFieldType",m.IMAGE),x$(k$,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ad(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 Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function fd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function yV(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){de(e,o,r[o])})}return e}function pV(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 dV(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pV(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function vV(e,t){return t&&(hV(t)==="object"||typeof t=="function")?t:Te(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function hV(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 _d(e){var t=bV();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 vV(this,o)}}var gV=function(e){fd(r,e);var t=_d(r);function r(n){ad(this,r);var o;o=t.call(this,n),de(Te(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:v.getMessage("pleaseEnterNumberRange")}]}}),de(Te(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o}return r}(Cn),mV=function(e){fd(r,e);var t=_d(r);function r(n){ad(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(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:[dV(yV({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(U),Fc=function(e){fd(r,e);var t=_d(r);function r(n){ad(this,r);var o;o=t.call(this,n),de(Te(o),"rangeMin",void 0),de(Te(o),"rangeMax",void 0),de(Te(o),"showUpperCase",void 0),de(Te(o),"submitSelectCurrency",void 0),de(Te(o),"micrometer",void 0),de(Te(o),"precision",void 0),de(Te(o),"unitPosition",void 0),de(Te(o),"optionConfig",void 0),de(Te(o),"dataBind",void 0),de(Te(o),"datasourceBind",void 0),de(Te(o),"defaultValue",void 0),de(Te(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:2,o.dataBind=new rx(n==null?void 0:n.dataBind);var f;o.datasourceBind=new oe((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new Ls({value:"name"})]});var _;o.defaultValue=new ox((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:zs.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=It(n==null?void 0:n.options);var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Mc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u8F93\u5165";var g;o.submitSelectCurrency=(g=n==null?void 0:n.submitSelectCurrency)!==null&&g!==void 0?g:!1;var w;return o.showUpperCase=(w=n==null?void 0:n.showUpperCase)!==null&&w!==void 0?w:!1,o}return r}(N);de(Fc,"Rules",gV),de(Fc,"RuntimeRules",mV);function D$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wV(e,t,r){return t&&N$(e.prototype,t),r&&N$(e,r),e}function jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lc=Reflect.get:Lc=function(o,i,u){var c=RV(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Lc(e,t,r||e)}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(e)}function $V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function PV(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:D$(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function RV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jn(e),e!==null););return e}function SV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TV(e){var t=EV();return function(){var n=Jn(e),o;if(t){var i=Jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PV(this,o)}}var Mc=function(e){$V(r,e);var t=TV(r);function r(n){OV(this,r);var o;return o=t.call(this,n),jc(D$(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return wV(r,[{key:"toDataBindModel",value:function(o){var i=Lc(Jn(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}(F);jc(Mc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),jc(Mc,"controlFieldType",m.MONEY),jc(Mc,"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:"unit-position",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 F$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 BV(e,t,r){return t&&j$(e.prototype,t),r&&j$(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 Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function AV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function xV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:F$(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}function kV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NV(e){var t=DV();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xV(this,o)}}var FV=function(e){AV(r,e);var t=NV(r);function r(n){IV(this,r);var o;return o=t.call(this,n),L$(F$(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return BV(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(j);L$(FV,"controlFieldType",m.MONEY);function fn(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 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 Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function vd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:fn(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}function LV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bd(e){var t=MV();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 jV(this,o)}}var CV=function(e){vd(r,e);var t=bd(r);function r(n){dd(this,r);var o;return o=t.call(this,n),zt(fn(o),"totalScore",[{type:"number",required:!0,message:v.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:v.getMessage("theTotalScoreMustNotBeLessThan1")}]),zt(fn(o),"defaultValue",{type:"number",min:0,max:5,message:v.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(le),VV=function(e){vd(r,e);var t=bd(r);function r(n){dd(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(U),zc=function(e){vd(r,e);var t=bd(r);function r(n){dd(this,r);var o,i;o=t.call(this,n),zt(fn(o),"totalScore",void 0),zt(fn(o),"scoreType",void 0),zt(fn(o),"isShowExplain",void 0),zt(fn(o),"explain",void 0),zt(fn(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:C_.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(p){return new V_(p)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new V_});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Uc.controlName,o}return r}(N);zt(zc,"Rules",CV),zt(zc,"RuntimeRules",VV);function gd(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 zV(e){if(Array.isArray(e))return gd(e)}function M$(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 C$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qV(e,t,r){return t&&C$(e.prototype,t),r&&C$(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=XV(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},qc(e,t,r||e)}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qn(e)}function UV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function WV(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function KV(){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 GV(e,t){return t&&(QV(t)==="object"||typeof t=="function")?t:M$(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function XV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qn(e),e!==null););return e}function JV(e){return zV(e)||WV(e)||ZV(e)||KV()}function QV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZV(e,t){if(!!e){if(typeof e=="string")return gd(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 gd(e,t)}}function YV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e8(e){var t=YV();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 GV(this,o)}}var Uc=function(e){UV(r,e);var t=e8(r);function r(n){HV(this,r);var o;return o=t.call(this,n),Hc(M$(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return qV(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 V_});(u=this.props.explain).push.apply(u,JV(a))}}qc(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}(F);Hc(Uc,"controlEventKeys",["on_change","on_click"]),Hc(Uc,"controlFieldType",m.DECIMAL),Hc(Uc,"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 V$(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 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 n8(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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&Od(e,t)}function o8(e,t){return t&&(i8(t)==="object"||typeof t=="function")?t:V$(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}function i8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c8(e){var t=u8();return function(){var n=Wc(e),o;if(t){var i=Wc(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),H$(V$(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return n8(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(j);H$(l8,"controlFieldType",m.DECIMAL);function Kc(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 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 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&&wd(e,t)}function a8(e,t){return t&&(f8(t)==="object"||typeof t=="function")?t:Kc(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}function f8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W$(e){var t=s8();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 a8(this,o)}}var _8=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]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:v.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:v.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:v.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(U),$d=function(e){U$(r,e);var t=W$(r);function r(n){q$(this,r);var o;o=t.call(this,n),Gc(Kc(o),"defaultValueType",void 0),Gc(Kc(o),"defaultValue",void 0),Gc(Kc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Sd.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 cx((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);Gc($d,"RuntimeRules",_8);function K$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 p8(e,t,r){return t&&G$(e.prototype,t),r&&G$(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 Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&Rd(e,t)}function v8(e,t){return t&&(h8(t)==="object"||typeof t=="function")?t:K$(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function h8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g8(e){var t=b8();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v8(this,o)}}var Sd=function(e){d8(r,e);var t=g8(r);function r(n){y8(this,r);var o;return o=t.call(this,n),Pd(K$(o),"props",void 0),o.props=new $d(n==null?void 0:n.props),o}return p8(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(F);Pd(Sd,"controlFieldType",m.ADDRESS),Pd(Sd,"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 X$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 O8(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 Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(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&&Ed(e,t)}function $8(e,t){return t&&(P8(t)==="object"||typeof t=="function")?t:X$(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function P8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S8(e){var t=R8();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 $8(this,o)}}var E8=function(e){w8(r,e);var t=S8(r);function r(n){m8(this,r);var o;return o=t.call(this,n),Q$(X$(o),"props",void 0),o.props=new $d(n==null?void 0:n.props),o}return O8(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(j);Q$(E8,"controlFieldType",m.ADDRESS);function ct(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 lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function 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&&Td(e,t)}function T8(e,t){return t&&(I8(t)==="object"||typeof t=="function")?t:ct(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function I8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eP(e){var t=B8();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 T8(this,o)}}var A8=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]!==void 0&&(o[0].type="array"),o}return r}(U),Id=function(e){Y$(r,e);var t=eP(r);function r(n){Z$(this,r);var o;o=t.call(this,n),lt(ct(o),"showType",void 0),lt(ct(o),"range",void 0),lt(ct(o),"defaultValueType",void 0),lt(ct(o),"multiple",void 0),lt(ct(o),"rangeOptions",void 0),lt(ct(o),"defaultValue",void 0),lt(ct(o),"displayLevel",void 0),lt(ct(o),"showSubDept",void 0),lt(ct(o),"multistageFilling",void 0),lt(ct(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 _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:tl.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Ae(w))})),o}return r}(N);lt(Id,"RuntimeRules",A8);function tP(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 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 k8(e,t,r){return t&&nP(e.prototype,t),r&&nP(e,r),e}function Yc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?el=Reflect.get:el=function(o,i,u){var c=F8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},el(e,t,r||e)}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zn(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&&Bd(e,t)}function N8(e,t){return t&&(j8(t)==="object"||typeof t=="function")?t:tP(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function F8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zn(e),e!==null););return e}function j8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M8(e){var t=L8();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 N8(this,o)}}var tl=function(e){D8(r,e);var t=M8(r);function r(n){x8(this,r);var o;return o=t.call(this,n),Yc(tP(o),"props",void 0),o.props=new Id(n==null?void 0:n.props),o}return k8(r,[{key:"toDataBindModel",value:function(o){var i=el(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"department"}}]),r}(F);Yc(tl,"controlName","\u90E8\u95E8"),Yc(tl,"controlFieldType",m.DEPARTMENTS),Yc(tl,"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 rP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 V8(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 nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function z8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 H8(e,t){return t&&(q8(t)==="object"||typeof t=="function")?t:rP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function q8(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 W8(e){var t=U8();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 H8(this,o)}}var K8=function(e){z8(r,e);var t=W8(r);function r(n){C8(this,r);var o;return o=t.call(this,n),iP(rP(o),"props",void 0),o.props=new Id(n==null?void 0:n.props),o}return V8(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(j);iP(K8,"controlFieldType",m.DEPARTMENTS);function uP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X8(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 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&&xd(e,t)}function Q8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:uP(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function Z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e7(e){var t=Y8();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 Q8(this,o)}}var cP=function(e){J8(r,e);var t=e7(r);function r(n){G8(this,r);var o;o=t.call(this,n),X8(uP(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:ul.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 lP(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 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 n7(e,t,r){return t&&aP(e.prototype,t),r&&aP(e,r),e}function ol(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function r7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function o7(e,t){return t&&(i7(t)==="object"||typeof t=="function")?t:lP(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function i7(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 c7(e){var t=u7();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 o7(this,o)}}var ul=function(e){r7(r,e);var t=c7(r);function r(n){t7(this,r);var o;return o=t.call(this,n),ol(lP(o),"props",void 0),o.props=new cP(n==null?void 0:n.props),o}return n7(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}(F);ol(ul,"controlEventKeys",["on_change"]),ol(ul,"controlFieldType",m.AUTO_NUMBER),ol(ul,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 fP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l7(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 a7(e,t,r){return t&&sP(e.prototype,t),r&&sP(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 cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(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&&Dd(e,t)}function s7(e,t){return t&&(_7(t)==="object"||typeof t=="function")?t:fP(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}function _7(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 p7(e){var t=y7();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 s7(this,o)}}var d7=function(e){f7(r,e);var t=p7(r);function r(n){l7(this,r);var o;return o=t.call(this,n),_P(fP(o),"props",void 0),o.props=new cP(n==null?void 0:n.props),o}return a7(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(j);_P(d7,"controlFieldType",m.AUTO_NUMBER);function gt(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 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 ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function Fd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function v7(e,t){return t&&(h7(t)==="object"||typeof t=="function")?t:gt(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function h7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ld(e){var t=b7();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 v7(this,o)}}var g7=function(e){Fd(r,e);var t=Ld(r);function r(n){Nd(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}(le),m7=function(e){Fd(r,e);var t=Ld(r);function r(n){Nd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:v.getMessage("isNotObject"),fields:{result:[{type:"number",message:v.getMessage("isNotNumber")}],unit:{type:"string",message:v.getMessage("isNotString")}}}),o}return r}(U),al=function(e){Fd(r,e);var t=Ld(r);function r(n){Nd(this,r);var o;o=t.call(this,n),at(gt(o),"precision",void 0),at(gt(o),"micrometer",void 0),at(gt(o),"showUpperCase",void 0),at(gt(o),"scriptSrc",void 0),at(gt(o),"scriptEcho",void 0),at(gt(o),"dataBind",void 0),at(gt(o),"defaultValue",void 0),at(gt(o),"unitPosition",void 0),at(gt(o),"calcOnMounted",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 lx(n==null?void 0:n.dataBind),o.defaultValue=new ax(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:_l.controlName;var l;o.unitPosition=(l=n==null?void 0:n.unitPosition)!==null&&l!==void 0?l:"right";var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165";var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var p;o.scriptSrc=(p=n==null?void 0:n.scriptSrc)!==null&&p!==void 0?p:"";var b;return o.calcOnMounted=(b=n==null?void 0:n.calcOnMounted)!==null&&b!==void 0?b:!1,o}return r}(N);at(al,"Rules",g7),at(al,"RuntimeRules",m7);function yP(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 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 w7(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function fl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sl=Reflect.get:sl=function(o,i,u){var c=R7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},sl(e,t,r||e)}function Yn(e){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yn(e)}function $7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function P7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:yP(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function R7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yn(e),e!==null););return e}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 T7(e){var t=E7();return function(){var n=Yn(e),o;if(t){var i=Yn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P7(this,o)}}var _l=function(e){$7(r,e);var t=T7(r);function r(n){O7(this,r);var o;return o=t.call(this,n),fl(yP(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return w7(r,[{key:"toDataBindModel",value:function(o){var i=sl(Yn(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}(F);fl(_l,"controlEventKeys",["on_change"]),fl(_l,"controlFieldType",m.CALC),fl(_l,"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:"calc-on-mounted",visible:!0},{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:"unit-position",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 dP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 B7(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 yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function A7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function x7(e,t){return t&&(k7(t)==="object"||typeof t=="function")?t:dP(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}function k7(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 N7(e){var t=D7();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 x7(this,o)}}var F7=function(e){A7(r,e);var t=N7(r);function r(n){I7(this,r);var o;return o=t.call(this,n),hP(dP(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return B7(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(j);hP(F7,"controlFieldType",m.CALC);function er(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 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 pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(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 j7(e,t){return t&&(L7(t)==="object"||typeof t=="function")?t:er(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function L7(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 mP(e){var t=M7();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 j7(this,o)}}var C7=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]!==void 0&&(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(v.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(U),zd=function(e){gP(r,e);var t=mP(r);function r(n){bP(this,r);var o;o=t.call(this,n),tr(er(o),"rangeMin",void 0),tr(er(o),"rangeMax",void 0),tr(er(o),"placeholderStart",void 0),tr(er(o),"placeholderEnd",void 0),tr(er(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:Ud.controlName,o}return r}(N);tr(zd,"RuntimeRules",C7);function OP(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 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 z7(e,t,r){return t&&wP(e.prototype,t),r&&wP(e,r),e}function Hd(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 H7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:OP(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function U7(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 K7(e){var t=W7();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 q7(this,o)}}var Ud=function(e){H7(r,e);var t=K7(r);function r(n){V7(this,r);var o;return o=t.call(this,n),Hd(OP(o),"props",void 0),o.props=new zd(n==null?void 0:n.props),o}return z7(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}(F);Hd(Ud,"controlFieldType",m.DECIMAL_RANGE),Hd(Ud,"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 $P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 X7(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 vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function J7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q7(e,t){return t&&(Z7(t)==="object"||typeof t=="function")?t:$P(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function Z7(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 e9(e){var t=Y7();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 Q7(this,o)}}var t9=function(e){J7(r,e);var t=e9(r);function r(n){G7(this,r);var o;return o=t.call(this,n),RP($P(o),"props",void 0),o.props=new zd(n==null?void 0:n.props),o}return X7(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(j);RP(t9,"controlFieldType",m.DECIMAL_RANGE);function ft(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 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 hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(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&&Kd(e,t)}function n9(e,t){return t&&(r9(t)==="object"||typeof t=="function")?t:ft(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function r9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TP(e){var t=o9();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 n9(this,o)}}var i9=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]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&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}(U),Gd=function(e){EP(r,e);var t=TP(r);function r(n){SP(this,r);var o,i;o=t.call(this,n),st(ft(o),"rangeMin",void 0),st(ft(o),"rangeMax",void 0),st(ft(o),"placeholderStart",void 0),st(ft(o),"placeholderEnd",void 0),st(ft(o),"dateType",void 0),st(ft(o),"dateFormat",void 0),st(ft(o),"commonTimeSetting",void 0),st(ft(o),"setValueType",void 0),st(ft(o),"defaultValue",void 0),st(ft(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:Wt.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 _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var b;o.placeholderStart=(b=n==null?void 0:n.placeholderStart)!==null&&b!==void 0?b:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Qd.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(d){return new M_(d)}))!==null&&w!==void 0?w:[],o}return r}(N);st(Gd,"RuntimeRules",i9);function IP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c9(e,t,r){return t&&BP(e.prototype,t),r&&BP(e,r),e}function Xd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(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&&Jd(e,t)}function a9(e,t){return t&&(f9(t)==="object"||typeof t=="function")?t:IP(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function f9(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 _9(e){var t=s9();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 a9(this,o)}}var Qd=function(e){l9(r,e);var t=_9(r);function r(n){u9(this,r);var o;return o=t.call(this,n),Xd(IP(o),"props",void 0),o.props=new Gd(n==null?void 0:n.props),o}return c9(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}(F);Xd(Qd,"controlFieldType",m.ARRAY),Xd(Qd,"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 AP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 p9(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 gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function d9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function v9(e,t){return t&&(h9(t)==="object"||typeof t=="function")?t:AP(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function h9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g9(e){var t=b9();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v9(this,o)}}var m9=function(e){d9(r,e);var t=g9(r);function r(n){y9(this,r);var o;return o=t.call(this,n),kP(AP(o),"props",void 0),o.props=new Gd(n==null?void 0:n.props),o}return p9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(j);kP(m9,"controlFieldType",m.ARRAY);function Po(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 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 ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function ev(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function O9(e,t){return t&&(w9(t)==="object"||typeof t=="function")?t:Po(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function w9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$9();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 O9(this,o)}}var P9=function(e){ev(r,e);var t=nv(r);function r(n){Yd(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(le),R9=function(e){ev(r,e);var t=nv(r);function r(n){Yd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(U),Ol=function(e){ev(r,e);var t=nv(r);function r(n){Yd(this,r);var o;o=t.call(this,n),nr(Po(o),"controlExportName",void 0),nr(Po(o),"permissions",void 0),nr(Po(o),"defaultValue",void 0),nr(Po(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:So.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);nr(Ol,"Rules",P9),nr(Ol,"RuntimeRules",R9);function DP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 E9(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function Ro(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function T9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 I9(e,t){return t&&(B9(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 B9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x9(e){var t=A9();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 I9(this,o)}}var So=function(e){T9(r,e);var t=x9(r);function r(n){S9(this,r);var o;return o=t.call(this,n),Ro(DP(o),"props",void 0),o.props=new Ol(n==null?void 0:n.props),o}return E9(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}(F);Ro(So,"controlFieldType",m.ANY),Ro(So,"controlEventKeys",[]),Ro(So,"slots",["grid-table-toolbar-slot",ng.DEFAULT]),Ro(So,"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 FP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 D9(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function LP(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 N9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 F9(e,t){return t&&(j9(t)==="object"||typeof t=="function")?t:FP(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function j9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M9(e){var t=L9();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 F9(this,o)}}var C9=function(e){N9(r,e);var t=M9(r);function r(n){k9(this,r);var o;return o=t.call(this,n),LP(FP(o),"props",void 0),o.props=new Ol(n==null?void 0:n.props),o}return D9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(j);LP(C9,"controlFieldType",m.ANY);function Ie(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 Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function CP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function V9(e,t){return t&&(z9(t)==="object"||typeof t=="function")?t:Ie(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function z9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VP(e){var t=H9();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 V9(this,o)}}var q9=function(e){CP(r,e);var t=VP(r);function r(n){MP(this,r);var o;return o=t.call(this,n),Be(Ie(o),"listPageBind",[{type:"object",message:v.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}]}}]),Be(Ie(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:v.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Cn),uv=function(e){CP(r,e);var t=VP(r);function r(n){MP(this,r);var o;o=t.call(this,n),Be(Ie(o),"options",void 0),Be(Ie(o),"optionConfig",void 0),Be(Ie(o),"defaultValue",void 0),Be(Ie(o),"listPageBind",void 0),Be(Ie(o),"datasourceBind",void 0),Be(Ie(o),"multistageFilling",void 0),Be(Ie(o),"viewFormModelType",void 0),Be(Ie(o),"canViewForm",void 0),Be(Ie(o),"formBind",void 0),Be(Ie(o),"openMultistageFilling",void 0),Be(Ie(o),"showSelectedDetail",void 0),Be(Ie(o),"selectedContentConfig",void 0);var i;o.options=It((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 Fs(n==null?void 0:n.listPageBind),o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:El.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 _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new Cs(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Ae(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Ln(n==null?void 0:n.formBind),o}return r}(N);Be(uv,"Rules",q9);function zP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W9(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}function Rl(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 K9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function G9(e,t){return t&&(X9(t)==="object"||typeof t=="function")?t:zP(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function X9(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 Q9(e){var t=J9();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 G9(this,o)}}var El=function(e){K9(r,e);var t=Q9(r);function r(n){U9(this,r);var o;return o=t.call(this,n),Rl(zP(o),"props",void 0),o.props=new uv(n==null?void 0:n.props),o}return W9(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}(F);Rl(El,"controlFieldType",m.VARCHAR),Rl(El,"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}]),Rl(El,"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 Z9(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 Y9(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 Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function ez(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lv(e,t)}function tz(e,t){return t&&(nz(t)==="object"||typeof t=="function")?t:qP(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oz(e){var t=rz();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tz(this,o)}}var iz=function(e){ez(r,e);var t=oz(r);function r(n){Z9(this,r);var o;return o=t.call(this,n),WP(qP(o),"props",void 0),o.props=new uv(n==null?void 0:n.props),o}return Y9(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(j);WP(iz,"controlFieldType",m.VARCHAR);function uz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function lz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function az(e,t){return t&&(fz(t)==="object"||typeof t=="function")?t:uz(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}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 _z(e){var t=sz();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 az(this,o)}}var KP=function(e){lz(r,e);var t=_z(r);function r(n){return cz(this,r),t.call(this,n)}return r}(Oo);function GP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pz(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 Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(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&&fv(e,t)}function vz(e,t){return t&&(hz(t)==="object"||typeof t=="function")?t:GP(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function hz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gz(e){var t=bz();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vz(this,o)}}var mz=function(e){dz(r,e);var t=gz(r);function r(n){yz(this,r);var o;return o=t.call(this,n),JP(GP(o),"props",void 0),o.props=new KP(n==null?void 0:n.props),o}return pz(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(wo);JP(mz,"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 QP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wz(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 Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(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&&sv(e,t)}function Pz(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:QP(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}function Rz(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=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pz(this,o)}}var Tz=function(e){$z(r,e);var t=Ez(r);function r(n){Oz(this,r);var o;return o=t.call(this,n),YP(QP(o),"props",void 0),o.props=new KP(n==null?void 0:n.props),o}return wz(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(j);YP(Tz,"controlFieldType",m.VARCHAR);function Q(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 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 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&&pv(e,t)}function Iz(e,t){return t&&(Bz(t)==="object"||typeof t=="function")?t:Q(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}function Bz(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 dv(e){var t=Az();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 Iz(this,o)}}var xz=function(e){yv(r,e);var t=dv(r);function r(n){_v(this,r);var o;return o=t.call(this,n),Z(Q(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),ei.call(Q(o),n,$n.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:v.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:v.getMessage("rootNodeIsRequired")}}}]),o}return r}(le),kz=function(e){yv(r,e);var t=dv(r);function r(n){_v(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),kl=function(e){yv(r,e);var t=dv(r);function r(n){_v(this,r);var o,i;o=t.call(this,n),Z(Q(o),"placeholder",void 0),Z(Q(o),"multiple",void 0),Z(Q(o),"canSearch",void 0),Z(Q(o),"levelType",void 0),Z(Q(o),"optionalLevel",void 0),Z(Q(o),"containsSubNode",void 0),Z(Q(o),"defaultDisplay",void 0),Z(Q(o),"isShowIncludeSub",void 0),Z(Q(o),"isDefaultCheckSub",void 0),Z(Q(o),"isShowFilterItem",void 0),Z(Q(o),"defaultCollapse",void 0),Z(Q(o),"defaultCollapseLevel",void 0),Z(Q(o),"optionConfig","datasource"),Z(Q(o),"datasourceBind",void 0),Z(Q(o),"filterItemDatasourceBind",void 0),Z(Q(o),"multistageFilling",void 0),Z(Q(o),"defaultValue",void 0),Z(Q(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 _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var b;o.isShowFilterItem=(b=n==null?void 0:n.isShowFilterItem)!==null&&b!==void 0?b:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var g;o.isDefaultCheckSub=(g=n==null?void 0:n.isDefaultCheckSub)!==null&&g!==void 0?g:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var d;o.defaultCollapseLevel=(d=n==null?void 0:n.defaultCollapseLevel)!==null&&d!==void 0?d:1;var $;o.datasourceBind=new Ag(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:$n.controlCustomAttributes});var P;o.filterItemDatasourceBind=new Ag((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:$n.controlCustomAttributes});var R;o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1;var S;o.defaultDisplay=(S=n==null?void 0:n.defaultDisplay)!==null&&S!==void 0?S:!1;var M;o.multistageFilling=(M=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(J){return new Ae(J)}))!==null&&M!==void 0?M:[];var I;return o.defaultValue=(I=n==null?void 0:n.defaultValue)!==null&&I!==void 0?I:[],o}return r}(N);Z(kl,"Rules",xz),Z(kl,"RuntimeRules",kz);function eR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Nz(e,t,r){return t&&tR(e.prototype,t),r&&tR(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 Fz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function jz(e,t){return t&&(Lz(t)==="object"||typeof t=="function")?t:eR(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function Lz(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 Cz(e){var t=Mz();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 jz(this,o)}}var $n=function(e){Fz(r,e);var t=Cz(r);function r(n){Dz(this,r);var o;return o=t.call(this,n),Dl(eR(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return Nz(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}(F);Dl($n,"controlEventKeys",["on_change","on_click"]),Dl($n,"controlFieldType",m.ARRAY),Dl($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 nR(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 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 zz(e,t,r){return t&&rR(e.prototype,t),r&&rR(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 Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(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&&hv(e,t)}function qz(e,t){return t&&(Uz(t)==="object"||typeof t=="function")?t:nR(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}function Uz(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=Fl(e),o;if(t){var i=Fl(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),oR(nR(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return zz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(j);oR(Gz,"controlFieldType",m.ARRAY);function ve(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 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 jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function gv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function Xz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:ve(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function Jz(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 Ov(e){var t=Qz();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 Xz(this,o)}}var Zz=function(e){gv(r,e);var t=Ov(r);function r(n){bv(this,r);var o;return o=t.call(this,n),he(ve(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),he(ve(o),"externalScope",{type:"any"}),ei.call(ve(o),n,Eo.controlCustomAttributes),n.externalType===tn.ASSIGN&&(o.externalScope={type:"array",required:!0,message:v.getMessage("pleaseAssignExternal")}),o}return r}(le),Yz=function(e){gv(r,e);var t=Ov(r);function r(n){bv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Ll=function(e){gv(r,e);var t=Ov(r);function r(n){bv(this,r);var o;o=t.call(this,n),he(ve(o),"showType",void 0),he(ve(o),"range",void 0),he(ve(o),"rangeOptions",void 0),he(ve(o),"multiple",void 0),he(ve(o),"defaultValueType",void 0),he(ve(o),"defaultValue",void 0),he(ve(o),"multistageFilling",void 0),he(ve(o),"datasourceBind",void 0),he(ve(o),"datasourceType",void 0),he(ve(o),"insideType",void 0),he(ve(o),"externalType",void 0),he(ve(o),"externalScope",void 0),he(ve(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 _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Eo.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;o.datasourceBind=new Jo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Eo.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:H_.INTERNAL;var g;o.insideType=(g=n==null?void 0:n.insideType)!==null&&g!==void 0?g:q_.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:tn.ALL;var d;o.externalScope=(d=n==null?void 0:n.externalScope)!==null&&d!==void 0?d:[];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 Ae(P))})),o}return r}(N);he(Ll,"Rules",Zz),he(Ll,"RuntimeRules",Yz);function iR(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 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 tH(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function wv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(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&&$v(e,t)}function rH(e,t){return t&&(oH(t)==="object"||typeof t=="function")?t:iR(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function oH(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=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rH(this,o)}}var Eo=function(e){nH(r,e);var t=uH(r);function r(n){eH(this,r);var o;return o=t.call(this,n),wv(iR(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return tH(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}(F);wv(Eo,"controlFieldType",m.EMPLOYEES),wv(Eo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.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 cR(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 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 lH(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 Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(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&&Pv(e,t)}function fH(e,t){return t&&(sH(t)==="object"||typeof t=="function")?t:cR(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function sH(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=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fH(this,o)}}var pH=function(e){aH(r,e);var t=yH(r);function r(n){cH(this,r);var o;return o=t.call(this,n),aR(cR(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return lH(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(j);aR(pH,"controlFieldType",m.EMPLOYEES);function mt(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 Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(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&&Rv(e,t)}function dH(e,t){return t&&(vH(t)==="object"||typeof t=="function")?t:mt(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function vH(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 _R(e){var t=hH();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 dH(this,o)}}var bH=function(e){sR(r,e);var t=_R(r);function r(n){fR(this,r);var o;return o=t.call(this,n),Ot(mt(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,_){if(u.type==="public"&&Is(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(l,f,_){if(u.type==="public"&&u.signatureType.includes("company")&&Is(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(le),Sv=function(e){sR(r,e);var t=_R(r);function r(n){fR(this,r);var o;o=t.call(this,n),Ot(mt(o),"buttonType",void 0),Ot(mt(o),"content",void 0),Ot(mt(o),"showType",void 0),Ot(mt(o),"color",void 0),Ot(mt(o),"icon",void 0),Ot(mt(o),"command",""),Ot(mt(o),"isLoading",!1),Ot(mt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ql.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 KD(n==null?void 0:n.signatureConfig),o}return r}(N);Ot(Sv,"Rules",bH);function yR(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 mH(e,t,r){return t&&pR(e.prototype,t),r&&pR(e,r),e}function zl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function OH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function wH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:yR(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function $H(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RH(e){var t=PH();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 wH(this,o)}}var ql=function(e){OH(r,e);var t=RH(r);function r(n){gH(this,r);var o;return o=t.call(this,n),zl(yR(o),"props",void 0),o.props=new Sv(n==null?void 0:n.props),o}return mH(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}(F);zl(ql,"controlEventKeys",["on_click","on_click_finish"]),zl(ql,"controlFieldType",m.VARCHAR),zl(ql,"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 dR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 EH(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 Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function TH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function IH(e,t){return t&&(BH(t)==="object"||typeof t=="function")?t:dR(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}function BH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xH(e){var t=AH();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 IH(this,o)}}var kH=function(e){TH(r,e);var t=xH(r);function r(n){SH(this,r);var o;return o=t.call(this,n),hR(dR(o),"props",void 0),o.props=new Sv(n==null?void 0:n.props),o}return EH(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(j);hR(kH,"controlFieldType",m.VARCHAR);function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(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&&Av(e,t)}function DH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:we(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function NH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=FH();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 DH(this,o)}}var jH=function(e){Bv(r,e);var t=xv(r);function r(n){Iv(this,r);var o;return o=t.call(this,n),be(we(o),"content",{type:"string",required:!0,message:v.getMessage("pleaseEnterButtonContent")}),be(we(o),"canAdd",void 0),be(we(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(v.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(v.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(v.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(le),LH=function(e){Bv(r,e);var t=xv(r);function r(n){Iv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Kl=function(e){Bv(r,e);var t=xv(r);function r(n){Iv(this,r);var o;o=t.call(this,n),be(we(o),"content",void 0),be(we(o),"canAdd",void 0),be(we(o),"addLocal",void 0),be(we(o),"addOnline",void 0),be(we(o),"canDownload",void 0),be(we(o),"canEdit",void 0),be(we(o),"canExport",void 0),be(we(o),"canDelete",void 0),be(we(o),"wpsSetting",void 0),be(we(o),"maxSize",void 0),be(we(o),"defaultValue",void 0),be(we(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jl.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 _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var b;o.canDelete=(b=n==null?void 0:n.canDelete)!==null&&b!==void 0?b:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:MC;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[],o.wpsSetting=new GD(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);be(Kl,"Rules",jH),be(Kl,"RuntimeRules",LH);function bR(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 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 CH(e,t,r){return t&&gR(e.prototype,t),r&&gR(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 Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function VH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function zH(e,t){return t&&(HH(t)==="object"||typeof t=="function")?t:bR(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function HH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UH(e){var t=qH();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zH(this,o)}}var Jl=function(e){VH(r,e);var t=UH(r);function r(n){MH(this,r);var o;return o=t.call(this,n),Gl(bR(o),"props",void 0),o.props=new Kl(n==null?void 0:n.props),o}return CH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(F);Gl(Jl,"controlEventKeys",["on_change","on_wps_open"]),Gl(Jl,"controlFieldType",m.FILE),Gl(Jl,"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 mR(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 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 KH(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 Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function GH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function XH(e,t){return t&&(JH(t)==="object"||typeof t=="function")?t:mR(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function JH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZH(e){var t=QH();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 XH(this,o)}}var YH=function(e){GH(r,e);var t=ZH(r);function r(n){WH(this,r);var o;return o=t.call(this,n),wR(mR(o),"props",void 0),o.props=new Kl(n==null?void 0:n.props),o}return KH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(j);wR(YH,"controlFieldType",m.FILE);function ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function Fv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function eq(e,t){return t&&(tq(t)==="object"||typeof t=="function")?t:ie(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function tq(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 Lv(e){var t=nq();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 eq(this,o)}}var rq=function(e){Fv(r,e);var t=Lv(r);function r(n){Nv(this,r);var o;return o=t.call(this,n),ue(ie(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),ue(ie(o),"businessScope",{type:"any"}),ei.call(ie(o),n,or.controlCustomAttributes),n.businessType===tn.ASSIGN&&(o.businessScope={type:"array",required:!0,message:v.getMessage("pleaseAssignBusiness")}),o}return r}(le),oq=function(e){Fv(r,e);var t=Lv(r);function r(n){Nv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),Yl=function(e){Fv(r,e);var t=Lv(r);function r(n){Nv(this,r);var o;o=t.call(this,n),ue(ie(o),"showType",void 0),ue(ie(o),"range",void 0),ue(ie(o),"defaultValueType",void 0),ue(ie(o),"multiple",void 0),ue(ie(o),"rangeOptions",void 0),ue(ie(o),"defaultValue",void 0),ue(ie(o),"displayLevel",void 0),ue(ie(o),"showSubDept",void 0),ue(ie(o),"multistageFilling",void 0),ue(ie(o),"datasourceBind",void 0),ue(ie(o),"datasourceType",void 0),ue(ie(o),"businessType",void 0),ue(ie(o),"businessScope",void 0),ue(ie(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var 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 _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:or.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var g;o.datasourceBind=new Jo((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:or.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:Bi.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:tn.ALL;var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new Ae(R))})),o}return r}(N);ue(Yl,"Rules",rq),ue(Yl,"RuntimeRules",oq);function $R(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 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 uq(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function ea(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ta=Reflect.get:ta=function(o,i,u){var c=aq(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},ta(e,t,r||e)}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rr(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&&Mv(e,t)}function lq(e,t){return t&&(fq(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 aq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rr(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 _q(e){var t=sq();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 lq(this,o)}}var or=function(e){cq(r,e);var t=_q(r);function r(n){iq(this,r);var o;return o=t.call(this,n),ea($R(o),"props",void 0),o.props=new Yl(n==null?void 0:n.props),o}return uq(r,[{key:"toDataBindModel",value:function(o){var i=ta(rr(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}(F);ea(or,"controlName","\u90E8\u95E8"),ea(or,"controlFieldType",m.DEPARTMENTS),ea(or,"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 RR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pq(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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function dq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function vq(e,t){return t&&(hq(t)==="object"||typeof t=="function")?t:RR(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}function hq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gq(e){var t=bq();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 vq(this,o)}}var mq=function(e){dq(r,e);var t=gq(r);function r(n){yq(this,r);var o;return o=t.call(this,n),ER(RR(o),"props",void 0),o.props=new Yl(n==null?void 0:n.props),o}return pq(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(j);ER(mq,"controlFieldType",m.DEPARTMENTS);function G(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 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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function zv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function Oq(e,t){return t&&(wq(t)==="object"||typeof t=="function")?t:G(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function wq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qv(e){var t=$q();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 Oq(this,o)}}var Pq=function(e){zv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),X(G(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),X(G(o),"businessScope",{type:"any"}),ei.call(G(o),n,ur.controlCustomAttributes),n.businessType===tn.ASSIGN&&(o.businessScope={type:"array",required:!0,message:v.getMessage("pleaseAssignBusiness")}),o}return r}(le),Rq=function(e){zv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(U),oa=function(e){zv(r,e);var t=qv(r);function r(n){Vv(this,r);var o;o=t.call(this,n),X(G(o),"showType",void 0),X(G(o),"range",void 0),X(G(o),"defaultValueType",void 0),X(G(o),"multiple",void 0),X(G(o),"rangeOptions",void 0),X(G(o),"defaultValue",void 0),X(G(o),"displayLevel",void 0),X(G(o),"showSubDept",void 0),X(G(o),"multistageFilling",void 0),X(G(o),"datasourceBind",void 0),X(G(o),"listPageBind",void 0),X(G(o),"datasourceType",void 0),X(G(o),"businessType",void 0),X(G(o),"businessScope",void 0),X(G(o),"organizingFunction",void 0),X(G(o),"organizationView",void 0),X(G(o),"openMultistageFilling",void 0),X(G(o),"showSelectedDetail",void 0),X(G(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 Fs(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 _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ur.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var g;o.datasourceBind=new tx((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:ur.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:Bi.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:tn.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var R;o.organizationView=(R=n==null?void 0:n.organizationView)!==null&&R!==void 0?R:void 0;var S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!1,o.selectedContentConfig=new Cs(n==null?void 0:n.selectedContentConfig);var M;return o.openMultistageFilling=(M=n==null?void 0:n.openMultistageFilling)!==null&&M!==void 0?M:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(I){var J;(J=o.multistageFilling)===null||J===void 0||J.push(new Ae(I))})),o}return r}(N);X(oa,"Rules",Pq),X(oa,"RuntimeRules",Rq);function TR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Eq(e,t,r){return t&&IR(e.prototype,t),r&&IR(e,r),e}function ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ua=Reflect.get:ua=function(o,i,u){var c=Bq(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},ua(e,t,r||e)}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ir(e)}function Tq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function Iq(e,t){return t&&(Aq(t)==="object"||typeof t=="function")?t:TR(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}function Bq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ir(e),e!==null););return e}function Aq(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 kq(e){var t=xq();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 Iq(this,o)}}var ur=function(e){Tq(r,e);var t=kq(r);function r(n){Sq(this,r);var o;return o=t.call(this,n),ia(TR(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return Eq(r,[{key:"toDataBindModel",value:function(o){var i=ua(ir(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}(F);ia(ur,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),ia(ur,"controlFieldType",m.DEPARTMENTS),ia(ur,"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 BR(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 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 Nq(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 ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(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&&Wv(e,t)}function jq(e,t){return t&&(Lq(t)==="object"||typeof t=="function")?t:BR(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}function Lq(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 Cq(e){var t=Mq();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 jq(this,o)}}var Vq=function(e){Fq(r,e);var t=Cq(r);function r(n){Dq(this,r);var o;return o=t.call(this,n),xR(BR(o),"props",void 0),o.props=new oa(n==null?void 0:n.props),o}return Nq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(j);xR(Vq,"controlFieldType",m.DEPARTMENTS);function To(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function Gv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function zq(e,t){return t&&(Hq(t)==="object"||typeof t=="function")?t:To(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function Hq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jv(e){var t=qq();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 zq(this,o)}}var Uq=function(e){Gv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(le),Wq=function(e){Gv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(U),aa=function(e){Gv(r,e);var t=Jv(r);function r(n){Kv(this,r);var o;o=t.call(this,n),cr(To(o),"controlExportName",void 0),cr(To(o),"permissions",void 0),cr(To(o),"defaultValue",void 0),cr(To(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_a.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);cr(aa,"Rules",Uq),cr(aa,"RuntimeRules",Wq);function kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Gq(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function fa(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 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&&Qv(e,t)}function Jq(e,t){return t&&(Qq(t)==="object"||typeof t=="function")?t:kR(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function Qq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yq(e){var t=Zq();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 Jq(this,o)}}var _a=function(e){Xq(r,e);var t=Yq(r);function r(n){Kq(this,r);var o;return o=t.call(this,n),fa(kR(o),"props",void 0),o.props=new aa(n==null?void 0:n.props),o}return Gq(r,null,[{key:"controlName",get:function(){return"Vue\u9875\u9762"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return y.VUE_PAGE}}]),r}(F);fa(_a,"controlFieldType",m.ANY),fa(_a,"controlEventKeys",[]),fa(_a,"setting",[]);function NR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tU(e,t,r){return t&&FR(e.prototype,t),r&&FR(e,r),e}function jR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(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&&Zv(e,t)}function rU(e,t){return t&&(oU(t)==="object"||typeof t=="function")?t:NR(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function oU(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 uU(e){var t=iU();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 rU(this,o)}}var cU=function(e){nU(r,e);var t=uU(r);function r(n){eU(this,r);var o;return o=t.call(this,n),jR(NR(o),"props",void 0),o.props=new aa(n==null?void 0:n.props),o}return tU(r,null,[{key:"controlType",get:function(){return y.VUE_PAGE}}]),r}(j);jR(cU,"controlFieldType",m.ANY);function lU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aU(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 fU(e,t,r){return t&&LR(e.prototype,t),r&&LR(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 pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function _U(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function yU(e,t){return t&&(pU(t)==="object"||typeof t=="function")?t:lU(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function pU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vU(e){var t=dU();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 yU(this,o)}}var hU=function(e){_U(r,e);var t=vU(r);function r(n){return aU(this,r),t.call(this,n)}return fU(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(fe);sU(hU,"excludes",[y.GRID]);function eh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function gU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function mU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:eh(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function OU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $U(e){var t=wU();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mU(this,o)}}var PU=24,Io=function(e){gU(r,e);var t=$U(r);function r(n){bU(this,r);var o;o=t.call(this,n),MR(eh(o),"span",void 0),MR(eh(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:PU;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ae);function CR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SU(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function nh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function EU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function TU(e,t){return t&&(IU(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 IU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AU(e){var t=BU();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TU(this,o)}}var Bo=function(e){EU(r,e);var t=AU(r);function r(n){RU(this,r);var o;return o=t.call(this,n),nh(CR(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return SU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(fe);nh(Bo,"excludes",[y.COL,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),nh(Bo,"childrenMaxLength",1);function zR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 kU(e,t,r){return t&&HR(e.prototype,t),r&&HR(e,r),e}function DU(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 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&&oh(e,t)}function FU(e,t){return t&&(jU(t)==="object"||typeof t=="function")?t:zR(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function jU(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 MU(e){var t=LU();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 FU(this,o)}}var CU=function(e){NU(r,e);var t=MU(r);function r(n){xU(this,r);var o;return o=t.call(this,n),DU(zR(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return kU(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(mn),qR={Designer:Bo,Runtime:CU,Property:Io};function ih(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 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 ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(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&&uh(e,t)}function HU(e,t){return t&&(qU(t)==="object"||typeof t=="function")?t:ih(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function qU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WU(e){var t=UU();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 HU(this,o)}}var ch=function(e){zU(r,e);var t=WU(r);function r(n){VU(this,r);var o;o=t.call(this,n),UR(ih(o),"layoutMode",void 0),UR(ih(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}(ae);function WR(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 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 GU(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function lh(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 XU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JU(e,t){return t&&(QU(t)==="object"||typeof t=="function")?t:WR(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function QU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YU(e){var t=ZU();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 JU(this,o)}}var fh=function(e){XU(r,e);var t=YU(r);function r(n){KU(this,r);var o;return o=t.call(this,n),lh(WR(o),"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return GU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(fe);lh(fh,"excludes",[y.ROW]),lh(fh,"setting",[{key:"col-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 eW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tW(e,t,r){return t&&XR(e.prototype,t),r&&XR(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 ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function rW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function oW(e,t){return t&&(iW(t)==="object"||typeof t=="function")?t:GR(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function iW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cW(e){var t=uW();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oW(this,o)}}var lW=function(e){rW(r,e);var t=cW(r);function r(n){eW(this,r);var o;return o=t.call(this,n),nW(GR(o),"props",void 0),o.props=new ch(n==null?void 0:n.props),o}return tW(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(mn);function aW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 sW(e,t,r){return t&&JR(e.prototype,t),r&&JR(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 Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(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&&yh(e,t)}function yW(e,t){return t&&(pW(t)==="object"||typeof t=="function")?t:aW(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function pW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vW(e){var t=dW();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 yW(this,o)}}var hW=4,wa=function(e){_W(r,e);var t=vW(r);function r(n){return fW(this,r),t.call(this,n)}return sW(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}(fh);_h(wa,"excludes",[y.GRID_ROW]),_h(wa,"setting",[]),_h(wa,"childrenMaxLength",hW);function bW(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 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 mW(e,t,r){return t&&QR(e.prototype,t),r&&QR(e,r),e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(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&&ph(e,t)}function wW(e,t){return t&&($W(t)==="object"||typeof t=="function")?t:bW(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(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=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wW(this,o)}}var SW=function(e){OW(r,e);var t=RW(r);function r(n){return gW(this,r),t.call(this,n)}return mW(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(lW);function EW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function IW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function BW(e,t){return t&&(AW(t)==="object"||typeof t=="function")?t:EW(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function AW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kW(e){var t=xW();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 BW(this,o)}}var DW=function(e){IW(r,e);var t=kW(r);function r(n){return TW(this,r),t.call(this,n)}return r}(ch),NW={Designer:wa,Runtime:SW,Property:DW};function Ao(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function YR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function FW(e,t){return t&&(jW(t)==="object"||typeof t=="function")?t:Ao(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function jW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eS(e){var t=LW();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FW(this,o)}}var MW=function(e){YR(r,e);var t=eS(r);function r(){ZR(this,r);var n;return n=t.apply(this,arguments),xo(Ao(n),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),n}return r}(ae.Rules),tS=function(e){YR(r,e);var t=eS(r);function r(n){ZR(this,r);var o;o=t.call(this,n),xo(Ao(o),"caption",void 0),xo(Ao(o),"isHideCaption",void 0),xo(Ao(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(ae);xo(tS,"Rules",MW);function nS(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 rS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VW(e,t,r){return t&&rS(e.prototype,t),r&&rS(e,r),e}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 Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(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&&bh(e,t)}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:nS(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(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=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HW(this,o)}}var oS=function(e){zW(r,e);var t=WW(r);function r(n){CW(this,r);var o;return o=t.call(this,n),hh(nS(o),"props",void 0),o.props=new tS(n==null?void 0:n.props),o}return VW(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(fe);hh(oS,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),hh(oS,"excludes",[y.CARD_GROUP]);function wt(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 $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 uS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function KW(e,t){return t&&(GW(t)==="object"||typeof t=="function")?t:wt(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}function GW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cS(e){var t=XW();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 KW(this,o)}}var JW=function(e){uS(r,e);var t=cS(r);function r(n){iS(this,r);var o;return o=t.call(this,n),$t(wt(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),$t(wt(o),"width",{type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")}),$t(wt(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(te),Ta=function(e){uS(r,e);var t=cS(r);function r(n){iS(this,r);var o;o=t.call(this,n),$t(wt(o),"metaAutoWidth",void 0),$t(wt(o),"caption",void 0),$t(wt(o),"fixed",void 0),$t(wt(o),"isShowCaptionTip",void 0),$t(wt(o),"captionTip",void 0),$t(wt(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 Tg(n==null?void 0:n.metaAutoWidth),o}return r}(ae);$t(Ta,"Rules",JW);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(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&&mh(e,t)}function YW(e,t){return t&&(eK(t)==="object"||typeof t=="function")?t:lS(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(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 nK(e){var t=tK();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 YW(this,o)}}var _t=function(e){ZW(r,e);var t=nK(r);function r(n){QW(this,r);var o;return o=t.call(this,n),Pn(lS(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return r}(fe);Pn(_t,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Pn(_t,"controlType","subtable-column"),Pn(_t,"controlIcon","subtable-column"),Pn(_t,"childrenMaxLength",1),Pn(_t,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Pn(_t,"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 aS(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 fS(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 oK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function iK(e,t){return t&&(uK(t)==="object"||typeof t=="function")?t:aS(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function uK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lK(e){var t=cK();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iK(this,o)}}var sS=function(e){oK(r,e);var t=lK(r);function r(n){rK(this,r);var o;return o=t.call(this,n),fS(aS(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return r}(mn);fS(sS,"controlType","subtable-column");var aK={Designer:_t,Runtime:sS,Property:Ta};function fK(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 Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(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&&wh(e,t)}function yK(e,t){return t&&(pK(t)==="object"||typeof t=="function")?t:fK(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}function pK(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 vK(e){var t=dK();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 yK(this,o)}}var hK=function(e){_K(r,e);var t=vK(r);function r(n){return sK(this,r),t.call(this,n)}return r}(ae);function _S(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 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 xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(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&&$h(e,t)}function mK(e,t){return t&&(OK(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 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=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mK(this,o)}}var lr=function(e){gK(r,e);var t=$K(r);function r(n){bK(this,r);var o;return o=t.call(this,n),Rn(_S(o),"props",void 0),o.props=new hK(n==null?void 0:n.props),o}return r}(fe);Rn(lr,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Rn(lr,"controlType","subtable-row"),Rn(lr,"controlIcon","subtable-row"),Rn(lr,"childrenMaxLength",1),Rn(lr,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Rn(lr,"setting",[{key:"caption",showItems:[s.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 PK(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 ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&Ph(e,t)}function SK(e,t){return t&&(EK(t)==="object"||typeof t=="function")?t:qe(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(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=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SK(this,o)}}var yS=function(e){RK(r,e);var t=IK(r);function r(n){PK(this,r);var o;o=t.call(this,n),Ze(qe(o),"widthType",void 0),Ze(qe(o),"width",void 0),Ze(qe(o),"caption",void 0),Ze(qe(o),"fieldCode",void 0),Ze(qe(o),"fieldType",void 0),Ze(qe(o),"fieldName",void 0),Ze(qe(o),"datasourceBind",void 0),Ze(qe(o),"fixed",void 0),Ze(qe(o),"textCleanFormart",void 0),Ze(qe(o),"decimalKeepPrecision",void 0),Ze(qe(o),"timestampDateType",void 0),Ze(qe(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 oe(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:Wt.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(ae);function pS(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 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 Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function AK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function xK(e,t){return t&&(kK(t)==="object"||typeof t=="function")?t:pS(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function kK(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 NK(e){var t=DK();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 xK(this,o)}}var ar=function(e){AK(r,e);var t=NK(r);function r(n){BK(this,r);var o;return o=t.call(this,n),Sn(pS(o),"props",void 0),o.props=new yS(n==null?void 0:n.props),o}return r}(fe);Sn(ar,"controlName","\u5217\u8868\u5355\u5143\u683C"),Sn(ar,"controlType","gridtable-column"),Sn(ar,"controlIcon","gridtable-column"),Sn(ar,"childrenMaxLength",1),Sn(ar,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Sn(ar,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function dS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function jK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function LK(e,t){return t&&(MK(t)==="object"||typeof t=="function")?t:dS(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function MK(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 VK(e){var t=CK();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 LK(this,o)}}var zK=function(e){jK(r,e);var t=VK(r);function r(n){FK(this,r);var o;return o=t.call(this,n),vS(dS(o),"props",void 0),o.props=new yS(n==null?void 0:n.props),o}return r}(mn);vS(zK,"controlType","gridtable-column");function Eh(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 hS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function qK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function UK(e,t){return t&&(WK(t)==="object"||typeof t=="function")?t:Eh(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}function WK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GK(e){var t=KK();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 UK(this,o)}}var XK=function(e){qK(r,e);var t=GK(r);function r(n){HK(this,r);var o;o=t.call(this,n),hS(Eh(o),"childMinWidth",void 0),hS(Eh(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}(ae);function bS(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 gS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QK(e,t,r){return t&&gS(e.prototype,t),r&&gS(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 ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function ZK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function YK(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:bS(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}function eG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nG(e){var t=tG();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 YK(this,o)}}var mS=function(e){ZK(r,e);var t=nG(r);function r(n){JK(this,r);var o;return o=t.call(this,n),Ih(bS(o),"props",void 0),o.props=new XK(n==null?void 0:n.props),o}return QK(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}(fe);Ih(mS,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),Ih(mS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",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 rG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(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&&Ah(e,t)}function uG(e,t){return t&&(cG(t)==="object"||typeof t=="function")?t:OS(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function cG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aG(e){var t=lG();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 uG(this,o)}}var fG=function(e){iG(r,e);var t=aG(r);function r(n){rG(this,r);var o;o=t.call(this,n),oG(OS(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}(ae);function xh(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 kh(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 $S(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function sG(e,t){return t&&(_G(t)==="object"||typeof t=="function")?t:xh(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function _G(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 PS(e){var t=yG();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 sG(this,o)}}var pG=function(e){$S(r,e);var t=PS(r);function r(n){wS(this,r);var o;return o=t.call(this,n),kh(xh(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),o}return r}(te),RS=function(e){$S(r,e);var t=PS(r);function r(n){wS(this,r);var o;o=t.call(this,n),kh(xh(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qa.controlName,o}return r}(ae);kh(RS,"Rules",pG);function SS(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 ES(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vG(e,t,r){return t&&ES(e.prototype,t),r&&ES(e,r),e}function Nh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function hG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function bG(e,t){return t&&(gG(t)==="object"||typeof t=="function")?t:SS(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function gG(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 OG(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 bG(this,o)}}var Va=function(e){hG(r,e);var t=OG(r);function r(n){dG(this,r);var o;return o=t.call(this,n),Nh(SS(o),"props",void 0),o.props=new RS(n==null?void 0:n.props),o}return vG(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}(fe);Nh(Va,"excludes",[y.TAB]),Nh(Va,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function TS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wG(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 $G(e,t,r){return t&&IS(e.prototype,t),r&&IS(e,r),e}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 PG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function RG(e,t){return t&&(SG(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 SG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TG(e){var t=EG();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 RG(this,o)}}var qa=function(e){PG(r,e);var t=TG(r);function r(n){wG(this,r);var o;o=t.call(this,n),za(TS(o),"props",void 0),o.props=new fG(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 $G(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(fe);za(qa,"excludes",[y.TAB]),za(qa,"controlEventKeys",["on_change_tab"]),za(qa,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function IG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function AG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function xG(e,t){return t&&(kG(t)==="object"||typeof t=="function")?t:IG(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function kG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NG(e){var t=DG();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 xG(this,o)}}var FG=function(e){AG(r,e);var t=NG(r);function r(n){return BG(this,r),t.call(this,n)}return r}(ae);function BS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 LG(e,t,r){return t&&AS(e.prototype,t),r&&AS(e,r),e}function xS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function MG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function CG(e,t){return t&&(VG(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 VG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HG(e){var t=zG();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 CG(this,o)}}var qG=function(e){MG(r,e);var t=HG(r);function r(n){jG(this,r);var o;return o=t.call(this,n),xS(BS(o),"props",void 0),o.props=new FG({}),o.children=(n==null?void 0:n.children)||[new Bo({props:new Io({span:12})}),new Bo({props:new Io({span:12})})],o}return LG(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(fe);xS(qG,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function z(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 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 Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function Vh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function UG(e,t){return t&&(WG(t)==="object"||typeof t=="function")?t:z(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}function WG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hh(e){var t=KG();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 UG(this,o)}}var kS;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(kS||(kS={}));var GG=function(e){Vh(r,e);var t=Hh(r);function r(n){Ch(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(bn),XG=function(e){Vh(r,e);var t=Hh(r);function r(n){Ch(this,r);var o;if(o=t.call(this,n),H(z(o),"triggerFieldCode",{type:"any"}),H(z(o),"datasourceBind",{type:"any"}),H(z(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),t_.call(z(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}(te),ko=function(e){Vh(r,e);var t=Hh(r);function r(n){Ch(this,r);var o,i,u;o=t.call(this,n),H(z(o),"datasourceBind",void 0),H(z(o),"isLoading",void 0),H(z(o),"isShowSubList",void 0),H(z(o),"triggerType",void 0),H(z(o),"triggerFieldCode",void 0),H(z(o),"sublistPage",void 0),H(z(o),"isShowJoinRelation",void 0),H(z(o),"joinRelation",void 0),H(z(o),"showType",void 0),H(z(o),"showFullScreen",void 0),H(z(o),"isFixedHeader",void 0),H(z(o),"selectionType",void 0),H(z(o),"isShowSelection",void 0),H(z(o),"isAllLoaded",void 0),H(z(o),"countType",void 0),H(z(o),"countLimit",void 0),H(z(o),"rowStyleType",void 0),H(z(o),"rowStyleBgColor",void 0),H(z(o),"rowStyleRules",void 0),H(z(o),"rowStyleRulesScript",void 0),o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var c;o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1;var a;o.isShowSubList=(a=n==null?void 0:n.isShowSubList)!==null&&a!==void 0?a:!1;var l;o.triggerType=(l=n==null?void 0:n.triggerType)!==null&&l!==void 0?l:1;var f;o.triggerFieldCode=(f=n==null?void 0:n.triggerFieldCode)!==null&&f!==void 0?f:"",o.sublistPage=new QA(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new YA(n==null?void 0:n.joinRelation);var p;o.showType=(p=n==null?void 0:n.showType)!==null&&p!==void 0?p:"stretch";var b;o.showFullScreen=(b=n==null?void 0:n.showFullScreen)!==null&&b!==void 0?b:!1;var O;o.selectionType=(O=n==null?void 0:n.selectionType)!==null&&O!==void 0?O:"multiple";var g;o.isFixedHeader=(g=n==null?void 0:n.isFixedHeader)!==null&&g!==void 0?g:!1;var w;o.isShowSelection=(w=n==null?void 0:n.isShowSelection)!==null&&w!==void 0?w:!1;var d;o.isAllLoaded=(d=n==null?void 0:n.isAllLoaded)!==null&&d!==void 0?d:!0,o.countType=n==null?void 0:n.countType;var $;o.countLimit=($=n==null?void 0:n.countLimit)!==null&&$!==void 0?$:1e5;var P;o.rowStyleType=(P=n==null?void 0:n.rowStyleType)!==null&&P!==void 0?P:"none";var R;o.rowStyleBgColor=(R=n==null?void 0:n.rowStyleBgColor)!==null&&R!==void 0?R:"theme";var S;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(S=n==null||(i=n.rowStyleRules)===null||i===void 0?void 0:i.map(function(I){return new yx(I)}))!==null&&S!==void 0?S:[]:[];var M;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(M=n==null||(u=n.rowStyleRulesScript)===null||u===void 0?void 0:u.map(function(I){return new px(I)}))!==null&&M!==void 0?M:[]:[],o}return r}(ae);H(ko,"Rules",XG),H(ko,"RuntimeRules",GG);function DS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QG(e,t,r){return t&&NS(e.prototype,t),r&&NS(e,r),e}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 Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(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&&qh(e,t)}function YG(e,t){return t&&(eX(t)==="object"||typeof t=="function")?t:DS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function eX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nX(e){var t=tX();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YG(this,o)}}var No=function(e){ZG(r,e);var t=nX(r);function r(n){JG(this,r);var o;return o=t.call(this,n),Do(DS(o),"props",void 0),o.props=new ko(n==null?void 0:n.props),o}return QG(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}(fe);Do(No,"slotPosition",{left:"list-view-left-slot"}),Do(No,"excludes",[y.ROW]),Do(No,"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"]),Do(No,"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:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function FS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rX(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 oX(e,t,r){return t&&jS(e.prototype,t),r&&jS(e,r),e}function iX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(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&&Uh(e,t)}function cX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:FS(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function lX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fX(e){var t=aX();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 cX(this,o)}}var sX=function(e){uX(r,e);var t=fX(r);function r(n){rX(this,r);var o;return o=t.call(this,n),iX(FS(o),"props",void 0),o.props=new ko(n==null?void 0:n.props),o}return oX(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(mn),_X={Designer:No,Runtime:sX,Property:ko};function sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LS(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 Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function MS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yX(e,t){return t&&(pX(t)==="object"||typeof t=="function")?t:sn(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function pX(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 CS(e){var t=dX();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 yX(this,o)}}var vX=function(e){MS(r,e);var t=CS(r);function r(n){LS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(bn),Qa=function(e){MS(r,e);var t=CS(r);function r(n){LS(this,r);var o;o=t.call(this,n),_n(sn(o),"save",void 0),_n(sn(o),"cancel",void 0),_n(sn(o),"saveAs",void 0),_n(sn(o),"print",void 0),_n(sn(o),"custom",void 0),_n(sn(o),"isLoading",void 0),_n(sn(o),"datasourceBind",void 0);var i;o.save=new Gt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Gt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Gt((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 Gt((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(_){return new Gt(_)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new oe(n==null?void 0:n.datasourceBind),o}return r}(ae);_n(Qa,"RuntimeRules",vX);function VS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bX(e,t,r){return t&&zS(e.prototype,t),r&&zS(e,r),e}function HS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function gX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function mX(e,t){return t&&(OX(t)==="object"||typeof t=="function")?t:VS(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function OX(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 $X(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 mX(this,o)}}var qS=function(e){gX(r,e);var t=$X(r);function r(n){hX(this,r);var o;return o=t.call(this,n),HS(VS(o),"props",void 0),o.props=new Qa(n==null?void 0:n.props),o}return bX(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(fe);HS(qS,"excludes",[]);function US(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 RX(e,t,r){return t&&WS(e.prototype,t),r&&WS(e,r),e}function SX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(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&&Gh(e,t)}function TX(e,t){return t&&(IX(t)==="object"||typeof t=="function")?t:US(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function IX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AX(e){var t=BX();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TX(this,o)}}var xX=function(e){EX(r,e);var t=AX(r);function r(n){PX(this,r);var o;return o=t.call(this,n),SX(US(o),"props",void 0),o.props=new Qa(n==null?void 0:n.props),o}return RX(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(mn),kX={Designer:qS,Runtime:xX,Property:Qa};function ef(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&Jh(e,t)}function FX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:ef(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function jX(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 MX(e){var t=LX();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 FX(this,o)}}var CX=function(e){NX(r,e);var t=MX(r);function r(n){DX(this,r);var o;o=t.call(this,n),Xh(ef(o),"position",void 0),Xh(ef(o),"opacity",void 0),Xh(ef(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}(ae);function KS(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 GS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zX(e,t,r){return t&&GS(e.prototype,t),r&&GS(e,r),e}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 rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(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&&Qh(e,t)}function qX(e,t){return t&&(UX(t)==="object"||typeof t=="function")?t:KS(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(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=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qX(this,o)}}var Zh=function(e){HX(r,e);var t=KX(r);function r(n){VX(this,r);var o;o=t.call(this,n),nf(KS(o),"props",void 0);var i;return o.props=new CX((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return zX(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}(fe);nf(Zh,"slotPosition",{default:"action-bar-slot"}),nf(Zh,"excludes",[]),nf(Zh,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",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 Yh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function e0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GX(e,t){return t&&(XX(t)==="object"||typeof t=="function")?t:A(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function XX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n0(e){var t=JX();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 GX(this,o)}}var QX=function(e){e0(r,e);var t=n0(r);function r(n){Yh(this,r);var o;return o=t.call(this,n),B(A(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),B(A(o),"limitRows",[{type:"number",required:!0,message:v.getMessage("isNotNumber")},{type:"number",min:0,message:v.getMessage("limitRowsCannotBeLessThan0")}]),B(A(o),"formKey",{type:"string",required:!1,message:v.getMessage("pleaseEnterForm")}),B(A(o),"maxHeight",{type:"number",required:!0,message:v.getMessage("pleaseEnterMaxHeight")}),B(A(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),B(A(o),"mobileRowCaption",{type:"string",required:!1,message:v.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}(te),ZX=function(e){e0(r,e);var t=n0(r);function r(n){Yh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:v.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(bn),r0=function(e){e0(r,e);var t=n0(r);function r(n,o){Yh(this,r);var i;i=t.call(this,n,o,r.mode),B(A(i),"caption",void 0),B(A(i),"labelPosition",void 0),B(A(i),"isHideCaption",void 0),B(A(i),"isShowCaptionTip",void 0),B(A(i),"captionTip",void 0),B(A(i),"defaultState",void 0),B(A(i),"limitRows",void 0),B(A(i),"maxRows",void 0),B(A(i),"defaultRows",void 0),B(A(i),"datasourceBind",void 0),B(A(i),"printMode",void 0),B(A(i),"openType",void 0),B(A(i),"formKey",void 0),B(A(i),"useCustomHeight",void 0),B(A(i),"maxHeight",void 0),B(A(i),"canAdd",void 0),B(A(i),"canDelete",void 0),B(A(i),"canCheck",void 0),B(A(i),"canEdit",void 0),B(A(i),"canImport",void 0),B(A(i),"importConfig",void 0),B(A(i),"canExport",void 0),B(A(i),"exportConfig",void 0),B(A(i),"canClear",void 0),B(A(i),"isPaste",void 0),B(A(i),"mobileShowType",void 0),B(A(i),"mobileDefaultNum",void 0),B(A(i),"dataStorageDoc",void 0),B(A(i),"serverPagination",void 0),B(A(i),"fixedColumn",void 0),B(A(i),"mobileRowCaption",void 0),B(A(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:lf.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 _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var b;i.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:ZD;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var g;i.limitRows=(g=o==null?void 0:o.limitRows)!==null&&g!==void 0?g:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var d;i.defaultRows=(d=o==null?void 0:o.defaultRows)!==null&&d!==void 0?d:1,i.datasourceBind=new oe(o==null?void 0:o.datasourceBind);var $;i.canAdd=($=o==null?void 0:o.canAdd)!==null&&$!==void 0?$:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var R;i.canCheck=(R=o==null?void 0:o.canCheck)!==null&&R!==void 0?R:!1;var S;i.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!1;var M;i.canImport=(M=o==null?void 0:o.canImport)!==null&&M!==void 0?M:!1;var I;i.canExport=(I=o==null?void 0:o.canExport)!==null&&I!==void 0?I:!1;var J;i.canClear=(J=o==null?void 0:o.canClear)!==null&&J!==void 0?J:!0;var x;i.serverPagination=(x=o==null?void 0:o.serverPagination)!==null&&x!==void 0?x:!1;var Rt;i.isShowCaptionTip=(Rt=o==null?void 0:o.isShowCaptionTip)!==null&&Rt!==void 0?Rt:!1;var qo;i.captionTip=(qo=o==null?void 0:o.captionTip)!==null&&qo!==void 0?qo:"";var Xr;i.mobileShowType=(Xr=o==null?void 0:o.mobileShowType)!==null&&Xr!==void 0?Xr:"list";var Dn;i.mobileDefaultNum=(Dn=o==null?void 0:o.mobileDefaultNum)!==null&&Dn!==void 0?Dn:10;var St;i.dataStorageDoc=(St=o==null?void 0:o.dataStorageDoc)!==null&&St!==void 0?St:new KA;var Wb;i.fixedColumn=(Wb=o==null?void 0:o.fixedColumn)!==null&&Wb!==void 0?Wb:[];var Kb;i.mobileRowCaption=(Kb=o==null?void 0:o.mobileRowCaption)!==null&&Kb!==void 0?Kb:"\u660E\u7EC6";var Gb;i.mobileIsTile=(Gb=o==null?void 0:o.mobileIsTile)!==null&&Gb!==void 0?Gb:!1;var Xb;i.isPaste=(Xb=o==null?void 0:o.isPaste)!==null&&Xb!==void 0?Xb:!1;var Jb;i.pageSize=(Jb=o==null?void 0:o.pageSize)!==null&&Jb!==void 0?Jb:10;var Qb;return i.pageSizeOptions=(Qb=o==null?void 0:o.pageSizeOptions)!==null&&Qb!==void 0?Qb:[10,20,50,100],i.importConfig=new JD(o==null?void 0:o.importConfig),i.exportConfig=new QD(o==null?void 0:o.exportConfig),i}return r}(y_);B(r0,"Rules",QX),B(r0,"RuntimeRules",ZX);function o0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XS(e,t){for(var r=0;r<t.length;r++){var 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&&XS(e.prototype,t),r&&XS(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 cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(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&&i0(e,t)}function nJ(e,t){return t&&(rJ(t)==="object"||typeof t=="function")?t:o0(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function rJ(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=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nJ(this,o)}}var lf=function(e){tJ(r,e);var t=iJ(r);function r(n){YX(this,r);var o,i,u;return o=t.call(this,n),uf(o0(o),"props",void 0),o.props=new r0(o0(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 _t,new _t,new _t]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return eJ(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new _t,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}(v_);uf(lf,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),uf(lf,"slotPosition",{toolbar:"subtable-toolbar-slot"}),uf(lf,"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,s.SERVER_PAGINATION]},{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:"max-rows",visible:!0},{key:"list-pager",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 fr(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 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 af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function cJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u0(e,t)}function lJ(e,t){return t&&(aJ(t)==="object"||typeof t=="function")?t:fr(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function aJ(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 sJ(e){var t=fJ();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 lJ(this,o)}}var _J=function(e){cJ(r,e);var t=sJ(r);function r(n,o){uJ(this,r);var i;i=t.call(this,n,o),Fo(fr(i),"isFixedHeader",void 0),Fo(fr(i),"selectionType",void 0),Fo(fr(i),"isShowToolbar",void 0),Fo(fr(i),"isShowSelection",void 0),Fo(fr(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;i.isShowCustomColumns=(l=o==null?void 0:o.isShowCustomColumns)!==null&&l!==void 0?l:!0;var f;return i.pageSizeOptions=(f=o==null?void 0:o.pageSizeOptions)!==null&&f!==void 0?f:[10,20,50,100,500],i}return r}(y_);function yJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pJ(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 QS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function dJ(e,t){return t&&(vJ(t)==="object"||typeof t=="function")?t:yJ(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function vJ(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 ZS(e){var t=hJ();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 dJ(this,o)}}var bJ=function(e){QS(r,e);var t=ZS(r);function r(n){JS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(pt),l0=function(e){QS(r,e);var t=ZS(r);function r(n){JS(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:sr.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 _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(ee);pJ(l0,"Rules",bJ);function YS(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 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 sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(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&&a0(e,t)}function OJ(e,t){return t&&(wJ(t)==="object"||typeof t=="function")?t:YS(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(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=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OJ(this,o)}}var sr=function(e){mJ(r,e);var t=PJ(r);function r(n){gJ(this,r);var o;return o=t.call(this,n),jo(YS(o),"props",void 0),o.props=new l0(n==null?void 0:n.props),o}return r}(_e);jo(sr,"controlType","order-column"),jo(sr,"controlName","\u5E8F\u53F7"),jo(sr,"controlIcon","order-column"),jo(sr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",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 RJ(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 _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function SJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function EJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:eE(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function TJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BJ(e){var t=IJ();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EJ(this,o)}}var tE=function(e){SJ(r,e);var t=BJ(r);function r(n){RJ(this,r);var o;return o=t.call(this,n),f0(eE(o),"props",void 0),o.props=new l0(n==null?void 0:n.props),o}return r}(ye);f0(tE,"controlType","order-column"),f0(tE,"controlFieldType",m.DECIMAL);function _0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(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&&y0(e,t)}function kJ(e,t){return t&&(DJ(t)==="object"||typeof t=="function")?t:_0(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}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=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kJ(this,o)}}var rE=function(e){xJ(r,e);var t=FJ(r);function r(n){AJ(this,r);var o,i;o=t.call(this,n),nE(_0(o),"showType",void 0),nE(_0(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:yr.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}(ee);function pf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oE(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 jJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){oE(i,n,o,u,c,"next",a)}function c(a){oE(i,n,o,u,c,"throw",a)}u(void 0)})}}function LJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MJ(e,t,r){return t&&iE(e.prototype,t),r&&iE(e,r),e}function En(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _r(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_r=Reflect.get:_r=function(o,i,u){var c=UJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},_r(e,t,r||e)}function yn(e){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yn(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&&p0(e,t)}function VJ(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){En(e,o,r[o])})}return e}function zJ(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 HJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):zJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function qJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:pf(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}function UJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yn(e),e!==null););return e}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=yn(e),o;if(t){var i=yn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qJ(this,o)}}function XJ(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}}}var yr=function(e){CJ(r,e);var t=GJ(r);function r(n){LJ(this,r);var o;return o=t.call(this,n),En(pf(o),"props",void 0),En(pf(o),"children",void 0),o.props=new rE(n==null?void 0:n.props),Et(pf(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return MJ(r,[{key:"toDataBindModel",value:function(){var o=_r(yn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Iu.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=_r(yn(r.prototype),"toSchema",this).call(this);return HJ(VJ({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return _r(yn(r.prototype),"validate",u)};return jJ(function(){return XJ(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}(_e);En(yr,"controlType","operation-column"),En(yr,"controlName","\u64CD\u4F5C"),En(yr,"controlIcon","operation-column"),En(yr,"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 df(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&d0(e,t)}function ZJ(e,t){return t&&(YJ(t)==="object"||typeof t=="function")?t:df(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}function YJ(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=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZJ(this,o)}}var uE=function(e){QJ(r,e);var t=tQ(r);function r(n){JJ(this,r);var o;return o=t.call(this,n),vf(df(o),"props",void 0),vf(df(o),"children",void 0),o.props=new rE(n==null?void 0:n.props),Et(df(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ye);vf(uE,"controlType","operation-column"),vf(uE,"controlFieldType",m.FILE);function Tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cE(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 nQ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){cE(i,n,o,u,c,"next",a)}function c(a){cE(i,n,o,u,c,"throw",a)}u(void 0)})}}function rQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lE(e,t){for(var r=0;r<t.length;r++){var 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&&lE(e.prototype,t),r&&lE(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 Lo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lo=Reflect.get:Lo=function(o,i,u){var c=sQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Lo(e,t,r||e)}function In(e){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},In(e)}function iQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function uQ(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function cQ(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 lQ(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 aQ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lQ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function fQ(e,t){return t&&(_Q(t)==="object"||typeof t=="function")?t:Tn(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function sQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=In(e),e!==null););return e}function _Q(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 pQ(e){var t=yQ();return function(){var n=In(e),o;if(t){var i=In(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fQ(this,o)}}function dQ(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}}}var vQ=1e4,bf=function(t){iQ(n,t);var r=pQ(n);function n(o){rQ(this,n);var i,u;i=r.call(this,o),Ht(Tn(i),"props",void 0),Ht(Tn(i),"children",void 0),Ht(Tn(i),"excludes",void 0),Ht(Tn(i),"childrenMaxLength",void 0);var c=uQ(this,n)?this.constructor:void 0,a=c.excludes,l=c.childrenMaxLength;return i.props=new _J(Tn(i),o==null?void 0:o.props),Et(Tn(i),"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new sr,new yr]),(o==null||(u=o.props)===null||u===void 0?void 0:u.footers)===void 0&&(i.props.footers=[]),i.excludes=tt(a),i.childrenMaxLength=l,i}return oQ(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:"toSchema",value:function(){var i=Lo(In(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){return c.toSchema()});return aQ(cQ({},i),{children:u})}},{key:"validate",value:function(i,u){var c=this,a=this,l=function(){return Lo(In(n.prototype),"validate",c)};return nQ(function(){return dQ(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(_){return _.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(v_);Ht(bf,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),Ht(bf,"setting",[{key:"list-fixed-header",visible:!0}]),Ht(bf,"excludes",[]),Ht(bf,"childrenMaxLength",vQ);function qt(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 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 gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(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&&h0(e,t)}function hQ(e,t){return t&&(bQ(t)==="object"||typeof t=="function")?t:qt(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function bQ(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 sE(e){var t=gQ();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 hQ(this,o)}}var mQ=function(e){fE(r,e);var t=sE(r);function r(n){aE(this,r);var o;return o=t.call(this,n),en.call(qt(o),n),o}return r}(lm),b0=function(e){fE(r,e);var t=sE(r);function r(n){aE(this,r);var o;o=t.call(this,n),pn(qt(o),"optionConfig",void 0),pn(qt(o),"datasourceBind",void 0),pn(qt(o),"showLinkOperation",void 0),pn(qt(o),"linkOperationOption",void 0),pn(qt(o),"options",void 0),pn(qt(o),"lineEllipsis",void 0),pn(qt(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:dr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var c;o.options=It((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 Tt(n==null?void 0:n.linkOperationOption);var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1;var f;return o.dictionaryTagConfig=(f=n==null?void 0:n.dictionaryTagConfig)!==null&&f!==void 0?f:{isTag:!1},o}return r}(ee);pn(b0,"Rules",mQ);function _E(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 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 mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(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&&g0(e,t)}function $Q(e,t){return t&&(PQ(t)==="object"||typeof t=="function")?t:_E(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function PQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SQ(e){var t=RQ();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 $Q(this,o)}}var dr=function(e){wQ(r,e);var t=SQ(r);function r(n){OQ(this,r);var o;return o=t.call(this,n),pr(_E(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return r}(_e);pr(dr,"controlType","varchar-column"),pr(dr,"controlName","\u77ED\u6587\u672C"),pr(dr,"controlIcon","varchar-column"),pr(dr,"controlFieldType",m.VARCHAR),pr(dr,"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-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function yE(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 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 Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function TQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function IQ(e,t){return t&&(BQ(t)==="object"||typeof t=="function")?t:yE(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function BQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xQ(e){var t=AQ();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 IQ(this,o)}}var pE=function(e){TQ(r,e);var t=xQ(r);function r(n){EQ(this,r);var o;return o=t.call(this,n),m0(yE(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return r}(ye);m0(pE,"controlType","varchar-column"),m0(pE,"controlFieldType",m.VARCHAR);function vr(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 Mo(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 vE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function kQ(e,t){return t&&(DQ(t)==="object"||typeof t=="function")?t:vr(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(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 hE(e){var t=NQ();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 kQ(this,o)}}var FQ=function(e){vE(r,e);var t=hE(r);function r(n){dE(this,r);var o;return o=t.call(this,n),en.call(vr(o),n),o}return r}(pt),$0=function(e){vE(r,e);var t=hE(r);function r(n){dE(this,r);var o;o=t.call(this,n),Mo(vr(o),"escapeHTML",void 0),Mo(vr(o),"showLinkOperation",void 0),Mo(vr(o),"linkOperationOption",void 0),Mo(vr(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:gr.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 Tt(n==null?void 0:n.linkOperationOption),o}return r}(ee);Mo($0,"Rules",FQ);function bE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 LQ(e,t,r){return t&&gE(e.prototype,t),r&&gE(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 $f(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$f=Reflect.get:$f=function(o,i,u){var c=VQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},$f(e,t,r||e)}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(e)}function MQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P0(e,t)}function CQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:bE(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function VQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=br(e),e!==null););return e}function zQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qQ(e){var t=HQ();return function(){var n=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CQ(this,o)}}var gr=function(e){MQ(r,e);var t=qQ(r);function r(n){jQ(this,r);var o;return o=t.call(this,n),hr(bE(o),"props",void 0),o.props=new $0(n==null?void 0:n.props),o}return LQ(r,[{key:"toDataBindModel",value:function(o){var i=$f(br(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(_e);hr(gr,"controlType","text-column"),hr(gr,"controlName","\u957F\u6587\u672C"),hr(gr,"controlIcon","text-column"),hr(gr,"controlFieldType",m.TEXT),hr(gr,"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-align-content",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},{key:"column-statistics",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 UQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R0(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 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&&S0(e,t)}function KQ(e,t){return t&&(GQ(t)==="object"||typeof t=="function")?t:mE(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function GQ(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 JQ(e){var t=XQ();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 KQ(this,o)}}var OE=function(e){WQ(r,e);var t=JQ(r);function r(n){UQ(this,r);var o;return o=t.call(this,n),R0(mE(o),"props",void 0),o.props=new $0(n==null?void 0:n.props),o}return r}(ye);R0(OE,"controlType","text-column"),R0(OE,"controlFieldType",m.TEXT);function Pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function $E(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E0(e,t)}function QQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:Pt(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(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 PE(e){var t=YQ();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 QQ(this,o)}}var eZ=function(e){$E(r,e);var t=PE(r);function r(n){wE(this,r);var o;return o=t.call(this,n),en.call(Pt(o),n),o}return r}(pt),T0=function(e){$E(r,e);var t=PE(r);function r(n){wE(this,r);var o;o=t.call(this,n),Ut(Pt(o),"optionConfig",void 0),Ut(Pt(o),"datasourceBind",void 0),Ut(Pt(o),"showLinkOperation",void 0),Ut(Pt(o),"linkOperationOption",void 0),Ut(Pt(o),"options",void 0),Ut(Pt(o),"precision",void 0),Ut(Pt(o),"micrometer",void 0),Ut(Pt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:wr.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 oe(n==null?void 0:n.datasourceBind);var f;o.options=It((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption),o}return r}(ee);Ut(T0,"Rules",eZ);function RE(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 SE(e,t){for(var r=0;r<t.length;r++){var 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&&SE(e.prototype,t),r&&SE(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 Sf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Sf=Reflect.get:Sf=function(o,i,u){var c=iZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Sf(e,t,r||e)}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(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&&I0(e,t)}function oZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:RE(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function iZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Or(e),e!==null););return e}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=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oZ(this,o)}}var wr=function(e){rZ(r,e);var t=lZ(r);function r(n){tZ(this,r);var o;return o=t.call(this,n),mr(RE(o),"props",void 0),o.props=new T0(n==null?void 0:n.props),o}return nZ(r,[{key:"toDataBindModel",value:function(o){var i=Sf(Or(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}(_e);mr(wr,"controlType","decimal-column"),mr(wr,"controlName","\u6570\u503C"),mr(wr,"controlIcon","decimal-column"),mr(wr,"controlFieldType",m.DECIMAL),mr(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-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",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 aZ(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 Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function fZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function sZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:EE(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function _Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pZ(e){var t=yZ();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sZ(this,o)}}var TE=function(e){fZ(r,e);var t=pZ(r);function r(n){aZ(this,r);var o;return o=t.call(this,n),B0(EE(o),"props",void 0),o.props=new T0(n==null?void 0:n.props),o}return r}(ye);B0(TE,"controlType","decimal-column"),B0(TE,"controlFieldType",m.DECIMAL);function Co(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(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 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&&x0(e,t)}function dZ(e,t){return t&&(vZ(t)==="object"||typeof t=="function")?t:Co(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(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 AE(e){var t=hZ();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 dZ(this,o)}}var bZ=function(e){BE(r,e);var t=AE(r);function r(n){IE(this,r);var o;return o=t.call(this,n),en.call(Co(o),n),o}return r}(pt),k0=function(e){BE(r,e);var t=AE(r);function r(n){IE(this,r);var o;o=t.call(this,n),Tf(Co(o),"dateType",void 0),Tf(Co(o),"showLinkOperation",void 0),Tf(Co(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Wt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Rr.controlName,o}return r}(ee);Tf(k0,"Rules",bZ);function xE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mZ(e,t,r){return t&&kE(e.prototype,t),r&&kE(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 Bf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bf=Reflect.get:Bf=function(o,i,u){var c=$Z(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Bf(e,t,r||e)}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(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&&D0(e,t)}function wZ(e,t){return t&&(PZ(t)==="object"||typeof t=="function")?t:xE(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function $Z(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pr(e),e!==null););return e}function PZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SZ(e){var t=RZ();return function(){var n=Pr(e),o;if(t){var i=Pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wZ(this,o)}}var Rr=function(e){OZ(r,e);var t=SZ(r);function r(n){gZ(this,r);var o;return o=t.call(this,n),$r(xE(o),"props",void 0),o.props=new k0(n==null?void 0:n.props),o}return mZ(r,[{key:"toDataBindModel",value:function(o){var i=Bf(Pr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(_e);$r(Rr,"controlType","timescope-column"),$r(Rr,"controlName","\u65E5\u671F\u533A\u95F4"),$r(Rr,"controlIcon","timescope-column"),$r(Rr,"controlFieldType",m.TIMESCOPE),$r(Rr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",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 EZ(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 Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function TZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F0(e,t)}function IZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:DE(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function BZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xZ(e){var t=AZ();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IZ(this,o)}}var NE=function(e){TZ(r,e);var t=xZ(r);function r(n){EZ(this,r);var o;return o=t.call(this,n),N0(DE(o),"props",void 0),o.props=new k0(n==null?void 0:n.props),o}return r}(ye);N0(NE,"controlType","timescope-column"),N0(NE,"controlFieldType",m.TIMESCOPE);function Vo(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 xf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function jE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:Vo(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(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 LE(e){var t=NZ();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 kZ(this,o)}}var FZ=function(e){jE(r,e);var t=LE(r);function r(n){FE(this,r);var o;return o=t.call(this,n),en.call(Vo(o),n),o}return r}(pt),L0=function(e){jE(r,e);var t=LE(r);function r(n){FE(this,r);var o;o=t.call(this,n),xf(Vo(o),"dateType",void 0),xf(Vo(o),"showLinkOperation",void 0),xf(Vo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Wt.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Tr.controlName,o}return r}(ee);xf(L0,"Rules",FZ);function ME(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 CE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LZ(e,t,r){return t&&CE(e.prototype,t),r&&CE(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 Df(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Df=Reflect.get:Df=function(o,i,u){var c=VZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Df(e,t,r||e)}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(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&&M0(e,t)}function CZ(e,t){return t&&(zZ(t)==="object"||typeof t=="function")?t:ME(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function VZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Er(e),e!==null););return e}function zZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qZ(e){var t=HZ();return function(){var n=Er(e),o;if(t){var i=Er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CZ(this,o)}}var Tr=function(e){MZ(r,e);var t=qZ(r);function r(n){jZ(this,r);var o;return o=t.call(this,n),Sr(ME(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return LZ(r,[{key:"toDataBindModel",value:function(o){var i=Df(Er(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(_e);Sr(Tr,"controlType","timestamp-column"),Sr(Tr,"controlName","\u65E5\u671F"),Sr(Tr,"controlIcon","timestamp-column"),Sr(Tr,"controlFieldType",m.TIMESTAMP),Sr(Tr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function VE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C0(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 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&&V0(e,t)}function KZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:VE(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function GZ(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=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KZ(this,o)}}var zE=function(e){WZ(r,e);var t=JZ(r);function r(n){UZ(this,r);var o;return o=t.call(this,n),C0(VE(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return r}(ye);C0(zE,"controlType","timestamp-column"),C0(zE,"controlFieldType",m.TIMESTAMP);function Bn(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 Ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(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&&z0(e,t)}function QZ(e,t){return t&&(ZZ(t)==="object"||typeof t=="function")?t:Bn(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function ZZ(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 UE(e){var t=YZ();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 QZ(this,o)}}var eY=function(e){qE(r,e);var t=UE(r);function r(n){HE(this,r);var o;return o=t.call(this,n),en.call(Bn(o),n),o}return r}(lm),H0=function(e){qE(r,e);var t=UE(r);function r(n){HE(this,r);var o;o=t.call(this,n),Ir(Bn(o),"optionConfig",void 0),Ir(Bn(o),"datasourceBind",void 0),Ir(Bn(o),"showLinkOperation",void 0),Ir(Bn(o),"linkOperationOption",void 0),Ir(Bn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ar.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption);var a;return o.options=It((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]),o}return r}(ee);Ir(H0,"Rules",eY);function WE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function nY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function rY(e,t){return t&&(oY(t)==="object"||typeof t=="function")?t:WE(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function oY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uY(e){var t=iY();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rY(this,o)}}var Ar=function(e){nY(r,e);var t=uY(r);function r(n){tY(this,r);var o;return o=t.call(this,n),Br(WE(o),"props",void 0),o.props=new H0(n==null?void 0:n.props),o}return r}(_e);Br(Ar,"controlType","array-column"),Br(Ar,"controlName","\u6570\u7EC4"),Br(Ar,"controlIcon","array-column"),Br(Ar,"controlFieldType",m.ARRAY),Br(Ar,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",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 cY(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 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&&W0(e,t)}function aY(e,t){return t&&(fY(t)==="object"||typeof t=="function")?t:KE(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function fY(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 _Y(e){var t=sY();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 aY(this,o)}}var GE=function(e){lY(r,e);var t=_Y(r);function r(n){cY(this,r);var o;return o=t.call(this,n),U0(KE(o),"props",void 0),o.props=new H0(n==null?void 0:n.props),o}return r}(ye);U0(GE,"controlType","array-column"),U0(GE,"controlFieldType",m.ARRAY);function XE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(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&&K0(e,t)}function vY(e,t){return t&&(hY(t)==="object"||typeof t=="function")?t:XE(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function hY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gY(e){var t=bY();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 vY(this,o)}}var JE=function(e){dY(r,e);var t=gY(r);function r(n){yY(this,r);var o;o=t.call(this,n),pY(XE(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Dr.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(ee);function QE(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 ZE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OY(e,t,r){return t&&ZE(e.prototype,t),r&&ZE(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 Cf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cf=Reflect.get:Cf=function(o,i,u){var c=PY(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Cf(e,t,r||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function wY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G0(e,t)}function $Y(e,t){return t&&(RY(t)==="object"||typeof t=="function")?t:QE(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function PY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(e),e!==null););return e}function RY(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=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Y(this,o)}}var Dr=function(e){wY(r,e);var t=EY(r);function r(n){mY(this,r);var o;return o=t.call(this,n),xr(QE(o),"props",void 0),o.props=new JE(n==null?void 0:n.props),o}return OY(r,[{key:"toDataBindModel",value:function(o){var i=Cf(kr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(_e);xr(Dr,"controlType","department-column"),xr(Dr,"controlName","\u90E8\u95E8"),xr(Dr,"controlIcon","department-column"),xr(Dr,"controlFieldType",m.DEPARTMENTS),xr(Dr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function YE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X0(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 IY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J0(e,t)}function BY(e,t){return t&&(AY(t)==="object"||typeof t=="function")?t:YE(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function AY(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 kY(e){var t=xY();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 BY(this,o)}}var eT=function(e){IY(r,e);var t=kY(r);function r(n){TY(this,r);var o;return o=t.call(this,n),X0(YE(o),"props",void 0),o.props=new JE(n==null?void 0:n.props),o}return r}(ye);X0(eT,"controlType","department-column"),X0(eT,"controlFieldType",m.DEPARTMENTS);function zf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q0(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 nT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function DY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:zf(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function NY(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 rT(e){var t=FY();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 DY(this,o)}}var jY=function(e){nT(r,e);var t=rT(r);function r(n){tT(this,r);var o;return o=t.call(this,n),en.call(zf(o),n),o}return r}(pt),Y0=function(e){nT(r,e);var t=rT(r);function r(n){tT(this,r);var o;o=t.call(this,n),Q0(zf(o),"showLinkOperation",void 0),Q0(zf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption),o}return r}(ee);Q0(Y0,"Rules",jY);function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(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 qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(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&&eb(e,t)}function CY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:oT(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function VY(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=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CY(this,o)}}var Fr=function(e){MY(r,e);var t=HY(r);function r(n){LY(this,r);var o;return o=t.call(this,n),Nr(oT(o),"props",void 0),o.props=new Y0(n==null?void 0:n.props),o}return r}(_e);Nr(Fr,"controlType","auto-number-column"),Nr(Fr,"controlName","\u81EA\u52A8\u7F16\u53F7"),Nr(Fr,"controlIcon","auto-number-column"),Nr(Fr,"controlFieldType",m.AUTO_NUMBER),Nr(Fr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function iT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qY(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 Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(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&&nb(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:iT(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(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=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WY(this,o)}}var uT=function(e){UY(r,e);var t=XY(r);function r(n){qY(this,r);var o;return o=t.call(this,n),tb(iT(o),"props",void 0),o.props=new Y0(n==null?void 0:n.props),o}return r}(ye);tb(uT,"controlType","auto-number-column"),tb(uT,"controlFieldType",m.AUTO_NUMBER);function JY(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 Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(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&&rb(e,t)}function YY(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:JY(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function eee(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=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YY(this,o)}}var cT=function(e){ZY(r,e);var t=nee(r);function r(n){QY(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:Lr.controlName,o}return r}(ee);function lT(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 jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(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&&ob(e,t)}function iee(e,t){return t&&(uee(t)==="object"||typeof t=="function")?t:lT(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(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=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iee(this,o)}}var Lr=function(e){oee(r,e);var t=lee(r);function r(n){ree(this,r);var o;return o=t.call(this,n),jr(lT(o),"props",void 0),o.props=new cT(n==null?void 0:n.props),o}return r}(_e);jr(Lr,"controlType","file-column"),jr(Lr,"controlName","\u9644\u4EF6"),jr(Lr,"controlIcon","file-column"),jr(Lr,"controlFieldType",m.FILE),jr(Lr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",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 aee(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 Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(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&&ub(e,t)}function see(e,t){return t&&(_ee(t)==="object"||typeof t=="function")?t:aT(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function _ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pee(e){var t=yee();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 see(this,o)}}var fT=function(e){fee(r,e);var t=pee(r);function r(n){aee(this,r);var o;return o=t.call(this,n),ib(aT(o),"props",void 0),o.props=new cT(n==null?void 0:n.props),o}return r}(ye);ib(fT,"controlType","file-column"),ib(fT,"controlFieldType",m.FILE);function dee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function bee(e,t){return t&&(gee(t)==="object"||typeof t=="function")?t:dee(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function gee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oee(e){var t=mee();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 bee(this,o)}}var sT=function(e){hee(r,e);var t=Oee(r);function r(n){vee(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:Cr.controlName,o}return r}(ee);function _T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(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&&lb(e,t)}function Pee(e,t){return t&&(Ree(t)==="object"||typeof t=="function")?t:_T(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function Ree(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=Jf(e),o;if(t){var i=Jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pee(this,o)}}var Cr=function(e){$ee(r,e);var t=Eee(r);function r(n){wee(this,r);var o;return o=t.call(this,n),Mr(_T(o),"props",void 0),o.props=new sT(n==null?void 0:n.props),o}return r}(_e);Mr(Cr,"controlType","image-column"),Mr(Cr,"controlName","\u56FE\u7247"),Mr(Cr,"controlIcon","image-column"),Mr(Cr,"controlFieldType",m.IMAGE),Mr(Cr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tee(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 Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function Iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function Bee(e,t){return t&&(Aee(t)==="object"||typeof t=="function")?t:yT(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function Aee(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 kee(e){var t=xee();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 Bee(this,o)}}var pT=function(e){Iee(r,e);var t=kee(r);function r(n){Tee(this,r);var o;return o=t.call(this,n),ab(yT(o),"props",void 0),o.props=new sT(n==null?void 0:n.props),o}return r}(ye);ab(pT,"controlType","image-column"),ab(pT,"controlFieldType",m.IMAGE);function Dee(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 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&&sb(e,t)}function jee(e,t){return t&&(Lee(t)==="object"||typeof t=="function")?t:Dee(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function Lee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cee(e){var t=Mee();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 jee(this,o)}}var dT=function(e){Fee(r,e);var t=Cee(r);function r(n){Nee(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:zr.controlName,o}return r}(ee);function vT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function zee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function Hee(e,t){return t&&(qee(t)==="object"||typeof t=="function")?t:vT(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function qee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wee(e){var t=Uee();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hee(this,o)}}var zr=function(e){zee(r,e);var t=Wee(r);function r(n){Vee(this,r);var o;return o=t.call(this,n),Vr(vT(o),"props",void 0),o.props=new dT(n==null?void 0:n.props),o}return r}(_e);Vr(zr,"controlType","people-column"),Vr(zr,"controlName","\u4EBA\u5458"),Vr(zr,"controlIcon","people-column"),Vr(zr,"controlFieldType",m.EMPLOYEES),Vr(zr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function hT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yb(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 Gee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function Xee(e,t){return t&&(Jee(t)==="object"||typeof t=="function")?t:hT(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function Jee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zee(e){var t=Qee();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 Xee(this,o)}}var bT=function(e){Gee(r,e);var t=Zee(r);function r(n){Kee(this,r);var o;return o=t.call(this,n),yb(hT(o),"props",void 0),o.props=new dT(n==null?void 0:n.props),o}return r}(ye);yb(bT,"controlType","people-column"),yb(bT,"controlFieldType",m.EMPLOYEES);function ts(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function mT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vb(e,t)}function Yee(e,t){return t&&(ete(t)==="object"||typeof t=="function")?t:ts(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(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 OT(e){var t=tte();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 Yee(this,o)}}var nte=function(e){mT(r,e);var t=OT(r);function r(n){gT(this,r);var o;return o=t.call(this,n),en.call(ts(o),n),o}return r}(pt),hb=function(e){mT(r,e);var t=OT(r);function r(n){gT(this,r);var o;o=t.call(this,n),db(ts(o),"showLinkOperation",void 0),db(ts(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Tt(n==null?void 0:n.linkOperationOption),o}return r}(ee);db(hb,"Rules",nte);function wT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(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&&bb(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:wT(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(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=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ite(this,o)}}var qr=function(e){ote(r,e);var t=lte(r);function r(n){rte(this,r);var o;return o=t.call(this,n),Hr(wT(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return r}(_e);Hr(qr,"controlType","location-column"),Hr(qr,"controlName","\u5730\u5740"),Hr(qr,"controlIcon","location-column"),Hr(qr,"controlFieldType",m.ADDRESS),Hr(qr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",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 ate(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 os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function ste(e,t){return t&&(_te(t)==="object"||typeof t=="function")?t:$T(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function _te(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 pte(e){var t=yte();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 ste(this,o)}}var PT=function(e){fte(r,e);var t=pte(r);function r(n){ate(this,r);var o;return o=t.call(this,n),gb($T(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return r}(ye);gb(PT,"controlType","location-column"),gb(PT,"controlFieldType",m.ADDRESS);function is(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function us(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 ST(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function dte(e,t){return t&&(vte(t)==="object"||typeof t=="function")?t:is(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function vte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=hte();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 dte(this,o)}}var bte=function(e){ST(r,e);var t=ET(r);function r(n){RT(this,r);var o;return o=t.call(this,n),us(is(o),"sortFieldCode",{type:"string",message:v.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(pt),wb=function(e){ST(r,e);var t=ET(r);function r(n){RT(this,r);var o;o=t.call(this,n),us(is(o),"fieldCodeList",void 0),us(is(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:dn.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var c;return o.sortFieldCode=(c=n==null?void 0:n.sortFieldCode)!==null&&c!==void 0?c:"",o}return r}(ee);us(wb,"Rules",bte);function Ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mte(e,t,r){return t&&TT(e.prototype,t),r&&TT(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 zo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zo=Reflect.get:zo=function(o,i,u){var c=Ete(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},zo(e,t,r||e)}function An(e){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},An(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&&$b(e,t)}function wte(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function $te(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){Ye(e,o,r[o])})}return e}function Pte(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 Rte(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Pte(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Ste(e,t){return t&&(Tte(t)==="object"||typeof t=="function")?t:Ur(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function Ete(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=An(e),e!==null););return e}function Tte(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 Bte(e){var t=Ite();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 Ste(this,o)}}var Ate=1,dn=function(t){Ote(n,t);var r=Bte(n);function n(o){gte(this,n);var i;i=r.call(this,o),Ye(Ur(i),"excludes",void 0),Ye(Ur(i),"childrenMaxLength",void 0),Ye(Ur(i),"props",void 0),Ye(Ur(i),"children",void 0);var u=wte(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new wb(o==null?void 0:o.props),Et(Ur(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=tt(c),i.childrenMaxLength=a,i}return mte(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=zo(An(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=zo(An(n.prototype),"toSchema",this).call(this);return Rte($te({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(_e);Ye(dn,"controlType","custom-column"),Ye(dn,"controlName","\u81EA\u5B9A\u4E49"),Ye(dn,"controlIcon","custom-column"),Ye(dn,"slots",["column-column-slot"]),Ye(dn,"excludes",[]),Ye(dn,"childrenMaxLength",Ate),Ye(dn,"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},{key:"column-sort-field",visible:!0}]);function ls(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function kte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dte(e,t){return t&&(Nte(t)==="object"||typeof t=="function")?t:ls(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function Nte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jte(e){var t=Fte();return function(){var n=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dte(this,o)}}var Lte=function(e){kte(r,e);var t=jte(r);function r(n){xte(this,r);var o;return o=t.call(this,n),Pb(ls(o),"props",void 0),Pb(ls(o),"children",void 0),o.props=new wb(n==null?void 0:n.props),Et(ls(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ye);Pb(Lte,"controlType","custom-column");function IT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function Vte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function zte(e,t){return t&&(Hte(t)==="object"||typeof t=="function")?t:IT(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function Hte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ute(e){var t=qte();return function(){var n=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zte(this,o)}}var BT=function(e){Vte(r,e);var t=Ute(r);function r(n){Mte(this,r);var o;o=t.call(this,n),Cte(IT(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xn.controlName;var u;return o.datasourceBind=new Jo((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:xn.controlCustomAttributes}),o}return r}(ee);function AT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kte(e,t,r){return t&&xT(e.prototype,t),r&&xT(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 ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ss(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&&Eb(e,t)}function Xte(e,t){return t&&(Jte(t)==="object"||typeof t=="function")?t:AT(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(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 Zte(e){var t=Qte();return function(){var n=ss(e),o;if(t){var i=ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xte(this,o)}}var xn=function(e){Gte(r,e);var t=Zte(r);function r(n){Wte(this,r);var o;return o=t.call(this,n),Wr(AT(o),"props",void 0),o.props=new BT(n==null?void 0:n.props),o}return Kte(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(_e);Wr(xn,"controlType","employee-column"),Wr(xn,"controlName","\u4EBA\u5458"),Wr(xn,"controlIcon","employee-column"),Wr(xn,"controlFieldType",m.EMPLOYEES),Wr(xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);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 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 _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function ene(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tne(e,t){return t&&(nne(t)==="object"||typeof t=="function")?t:kT(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function nne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function one(e){var t=rne();return function(){var n=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tne(this,o)}}var DT=function(e){ene(r,e);var t=one(r);function r(n){Yte(this,r);var o;return o=t.call(this,n),Tb(kT(o),"props",void 0),o.props=new BT(n==null?void 0:n.props),o}return r}(ye);Tb(DT,"controlType","employee-column"),Tb(DT,"controlFieldType",m.EMPLOYEES);function ys(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ine(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(e)}function une(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function cne(e,t){return t&&(lne(t)==="object"||typeof t=="function")?t:ys(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function lne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ane(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fne(e){var t=ane();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cne(this,o)}}var NT=function(e){une(r,e);var t=fne(r);function r(n){ine(this,r);var o;o=t.call(this,n),Bb(ys(o),"lineEllipsis",void 0),Bb(ys(o),"showLinkOperation",void 0),Bb(ys(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Tt(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}(ee);function xb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function _ne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function yne(e,t){return t&&(pne(t)==="object"||typeof t=="function")?t:xb(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function pne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vne(e){var t=dne();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yne(this,o)}}var Kr=function(e){_ne(r,e);var t=vne(r);function r(n){sne(this,r);var o;return o=t.call(this,n),kn(xb(o),"props",void 0),kn(xb(o),"children",void 0),o.props=new NT(n==null?void 0:n.props),o}return r}(_e);kn(Kr,"controlType","approval-status-column"),kn(Kr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),kn(Kr,"controlIcon","approval-status-column"),kn(Kr,"excludes",[]),kn(Kr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function Db(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vs(e)}function bne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function gne(e,t){return t&&(mne(t)==="object"||typeof t=="function")?t:Db(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function mne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function One(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wne(e){var t=One();return function(){var n=vs(e),o;if(t){var i=vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gne(this,o)}}var $ne=function(e){bne(r,e);var t=wne(r);function r(n){hne(this,r);var o;return o=t.call(this,n),Nb(Db(o),"props",void 0),Nb(Db(o),"children",void 0),o.props=new NT(n==null?void 0:n.props),o}return r}(ye);Nb($ne,"controlType","approval-status-column");function Ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FT(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 hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function jT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pne(e,t){return t&&(Rne(t)==="object"||typeof t=="function")?t:Ue(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function Rne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LT(e){var t=Sne();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pne(this,o)}}var Ene=function(e){jT(r,e);var t=LT(r);function r(n){FT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(bn),Lb=function(e){jT(r,e);var t=LT(r);function r(n){FT(this,r);var o;o=t.call(this,n),We(Ue(o),"search",void 0),We(Ue(o),"cancel",void 0),We(Ue(o),"searchType",void 0),We(Ue(o),"labelPosition",void 0),We(Ue(o),"viewType",void 0),We(Ue(o),"isLoading",void 0),We(Ue(o),"custom",void 0),We(Ue(o),"queryTypeMap",void 0),We(Ue(o),"childMinWidth",void 0),We(Ue(o),"colGap",void 0),We(Ue(o),"viewConfig",void 0),We(Ue(o),"simpleConfig",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 Gt((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new Gt((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 _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(d){return new Gt(d)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var b;o.childMinWidth=(b=n==null?void 0:n.childMinWidth)!==null&&b!==void 0?b:230;var O;o.colGap=(O=n==null?void 0:n.colGap)!==null&&O!==void 0?O:24;var g;o.viewConfig=(g=n==null?void 0:n.viewConfig)!==null&&g!==void 0?g:[];var w;return o.simpleConfig=(w=n==null?void 0:n.simpleConfig)!==null&&w!==void 0?w:[],o}return r}(S_);We(Lb,"RuntimeRules",Ene);function MT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function Ine(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function Bne(e,t){return t&&(Ane(t)==="object"||typeof t=="function")?t:MT(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function Ane(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kne(e){var t=xne();return function(){var n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bne(this,o)}}var Cb=function(e){Ine(r,e);var t=kne(r);function r(n){Tne(this,r);var o;return o=t.call(this,n),bs(MT(o),"props",void 0),o.props=new Lb(n==null?void 0:n.props),o}return r}(Q2);bs(Cb,"controlType","simple-search"),bs(Cb,"slotPosition",{default:"search"}),bs(Cb,"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 Vb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dne(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 ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function Nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function Fne(e,t){return t&&(jne(t)==="object"||typeof t=="function")?t:Vb(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function jne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mne(e){var t=Lne();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fne(this,o)}}var Cne=function(e){Nne(r,e);var t=Mne(r);function r(n){Dne(this,r);var o;o=t.call(this,n),zb(Vb(o),"props",void 0),zb(Vb(o),"children",void 0),o.props=new Lb(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}(oD);zb(Cne,"controlType","simple-search");const Vne=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Yne(t==null?void 0:t.events),Kne(n),Gne(n);const o=Wne(n),i=Xne(o,t);let u=hn(Y(i,c=>Une(c,t)));return r?u:u[0]},zne=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Hne=["subtable","grid-table"],qne=["simple-search"];function Une(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":zne.includes(r.type)?r.controlType="base":r.controlType="form",Hne.includes(r.type)&&(r.controlType="list"),qne.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),$e((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),$e((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),$e((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"&&($e(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&($e(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((_,p)=>{const b=new aK.Designer;b.props.caption=$e(_.field_name)?_.field_name.zh:_.field_name;const O=b.toSchema();O.id=_.header_id;const g=r.children[0].children[p].children[0];return g&&(O.children=[g]),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=$e(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(_=>{const p=new qR.Designer;p.props.span=f;const b=p.toSchema();return b.children.push(_),b})}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],_=r==null?void 0:r.children[1],p={};f&&(CT(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),_&&(p.unit=_.props.data_bind,r.props.default_value={unit:_.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={},b={};f&&(CT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=jn(f.props.range_min),r.props.range_max=jn(f.props.range_max),b.amount=jn(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=$e(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),_&&(p.currency=_.props.data_bind,b.currency=_.props.value,r.props.datasourceBind=_.props.datasource_bind,r.props.options=_.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=p,r.props.defaultValue=b,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1];r.props.placeholderStart=$e(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=$e(e.props.caption)?e.props.caption.zh:e.props.caption;const p={};f&&(p.min=f.props.data_bind),_&&(p.max=_.props.data_bind),r.props.dataBind=p,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=$e(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=jn(e.props.range_min),r.props.range_max=jn(e.props.range_max),r.props.defaultValue=jn(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"),ere(r,t==null?void 0:t.control_events),r}function CT(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 Wne(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new kX.Designer().toSchema();return n.children=e,[n]}function Kne(e){e.forEach(t=>{t.children&&Zne(t.children)})}function Gne(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 Xne(e,t){var b,O,g,w,d,$,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;Jne(i),c.props.is_fixed_header=(b=n==null?void 0:n.source_config)==null?void 0:b.is_fixed_header,Qne(c,u);const a=(g=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?g:t==null?void 0:t.dataCode,l=((d=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?d:a)?`${a}_selectMore`:void 0,f=(P=($=n==null?void 0:n.source_config)==null?void 0:$.orders)!=null?P:[],_=new _X.Designer;_.props.datasourceBind=new oe({dataCode:a,svcCode:l,orders:wA(f)}),_.props.isShowSubList=n.is_show_sublist,_.props.triggerType=n.timing_type,_.props.triggerFieldCode=n.ctrl_field_code,(R=n==null?void 0:n.sublist_page)==null||R.sublists.forEach(S=>{S.title=$e(S.title)?S.title.zh:S.title}),_.props.sublistPage=n.sublist_page;const p=_.toSchema();return p.children.push(i,c),[p]}function Jne(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=$e(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 Qne(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:$e(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=$e(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 oe({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 Zne(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 Yne(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 ere(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 tre=(e,t)=>{const r=Array.isArray(e);let o=hn(Y(r?e:[e],i=>nre(i)));return r?o:o[0]};function nre(e,t){return e.type===y.LIST_VIEW&&e.children.find(n=>n.type===y.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new ot({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const rre=(e,t)=>{const r=Array.isArray(e);let o=hn(Y(r?e:[e],i=>ore(i)));return r?o:o[0]};function ore(e,t){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===y.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===y.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const ire=(e,t)=>{const r=Array.isArray(e);let o=hn(Y(r?e:[e],i=>ure(i)));return r?o:o[0]};function ure(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 cre=(e,t)=>{const r=Array.isArray(e);let o=hn(Y(r?e:[e],i=>are(i)));return r?o:o[0]},lre=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function are(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(lre.includes(r.type))return r;const n=new NW.Designer,o=new qR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const fre=(e,t)=>{const r=Array.isArray(e);let o=hn(Y(r?e:[e],i=>sre(i)));return r?o:o[0]};function sre(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===y.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const _re=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>yre(i));return r?o:o[0]};function yre(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const pre=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>dre(i));return r?o:o[0]};function vn(e,t){e.field_code&&(e.field_type=t)}function dre(e,t){var n;const r={[y.TITLE]:m.AUTO_NUMBER,[y.ADDRESS]:m.ADDRESS,[y.ATTACHMENT]:m.FILE,[y.AUTO_NUMBER]:m.AUTO_NUMBER,[y.CHECKBOX]:m.ARRAY,[y.DATE_PICKER]:m.TIMESTAMP,[y.DEPARTMENT]:m.DEPARTMENTS,[y.DEPARTMENT2]:m.DEPARTMENTS,[y.EMPLOYEE]:m.EMPLOYEES,[y.EMPLOYEE2]:m.EMPLOYEES,[y.IMAGE]:m.IMAGE,[y.INPUT]:m.VARCHAR,[y.NUMBER]:m.DECIMAL,[y.RADIO]:m.VARCHAR,[y.RICH_TEXT]:m.TEXT,[y.SCORE]:m.DECIMAL,[y.SELECT]:m.VARCHAR,[y.SELECT_MULTIPLE]:m.ARRAY,[y.SELECT_RELATION]:m.VARCHAR,[y.TEXTAREA]:m.TEXT,[y.TREE]:m.ARRAY,[y.SEARCH_DATE_RANGE]:m.ARRAY,[y.SEARCH_INPUT]:m.VARCHAR,[y.SEARCH_NUMBER_RANGE]:m.ARRAY};return r.hasOwnProperty(e.type)&&vn(e.props.data_bind,r[e.type]),e.type===y.AMOUNT&&(vn(e.props.data_bind.amount,m.DECIMAL),vn(e.props.data_bind.currency,m.VARCHAR)),e.type===y.CALC&&(vn(e.props.data_bind.result,m.DECIMAL),vn(e.props.data_bind.unit,m.VARCHAR)),e.type===y.DATE_RANGE&&(vn(e.props.data_bind.min,m.TIMESTAMP),vn(e.props.data_bind.max,m.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&vn(e.props.data_bind,(n=e.field_type)!=null?n:m.ANY),e}const vre=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>hre(i));return r?o:o[0]};function hre(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===y.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const bre=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>gre(i));return r?o:o[0]};function gre(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[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 mre=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>Ore(i));return r?o:o[0]};function Ore(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const wre=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>$re(i));return r?o:o[0]};function $re(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Pre=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>Rre(i));return r?o:o[0]};function Rre(e,t){return e.type===y.TITLE&&e.props.config.push(kt.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,a,l,f,_,p,b,O,g,w,d,$,P,R,S,M,I,J;if(r.type===y.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const x=new zy.Designer;Object.defineProperty(x,"id",{value:"listPageCheckBtnId"}),x.props.code="view",x.props.icon="iconliulan1",x.props.command="view",x.props.content=(i=r.props)==null?void 0:i.check.content,x.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,x.props.openType=(c=r.props)==null?void 0:c.check.open_type,x.props.formKey=(a=r.props)==null?void 0:a.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(x.toSchema()),(f=r.props)==null||delete f.check}if(((_=r.props)==null?void 0:_.edit)!==void 0){const x=new zy.Designer;Object.defineProperty(x,"id",{value:"listPageEditBtnId"}),x.props.code="edit",x.props.icon="iconbianji1",x.props.command="edit",x.props.content=(p=r.props)==null?void 0:p.edit.content,x.props.priorityProcess=(b=r.props)==null?void 0:b.edit.priority_process,x.props.openType=(O=r.props)==null?void 0:O.edit.open_type,x.props.formKey=(g=r.props)==null?void 0:g.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(x.toSchema()),(d=r.props)==null||delete d.edit}if((($=r.props)==null?void 0:$.delete)!==void 0){const x=new zy.Designer;Object.defineProperty(x,"id",{value:"listPageDeleteBtnId"}),x.props.code="delete",x.props.icon="iconlajitong",x.props.command="delete",x.props.content=(P=r.props)==null?void 0:P.delete.content,x.props.priorityProcess=(R=r.props)==null?void 0:R.delete.priority_process,x.props.openType=(S=r.props)==null?void 0:S.delete.open_type,x.props.formKey=(M=r.props)==null?void 0:M.delete.form_key,x.props.needConfirm=!0,x.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(I=r.props)!=null&&I.delete.is_show&&r.children.push(x.toSchema()),(J=r.props)==null||delete J.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Sre=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>Ere(i,t));return r?o:o[0]};function Ere(e,t){e.type===y.SUBTABLE&&e.props.headers.map(n=>{var i;n.props.meta_auto_width=new Tg,n.props.width_type==="px"&&(n.props.meta_auto_width.pc.width=n.props.width,n.props.meta_auto_width.pc.width_type="px"),delete n.props.width,delete n.props.width_type;const o=(i=n.children)==null?void 0:i[0];o&&o.type===y.CALC&&o.props.calc_on_mounted===void 0&&(o.props.calc_on_mounted=!0)});const r={[y.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[y.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[y.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[y.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[y.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in r&&r[e.type].forEach(n=>{e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),e.type===y.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.limit===void 0&&(n.props.limit=3),n.props.show_type===void 0&&(n.props.show_type="icon")),n.props.flex===void 0&&(n.props.flex=1)}),e.type===y.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Tre(t),e}function Tre(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let r,n,o;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":n=i,o=u;break;case"on_click":r=i;break}}),n&&(n.cases[0].handlers.unshift(qb()),r?(n.cases.forEach(i=>{r.cases[0].handlers.push(i)}),e.listeners[t].splice(o,1)):n.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Ire()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(r=>{r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(qb())}}}function Ire(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[qb()]}}function qb(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Bre=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>Are(i,t));return r?o:o[0]};function Are(e,t){if(e.type===y.LIST_VIEW){if(e.props.is_show_selection===!1){const r=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];e.children.forEach(n=>{n.type===y.GRID_TABLE&&n.children.map(u=>u.type).some(u=>r.includes(u))===!0&&(e.props.is_show_selection=!0,n.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName)}return e.type===y.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===y.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e}const xre=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>kre(i));return r?o:o[0]};function kre(e,t){const r={[y.SUBTABLE]:[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]};return e.type in r&&r[e.type].forEach(n=>{e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1),e}const Dre=(e,t)=>{const r=Array.isArray(e);let o=Y(r?e:[e],i=>Nre(i));return r?o:o[0]};function Nre(e,t){var r,n,o;if(e.type===y.TEXTAREA){const i={rowHeightType:e.props.auto_size===!0?"auto":"fixed",minRows:(r=e.props.line_ellipsis)!=null?r:4,maxRows:(n=e.props.max_rows)!=null?n:20,fiexdRow:(o=e.props.line_ellipsis)!=null?o:4};e.props.row_height_setting=hn(new Eg({pc:i,mobile:i}))}return e}const Fre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=Y(n,u=>{const c=jre(u);return o[u.id]=u,c});return Lre(o,t),r?i:i[0]};function jre(e,t){return e}function Lre(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(r=>{var i,u,c,a,l;const n=t==null?void 0:t.listeners[r],o=e[r];(o==null?void 0:o.type)===y.BUTTON&&(["draft","form_submit","save"].includes((u=(i=o.props)==null?void 0:i.opt_obj)==null?void 0:u.opt_type)&&(n==null||n.map(f=>{var _,p,b,O;(_=f==null?void 0:f.cases)==null||_.map(g=>{var w;(w=g==null?void 0:g.handlers)==null||w.map(d=>{var $,P,R,S;(d==null?void 0:d.method)==="optPage"&&d.params.operation==="refresh"&&(d.params.operation="close"),(d==null?void 0:d.method)==="openPage"&&((S=(R=(P=($=d.params)==null?void 0:$.options)==null?void 0:P.link)==null?void 0:R.fx)==null?void 0:S.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(d.id="optPage",d.method="optPage",d.params={operation:"close"})})}),((O=(b=(p=f==null?void 0:f.cases)==null?void 0:p[0])==null?void 0:b.handlers)==null?void 0:O.length)===1&&f.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((a=(c=o.props)==null?void 0:c.opt_obj)==null?void 0:a.opt_type)&&((l=t.dataModelExtend)==null?void 0:l.process_status_enum_type)==="business"&&(n==null||n.map(f=>{f.cases[0].handlers.map(_=>{(_==null?void 0:_.method)==="optPage"&&_.params.operation==="close"&&(_.params.operation="edit")})})))})}var VT={"v1.0":Vne,"v2.0":tre,"v2.1":rre,"v2.2":ire,"v2.3":cre,"v2.4":fre,"v2.5":_re,"v2.6":pre,"v2.7":vre,"v2.8":bre,"v2.9":mre,"v2.10":wre,"v3.0":Pre,"v3.1":Sre,"v3.2":Bre,"v3.3":xre,"v3.4":Dre,"v3.5":Fre,"v3.6":()=>{}};const zT=(e,t)=>{const r=HT(e),n=HT(t),o=r.pop(),i=n.pop(),u=WT(r,n);return u!==0?u:o&&i?WT(o.split("."),i.split(".")):o||i?o?-1:1:0},Os=(e,t,r)=>{zre(r);const n=zT(e,t);return KT[r].includes(n)},Mre=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,HT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Mre);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},qT=e=>e==="*"||e==="x"||e==="X",UT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Cre=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Vre=(e,t)=>{if(qT(e)||qT(t))return 0;const[r,n]=Cre(UT(e),UT(t));return r>n?1:r<n?-1:0},WT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Vre(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},KT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},GT=Object.keys(KT),zre=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(GT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${GT.join("|")}`)};function Ub(e){return e.replace(/^v/,"")}const Gr=Object.keys(VT).map(e=>Ub(e)).sort(zT),Ho=Gr[Gr.length-1];class Hre{constructor(t,r=Ho){this.schemaVersion=t,this.toVersion=r,Os(r,Ho,">")?Yr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${Ho}`):(!Gr.includes(Ub(r))||!Gr.includes(Ub(t)))&&Yr(`Version Builder: Please give me a valid version number, The valid version is: ${Gr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(Os(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var _;const a=(_=c[u+1])!=null?_:this.toVersion;Wo(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=VT[i];let f=o;if(typeof l=="function"){const p=l(o,r);p&&(f=p)}return f},t);return Wo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return Gr.filter(t=>Os(t,this.schemaVersion,">=")&&Os(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Ho}static get version(){return Ho}}Nn.VersionBuilder=Hre,Object.defineProperty(Nn,"__esModule",{value:!0})});
1
+ (function(xn,Kr){typeof exports=="object"&&typeof module!="undefined"?Kr(exports):typeof define=="function"&&define.amd?define(["exports"],Kr):(xn=typeof globalThis!="undefined"?globalThis:xn||self,Kr(xn.modelDrivenUpgrade={}))})(this,function(xn){"use strict";var Kr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",WT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",KT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",GT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",XT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",QT="{caption}\u5FC5\u586B",JT="\u8BF7\u8F93\u5165\u6807\u9898",ZT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",YT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",e3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",t3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",n3="\u8BF7\u7ED1\u5B9A\u8868\u5355",r3="\u8BF7\u7ED1\u5B9A\u5217\u8868",o3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",i3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",u3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",c3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",l3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",a3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",f3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",s3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",_3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",y3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",p3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",d3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",v3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",h3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",b3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",g3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",m3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",O3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",w3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",$3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",P3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",R3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",S3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",E3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",T3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",B3="\u8BF7\u9009\u62E9\u7701",I3="\u8BF7\u9009\u62E9\u5E02",A3="\u8BF7\u9009\u62E9\u533A",x3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",k3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",D3="\u8BF7\u8F93\u5165\u5217\u5BBD",N3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",F3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",j3="\u8BF7\u9009\u62E9\u63A7\u4EF6",L3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",M3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",C3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",V3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",z3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",H3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",q3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",U3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",W3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",K3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",G3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",X3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Q3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",J3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Z3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Y3="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",eB="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",tB="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nB="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",rB="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",oB="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",iB="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",uB="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",cB="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",lB="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",aB="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",fB="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",sB={isNotNumber:Kr,isNotString:WT,isNotObject:KT,isNotArray:GT,isNotBoolean:XT,runtimeRequired:QT,pleaseEnterCaption:JT,pleaseEnterCaptionTip:ZT,pleaseEnterRowCaption:YT,pleaseEnterPlaceholder:e3,pleaseEnterFieldCode:t3,pleaseEnterForm:n3,pleaseEnterList:r3,pleaseEnterProcess:o3,pleaseEnterLabel:i3,pleaseEnterValue:u3,bizKeyNotBindFiled:c3,pleaseSelectOneField:l3,pleaseEnterNumberRange:a3,pleaseEnterAValueGreaterThanMin:f3,pleaseEnterAValueLessThanMax:s3,numberRangeSetError:_3,stringRangeError:y3,attachmentMaxSize:p3,pleaseEnterTotalScoreSetting:d3,theTotalScoreMustNotBeLessThan1:v3,scoreDefaultValueRange:h3,attachmentLimitError:b3,PleaseReselectTheOptionalQuantity:g3,TheMaximumLengthIsGreaterThanTheMinimumLength:m3,TheMinimumLengthIsGreaterThanTheMaximumLength:O3,PleaseSelectTheCorrectOptionSettings:w3,optionIdIsRepeat:$3,optionIsRequired:P3,pleaseEnterDataCode:R3,pleaseEnterValueFieldCode:S3,pleaseEnterSvcCode:E3,pleaseBindAtLeastOneDisplayValue:T3,pleaseSelectProvince:B3,pleaseSelectCity:I3,pleaseSelectDistrict:A3,limitRowsCannotBeLessThan0:x3,TheNumberOfRowsCannotBeLessThanMinRows:k3,pleaseEnterColumnWidth:D3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:N3,pleaseCompleteAllRulesAndConditions:F3,pleaseSelectControl:j3,pleaseSelectAtLeastOneColumn:L3,pleaseSelectFillBackMode:M3,pleaseSelectDashboard:C3,rootNodeIsRequired:V3,theViewNameCannotBeEmpty:z3,pleaseSelectOcrType:H3,pleaseSelectAtLeastOneFieldToFillIn:q3,pleaseChooseAtLeastOne:U3,pleaseEnterButtonContent:W3,pleaseEnterDataCodeInDataSetting:K3,pleaseEnterValueFieldCodeInDataSetting:G3,pleaseEnterSvcCodeInDataSetting:X3,pleaseBindAtLeastOneDisplayValueInDataSetting:Q3,rootNodeIsRequiredInDataSetting:J3,pleaseEnterMaxHeight:Z3,pleaseEnter:Y3,pleaseEnterWatermark:eB,pleaseEnterFileName:tB,pleaseUploadAtLeastOnePrintTemplate:nB,pleaseAssignBusiness:rB,pleaseAssignExternal:oB,pleaseEnterAliasCode:iB,pleaseSelectDataCode:uB,pleaseSelectSvcCode:cB,pleaseSelectJoinFieldCode:lB,pleaseSelectMainFieldCode:aB,pleaseSelectSortFieldCode:fB},_B="Please enter a number",yB="Please enter a string",pB="Please enter an object",dB="Please enter an array",vB="Please enter a boolean",hB="{caption} Required",bB="Please enter the title",gB="Please enter the bubble prompt",mB="Please enter the row title",OB="Please enter the prompt text",wB="Please bind data items",$B="Please bind the form",PB="Please bind the list",RB="Please bind the process",SB="Please enter the displayed value",EB="Please enter the stored value",TB="The document number is not bound to the data item",BB="Please select at least one display field",IB="Please enter a value greater than or equal to {min} and less than or equal to {max}",AB="Please enter a value greater than or equal to {min}",xB="Please enter a value less than or equal to {max}",kB="The value range is set incorrectly",DB="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",NB="The attachment size must be between 0MB and 1000MB",FB="Please fill in the total score setting",jB="The total score cannot be less than 1",LB="The default value must be between {min} and {max}",MB="The number of attachments uploaded must be between {min} and {max}",CB="Please re-select the optional quantity",VB="The maximum length of the control must be greater than the minimum length",zB="The minimum length of the control must be less than the maximum length",HB="Please select the correct option setting",qB="Option ID cannot be repeated",UB="Please enter at least one option",WB="Please bind the data source",KB="Please bind the stored value",GB="Please bind the service",XB="At least one display value must be bound",QB="Please select a province",JB="Please select a city",ZB="Please select a district",YB="The minimum number of lines to fill in cannot be less than 0",eI="The number of rows cannot be less than {min} rows",tI="Please enter the column width",nI="Please set the logical relationship of all rule conditions",rI="Please complete all rules and conditions",oI="please select control",iI="Please select the dashboard",uI="View name cannot be empty",cI="Please select recognition type",lI="Please select at least one field to fill in",aI="Please select at least one",fI="Please enter the button title",sI="Please bind the business model in the data settings",_I="Please bind storage values in data settings",yI="Please bind the service in the data settings",pI="Please bind at least one display value in the data settings",dI="Please select the root node in the data settings",vI="Please enter the maximum height",hI="The input content cannot be empty",bI="Watermark cannot be empty",gI="File name cannot be empty",mI="Please upload at least one printing template!\uFF01",OI="Please select a specific business department",wI="Please select a specified external organization",$I="Please enter a sub table alias",PI="Please select the associated table to set the business model",RI="Please select the association table to set the binding service",SI="Select associated sub table fields",EI="Please select the associated main table field",TI="Please select the sort field",BI={isNotNumber:_B,isNotString:yB,isNotObject:pB,isNotArray:dB,isNotBoolean:vB,runtimeRequired:hB,pleaseEnterCaption:bB,pleaseEnterCaptionTip:gB,pleaseEnterRowCaption:mB,pleaseEnterPlaceholder:OB,pleaseEnterFieldCode:wB,pleaseEnterForm:$B,pleaseEnterList:PB,pleaseEnterProcess:RB,pleaseEnterLabel:SB,pleaseEnterValue:EB,bizKeyNotBindFiled:TB,pleaseSelectOneField:BB,pleaseEnterNumberRange:IB,pleaseEnterAValueGreaterThanMin:AB,pleaseEnterAValueLessThanMax:xB,numberRangeSetError:kB,stringRangeError:DB,attachmentMaxSize:NB,pleaseEnterTotalScoreSetting:FB,theTotalScoreMustNotBeLessThan1:jB,scoreDefaultValueRange:LB,attachmentLimitError:MB,PleaseReselectTheOptionalQuantity:CB,TheMaximumLengthIsGreaterThanTheMinimumLength:VB,TheMinimumLengthIsGreaterThanTheMaximumLength:zB,PleaseSelectTheCorrectOptionSettings:HB,optionIdIsRepeat:qB,optionIsRequired:UB,pleaseEnterDataCode:WB,pleaseEnterValueFieldCode:KB,pleaseEnterSvcCode:GB,pleaseBindAtLeastOneDisplayValue:XB,pleaseSelectProvince:QB,pleaseSelectCity:JB,pleaseSelectDistrict:ZB,limitRowsCannotBeLessThan0:YB,TheNumberOfRowsCannotBeLessThanMinRows:eI,pleaseEnterColumnWidth:tI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:nI,pleaseCompleteAllRulesAndConditions:rI,pleaseSelectControl:oI,pleaseSelectDashboard:iI,theViewNameCannotBeEmpty:uI,pleaseSelectOcrType:cI,pleaseSelectAtLeastOneFieldToFillIn:lI,pleaseChooseAtLeastOne:aI,pleaseEnterButtonContent:fI,pleaseEnterDataCodeInDataSetting:sI,pleaseEnterValueFieldCodeInDataSetting:_I,pleaseEnterSvcCodeInDataSetting:yI,pleaseBindAtLeastOneDisplayValueInDataSetting:pI,rootNodeIsRequiredInDataSetting:dI,pleaseEnterMaxHeight:vI,pleaseEnter:hI,pleaseEnterWatermark:bI,pleaseEnterFileName:gI,pleaseUploadAtLeastOnePrintTemplate:mI,pleaseAssignBusiness:OI,pleaseAssignExternal:wI,pleaseEnterAliasCode:$I,pleaseSelectDataCode:PI,pleaseSelectSvcCode:RI,pleaseSelectJoinFieldCode:SI,pleaseSelectMainFieldCode:EI,pleaseSelectSortFieldCode:TI},II="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",DI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",NI="{caption}\u5FC5\u9808",FI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",LI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",MI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",VI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",HI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",KI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",GI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",XI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",QI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ZI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",e1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",t1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",n1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",r1="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",o1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",i1="\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",u1="\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",c1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",l1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",a1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",f1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",s1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",y1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",p1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",d1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",v1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",h1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",b1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",g1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",m1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",O1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",w1="please select control",$1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",P1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",R1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",S1="\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",E1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",T1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",B1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",I1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",A1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",x1="\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",k1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",D1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",N1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",F1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",j1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",L1="\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",M1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",C1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",V1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",z1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",H1="\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",q1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",U1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",W1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",K1={isNotNumber:II,isNotString:AI,isNotObject:xI,isNotArray:kI,isNotBoolean:DI,runtimeRequired:NI,pleaseEnterCaption:FI,pleaseEnterCaptionTip:jI,pleaseEnterRowCaption:LI,pleaseEnterPlaceholder:MI,pleaseEnterFieldCode:CI,pleaseEnterForm:VI,pleaseEnterList:zI,pleaseEnterProcess:HI,pleaseEnterLabel:qI,pleaseEnterValue:UI,bizKeyNotBindFiled:WI,pleaseSelectOneField:KI,pleaseEnterNumberRange:GI,pleaseEnterAValueGreaterThanMin:XI,pleaseEnterAValueLessThanMax:QI,numberRangeSetError:JI,stringRangeError:ZI,attachmentMaxSize:YI,pleaseEnterTotalScoreSetting:e1,theTotalScoreMustNotBeLessThan1:t1,scoreDefaultValueRange:n1,attachmentLimitError:r1,PleaseReselectTheOptionalQuantity:o1,TheMaximumLengthIsGreaterThanTheMinimumLength:i1,TheMinimumLengthIsGreaterThanTheMaximumLength:u1,PleaseSelectTheCorrectOptionSettings:c1,optionIdIsRepeat:l1,optionIsRequired:a1,pleaseEnterDataCode:f1,pleaseEnterValueFieldCode:s1,pleaseEnterSvcCode:_1,pleaseBindAtLeastOneDisplayValue:y1,pleaseSelectProvince:p1,pleaseSelectCity:d1,pleaseSelectDistrict:v1,limitRowsCannotBeLessThan0:h1,TheNumberOfRowsCannotBeLessThanMinRows:b1,pleaseEnterColumnWidth:g1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:m1,pleaseCompleteAllRulesAndConditions:O1,pleaseSelectControl:w1,pleaseSelectDashboard:$1,theViewNameCannotBeEmpty:P1,pleaseSelectOcrType:R1,pleaseSelectAtLeastOneFieldToFillIn:S1,pleaseChooseAtLeastOne:E1,pleaseEnterButtonContent:T1,pleaseEnterDataCodeInDataSetting:B1,pleaseEnterValueFieldCodeInDataSetting:I1,pleaseEnterSvcCodeInDataSetting:A1,pleaseBindAtLeastOneDisplayValueInDataSetting:x1,rootNodeIsRequiredInDataSetting:k1,pleaseEnterMaxHeight:D1,pleaseEnter:N1,pleaseEnterWatermark:F1,pleaseEnterFileName:j1,pleaseUploadAtLeastOnePrintTemplate:L1,pleaseAssignBusiness:M1,pleaseAssignExternal:C1,pleaseEnterAliasCode:V1,pleaseSelectDataCode:z1,pleaseSelectSvcCode:H1,pleaseSelectJoinFieldCode:q1,pleaseSelectMainFieldCode:U1,pleaseSelectSortFieldCode:W1},G1={zhCN:sB,enUS:BI,jaJP:K1},Xb;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Xb||(Xb={}));var Qb;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Qb||(Qb={}));var X1="zh-CN",kn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(kn||(kn={}));var Jb;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(Jb||(Jb={}));var y;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",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",e.VUE_PAGE="vue-page"})(y||(y={}));var Zb;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(Zb||(Zb={}));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.LIST="list",e.JSON="json",e.ANY="ANY"})(m||(m={}));var Ht;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Ht||(Ht={}));var Yb={DEFAULT:"default"},eg="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Q1=eg+"0123456789";function Je(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?eg:Q1,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}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 J1(e){if(Array.isArray(e))return gs(e)}function Z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zo(e,t,r){return og()?zo=Reflect.construct:zo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Xr(l,u.prototype),l},zo.apply(null,arguments)}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function ng(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xr(e,t)}function Y1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function eA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nA(e,t){return t&&(rA(t)==="object"||typeof t=="function")?t:Z1(e)}function Xr(e,t){return Xr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xr(e,t)}function rg(e){return J1(e)||eA(e)||oA(e)||tA()}function rA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oA(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 ms(e){var t=typeof Map=="function"?new Map:void 0;return ms=function(n){if(n===null||!Y1(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 zo(n,arguments,Gr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Xr(o,n)},ms(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=Gr(e),o;if(t){var i=Gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nA(this,o)}}var Os=console;function ws(){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=Os).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(rg(o)))}function Ho(){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=Os).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(rg(o)))}function iA(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var $s=function(e){ng(r,e);var t=ig(r);function r(n){tg(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?iA(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(ms(Error)),uA=function(e){ng(r,e);var t=ig(r);function r(n){tg(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}($s);function Qr(e){throw new $s(e)}function ug(e){throw new uA(e)}function cA(e){Os.error(new $s(e))}var lA=Object.prototype.toString;function cg(e,t){return lA.call(e)==="[object "+t+"]"}function aA(e){return cg(e,"String")}function fA(e){return cg(e,"Promise")}var sA=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();fA(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&&!aA(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 _A(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 yA(e,t,r){return t&&lg(e.prototype,t),r&&lg(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}var v=function(){function e(){_A(this,e)}return yA(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]:X1;return new sA({locale:r,messages:G1})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();pA(v,"$i18n",v.resetI18n());function dA(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)){ws("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 vA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ps={exports:{}};(function(e){(function(t){var r=function(d,$,P){if(!l($)||_($)||p($)||b($)||a($))return $;var R,S=0,L=0;if(f($))for(R=[],L=$.length;S<L;S++)R.push(r(d,$[S],P));else{R={};for(var B in $)Object.prototype.hasOwnProperty.call($,B)&&(R[d(B,P)]=r(d,$[B],P))}return R},n=function(d,$){$=$||{};var P=$.separator||"_",R=$.split||/(?=[A-Z])/;return d.split(R).join(P)},o=function(d){return O(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var $=o(d);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(d,$){return n(d,$).toLowerCase()},c=Object.prototype.toString,a=function(d){return typeof d=="function"},l=function(d){return d===Object(d)},f=function(d){return c.call(d)=="[object Array]"},_=function(d){return c.call(d)=="[object Date]"},p=function(d){return c.call(d)=="[object RegExp]"},b=function(d){return c.call(d)=="[object Boolean]"},O=function(d){return d=d-0,d===d},g=function(d,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?d:function(R,S){return P(R,d,S)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(d,$){return r(g(o,$),d)},decamelizeKeys:function(d,$){return r(g(u,$),d,$)},pascalizeKeys:function(d,$){return r(g(i,$),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(vA)})(Ps);var ag={};Object.defineProperty(ag,"__esModule",{value:!0});function Rs(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Rs(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Rs(n)}return t}}var hA=ag.default=Rs;function Ze(e){if(e!==void 0)return typeof e=="object"?hA(e):e}function me(e){return fg(e)&&"zh"in e}function fg(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ss(e){return Array.isArray(e)}function Dn(e){return isNaN(parseFloat(e))?"":Number(e)}function bA(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function X(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=X(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=X(n.footers,t)),t(o)})),r}function gA(e){return Ps.exports.camelizeKeys(e)}function pn(e){return Ps.exports.decamelizeKeys(e)}function Es(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mA(e){if(Array.isArray(e))return Es(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 OA(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 wA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $A(e,t,r){return t&&_g(e.prototype,t),r&&_g(e,r),e}function yg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function RA(){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 Ts(e){return mA(e)||PA(e)||SA(e)||RA()}function SA(e,t){if(!!e){if(typeof e=="string")return Es(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Es(e,t)}}function EA(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}}}var TA=function(){function e(){wA(this,e),yg(this,"_events",new Map),yg(this,"debug",!1)}return $A(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 OA(function(){var c,a,l,f,_,p,b,O,g,w,d,$;return EA(this,function(P){switch(P.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];l=c.slice(),f=!0,_=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=l[Symbol.iterator](),P.label=2;case 2:if(f=(O=b.next()).done)return[3,7];if(g=O.value,!c.includes(g))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&Ho.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Ts(o))),[4,g.apply(null,Ts(o))];case 4:return w=P.sent(),u.debug&&Ho.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ts(o),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return d=P.sent(),cA(String(d)+":"+String(d.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),_=!0,p=$,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(_)throw p}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 BA(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 IA(e,t,r){return t&&pg(e.prototype,t),r&&pg(e,r),e}function AA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xA=[{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"}],kA=function(){function e(){BA(this,e)}return IA(e,null,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}},{key:"getEventsFromControl",value:function(r){var n=[],o=r.eventKeys;n=n.concat(e.events.filter(function(u){return o.includes(u.key)}));var i=r.customEvents.map(function(u){var c=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(c=u.namespace+":"+u.key),{key:c,code:u.key,name:u.name}});return n=n.concat(i),n}}]),e}();AA(kA,"events",xA);function Bs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function DA(e){if(Array.isArray(e))return Bs(e)}function NA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function FA(){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 dg(e){return DA(e)||NA(e)||jA(e)||FA()}function jA(e,t){if(!!e){if(typeof e=="string")return Bs(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 Bs(e,t)}}function Is(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function vg(e,t,r){r==="Designer"&&(e.parent=t,Is(e,"parent"))}function LA(e,t,r){e.forEach(function(n){vg(n,t,r)})}var hg=Symbol("targetKey");function bg(e){var t;return(t=e[hg])!==null&&t!==void 0?t:e}function gg(e,t,r){return LA(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var l;return i===hg?o:(l=Reflect).get.apply(l,[o,i].concat(dg(c)))},set:function(o,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),l=3;l<c;l++)a[l-3]=arguments[l];var f;if(Ss(e)&&i==="length"&&u===e.length)return!0;var _=(f=Reflect).set.apply(f,[o,i,u].concat(dg(a)));return fg(u)&&vg(u,t,r),_}})}function Pt(e,t,r,n,o){var i=n!=null?n:e,u=gg(bg(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=gg(bg(a),i,o)},enumerable:!0})}function MA(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 CA(e,t,r){return t&&mg(e.prototype,t),r&&mg(e,r),e}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}var Og=[],qo=function(){function e(t){MA(this,e),qt(this,"registeredControlTypes",new Set),qt(this,"controlConfigMap",new Map),qt(this,"_controls",[]),qt(this,"_type",void 0),this._type=t,this._initControls(t)}return CA(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&&(ws("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===kn.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===kn.FORM}},{key:"isListControl",value:function(r){return r.controlType===kn.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===kn.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 _;return f&&(_=o.createControl(f,n)),_}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var a=n(c);a&&(c=a)}var l;return u.mode==="Runtime"?(l=c,l.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new u(c),l}else Qr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),Is(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,c=n.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var f=l.findIndex(function(b){return b==r}),_=c[a]||[],p;return _.length!==l.length?p=_[0]:p=_[f],p}}}}),Is(r,"parent"))}},{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]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Qr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===o.controlType});return c>-1&&(ws("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();qt(qo,"staticControlsRuntimeRules",new Map),qt(qo,"staticControls",Og),qt(qo,"staticRegisteredTypes",new Set(Og.map(function(e){return e.Designer.controlType}))),qt(qo,"staticRegisteredConfigs",new Map);function C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(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&&As(e,t)}function VA(e,t){return t&&(zA(t)==="object"||typeof t=="function")?t:C(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}function zA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function et(e){var t=HA();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 VA(this,o)}}var tt=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(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},wg=function e(t){E(this,e),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},$g=function e(t){E(this,e),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var r;this.rowHeightType=(r=t==null?void 0:t.rowHeightType)!==null&&r!==void 0?r:"fixed";var n;this.minRows=(n=t==null?void 0:t.minRows)!==null&&n!==void 0?n:4;var o;this.maxRows=(o=t==null?void 0:t.maxRows)!==null&&o!==void 0?o:20;var i;this.fiexdRow=(i=t==null?void 0:t.fiexdRow)!==null&&i!==void 0?i:4},Pg=function e(t){E(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new $g(t==null?void 0:t.pc),this.mobile=new $g(t==null?void 0:t.mobile)},xs=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o;o=t.call(this,n),h(C(o),"width",void 0),h(C(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}(wg),Rg=function e(t){E(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new xs(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new xs(t==null?void 0:t.mobile):new xs({width:130,minWidth:180})},qA=function e(t){E(this,e),h(this,"type",void 0),h(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Nn=function e(t){E(this,e),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},UA=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o;o=t.call(this,n),h(C(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Nn),Sg=function e(t){E(this,e),h(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},ks=function e(t){E(this,e);var r;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Sg(u)}))!==null&&i!==void 0?i:[]},WA=function e(t){E(this,e),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:m.VARCHAR},KA=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o;o=t.call(this,n),h(C(o),"title",void 0),h(C(o),"svcCode",void 0),h(C(o),"isOpenFilter",void 0),h(C(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}(Nn),GA=function e(t){E(this,e);var r,n;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new Nn(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 WA(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 KA(u)}))!==null&&i!==void 0?i:[]},XA=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},Jr=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Ds=function e(t){var r=this;E(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Je();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,_=new Wo(c);(f=r.children)===null||f===void 0||f.push(_)}}))},Wo=function e(t){E(this,e),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Je();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 XA(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Jr(t==null?void 0:t.rightVariableBo)},QA=function e(t){E(this,e),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new ne(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Te=function e(t){E(this,e),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Ns=function e(t){E(this,e),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},JA=function e(t){E(this,e),h(this,"columnName",void 0),h(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};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 Ds(c):new Wo(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 Ds(c):new Wo(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 JA(c)}))!==null&&u!==void 0?u:[]}var ne=function e(t){var r=this;E(this,e),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];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 _;(_=r.displayBoList)===null||_===void 0||_.push(new Ns(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)},js=function e(t){E(this,e),h(this,"dataCode",void 0),h(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:[]},Rt=function e(t){E(this,e),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(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,this.formType=t==null?void 0:t.formType;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 _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},Eg=function e(t){E(this,e);var r;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new Ns(u)}))!==null&&i!==void 0?i:[]},Ko=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o,i;o=t.call(this,n),h(C(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 Eg(c)}))!==null&&u!==void 0?u:[],o}return r}(ne),ZA=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o,i;o=t.call(this,n),h(C(o),"attributes",void 0),h(C(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 Eg(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}(ne),Tg=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o;o=t.call(this,n),h(C(o),"rootNode",void 0),h(C(o),"filterCode",void 0),o.rootNode=new Jr(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}(Ko),Bg=function e(t){E(this,e);var r;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Te(u)}))!==null&&i!==void 0?i:[]},Ig=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o;return o=t.call(this,n),h(C(o),"filters",void 0),h(C(o),"viewFilters",void 0),h(C(o),"orders",void 0),Fs.call(C(o),n),o}return r}(Bg),Ag=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o;o=t.call(this,n),h(C(o),"mode",void 0),h(C(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}(Bg),xg=function e(t){E(this,e),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},YA=function e(t){E(this,e),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Je(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 St(e){var t;return(t=e==null?void 0:e.map(function(r){return new YA(r)}))!==null&&t!==void 0?t:[]}var Ls=function e(){E(this,e)},ex=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o;return o=t.call(this),h(C(o),"amount",void 0),h(C(o),"currency",void 0),o.amount=new tt(n==null?void 0:n.amount),o.currency=new tt(n==null?void 0:n.currency),o}return r}(Ls),tx=function e(t){E(this,e),h(this,"amount",void 0),h(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},nx=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o;return o=t.call(this),h(C(o),"min",void 0),h(C(o),"max",void 0),o.min=new tt(n==null?void 0:n.min),o.max=new tt(n==null?void 0:n.max),o}return r}(Ls),rx=function e(t){E(this,e),h(this,"min",void 0),h(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},ox=function e(t){E(this,e),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var 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:""},ix=function(e){Ye(r,e);var t=et(r);function r(n){E(this,r);var o;return o=t.call(this),h(C(o),"result",void 0),h(C(o),"unit",void 0),o.result=new tt(n==null?void 0:n.result),o.unit=new tt(n==null?void 0:n.unit),o}return r}(Ls),ux=function e(t){E(this,e),h(this,"result",void 0),h(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""},Ms;(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"})(Ms||(Ms={}));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 Cs;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Cs||(Cs={}));var Ut=function e(t){E(this,e),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var 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},cx=function e(t){E(this,e);var r;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Je(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 Sg(u)}))!==null&&i!==void 0?i:[],Fs.call(this,t)},lx=function e(t){E(this,e),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},ax=function e(t){E(this,e),h(this,"optCode",void 0),h(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:""},fx=function e(t){E(this,e);var r;h(this,"id",void 0),h(this,"name",void 0),h(this,"color",void 0),h(this,"filters",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Je();var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new Ds(c):new Wo(c)}))!==null&&u!==void 0?u:[]},sx=function e(t){E(this,e),h(this,"id",void 0),h(this,"script",void 0),h(this,"color",void 0);var r;this.id=(r=t.id)!==null&&r!==void 0?r:Je();var n;this.script=(n=t.script)!==null&&n!==void 0?n:"";var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme"};function _x(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 Go(e,t,r){return kg()?Go=Reflect.construct:Go=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Yr(l,u.prototype),l},Go.apply(null,arguments)}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 Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(e)}function yx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yr(e,t)}function px(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dx(e,t){return t&&(vx(t)==="object"||typeof t=="function")?t:_x(e)}function Yr(e,t){return Yr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yr(e,t)}function vx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zs(e){var t=typeof Map=="function"?new Map:void 0;return zs=function(n){if(n===null||!px(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Go(n,arguments,Zr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Yr(o,n)},zs(e)}function kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hx(e){var t=kg();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 dx(this,o)}}var Y=function e(t){Vs(this,e),Wt(this,"isHide",{type:"boolean"})},dn=function(e){yx(r,e);var t=hx(r);function r(n){return Vs(this,r),t.call(this)}return r}(zs(Array)),ee=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Vs(this,e),Wt(this,"isHide",void 0),Wt(this,"className",void 0),Wt(this,"style",void 0),Wt(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new lx(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Wt(ee,"mode",void 0),Wt(ee,"Rules",Y),Wt(ee,"RuntimeRules",dn);function ft(){return ft=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},ft.apply(this,arguments)}function bx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(e)}function Xo(e,t){return Xo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xo(e,t)}function gx(){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 Qo(e,t,r){return gx()?Qo=Reflect.construct:Qo=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Xo(l,u.prototype),l},Qo.apply(null,arguments)}function mx(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function qs(e){var t=typeof Map=="function"?new Map:void 0;return qs=function(n){if(n===null||!mx(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 Qo(n,arguments,Hs(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Xo(o,n)},qs(e)}var Ox=/%[sdj%]/g,Dg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Dg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Us(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(Ox,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 wx(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function te(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||wx(t)&&typeof e=="string"&&!e)}function $x(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 Ng(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 Px(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Fg=function(e){bx(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}(qs(Error));function Rx(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var b=function(w){return n(w),w.length?p(new Fg(w,Us(w))):_()},O=Px(e);Ng(O,r,b)});return o.catch(function(_){return _}),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(_,p){var b=function(g){if(l.push.apply(l,g),a++,a===c)return n(l),l.length?p(new Fg(l,Us(l))):_()};u.length||(n(l),_()),u.forEach(function(O){var g=e[O];i.indexOf(O)!==-1?Ng(g,r,b):$x(g,r,b)})});return f.catch(function(_){return _}),f}function jg(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Lg(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=ft(ft({},e[r]),n):e[r]=n}}return e}function Mg(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||te(t,i||e.type))&&n.push(ke(o.messages.required,e.fullField))}function Sx(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ke(o.messages.whitespace,e.fullField))}var Ws={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},eo={integer:function(t){return eo.number(t)&&parseInt(t,10)===t},float:function(t){return eo.number(t)&&!eo.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"&&!eo.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ws.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ws.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ws.hex)}};function Ex(e,t,r,n,o){if(e.required&&t===void 0){Mg(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?eo[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 Tx(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,_=typeof t=="number",p=typeof t=="string",b=Array.isArray(t);if(_?f="number":p?f="string":b&&(f="array"),!f)return!1;b&&(l=t.length),p&&(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 Fn="enum";function Bx(e,t,r,n,o){e[Fn]=Array.isArray(e[Fn])?e[Fn]:[],e[Fn].indexOf(t)===-1&&n.push(ke(o.messages[Fn],e.fullField,e[Fn].join(", ")))}function Ix(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 k={required:Mg,whitespace:Sx,type:Ex,range:Tx,enum:Bx,pattern:Ix};function Ax(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"string")&&!e.required)return r();k.required(e,t,n,i,o,"string"),te(t,"string")||(k.type(e,t,n,i,o),k.range(e,t,n,i,o),k.pattern(e,t,n,i,o),e.whitespace===!0&&k.whitespace(e,t,n,i,o))}r(i)}function xx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function kx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function Dx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}function Nx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),te(t)||k.type(e,t,n,i,o)}r(i)}function Fx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function jx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function Lx(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();k.required(e,t,n,i,o,"array"),t!=null&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function Mx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k.type(e,t,n,i,o)}r(i)}var Cx="enum";function Vx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o),t!==void 0&&k[Cx](e,t,n,i,o)}r(i)}function zx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"string")&&!e.required)return r();k.required(e,t,n,i,o),te(t,"string")||k.pattern(e,t,n,i,o)}r(i)}function Hx(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t,"date")&&!e.required)return r();if(k.required(e,t,n,i,o),!te(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,n,i,o),c&&k.range(e,c.getTime(),n,i,o)}}r(i)}function qx(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,n,i,o,u),r(i)}function Ks(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(te(t,i)&&!e.required)return r();k.required(e,t,n,u,o,i),te(t,i)||k.type(e,t,n,u,o)}r(u)}function Ux(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(te(t)&&!e.required)return r();k.required(e,t,n,i,o)}r(i)}var to={string:Ax,method:xx,number:kx,boolean:Dx,regexp:Nx,integer:Fx,float:jx,array:Lx,object:Mx,enum:Vx,pattern:zx,date:Hx,url:Ks,hex:Ks,email:Ks,required:qx,any:Ux};function Gs(){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 Xs=Gs();function Kt(e){this.rules=null,this._messages=Xs,this.define(e)}Kt.prototype={messages:function(t){return t&&(this._messages=Lg(Gs(),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(g){var w,d=[],$={};function P(R){if(Array.isArray(R)){var S;d=(S=d).concat.apply(S,R)}else d.push(R)}for(w=0;w<g.length;w++)P(g[w]);d.length?$=Us(d):(d=null,$=null),c(d,$)}if(u.messages){var l=this.messages();l===Xs&&(l=Gs()),Lg(l,u.messages),u.messages=l}else u.messages=this.messages();var f,_,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(g){f=o.rules[g],_=i[g],f.forEach(function(w){var d=w;typeof d.transform=="function"&&(i===t&&(i=ft({},i)),_=i[g]=d.transform(_)),typeof d=="function"?d={validator:d}:d=ft({},d),d.validator=o.getValidationMethod(d),d.field=g,d.fullField=d.fullField||g,d.type=o.getType(d),d.validator&&(p[g]=p[g]||[],p[g].push({rule:d,value:_,source:i,field:g}))})});var O={};return Rx(p,u,function(g,w){var d=g.rule,$=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");$=$&&(d.required||!d.required&&g.value),d.field=g.field;function P(L,B){return ft(ft({},B),{},{fullField:d.fullField+"."+L})}function R(L){L===void 0&&(L=[]);var B=L;if(Array.isArray(B)||(B=[B]),!u.suppressWarning&&B.length&&Kt.warning("async-validator:",B),B.length&&d.message!==void 0&&(B=[].concat(d.message)),B=B.map(jg(d)),u.first&&B.length)return O[d.field]=1,w(B);if(!$)w(B);else{if(d.required&&!g.value)return d.message!==void 0?B=[].concat(d.message).map(jg(d)):u.error&&(B=[u.error(d,ke(u.messages.required,d.field))]),w(B);var G={};if(d.defaultField)for(var x in g.value)g.value.hasOwnProperty(x)&&(G[x]=d.defaultField);G=ft(ft({},G),g.rule.fields);for(var wt in G)if(G.hasOwnProperty(wt)){var Vo=Array.isArray(G[wt])?G[wt]:[G[wt]];G[wt]=Vo.map(P.bind(null,wt))}var Wr=new Kt(G);Wr.messages(u.messages),g.rule.options&&(g.rule.options.messages=u.messages,g.rule.options.error=u.error),Wr.validate(g.value,g.rule.options||u,function(An){var $t=[];B&&B.length&&$t.push.apply($t,B),An&&An.length&&$t.push.apply($t,An),w($t.length?$t:null)})}}var S;d.asyncValidator?S=d.asyncValidator(d,g.value,R,g.source,u):d.validator&&(S=d.validator(d,g.value,R,g.source,u),S===!0?R():S===!1?R(d.message||d.field+" fails"):S instanceof Array?R(S):S instanceof Error&&R(S.message)),S&&S.then&&S.then(function(){return R()},function(L){return R(L)})},function(g){a(g)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!to.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"?to.required:to[this.getType(t)]||!1}},Kt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");to[t]=r},Kt.warning=Dg,Kt.messages=Xs,Kt.validators=to;var Wx={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 Kx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Kt(e);return r.messages(Object.assign(Wx,t)),r}var Gx=new TA;function Qs(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Xx(e){if(Array.isArray(e))return e}function Qx(e){if(Array.isArray(e))return Qs(e)}function Cg(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 Vg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Cg(i,n,o,u,c,"next",a)}function c(a){Cg(i,n,o,u,c,"throw",a)}u(void 0)})}}function Jx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zx(e,t,r){return t&&zg(e.prototype,t),r&&zg(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 Hg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function qg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yx(){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 ek(){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 Ug(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){j(e,o,r[o])})}return e}function tk(e){return Xx(e)||qg(e)||Wg(e)||Yx()}function Js(e){return Qx(e)||qg(e)||Wg(e)||ek()}function Wg(e,t){if(!!e){if(typeof e=="string")return Qs(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 Qs(e,t)}}function Kg(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}}}var M=function(){function t(r){var n=this;Jx(this,t),j(this,"id",void 0),j(this,"name",void 0),j(this,"icon",void 0),j(this,"type",void 0),j(this,"controlType",void 0),j(this,"props",void 0),j(this,"setting",[]),j(this,"fieldType",void 0),j(this,"eventKeys",[]),j(this,"customEvents",[]),j(this,"parent",null),j(this,"slots",void 0),j(this,"slotPosition",void 0),j(this,"updateSetting",Xg),j(this,"removeSetting",Gg),this._callControlHooks("preInstance",r);var o=Hg(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,a=o.controlFieldType,l=o.controlEventKeys,f=o.controlCustomEvents,_=o.name,p=o.setting,b=o.slots,O=o.slotPosition;i&&u&&c||ug("The ".concat(_," controlName,controlIcon,controlType is not define"));var g;this.id=(g=r==null?void 0:r.id)!==null&&g!==void 0?g:Je(10),this.name=i,this.icon=u;var w;this.type=(w=r==null?void 0:r.type)!==null&&w!==void 0?w:c,this.props=new ee(r==null?void 0:r.props,(Hg(this,t)?this.constructor:void 0).controlName);var d;this.controlType=(d=r==null?void 0:r.controlType)!==null&&d!==void 0?d:"base",this.setting=Ze(p);var $;this.fieldType=($=r==null?void 0:r.fieldType)!==null&&$!==void 0?$:a,this.eventKeys=Ze(l),this.customEvents=Ze(f),this.slots=Ze(b),this.slotPosition=Ze(O),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return Zx(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=tk(o),a=c[0],l=c.slice(1);return(u=Gx).emit.apply(u,[a,this].concat(Js(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),dA(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return Vg(function(){var o,i,u;return Kg(this,function(c){switch(c.label){case 0:return o=Ug({},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 Vg(function(){var u,c,a,l;return Kg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:Ug({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),a=Kx(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,_=c.caption,p=c.required,b=c.maxLength,O=c.options,g=c.encrypted,w=c.encryptedMode;if(!(!o&&!a&&!l)){var d={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(a&&(d.dataBind=a),f){case"datasource":case void 0:l&&(d.datasourceBind=l);break;case"custom":d.props.options=O;break}return p!==void 0&&(d.required=p),b!==void 0&&(d.maxLength=b),g!==void 0&&(d.encrypted=g),w!==void 0&&(d.encryptedMode=w),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ze(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,Js(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();j(M,"mode","Designer"),j(M,"slots",void 0),j(M,"slotPosition",void 0),j(M,"controlName","\u63A7\u4EF6"),j(M,"controlIcon","icon"),j(M,"controlType","control"),j(M,"controlFieldType",void 0),j(M,"controlEventKeys",[]),j(M,"controlCustomEvents",[]),j(M,"setting",[]),j(M,"__is_control__",!0),j(M,"removeSettingItem",Gg),j(M,"updateSettingItem",Xg);function Gg(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 Xg(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,Js(t.showItems))}}}})}function nk(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 rk(e,t,r){return t&&Qg(e.prototype,t),r&&Qg(e,r),e}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ok(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Et=function(){function t(r){nk(this,t),De(this,"id",void 0),De(this,"type",void 0),De(this,"controlType",void 0),De(this,"props",void 0),De(this,"fieldType",void 0),De(this,"customEvents",[]),De(this,"pageStatus",void 0),De(this,"parent",null);var n=ok(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||ug("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:Je(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new ee(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 _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:Cs.UNKNOWN}return rk(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}();De(Et,"mode","Runtime"),De(Et,"controlType","control"),De(Et,"controlFieldType",void 0),De(Et,"__is_control__",!0),De(Et,"controlCustomEvents",[]);function Zs(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:v.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:v.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=bA(i);i.length!==u.length?o(v.getMessage("optionIdIsRepeat")):o()},message:v.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(v.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:v.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}])}function Jo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:v.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:v.getMessage("isNotString")},key:{type:"string",required:!0,message:v.getMessage("isNotString")},value:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:v.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:v.getMessage("isNotBoolean")}}}}]}}]}function ik(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function ei(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uk(e,t){return t&&(ck(t)==="object"||typeof t=="function")?t:q(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}function ck(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 ti(e){var t=lk();return function(){var n=Yo(e),o;if(t){var i=Yo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uk(this,o)}}var ie=function(e){ei(r,e);var t=ti(r);function r(n){Zo(this,r);var o;o=t.call(this,n),U(q(o),"dataBind",{}),U(q(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),U(q(o),"isHideCaption",{type:"boolean"}),U(q(o),"labelPosition",{type:"enum",enum:["top","left"]}),U(q(o),"defaultState",{type:"enum",enum:["default","readonly"]}),U(q(o),"required",{type:"boolean"}),U(q(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}};if(ik(n.dataBind))o.dataBind={type:"object",required:!0,fields:Ze(i),message:v.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:v.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Ze(i),message:v.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),H=function(e){ei(r,e);var t=ti(r);function r(n){Zo(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:v.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(dn),D=function(e){ei(r,e);var t=ti(r);function r(n){Zo(this,r);var o;o=t.call(this,n),U(q(o),"caption",void 0),U(q(o),"isHideCaption",void 0),U(q(o),"isShowCaptionTip",void 0),U(q(o),"captionTip",void 0),U(q(o),"labelPosition",void 0),U(q(o),"dataBind",void 0),U(q(o),"defaultValue",void 0),U(q(o),"placeholder",void 0),U(q(o),"defaultState",void 0),U(q(o),"required",void 0),U(q(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 _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new tt(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}(ee);U(D,"Rules",ie),U(D,"RuntimeRules",H);var jn=function(e){ei(r,e);var t=ti(r);function r(n){Zo(this,r);var o;return o=t.call(this,n),U(q(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")}),U(q(o),"options",[{type:"array",message:v.getMessage("isNotArray")}]),U(q(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),Zs.call(q(o),n),o}return r}(ie);function e_(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 ni(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function fk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t_(e,t)}function sk(e,t){return t&&(_k(t)==="object"||typeof t=="function")?t:e_(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t_(e,t)}function _k(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pk(e){var t=yk();return function(){var n=ri(e),o;if(t){var i=ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sk(this,o)}}var N=function(e){fk(r,e);var t=pk(r);function r(n){ak(this,r);var o;return o=t.call(this,n),ni(e_(o),"controlType","form"),ni(e_(o),"props",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(M);ni(N,"controlEventKeys",["on_change","on_focus","on_blur"]),ni(N,"controlCustomAttributes",void 0);function oi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ii(e){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ii(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&&r_(e,t)}function hk(e,t){return t&&(bk(t)==="object"||typeof t=="function")?t:oi(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}function bk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mk(e){var t=gk();return function(){var n=ii(e),o;if(t){var i=ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hk(this,o)}}var F=function(e){vk(r,e);var t=mk(r);function r(n){dk(this,r);var o;return o=t.call(this,n),n_(oi(o),"controlType","form"),n_(oi(o),"props",void 0),n_(oi(o),"value",void 0),o.props=new D(n==null?void 0:n.props),o}return r}(Et);function Ok(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 ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(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&&o_(e,t)}function Pk(e,t){return t&&(Rk(t)==="object"||typeof t=="function")?t:Ok(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}function Rk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ek(e){var t=Sk();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 Pk(this,o)}}var ue=function(e){$k(r,e);var t=Ek(r);function r(n){return wk(this,r),t.call(this,n)}return r}(ee);function i_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Tk(e){if(Array.isArray(e))return i_(e)}function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jg(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function Bk(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Jg(i,n,o,u,c,"next",a)}function c(a){Jg(i,n,o,u,c,"throw",a)}u(void 0)})}}function Ik(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ak(e,t,r){return t&&Zg(e.prototype,t),r&&Zg(e,r),e}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 Ln(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ln=Reflect.get:Ln=function(o,i,u){var c=Ck(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Ln(e,t,r||e)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xt(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&&u_(e,t)}function kk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Dk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Nk(){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 Fk(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Gt(e,o,r[o])})}return e}function jk(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 Lk(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jk(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Mk(e,t){return t&&(Vk(t)==="object"||typeof t=="function")?t:vn(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}function Ck(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}function Yg(e){return Tk(e)||Dk(e)||zk(e)||Nk()}function Vk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zk(e,t){if(!!e){if(typeof e=="string")return i_(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 i_(e,t)}}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=Xt(e),o;if(t){var i=Xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mk(this,o)}}function Uk(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}}}var Wk=1e4,ce=function(t){xk(n,t);var r=qk(n);function n(o){Ik(this,n);var i;i=r.call(this,o),Gt(vn(i),"controlType","layout"),Gt(vn(i),"children",void 0),Gt(vn(i),"excludes",void 0),Gt(vn(i),"childrenMaxLength",void 0),Gt(vn(i),"props",void 0);var u=kk(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new ue(o==null?void 0:o.props),Pt(vn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Ze(c),i.childrenMaxLength=a,i}return Ak(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 Ln(Xt(n.prototype),"validate",c)};return Bk(function(){return Uk(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(_){return _.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=Ln(Xt(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 _=f.filter(function(p){return!!p});return Yg(a).concat(Yg(_))}return f&&a.push(f),a},c)}},{key:"toSchema",value:function(){var i=Ln(Xt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return Lk(Fk({},i),{children:u})}}]),n}(M);Gt(ce,"excludes",!1),Gt(ce,"childrenMaxLength",Wk);function no(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function 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&&l_(e,t)}function Xk(e,t){return t&&(Qk(t)==="object"||typeof t=="function")?t:no(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}function Qk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zk(e){var t=Jk();return function(){var n=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xk(this,o)}}var hn=function(e){Gk(r,e);var t=Zk(r);function r(n){Kk(this,r);var o;return o=t.call(this,n),c_(no(o),"controlType","layout"),c_(no(o),"children",void 0),c_(no(o),"props",void 0),o.props=new ue(n==null?void 0:n.props),Pt(no(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Et);function Tt(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 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 li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function e2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t2(e,t){return t&&(n2(t)==="object"||typeof t=="function")?t:Tt(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}function n2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o2(e){var t=r2();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 t2(this,o)}}var f_=function(e){e2(r,e);var t=o2(r);function r(n,o,i){Yk(this,r);var u;u=t.call(this,o),Mn(Tt(u),"headers",void 0),Mn(Tt(u),"footers",void 0),Mn(Tt(u),"pageIndex",void 0),Mn(Tt(u),"pageSize",void 0),Mn(Tt(u),"pageSizeOptions",void 0),Mn(Tt(u),"totalCount",void 0),Pt(Tt(u),"headers",o==null?void 0:o.headers,n,i),Pt(Tt(u),"footers",o==null?void 0:o.footers,n);var c;u.pageIndex=(c=o==null?void 0:o.pageIndex)!==null&&c!==void 0?c:1;var a;u.pageSize=(a=o==null?void 0:o.pageSize)!==null&&a!==void 0?a:20;var l;u.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[20];var f;return u.totalCount=(f=o==null?void 0:o.totalCount)!==null&&f!==void 0?f:0,u}return r}(ee);function s_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i2(e){if(Array.isArray(e))return s_(e)}function ai(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),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function u2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){em(i,n,o,u,c,"next",a)}function c(a){em(i,n,o,u,c,"throw",a)}u(void 0)})}}function c2(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 l2(e,t,r){return t&&tm(e.prototype,t),r&&tm(e,r),e}function fi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cn=Reflect.get:Cn=function(o,i,u){var c=p2(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Cn(e,t,r||e)}function Qt(e){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qt(e)}function a2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function f2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function s2(){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 nm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){fi(e,o,r[o])})}return e}function _2(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 rm(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_2(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function y2(e,t){return t&&(d2(t)==="object"||typeof t=="function")?t:ai(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}function p2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qt(e),e!==null););return e}function om(e){return i2(e)||f2(e)||v2(e)||s2()}function d2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v2(e,t){if(!!e){if(typeof e=="string")return s_(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 s_(e,t)}}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 b2(e){var t=h2();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 y2(this,o)}}function g2(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}}}var y_=function(e){a2(r,e);var t=b2(r);function r(n){c2(this,r);var o;return o=t.call(this,n),fi(ai(o),"controlType","list"),fi(ai(o),"props",void 0),o.props=new f_(ai(o),n==null?void 0:n.props,"Designer"),o}return l2(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Cn(Qt(r.prototype),"validate",u)};return u2(function(){return g2(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=Cn(Qt(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(_){return!!_});return om(c).concat(om(f))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o,i,u=Cn(Qt(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(l){return l.toSchema()}),a=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(l){if(l)return l.toSchema()});return rm(nm({},u),{props:rm(nm({},this.props),{headers:c,footers:a})})}}]),r}(M);fi(y_,"controlFieldType",m.LIST);function le(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 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 si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(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 m2(e,t){return t&&(O2(t)==="object"||typeof t=="function")?t:le(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}function O2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h_(e){var t=w2();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 m2(this,o)}}var st=function(e){d_(r,e);var t=h_(r);function r(n){p_(this,r);var o;return o=t.call(this,n),ve(le(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),ve(le(o),"width",{type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Y),Z=function(e){d_(r,e);var t=h_(r);function r(n){p_(this,r);var o;o=t.call(this,n),ve(le(o),"widthType",void 0),ve(le(o),"width",void 0),ve(le(o),"caption",void 0),ve(le(o),"dataBind",void 0),ve(le(o),"autoWidth",void 0),ve(le(o),"fixed",void 0),ve(le(o),"sort",void 0),ve(le(o),"align",void 0),ve(le(o),"colSpan",void 0),ve(le(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 wg(n==null?void 0:n.autoWidth),o.dataBind=new tt(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}(ee);ve(Z,"Rules",st);var im=function(e){d_(r,e);var t=h_(r);function r(n){p_(this,r);var o;return o=t.call(this,n),ve(le(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:v.getMessage("PleaseSelectTheCorrectOptionSettings")}),ve(le(o),"options",[{type:"array",message:v.getMessage("isNotArray")}]),ve(le(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),Zs.call(le(o),n),o}return r}(st);function b_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function um(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 P2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function R2(e,t){return t&&(S2(t)==="object"||typeof t=="function")?t:b_(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}function S2(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=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R2(this,o)}}var ae=function(e){P2(r,e);var t=T2(r);function r(n){$2(this,r);var o;return o=t.call(this,n),um(b_(o),"controlType","column"),um(b_(o),"props",void 0),o.props=new Z(n==null?void 0:n.props),o}return r}(M);function m_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function I2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O_(e,t)}function A2(e,t){return t&&(x2(t)==="object"||typeof t=="function")?t:m_(e)}function O_(e,t){return O_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O_(e,t)}function x2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D2(e){var t=k2();return function(){var n=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A2(this,o)}}var fe=function(e){I2(r,e);var t=D2(r);function r(n){B2(this,r);var o;return o=t.call(this,n),cm(m_(o),"controlType","column"),cm(m_(o),"props",void 0),o.props=new Z(n==null?void 0:n.props),o}return r}(Et);function lm(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 F2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function j2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function L2(e,t){return t&&(M2(t)==="object"||typeof t=="function")?t:lm(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function M2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V2(e){var t=C2();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 L2(this,o)}}var $_=function(e){j2(r,e);var t=V2(r);function r(n){N2(this,r);var o;return o=t.call(this,n),F2(lm(o),"dataBind",void 0),o.dataBind=new tt(n==null?void 0:n.dataBind),o}return r}(ue);function P_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function am(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 H2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R_(e,t)}function q2(e,t){return t&&(U2(t)==="object"||typeof t=="function")?t:P_(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}function U2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K2(e){var t=W2();return function(){var n=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q2(this,o)}}var G2=function(e){H2(r,e);var t=K2(r);function r(n){z2(this,r);var o;return o=t.call(this,n),am(P_(o),"controlType","search"),am(P_(o),"props",void 0),o.props=new $_(n==null?void 0:n.props),o}return r}(ce);function S_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function Q2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 J2(e,t){return t&&(Z2(t)==="object"||typeof t=="function")?t:S_(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}function Z2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eD(e){var t=Y2();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 J2(this,o)}}var tD=function(e){Q2(r,e);var t=eD(r);function r(n){X2(this,r);var o;return o=t.call(this,n),fm(S_(o),"controlType","search"),fm(S_(o),"props",void 0),o.props=new $_(n==null?void 0:n.props),o}return r}(hn);function Jt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}}}])}function bn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(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&&T_(e,t)}function oD(e,t){return t&&(iD(t)==="object"||typeof t=="function")?t:bn(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}function iD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cD(e){var t=uD();return function(){var n=hi(e),o;if(t){var i=hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oD(this,o)}}var lD=function(e){rD(r,e);var t=cD(r);function r(n){nD(this,r);var o;o=t.call(this,n),Vn(bn(o),"content",void 0),Vn(bn(o),"fontSize",void 0),Vn(bn(o),"color",void 0),Vn(bn(o),"icon",void 0),Vn(bn(o),"align",void 0),Vn(bn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:"\u8BF4\u660E\u6587\u5B57";var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"",o}return r}(ee);function sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 fD(e,t,r){return t&&_m(e.prototype,t),r&&_m(e,r),e}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 bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function sD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function _D(e,t){return t&&(yD(t)==="object"||typeof t=="function")?t:sm(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function yD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dD(e){var t=pD();return function(){var n=bi(e),o;if(t){var i=bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _D(this,o)}}var vD=function(e){sD(r,e);var t=dD(r);function r(n){aD(this,r);var o;return o=t.call(this,n),ym(sm(o),"props",void 0),o.props=new lD(n==null?void 0:n.props),o}return fD(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(M);ym(vD,"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 gi(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 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 mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function bD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gD(e,t){return t&&(mD(t)==="object"||typeof t=="function")?t:gi(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}function mD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wD(e){var t=OD();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 gD(this,o)}}var $D=function(e){bD(r,e);var t=wD(r);function r(n){hD(this,r);var o;o=t.call(this,n),I_(gi(o),"content",void 0),I_(gi(o),"url",void 0),I_(gi(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}(ee);function pm(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 dm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RD(e,t,r){return t&&dm(e.prototype,t),r&&dm(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 Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function SD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function ED(e,t){return t&&(TD(t)==="object"||typeof t=="function")?t:pm(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}function TD(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 ID(e){var t=BD();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 ED(this,o)}}var vm=function(e){SD(r,e);var t=ID(r);function r(n){PD(this,r);var o;return o=t.call(this,n),x_(pm(o),"props",void 0),o.props=new $D(n==null?void 0:n.props),o}return RD(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(M);x_(vm,"controlEventKeys",["on_click"]),x_(vm,"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 _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function xD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kD(e,t){return t&&(DD(t)==="object"||typeof t=="function")?t:_t(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}function DD(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 FD(e){var t=ND();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 kD(this,o)}}var Ne=function(e){xD(r,e);var t=FD(r);function r(n){AD(this,r);var o;o=t.call(this,n),Bt(_t(o),"content",void 0),Bt(_t(o),"buttonType",void 0),Bt(_t(o),"showType",void 0),Bt(_t(o),"color",void 0),Bt(_t(o),"icon",void 0),Bt(_t(o),"defaultState",void 0),Bt(_t(o),"command",void 0),Bt(_t(o),"isLoading",void 0),Bt(_t(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 _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var b;return o.optObj=new ax((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(ee);function hm(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 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 LD(e,t,r){return t&&bm(e.prototype,t),r&&bm(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 Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function MD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function CD(e,t){return t&&(VD(t)==="object"||typeof t=="function")?t:hm(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function VD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HD(e){var t=zD();return function(){var n=Pi(e),o;if(t){var i=Pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CD(this,o)}}var Oe=function(e){MD(r,e);var t=HD(r);function r(n){jD(this,r);var o;return o=t.call(this,n),$i(hm(o),"props",void 0),o.props=new Ne(n==null?void 0:n.props),o}return LD(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(M);$i(Oe,"slots",["grid-table-toolbar-slot","action-bar-slot",Yb.DEFAULT]),$i(Oe,"controlEventKeys",["on_click"]),$i(Oe,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",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 nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var It;(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"})(It||(It={}));var gm;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(gm||(gm={}));var mm;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(mm||(mm={}));var F_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Je(8),value:["",""]};nt(this,e),T(this,"dateConfigType",void 0),T(this,"dateLimitType",void 0),T(this,"id",void 0),T(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},j_;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(j_||(j_={}));var L_=function e(t){nt(this,e),T(this,"id",void 0),T(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Je();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},M_;(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"})(M_||(M_={}));var Om=function e(t){nt(this,e),T(this,"type",void 0),T(this,"person",void 0),T(this,"signatureType",void 0),T(this,"telephone",void 0),T(this,"company",void 0),T(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Jr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Jr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Jr((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},qD=function e(t){nt(this,e);var r;T(this,"fileControl",void 0),T(this,"undersignedList",void 0),T(this,"statusControl",void 0),T(this,"completeControl",void 0),T(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new Om(a)}))!==null&&o!==void 0?o:[new Om];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:""},Ri=function e(t){nt(this,e),T(this,"id",void 0),T(this,"appId",void 0),T(this,"dataCode",void 0),T(this,"svcCode",void 0),T(this,"name",void 0),T(this,"fieldList",void 0),T(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Je(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},wm=function e(t){nt(this,e),T(this,"active",void 0),T(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},UD=function e(t){nt(this,e),T(this,"types",void 0),T(this,"history",void 0),T(this,"collaborativeRecord",void 0),T(this,"logicToDelete",void 0),T(this,"watermark",void 0),T(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new wm(t==null?void 0:t.watermark),this.autoRename=new wm(t==null?void 0:t.autoRename)},WD=function e(t){nt(this,e),T(this,"dataCode",void 0),this.dataCode=t.dataCode},KD=function e(t){nt(this,e);var r;T(this,"templateType",void 0),T(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new WD(i)}))!==null&&o!==void 0?o:[]},GD=function e(t){nt(this,e);var r;T(this,"templateType",void 0),T(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new Ri(i)}))!==null&&o!==void 0?o:[new Ri({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},XD=480;function Si(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var QD=function e(t){nt(this,e),T(this,"fileId",void 0),T(this,"fileName",void 0),T(this,"ruleName",void 0),T(this,"isDefault",void 0),T(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},$m;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})($m||($m={}));var C_;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(C_||(C_={}));var Ei;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(Ei||(Ei={}));var Zt;(function(e){e.ALL="all",e.ASSIGN="assign"})(Zt||(Zt={}));var V_;(function(e){e.ALL="all",e.ADMIN="admin"})(V_||(V_={}));function z_(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 Pm(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 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&&H_(e,t)}function YD(e,t){return t&&(eN(t)==="object"||typeof t=="function")?t:z_(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(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 nN(e){var t=tN();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 YD(this,o)}}var rN=function(e){ZD(r,e);var t=nN(r);function r(n){JD(this,r);var o;o=t.call(this,n),Pm(z_(o),"color",void 0),Pm(z_(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:M_.SOLID,o}return r}(ee);function Rm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oN(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 iN(e,t,r){return t&&Sm(e.prototype,t),r&&Sm(e,r),e}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 Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function uN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cN(e,t){return t&&(lN(t)==="object"||typeof t=="function")?t:Rm(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}function lN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fN(e){var t=aN();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 cN(this,o)}}var sN=function(e){uN(r,e);var t=fN(r);function r(n){oN(this,r);var o;return o=t.call(this,n),Em(Rm(o),"props",void 0),o.props=new rN(n==null?void 0:n.props),o}return iN(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(M);Em(sN,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function Bm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _N(e,t){return t&&(yN(t)==="object"||typeof t=="function")?t:Yt(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}function yN(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 Im(e){var t=pN();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _N(this,o)}}var dN=function(e){Bm(r,e);var t=Im(r);function r(n){Tm(this,r);var o;return o=t.call(this,n),en(Yt(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),en(Yt(o),"dataBind",{type:"any"}),en(Yt(o),"config",{type:"array"}),n.config.includes(It.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:v.getMessage("bizKeyNotBindFiled")}},message:v.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:v.getMessage("pleaseSelectOneField")}),o}return r}(Y),Am=function(e){Bm(r,e);var t=Im(r);function r(n){Tm(this,r);var o;o=t.call(this,n),en(Yt(o),"dataBind",void 0),en(Yt(o),"caption",void 0),en(Yt(o),"config",void 0),en(Yt(o),"position",void 0),o.dataBind=new tt(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[It.ShowSubmitUser,It.ShowSubmitDept,It.ShowSubmitTime,It.ShowCurrentApprovar,It.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ro==null?void 0:ro.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}(ee);en(Am,"Rules",dN);function xm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function km(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hN(e,t,r){return t&&km(e.prototype,t),r&&km(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 Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function bN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gN(e,t){return t&&(mN(t)==="object"||typeof t=="function")?t:xm(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}function mN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ON(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wN(e){var t=ON();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 gN(this,o)}}var ro=function(e){bN(r,e);var t=wN(r);function r(n){vN(this,r);var o;return o=t.call(this,n),W_(xm(o),"props",void 0),o.props=new Am(n==null?void 0:n.props),o}return hN(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(M);W_(ro,"controlFieldType",m.AUTO_NUMBER),W_(ro,"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 xi(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 ki(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 Nm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function $N(e,t){return t&&(PN(t)==="object"||typeof t=="function")?t:xi(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}function PN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=RN();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 $N(this,o)}}var SN=function(e){Nm(r,e);var t=Fm(r);function r(n){Dm(this,r);var o;return o=t.call(this,n),ki(xi(o),"formKey",{type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}),o}return r}(Y),jm=function(e){Nm(r,e);var t=Fm(r);function r(n){Dm(this,r);var o;o=t.call(this,n),ki(xi(o),"formKey",void 0),ki(xi(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:oo.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:oo.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}(Ne);ki(jm,"Rules",SN);function Lm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TN(e,t,r){return t&&Mm(e.prototype,t),r&&Mm(e,r),e}function Ni(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function BN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IN(e,t){return t&&(AN(t)==="object"||typeof t=="function")?t:Lm(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function AN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kN(e){var t=xN();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 IN(this,o)}}var oo=function(e){BN(r,e);var t=kN(r);function r(n){EN(this,r);var o;return o=t.call(this,n),Ni(Lm(o),"props",void 0),o.props=new jm(n==null?void 0:n.props),o}return TN(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}(Oe);Ni(oo,"slots",["grid-table-toolbar-slot"]),Ni(oo,"controlEventKeys",["on_click","on_click_finish"]),Ni(oo,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function zn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function Vm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function DN(e,t){return t&&(NN(t)==="object"||typeof t=="function")?t:zn(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}function NN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zm(e){var t=FN();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 DN(this,o)}}var jN=function(e){Vm(r,e);var t=zm(r);function r(n){Cm(this,r);var o;return o=t.call(this,n),Hn(zn(o),"processKey",[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterProcess")}]),o}return r}(Y),Hm=function(e){Vm(r,e);var t=zm(r);function r(n){Cm(this,r);var o;o=t.call(this,n),Hn(zn(o),"processKey",void 0),Hn(zn(o),"initiatorMode",void 0),Hn(zn(o),"fieldCode",void 0),Hn(zn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:io.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:io.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}(Ne);Hn(Hm,"Rules",jN);function qm(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 Um(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MN(e,t,r){return t&&Um(e.prototype,t),r&&Um(e,r),e}function Li(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function CN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function VN(e,t){return t&&(zN(t)==="object"||typeof t=="function")?t:qm(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}function zN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qN(e){var t=HN();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VN(this,o)}}var io=function(e){CN(r,e);var t=qN(r);function r(n){LN(this,r);var o;return o=t.call(this,n),Li(qm(o),"props",void 0),o.props=new Hm(n==null?void 0:n.props),o}return MN(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}(Oe);Li(io,"slots",["grid-table-toolbar-slot"]),Li(io,"controlEventKeys",["on_click","on_click_finish"]),Li(io,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function UN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function 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&&Z_(e,t)}function GN(e,t){return t&&(XN(t)==="object"||typeof t=="function")?t:UN(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}function XN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JN(e){var t=QN();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 GN(this,o)}}var ZN=function(e){KN(r,e);var t=JN(r);function r(n){WN(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:uo.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:uo.controlIcon,o}return r}(Ne);function Wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Km(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eF(e,t,r){return t&&Km(e.prototype,t),r&&Km(e,r),e}function Vi(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 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&&Y_(e,t)}function nF(e,t){return t&&(rF(t)==="object"||typeof t=="function")?t:Wm(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}function rF(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=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nF(this,o)}}var uo=function(e){tF(r,e);var t=iF(r);function r(n){YN(this,r);var o;return o=t.call(this,n),Vi(Wm(o),"props",void 0),o.props=new ZN(n==null?void 0:n.props),o}return eF(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}(Oe);Vi(uo,"slots",["grid-table-toolbar-slot"]),Vi(uo,"controlEventKeys",["on_click"]),Vi(uo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function ey(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 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 Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(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&&ty(e,t)}function lF(e,t){return t&&(aF(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)}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=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lF(this,o)}}var _F=function(e){cF(r,e);var t=sF(r);function r(n){uF(this,r);var o,i;o=t.call(this,n),Gm(ey(o),"templateList",void 0),Gm(ey(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:co.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:co.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 Ri(f)}))!==null&&l!==void 0?l:[new Ri({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Ne);function Xm(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 Qm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pF(e,t,r){return t&&Qm(e.prototype,t),r&&Qm(e,r),e}function qi(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 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&&ny(e,t)}function vF(e,t){return t&&(hF(t)==="object"||typeof t=="function")?t:Xm(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}function hF(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 gF(e){var t=bF();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 vF(this,o)}}var co=function(e){dF(r,e);var t=gF(r);function r(n){yF(this,r);var o;return o=t.call(this,n),qi(Xm(o),"props",void 0),o.props=new _F(n==null?void 0:n.props),o}return pF(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}(Oe);qi(co,"slots",["grid-table-toolbar-slot"]),qi(co,"controlEventKeys",["on_click","on_click_finish"]),qi(co,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function mF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function 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&&ry(e,t)}function $F(e,t){return t&&(PF(t)==="object"||typeof t=="function")?t:mF(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(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=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $F(this,o)}}var EF=function(e){wF(r,e);var t=SF(r);function r(n){OF(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:lo.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:lo.controlIcon,o}return r}(Ne);function Jm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 BF(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function Ki(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 IF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function AF(e,t){return t&&(xF(t)==="object"||typeof t=="function")?t:Jm(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}function xF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DF(e){var t=kF();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 AF(this,o)}}var lo=function(e){IF(r,e);var t=DF(r);function r(n){TF(this,r);var o;return o=t.call(this,n),Ki(Jm(o),"props",void 0),o.props=new EF(n==null?void 0:n.props),o}return BF(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}(Oe);Ki(lo,"slots",["grid-table-toolbar-slot"]),Ki(lo,"controlEventKeys",["on_click"]),Ki(lo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function iy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ym(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function NF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FF(e,t){return t&&(jF(t)==="object"||typeof t=="function")?t:iy(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}function jF(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 MF(e){var t=LF();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 FF(this,o)}}var CF=function e(t){Ym(this,e),uy(this,"dataCode",void 0),this.dataCode=t.dataCode},VF=function(e){NF(r,e);var t=MF(r);function r(n){Ym(this,r);var o,i;o=t.call(this,n),uy(iy(o),"canImportList",void 0),uy(iy(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:ao.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:ao.controlIcon;var a;o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new CF(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}(Ne);function eO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HF(e,t,r){return t&&tO(e.prototype,t),r&&tO(e,r),e}function Qi(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 qF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function UF(e,t){return t&&(WF(t)==="object"||typeof t=="function")?t:eO(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}function WF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GF(e){var t=KF();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 UF(this,o)}}var ao=function(e){qF(r,e);var t=GF(r);function r(n){zF(this,r);var o;return o=t.call(this,n),Qi(eO(o),"props",void 0),o.props=new VF(n==null?void 0:n.props),o}return HF(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}(Oe);Qi(ao,"slots",["grid-table-toolbar-slot"]),Qi(ao,"controlEventKeys",["on_click","on_click_finish"]),Qi(ao,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Zi(){return{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}}}}}}function tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function rO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function oO(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){At(e,o,r[o])})}return e}function XF(e,t){return t&&(QF(t)==="object"||typeof t=="function")?t:tn(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ay(e,t)}function QF(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 iO(e){var t=JF();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 XF(this,o)}}var ZF=function(e){rO(r,e);var t=iO(r);function r(n){nO(this,r);var o;return o=t.call(this,n),At(tn(o),"fillPayload",{type:"object",fields:oO({},Zi())}),At(tn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}}}),At(tn(o),"fillBack",{type:"object",fields:oO({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},Zi())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:v.getMessage("pleaseSelectControl")}),o}return r}(Y),uO=function(e){rO(r,e);var t=iO(r);function r(n){nO(this,r);var o;o=t.call(this,n),At(tn(o),"fillPayload",void 0),At(tn(o),"formBind",void 0),At(tn(o),"fillBack",void 0),At(tn(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:tu.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:tu.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new Ig(n==null?void 0:n.fillPayload),o.formBind=new UA(n==null?void 0:n.formBind),o.fillBack=new Ag(n==null?void 0:n.fillBack),o}return r}(Ne);At(uO,"Rules",ZF);function cO(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 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 ej(e,t,r){return t&&lO(e.prototype,t),r&&lO(e,r),e}function fy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(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&&sy(e,t)}function nj(e,t){return t&&(rj(t)==="object"||typeof t=="function")?t:cO(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}function rj(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=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nj(this,o)}}var tu=function(e){tj(r,e);var t=ij(r);function r(n){YF(this,r);var o;return o=t.call(this,n),fy(cO(o),"props",void 0),o.props=new uO(n==null?void 0:n.props),o}return ej(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}(Oe);fy(tu,"controlEventKeys",["on_click","on_click_finish"]),fy(tu,"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 xt(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 yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function fO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sO(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){yt(e,o,r[o])})}return e}function uj(e,t){return t&&(cj(t)==="object"||typeof t=="function")?t:xt(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}function cj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _O(e){var t=lj();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uj(this,o)}}var aj=function(e){fO(r,e);var t=_O(r);function r(n){aO(this,r);var o;return o=t.call(this,n),yt(xt(o),"fillPayload",{type:"object",fields:sO({},Zi())}),yt(xt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}),yt(xt(o),"fillBack",{type:"object",fields:sO({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},Zi())}),o}return r}(Y),yO=function(e){fO(r,e);var t=_O(r);function r(n){aO(this,r);var o;o=t.call(this,n),yt(xt(o),"fillPayload",void 0),yt(xt(o),"listPageBind",void 0),yt(xt(o),"fillBack",void 0),yt(xt(o),"showSelectedDetail",void 0),yt(xt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ou.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ou.controlIcon,o.fillPayload=new Ig(n==null?void 0:n.fillPayload),o.listPageBind=new ks(n==null?void 0:n.listPageBind),o.fillBack=new Ag(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 js(n==null?void 0:n.selectedContentConfig),o}return r}(Ne);yt(yO,"Rules",aj);function pO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sj(e,t,r){return t&&dO(e.prototype,t),r&&dO(e,r),e}function yy(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 _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&&py(e,t)}function yj(e,t){return t&&(pj(t)==="object"||typeof t=="function")?t:pO(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}function pj(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 vj(e){var t=dj();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 yj(this,o)}}var ou=function(e){_j(r,e);var t=vj(r);function r(n){fj(this,r);var o;return o=t.call(this,n),yy(pO(o),"props",void 0),o.props=new yO(n==null?void 0:n.props),o}return sj(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}(Oe);yy(ou,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),yy(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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function hj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function vy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bj(e,t){return t&&(gj(t)==="object"||typeof t=="function")?t:hj(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(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 by(e){var t=mj();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 bj(this,o)}}var Oj=function(e){vy(r,e);var t=by(r);function r(n){return dy(this,r),t.call(this,n)}return r}(Y),wj=function(e){vy(r,e);var t=by(r);function r(n){return dy(this,r),t.call(this,n)}return r}(dn),gy=function(e){vy(r,e);var t=by(r);function r(n){return dy(this,r),t.call(this,n)}return r}(ee);vO(gy,"Rules",Oj),vO(gy,"RuntimeRules",wj);function hO(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 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 Pj(e,t,r){return t&&bO(e.prototype,t),r&&bO(e,r),e}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 uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function Rj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function Sj(e,t){return t&&(Ej(t)==="object"||typeof t=="function")?t:hO(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}function Ej(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bj(e){var t=Tj();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 Sj(this,o)}}var Ij=function(e){Rj(r,e);var t=Bj(r);function r(n){$j(this,r);var o;return o=t.call(this,n),gO(hO(o),"props",void 0),o.props=new gy(n==null?void 0:n.props),o}return Pj(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(M);gO(Ij,"setting",[]);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function OO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function Aj(e,t){return t&&(xj(t)==="object"||typeof t=="function")?t:qe(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}function xj(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 wO(e){var t=kj();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 Aj(this,o)}}var Dj=function(e){OO(r,e);var t=wO(r);function r(n){mO(this,r);var o;return o=t.call(this,n),Ue(qe(o),"dashboardKey",{type:"string",required:!0,message:v.getMessage("pleaseSelectDashboard")}),Ue(qe(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Ue(qe(o),"isHideCaption",{type:"boolean"}),Ue(qe(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ue(qe(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),$O=function(e){OO(r,e);var t=wO(r);function r(n){mO(this,r);var o;o=t.call(this,n),Ue(qe(o),"dashboardKey",void 0),Ue(qe(o),"caption",void 0),Ue(qe(o),"isHideCaption",void 0),Ue(qe(o),"isShowCaptionTip",void 0),Ue(qe(o),"captionTip",void 0),Ue(qe(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}(ee);Ue($O,"Rules",Dj);function PO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Fj(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),e}function SO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(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&&wy(e,t)}function Lj(e,t){return t&&(Mj(t)==="object"||typeof t=="function")?t:PO(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function Mj(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 Vj(e){var t=Cj();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 Lj(this,o)}}var zj=function(e){jj(r,e);var t=Vj(r);function r(n){Nj(this,r);var o;return o=t.call(this,n),SO(PO(o),"props",void 0),o.props=new $O(n==null?void 0:n.props),o}return Fj(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(M);SO(zj,"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 fo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function so(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function TO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:fo(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}function qj(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 BO(e){var t=Uj();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 Hj(this,o)}}var Wj=function(e){TO(r,e);var t=BO(r);function r(n){EO(this,r);var o;return o=t.call(this,n),so(fo(o),"showType",{type:"enum",enum:["select","tabs"]}),so(fo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:v.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:v.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Y),IO=function(e){TO(r,e);var t=BO(r);function r(n){EO(this,r);var o,i;o=t.call(this,n),so(fo(o),"showType",void 0),so(fo(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 cx(a)}))!==null&&c!==void 0?c:[],o}return r}(ee);so(IO,"Rules",Wj);function AO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Gj(e,t,r){return t&&xO(e.prototype,t),r&&xO(e,r),e}function kO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(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&&Py(e,t)}function Qj(e,t){return t&&(Jj(t)==="object"||typeof t=="function")?t:AO(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}function Jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yj(e){var t=Zj();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qj(this,o)}}var eL=function(e){Xj(r,e);var t=Yj(r);function r(n){Kj(this,r);var o;return o=t.call(this,n),kO(AO(o),"props",void 0),o.props=new IO(n==null?void 0:n.props),o}return Gj(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}(M);kO(eL,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",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 DO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(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&&Ry(e,t)}function tL(e,t){return t&&(nL(t)==="object"||typeof t=="function")?t:Be(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}function nL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FO(e){var t=rL();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 tL(this,o)}}var oL=function(e){NO(r,e);var t=FO(r);function r(n){DO(this,r);var o;return o=t.call(this,n),Ie(Be(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),Ie(Be(o),"isHideCaption",{type:"boolean"}),Ie(Be(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ie(Be(o),"ocrType",{type:"string",required:!0,message:v.getMessage("pleaseSelectOcrType")}),Ie(Be(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Ie(Be(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),jO=function(e){NO(r,e);var t=FO(r);function r(n){DO(this,r);var o,i;o=t.call(this,n),Ie(Be(o),"caption",void 0),Ie(Be(o),"isHideCaption",void 0),Ie(Be(o),"isShowCaptionTip",void 0),Ie(Be(o),"captionTip",void 0),Ie(Be(o),"labelPosition",void 0),Ie(Be(o),"ocrType",void 0),Ie(Be(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:_o.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 _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:_o.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:_o.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(g){return new Te(g)}))!==null&&O!==void 0?O:[],o}return r}(Ne);Ie(jO,"Rules",oL);function LO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uL(e,t,r){return t&&MO(e.prototype,t),r&&MO(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 _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function cL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function lL(e,t){return t&&(aL(t)==="object"||typeof t=="function")?t:LO(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function aL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sL(e){var t=fL();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 lL(this,o)}}var _o=function(e){cL(r,e);var t=sL(r);function r(n){iL(this,r);var o;return o=t.call(this,n),Sy(LO(o),"props",void 0),o.props=new jO(n==null?void 0:n.props),o}return uL(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}(Oe);Sy(_o,"controlEventKeys",["on_click","on_click_finish"]),Sy(_o,"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 Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CO(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 yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function VO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function _L(e,t){return t&&(yL(t)==="object"||typeof t=="function")?t:Ae(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}function yL(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 zO(e){var t=pL();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 _L(this,o)}}var dL=function(e){VO(r,e);var t=zO(r);function r(n){CO(this,r);var o;return o=t.call(this,n),xe(Ae(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),xe(Ae(o),"isHideCaption",{type:"boolean"}),xe(Ae(o),"labelPosition",{type:"enum",enum:["top","left"]}),xe(Ae(o),"invoiceCheck",{type:"boolean"}),xe(Ae(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(v.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),xe(Ae(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),HO=function(e){VO(r,e);var t=zO(r);function r(n){CO(this,r);var o,i;o=t.call(this,n),xe(Ae(o),"caption",void 0),xe(Ae(o),"isHideCaption",void 0),xe(Ae(o),"isShowCaptionTip",void 0),xe(Ae(o),"captionTip",void 0),xe(Ae(o),"labelPosition",void 0),xe(Ae(o),"invoiceCheck",void 0),xe(Ae(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:yo.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 _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:yo.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:yo.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(g){return new Te(g)}))!==null&&O!==void 0?O:[],o}return r}(Ne);xe(HO,"Rules",dL);function qO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hL(e,t,r){return t&&UO(e.prototype,t),r&&UO(e,r),e}function By(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function bL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function gL(e,t){return t&&(mL(t)==="object"||typeof t=="function")?t:qO(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}function mL(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 wL(e){var t=OL();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 gL(this,o)}}var yo=function(e){bL(r,e);var t=wL(r);function r(n){vL(this,r);var o;return o=t.call(this,n),By(qO(o),"props",void 0),o.props=new HO(n==null?void 0:n.props),o}return hL(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}(Oe);By(yo,"controlEventKeys",["on_click","on_click_finish"]),By(yo,"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 du(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function KO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $L(e,t){return t&&(PL(t)==="object"||typeof t=="function")?t:du(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}function PL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GO(e){var t=RL();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $L(this,o)}}var SL=function(e){KO(r,e);var t=GO(r);function r(){WO(this,r);var n;return n=t.apply(this,arguments),vu(du(n),"printTemplates",{type:"array",min:1,required:!0,message:v.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Y),XO=function(e){KO(r,e);var t=GO(r);function r(n){WO(this,r);var o,i;o=t.call(this,n),vu(du(o),"printTemplates",void 0),vu(du(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:po.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:po.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new QD(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}(Ne);vu(XO,"Rules",SL);function QO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 TL(e,t,r){return t&&JO(e.prototype,t),r&&JO(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 gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function BL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function IL(e,t){return t&&(AL(t)==="object"||typeof t=="function")?t:QO(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}function AL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kL(e){var t=xL();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 IL(this,o)}}var po=function(e){BL(r,e);var t=kL(r);function r(n){EL(this,r);var o;return o=t.call(this,n),bu(QO(o),"props",void 0),o.props=new XO(n==null?void 0:n.props),o}return TL(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}(Oe);bu(po,"slots",["grid-table-toolbar-slot"]),bu(po,"controlEventKeys",["on_click","on_click_finish"]),bu(po,"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 DL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function FL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ky(e,t)}function jL(e,t){return t&&(LL(t)==="object"||typeof t=="function")?t:DL(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function LL(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 CL(e){var t=ML();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 jL(this,o)}}var VL=function(e){FL(r,e);var t=CL(r);function r(n){NL(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:vo.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:vo.controlIcon,o}return r}(Ne);function ZO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HL(e,t,r){return t&&YO(e.prototype,t),r&&YO(e,r),e}function Ou(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 qL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function UL(e,t){return t&&(WL(t)==="object"||typeof t=="function")?t:ZO(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function WL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GL(e){var t=KL();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 UL(this,o)}}var vo=function(e){qL(r,e);var t=GL(r);function r(n){zL(this,r);var o;return o=t.call(this,n),Ou(ZO(o),"props",void 0),o.props=new VL(n==null?void 0:n.props),o}return HL(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}(Oe);Ou(vo,"slots",["grid-table-toolbar-slot"]),Ou(vo,"controlEventKeys",["on_click"]),Ou(vo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"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 ew(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 $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(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&&Ny(e,t)}function XL(e,t){return t&&(QL(t)==="object"||typeof t=="function")?t:we(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function QL(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 nw(e){var t=JL();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 XL(this,o)}}var ZL=function(e){tw(r,e);var t=nw(r);function r(n){ew(this,r);var o;return o=t.call(this,n),$e(we(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:v.getMessage("pleaseEnterForm")}),o}return r}(Y),Pu=function(e){tw(r,e);var t=nw(r);function r(n){ew(this,r);var o;o=t.call(this,n),$e(we(o),"content",void 0),$e(we(o),"code",void 0),$e(we(o),"command",void 0),$e(we(o),"color",void 0),$e(we(o),"icon",void 0),$e(we(o),"formKey",void 0),$e(we(o),"openType",void 0),$e(we(o),"needConfirm",void 0),$e(we(o),"confirmMessage",void 0),$e(we(o),"options",void 0),$e(we(o),"defaultState",void 0),$e(we(o),"priorityProcess",void 0),$e(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}(ee);$e(Pu,"Rules",ZL);function rw(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 ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eM(e,t,r){return t&&ow(e.prototype,t),r&&ow(e,r),e}function Fy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(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&&jy(e,t)}function nM(e,t){return t&&(rM(t)==="object"||typeof t=="function")?t:rw(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}function rM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iM(e){var t=oM();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nM(this,o)}}var Su=function(e){tM(r,e);var t=iM(r);function r(n){YL(this,r);var o;return o=t.call(this,n),Fy(rw(o),"props",void 0),o.props=new Pu(n==null?void 0:n.props),o}return eM(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}(M);Fy(Su,"controlEventKeys",["on_click"]),Fy(Su,"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 iw(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 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 cM(e,t,r){return t&&uw(e.prototype,t),r&&uw(e,r),e}function lM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function aM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ly(e,t)}function fM(e,t){return t&&(sM(t)==="object"||typeof t=="function")?t:iw(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}function sM(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=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fM(this,o)}}var pM=function(e){aM(r,e);var t=yM(r);function r(n){uM(this,r);var o;return o=t.call(this,n),lM(iw(o),"props",void 0),o.props=new Pu(n==null?void 0:n.props),o}return cM(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Et),My={Designer:Su,Runtime:pM,Property:Pu};function kt(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 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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function vM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function hM(e,t){return t&&(bM(t)==="object"||typeof t=="function")?t:kt(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}function bM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mM(e){var t=gM();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 hM(this,o)}}var OM=function(e){vM(r,e);var t=mM(r);function r(n){dM(this,r);var o;o=t.call(this,n),nn(kt(o),"content",void 0),nn(kt(o),"buttonType",void 0),nn(kt(o),"showType",void 0),nn(kt(o),"color",void 0),nn(kt(o),"icon",void 0),nn(kt(o),"defaultState",void 0),nn(kt(o),"command",void 0),nn(kt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ho.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:ho.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 _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(ee);function cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $M(e,t,r){return t&&lw(e.prototype,t),r&&lw(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 Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function PM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function RM(e,t){return t&&(SM(t)==="object"||typeof t=="function")?t:cw(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vy(e,t)}function SM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=EM();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 RM(this,o)}}var ho=function(e){PM(r,e);var t=TM(r);function r(n){wM(this,r);var o;return o=t.call(this,n),Bu(cw(o),"props",void 0),o.props=new OM(n==null?void 0:n.props),o}return $M(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}(M);Bu(ho,"slots",["grid-table-toolbar-slot"]),Bu(ho,"controlEventKeys",["on_click"]),Bu(ho,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",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 zy(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 Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function Hy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function BM(e,t){return t&&(IM(t)==="object"||typeof t=="function")?t:pt(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}function IM(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 Uy(e){var t=AM();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 BM(this,o)}}var xM=function(e){Hy(r,e);var t=Uy(r);function r(n){zy(this,r);var o;return o=t.call(this,n),rt(pt(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),rt(pt(o),"minLength",{type:"number",max:200,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),rt(pt(o),"defaultValue",[{type:"string",max:200,min:0,message:v.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Si(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ie),kM=function(e){Hy(r,e);var t=Uy(r);function r(n){zy(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:v.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Si(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),bo=function(e){Hy(r,e);var t=Uy(r);function r(n){zy(this,r);var o;o=t.call(this,n),rt(pt(o),"maxLength",void 0),rt(pt(o),"minLength",void 0),rt(pt(o),"regularRules",void 0),rt(pt(o),"defaultValue",void 0),rt(pt(o),"encrypted",void 0),rt(pt(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 xg(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:go.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 _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(D);rt(bo,"Rules",xM),rt(bo,"RuntimeRules",kM);function aw(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 fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NM(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function xu(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 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&&Wy(e,t)}function jM(e,t){return t&&(LM(t)==="object"||typeof t=="function")?t:aw(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function LM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=MM();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 jM(this,o)}}var go=function(e){FM(r,e);var t=CM(r);function r(n){DM(this,r);var o;return o=t.call(this,n),xu(aw(o),"props",void 0),o.props=new bo(n==null?void 0:n.props),o}return NM(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(N);xu(go,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),xu(go,"controlFieldType",m.VARCHAR),xu(go,"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 sw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 zM(e,t,r){return t&&_w(e.prototype,t),r&&_w(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 Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function HM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ky(e,t)}function qM(e,t){return t&&(UM(t)==="object"||typeof t=="function")?t:sw(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}function UM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KM(e){var t=WM();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 qM(this,o)}}var GM=function(e){HM(r,e);var t=KM(r);function r(n){VM(this,r);var o;return o=t.call(this,n),yw(sw(o),"props",void 0),o.props=new bo(n==null?void 0:n.props),o}return zM(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(F);yw(GM,"controlFieldType",m.VARCHAR);function he(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 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 Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(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&&Qy(e,t)}function XM(e,t){return t&&(QM(t)==="object"||typeof t=="function")?t:he(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}function QM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jy(e){var t=JM();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 XM(this,o)}}var ZM=function(e){Xy(r,e);var t=Jy(r);function r(n){Gy(this,r);var o;o=t.call(this,n),se(he(o),"limitMax",{type:"number",min:void 0,message:v.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(jn),YM=function(e){Xy(r,e);var t=Jy(r);function r(n){Gy(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(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),Fu=function(e){Xy(r,e);var t=Jy(r);function r(n){Gy(this,r);var o;o=t.call(this,n),se(he(o),"checkboxMode",void 0),se(he(o),"options",void 0),se(he(o),"optionsOrder",void 0),se(he(o),"limitMax",void 0),se(he(o),"limitMin",void 0),se(he(o),"otherOption",void 0),se(he(o),"optionConfig",void 0),se(he(o),"optionsFormat",void 0),se(he(o),"defaultShowOptions",void 0),se(he(o),"datasourceBind",void 0),se(he(o),"multistageFilling",void 0),se(he(o),"interreaction",void 0),se(he(o),"defaultValue",void 0),se(he(o),"openMultistageFilling",void 0);var i;o.options=St((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 _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Mu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var g;o.optionsFormat=(g=n==null?void 0:n.optionsFormat)!==null&&g!==void 0?g:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Te($))})),o}return r}(D);se(Fu,"Rules",ZM),se(Fu,"RuntimeRules",YM);function pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 t5(e,t,r){return t&&dw(e.prototype,t),r&&dw(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 Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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&&Zy(e,t)}function r5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:pw(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function o5(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 u5(e){var t=i5();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 r5(this,o)}}var Mu=function(e){n5(r,e);var t=u5(r);function r(n){e5(this,r);var o;return o=t.call(this,n),ju(pw(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return t5(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(N);ju(Mu,"controlEventKeys",["on_change","on_click"]),ju(Mu,"controlFieldType",m.ARRAY),ju(Mu,"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:"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 c5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l5(e,t,r){return t&&hw(e.prototype,t),r&&hw(e,r),e}function bw(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 a5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yy(e,t)}function f5(e,t){return t&&(s5(t)==="object"||typeof t=="function")?t:vw(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}function s5(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 y5(e){var t=_5();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 f5(this,o)}}var p5=function(e){a5(r,e);var t=y5(r);function r(n){c5(this,r);var o;return o=t.call(this,n),bw(vw(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return l5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(F);bw(p5,"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 gw(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 Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(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&&ep(e,t)}function d5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:Fe(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}function v5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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 Ow(e){var t=h5();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 d5(this,o)}}var b5=function(e){mw(r,e);var t=Ow(r);function r(n){return gw(this,r),t.call(this,n)}return r}(jn),tp=function(e){mw(r,e);var t=Ow(r);function r(n){gw(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=St((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 _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:qu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Te(w))})),o}return r}(D);je(tp,"Rules",b5);function ww(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 $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 m5(e,t,r){return t&&$w(e.prototype,t),r&&$w(e,r),e}function zu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function 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&&np(e,t)}function w5(e,t){return t&&($5(t)==="object"||typeof t=="function")?t:ww(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function $5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R5(e){var t=P5();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w5(this,o)}}var qu=function(e){O5(r,e);var t=R5(r);function r(n){g5(this,r);var o;return o=t.call(this,n),zu(ww(o),"props",void 0),o.props=new tp(n==null?void 0:n.props),o}return m5(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(N);zu(qu,"controlEventKeys",["on_change","on_click"]),zu(qu,"controlFieldType",m.VARCHAR),zu(qu,"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:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S5(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 E5(e,t,r){return t&&Rw(e.prototype,t),r&&Rw(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 Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(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&&rp(e,t)}function B5(e,t){return t&&(I5(t)==="object"||typeof t=="function")?t:Pw(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function I5(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 x5(e){var t=A5();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 B5(this,o)}}var k5=function(e){T5(r,e);var t=x5(r);function r(n){S5(this,r);var o;return o=t.call(this,n),Sw(Pw(o),"props",void 0),o.props=new tp(n==null?void 0:n.props),o}return E5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(F);Sw(k5,"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 op(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function ip(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function D5(e,t){return t&&(N5(t)==="object"||typeof t=="function")?t:Pe(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function N5(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 cp(e){var t=F5();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 D5(this,o)}}var j5=function(e){ip(r,e);var t=cp(r);function r(n){op(this,r);var o;o=t.call(this,n),be(Pe(o),"defaultValue",[{type:"number",min:0,max:200,message:v.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),be(Pe(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Si(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ie),L5=function(e){ip(r,e);var t=cp(r);function r(n){op(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Si(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),Ku=function(e){ip(r,e);var t=cp(r);function r(n){op(this,r);var o;o=t.call(this,n),be(Pe(o),"rangeMin",void 0),be(Pe(o),"rangeMax",void 0),be(Pe(o),"numberType",void 0),be(Pe(o),"percentageFormat",void 0),be(Pe(o),"micrometer",void 0),be(Pe(o),"precision",void 0),be(Pe(o),"showUpperCase",void 0),be(Pe(o),"isShowUnit",void 0),be(Pe(o),"unitPosition",void 0),be(Pe(o),"unit",void 0),be(Pe(o),"defaultValue",void 0),be(Pe(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 _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var b;o.unitPosition=(b=n==null?void 0:n.unitPosition)!==null&&b!==void 0?b:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Qu.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var d;return o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"",o.regularRules=new xg(n==null?void 0:n.regularRules),o}return r}(D);be(Ku,"Rules",j5),be(Ku,"RuntimeRules",L5);function Ew(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 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 C5(e,t,r){return t&&Tw(e.prototype,t),r&&Tw(e,r),e}function Gu(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=H5(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Xu(e,t,r||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(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&&lp(e,t)}function z5(e,t){return t&&(q5(t)==="object"||typeof t=="function")?t:Ew(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function H5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function q5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W5(e){var t=U5();return function(){var n=qn(e),o;if(t){var i=qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z5(this,o)}}var Qu=function(e){V5(r,e);var t=W5(r);function r(n){M5(this,r);var o;return o=t.call(this,n),Gu(Ew(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return C5(r,[{key:"toDataBindModel",value:function(o){var i=Xu(qn(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}(N);Gu(Qu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Gu(Qu,"controlFieldType",m.DECIMAL),Gu(Qu,"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 Bw(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 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 G5(e,t,r){return t&&Iw(e.prototype,t),r&&Iw(e,r),e}function Aw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function X5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function Q5(e,t){return t&&(J5(t)==="object"||typeof t=="function")?t:Bw(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}function J5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y5(e){var t=Z5();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 Q5(this,o)}}var e6=function(e){X5(r,e);var t=Y5(r);function r(n){K5(this,r);var o;return o=t.call(this,n),Aw(Bw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return G5(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(F);Aw(e6,"controlFieldType",m.DECIMAL);function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function n6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function r6(e,t){return t&&(o6(t)==="object"||typeof t=="function")?t:Dt(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}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=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r6(this,o)}}var xw=function(e){n6(r,e);var t=u6(r);function r(n){t6(this,r);var o,i;o=t.call(this,n),rn(Dt(o),"dateType",void 0),rn(Dt(o),"dateFormat",void 0),rn(Dt(o),"commonTimeSetting",void 0),rn(Dt(o),"setValueType",void 0),rn(Dt(o),"defaultValue",void 0),rn(Dt(o),"limitDateList",void 0),rn(Dt(o),"allowDateRange",void 0),rn(Dt(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Ht.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:yp.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var b;o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new F_(w)}))!==null&&b!==void 0?b:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var g;return o.filterWeekend=(g=n==null?void 0:n.filterWeekend)!==null&&g!==void 0?g:!1,o}return r}(D);function kw(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 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 l6(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(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 Yu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Yu=Reflect.get:Yu=function(o,i,u){var c=s6(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Yu(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(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&&_p(e,t)}function f6(e,t){return t&&(_6(t)==="object"||typeof t=="function")?t:kw(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}function s6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}function _6(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 p6(e){var t=y6();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 f6(this,o)}}var yp=function(e){a6(r,e);var t=p6(r);function r(n){c6(this,r);var o;return o=t.call(this,n),sp(kw(o),"props",void 0),o.props=new xw(n==null?void 0:n.props),o}return l6(r,[{key:"toDataBindModel",value:function(o){var i=Yu(Un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(N);sp(yp,"controlFieldType",m.TIMESTAMP),sp(yp,"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 Nw(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 Fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v6(e,t,r){return t&&Fw(e.prototype,t),r&&Fw(e,r),e}function jw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function h6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function b6(e,t){return t&&(g6(t)==="object"||typeof t=="function")?t:Nw(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}function g6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O6(e){var t=m6();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 b6(this,o)}}var w6=function(e){h6(r,e);var t=O6(r);function r(n){d6(this,r);var o;return o=t.call(this,n),jw(Nw(o),"props",void 0),o.props=new xw(n==null?void 0:n.props),o}return v6(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(F);jw(w6,"controlFieldType",m.TIMESTAMP);function We(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 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 tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(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&&dp(e,t)}function $6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:We(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}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 Cw(e){var t=R6();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 $6(this,o)}}var S6=function(e){Mw(r,e);var t=Cw(r);function r(n){Lw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!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),vp=function(e){Mw(r,e);var t=Cw(r);function r(n){Lw(this,r);var o,i;o=t.call(this,n),Ke(We(o),"dataBind",void 0),Ke(We(o),"rangeMin",void 0),Ke(We(o),"rangeMax",void 0),Ke(We(o),"placeholderStart",void 0),Ke(We(o),"placeholderEnd",void 0),Ke(We(o),"dateFormat",void 0),Ke(We(o),"commonTimeSetting",void 0),Ke(We(o),"dateType",void 0),Ke(We(o),"setValueType",void 0),Ke(We(o),"defaultValue",void 0),Ke(We(o),"limitDateList",void 0),o.dataBind=new nx(n==null?void 0:n.dataBind),o.defaultValue=new rx(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Ht.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 _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:gp.controlName;var g;return o.limitDateList=(g=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new F_(w)}))!==null&&g!==void 0?g:[],o}return r}(D);Ke(vp,"RuntimeRules",S6);function Vw(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 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 T6(e,t,r){return t&&zw(e.prototype,t),r&&zw(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 nc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nc=Reflect.get:nc=function(o,i,u){var c=A6(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},nc(e,t,r||e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function B6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function I6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:Vw(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function A6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}function x6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D6(e){var t=k6();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I6(this,o)}}var gp=function(e){B6(r,e);var t=D6(r);function r(n){E6(this,r);var o;return o=t.call(this,n),hp(Vw(o),"props",void 0),o.props=new vp(n==null?void 0:n.props),o}return T6(r,[{key:"toDataBindModel",value:function(o){var i=nc(Wn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(N);hp(gp,"controlFieldType",m.TIMESCOPE),hp(gp,"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 Hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Uw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(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&&mp(e,t)}function L6(e,t){return t&&(M6(t)==="object"||typeof t=="function")?t:Hw(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function M6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V6(e){var t=C6();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 L6(this,o)}}var z6=function(e){j6(r,e);var t=V6(r);function r(n){N6(this,r);var o;return o=t.call(this,n),Uw(Hw(o),"props",void 0),o.props=new vp(n==null?void 0:n.props),o}return F6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(F);Uw(z6,"controlFieldType",m.TIMESCOPE);function on(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Op(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function wp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$p(e,t)}function H6(e,t){return t&&(q6(t)==="object"||typeof t=="function")?t:on(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(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 Pp(e){var t=U6();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 H6(this,o)}}var W6=function(e){wp(r,e);var t=Pp(r);function r(n){Op(this,r);var o;return o=t.call(this,n),Nt(on(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Nt(on(o),"minLength",{type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Nt(on(o),"defaultValue",{type:"string",max:200,min:0,message:v.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ie),K6=function(e){wp(r,e);var t=Pp(r);function r(n){Op(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),ic=function(e){wp(r,e);var t=Pp(r);function r(n){Op(this,r);var o;o=t.call(this,n),Nt(on(o),"maxLength",void 0),Nt(on(o),"minLength",void 0),Nt(on(o),"defaultValue",void 0),Nt(on(o),"rowHeightSetting",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:lc.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o.rowHeightSetting=new Pg(n==null?void 0:n.rowHeightSetting),o}return r}(D);Nt(ic,"Rules",W6),Nt(ic,"RuntimeRules",K6);function Ww(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 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 X6(e,t,r){return t&&Kw(e.prototype,t),r&&Kw(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 Q6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 J6(e,t){return t&&(Z6(t)==="object"||typeof t=="function")?t:Ww(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function Z6(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 e4(e){var t=Y6();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 J6(this,o)}}var lc=function(e){Q6(r,e);var t=e4(r);function r(n){G6(this,r);var o;return o=t.call(this,n),uc(Ww(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return X6(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(N);uc(lc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),uc(lc,"controlFieldType",m.TEXT),uc(lc,"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:"row-height-setting",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 t4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n4(e,t,r){return t&&Xw(e.prototype,t),r&&Xw(e,r),e}function Qw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function r4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function o4(e,t){return t&&(i4(t)==="object"||typeof t=="function")?t:Gw(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}function i4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c4(e){var t=u4();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 l4=function(e){r4(r,e);var t=c4(r);function r(n){t4(this,r);var o;return o=t.call(this,n),Qw(Gw(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return n4(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(F);Qw(l4,"controlFieldType",m.TEXT);function gn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ep(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function Tp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function a4(e,t){return t&&(f4(t)==="object"||typeof t=="function")?t:gn(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(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 Ip(e){var t=s4();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 a4(this,o)}}var _4=function(e){Tp(r,e);var t=Ip(r);function r(n){Ep(this,r);var o;return o=t.call(this,n),un(gn(o),"maxLength",{type:"number",min:0,message:v.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),un(gn(o),"minLength",{type:"number",max:1e6,message:v.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),un(gn(o),"defaultValue",{type:"string",max:200,min:0,message:v.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ie),y4=function(e){Tp(r,e);var t=Ip(r);function r(n){Ep(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:v.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),sc=function(e){Tp(r,e);var t=Ip(r);function r(n){Ep(this,r);var o;o=t.call(this,n),un(gn(o),"maxLength",void 0),un(gn(o),"minLength",void 0),un(gn(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:pc.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(D);un(sc,"Rules",_4),un(sc,"RuntimeRules",y4);function Jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 d4(e,t,r){return t&&Zw(e.prototype,t),r&&Zw(e,r),e}function _c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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&&Ap(e,t)}function h4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:Jw(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function b4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h4(this,o)}}var pc=function(e){v4(r,e);var t=m4(r);function r(n){p4(this,r);var o;return o=t.call(this,n),_c(Jw(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return d4(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(N);_c(pc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),_c(pc,"controlFieldType",m.TEXT),_c(pc,"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 Yw(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 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 w4(e,t,r){return t&&e$(e.prototype,t),r&&e$(e,r),e}function t$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function $4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function P4(e,t){return t&&(R4(t)==="object"||typeof t=="function")?t:Yw(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function R4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E4(e){var t=S4();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 P4(this,o)}}var T4=function(e){$4(r,e);var t=E4(r);function r(n){O4(this,r);var o;return o=t.call(this,n),t$(Yw(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return w4(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(F);t$(T4,"controlFieldType",m.TEXT);function Le(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 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 vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function r$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function B4(e,t){return t&&(I4(t)==="object"||typeof t=="function")?t:Le(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}function I4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o$(e){var t=A4();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 B4(this,o)}}var x4=function(e){r$(r,e);var t=o$(r);function r(n){n$(this,r);var o;return o=t.call(this,n),Me(Le(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:v.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(jn),Dp=function(e){r$(r,e);var t=o$(r);function r(n){n$(this,r);var o;o=t.call(this,n),Me(Le(o),"options",void 0),Me(Le(o),"defaultShowOptions",void 0),Me(Le(o),"optionConfig",void 0),Me(Le(o),"defaultValue",void 0),Me(Le(o),"datasourceBind",void 0),Me(Le(o),"multistageFilling",void 0),Me(Le(o),"allowCopyOptions",void 0),Me(Le(o),"openMultistageFilling",void 0),Me(Le(o),"viewFormModelType",void 0),Me(Le(o),"canViewForm",void 0),Me(Le(o),"formBind",void 0);var i;o.options=St((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 ne(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:jp.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 _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Te(g))}));var b;o.canViewForm=(b=n==null?void 0:n.canViewForm)!==null&&b!==void 0?b:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new Nn(n==null?void 0:n.formBind),o}return r}(D);Me(Dp,"Rules",x4);function i$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 D4(e,t,r){return t&&u$(e.prototype,t),r&&u$(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 hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function N4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 F4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:i$(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function j4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M4(e){var t=L4();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 F4(this,o)}}var jp=function(e){N4(r,e);var t=M4(r);function r(n){k4(this,r);var o;return o=t.call(this,n),Np(i$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return D4(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(N);Np(jp,"controlFieldType",m.VARCHAR),Np(jp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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:"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 C4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V4(e,t,r){return t&&l$(e.prototype,t),r&&l$(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 bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function z4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function H4(e,t){return t&&(q4(t)==="object"||typeof t=="function")?t:c$(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W4(e){var t=U4();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 H4(this,o)}}var K4=function(e){z4(r,e);var t=W4(r);function r(n){C4(this,r);var o;return o=t.call(this,n),a$(c$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return V4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(F);a$(K4,"controlFieldType",m.VARCHAR);function Ge(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 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 gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function Cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function G4(e,t){return t&&(X4(t)==="object"||typeof t=="function")?t:Ge(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}function X4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zp(e){var t=Q4();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 G4(this,o)}}var J4=function(e){Cp(r,e);var t=zp(r);function r(n){Mp(this,r);var o;return o=t.call(this,n),Ce(Ge(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:v.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(jn),Z4=function(e){Cp(r,e);var t=zp(r);function r(n){Mp(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(H),mc=function(e){Cp(r,e);var t=zp(r);function r(n){Mp(this,r);var o;o=t.call(this,n),Ce(Ge(o),"options",void 0),Ce(Ge(o),"defaultShowOptions",void 0),Ce(Ge(o),"optionConfig",void 0),Ce(Ge(o),"defaultValue",void 0),Ce(Ge(o),"datasourceBind",void 0),Ce(Ge(o),"multistageFilling",void 0),Ce(Ge(o),"openMultistageFilling",void 0),Ce(Ge(o),"viewFormModelType",void 0),Ce(Ge(o),"canViewForm",void 0),Ce(Ge(o),"formBind",void 0);var i;o.options=St((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 ne(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Up.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 _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Te(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Nn(n==null?void 0:n.formBind),o}return r}(D);Ce(mc,"Rules",J4),Ce(mc,"RuntimeRules",Z4);function f$(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 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 eC(e,t,r){return t&&s$(e.prototype,t),r&&s$(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 Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function tC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nC(e,t){return t&&(rC(t)==="object"||typeof t=="function")?t:f$(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function rC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iC(e){var t=oC();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 nC(this,o)}}var Up=function(e){tC(r,e);var t=iC(r);function r(n){Y4(this,r);var o;return o=t.call(this,n),Hp(f$(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return eC(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(N);Hp(Up,"controlFieldType",m.ARRAY),Hp(Up,"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:"default-value",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 uC(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 cC(e,t,r){return t&&y$(e.prototype,t),r&&y$(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 wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function lC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function aC(e,t){return t&&(fC(t)==="object"||typeof t=="function")?t:_$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function fC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _C(e){var t=sC();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 aC(this,o)}}var yC=function(e){lC(r,e);var t=_C(r);function r(n){uC(this,r);var o;return o=t.call(this,n),p$(_$(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return cC(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(F);p$(yC,"controlFieldType",m.ARRAY);function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function v$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function pC(e,t){return t&&(dC(t)==="object"||typeof t=="function")?t:Ft(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function dC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=vC();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 pC(this,o)}}var hC=function(e){v$(r,e);var t=h$(r);function r(n){d$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(H),Gp=function(e){v$(r,e);var t=h$(r);function r(n){d$(this,r);var o;o=t.call(this,n),jt(Ft(o),"showType",void 0),jt(Ft(o),"range",void 0),jt(Ft(o),"rangeOptions",void 0),jt(Ft(o),"multiple",void 0),jt(Ft(o),"defaultValueType",void 0),jt(Ft(o),"defaultValue",void 0),jt(Ft(o),"multistageFilling",void 0),jt(Ft(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 _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Jp.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Te(O))})),o}return r}(D);jt(Gp,"RuntimeRules",hC);function b$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bC(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 gC(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function Xp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function mC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function OC(e,t){return t&&(wC(t)==="object"||typeof t=="function")?t:b$(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}function wC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PC(e){var t=$C();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 OC(this,o)}}var Jp=function(e){mC(r,e);var t=PC(r);function r(n){bC(this,r);var o;return o=t.call(this,n),Xp(b$(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return gC(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(N);Xp(Jp,"controlFieldType",m.EMPLOYEES),Xp(Jp,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.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 m$(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 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 SC(e,t,r){return t&&O$(e.prototype,t),r&&O$(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 Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function EC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TC(e,t){return t&&(BC(t)==="object"||typeof t=="function")?t:m$(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function BC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AC(e){var t=IC();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 TC(this,o)}}var xC=function(e){EC(r,e);var t=AC(r);function r(n){RC(this,r);var o;return o=t.call(this,n),w$(m$(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return SC(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(F);w$(xC,"controlFieldType",m.EMPLOYEES);function Lt(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 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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&td(e,t)}function kC(e,t){return t&&(DC(t)==="object"||typeof t=="function")?t:Lt(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}function DC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=NC();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 kC(this,o)}}var FC=10485760,jC=104857600,LC=1048576e3,MC=function(e){ed(r,e);var t=nd(r);function r(n){Yp(this,r);var o;return o=t.call(this,n),dt(Lt(o),"maxSize",{type:"number",min:0,max:LC,message:v.getMessage("attachmentMaxSize")}),o}return r}(ie),CC=function(e){ed(r,e);var t=nd(r);function r(n){Yp(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:v.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(H),Ec=function(e){ed(r,e);var t=nd(r);function r(n){Yp(this,r);var o;o=t.call(this,n),dt(Lt(o),"defaultValue",void 0),dt(Lt(o),"showType",void 0),dt(Lt(o),"resultShowType",void 0),dt(Lt(o),"attachmentAccept",void 0),dt(Lt(o),"maxLimit",void 0),dt(Lt(o),"minLimit",void 0),dt(Lt(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 _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:jC;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:mo.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(D);dt(Ec,"Rules",MC),dt(Ec,"RuntimeRules",CC);function $$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VC(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 zC(e,t,r){return t&&P$(e.prototype,t),r&&P$(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 Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(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&&rd(e,t)}function qC(e,t){return t&&(UC(t)==="object"||typeof t=="function")?t:$$(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(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=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qC(this,o)}}var mo=function(e){HC(r,e);var t=KC(r);function r(n){VC(this,r);var o;return o=t.call(this,n),Tc($$(o),"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return zC(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(N);Tc(mo,"controlEventKeys",["on_change"]),Tc(mo,"controlFieldType",m.FILE),Tc(mo,"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 R$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XC(e,t,r){return t&&S$(e.prototype,t),r&&S$(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 Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(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&&od(e,t)}function JC(e,t){return t&&(ZC(t)==="object"||typeof t=="function")?t:R$(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}function ZC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e7(e){var t=YC();return function(){var n=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JC(this,o)}}var t7=function(e){QC(r,e);var t=e7(r);function r(n){GC(this,r);var o;return o=t.call(this,n),E$(R$(o),"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return XC(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(F);E$(t7,"controlFieldType",m.FILE);function n7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 o7(e,t,r){return t&&T$(e.prototype,t),r&&T$(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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function i7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function u7(e,t){return t&&(c7(t)==="object"||typeof t=="function")?t:n7(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(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 a7(e){var t=l7();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 u7(this,o)}}var I$=function(e){i7(r,e);var t=a7(r);function r(n){r7(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 o7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(mo);B$(I$,"controlFieldType",m.IMAGE),B$(I$,"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 Re(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 _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function 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&&ld(e,t)}function f7(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){_e(e,o,r[o])})}return e}function s7(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 _7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function y7(e,t){return t&&(p7(t)==="object"||typeof t=="function")?t:Re(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}function p7(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 ad(e){var t=d7();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 y7(this,o)}}var v7=function(e){cd(r,e);var t=ad(r);function r(n){ud(this,r);var o;o=t.call(this,n),_e(Re(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:v.getMessage("pleaseEnterNumberRange")}]}}),_e(Re(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=v.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:v.getMessage("numberRangeSetError")}),o}return r}(jn),h7=function(e){cd(r,e);var t=ad(r);function r(n){ud(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(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:[_7(f7({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:v.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(H),kc=function(e){cd(r,e);var t=ad(r);function r(n){ud(this,r);var o;o=t.call(this,n),_e(Re(o),"rangeMin",void 0),_e(Re(o),"rangeMax",void 0),_e(Re(o),"showUpperCase",void 0),_e(Re(o),"submitSelectCurrency",void 0),_e(Re(o),"micrometer",void 0),_e(Re(o),"precision",void 0),_e(Re(o),"unitPosition",void 0),_e(Re(o),"optionConfig",void 0),_e(Re(o),"dataBind",void 0),_e(Re(o),"datasourceBind",void 0),_e(Re(o),"defaultValue",void 0),_e(Re(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 ex(n==null?void 0:n.dataBind);var f;o.datasourceBind=new ne((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new Ns({value:"name"})]});var _;o.defaultValue=new tx((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:Ms.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=St(n==null?void 0:n.options);var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Fc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u8F93\u5165";var g;o.submitSelectCurrency=(g=n==null?void 0:n.submitSelectCurrency)!==null&&g!==void 0?g:!1;var w;return o.showUpperCase=(w=n==null?void 0:n.showUpperCase)!==null&&w!==void 0?w:!1,o}return r}(D);_e(kc,"Rules",v7),_e(kc,"RuntimeRules",h7);function A$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g7(e,t,r){return t&&x$(e.prototype,t),r&&x$(e,r),e}function Dc(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nc=Reflect.get:Nc=function(o,i,u){var c=w7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Nc(e,t,r||e)}function Kn(e){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kn(e)}function m7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function O7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:A$(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function w7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kn(e),e!==null););return e}function $7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R7(e){var t=P7();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 O7(this,o)}}var Fc=function(e){m7(r,e);var t=R7(r);function r(n){b7(this,r);var o;return o=t.call(this,n),Dc(A$(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return g7(r,[{key:"toDataBindModel",value:function(o){var i=Nc(Kn(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}(N);Dc(Fc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Dc(Fc,"controlFieldType",m.MONEY),Dc(Fc,"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:"unit-position",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 k$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 E7(e,t,r){return t&&D$(e.prototype,t),r&&D$(e,r),e}function N$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function T7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function B7(e,t){return t&&(I7(t)==="object"||typeof t=="function")?t:k$(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function I7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x7(e){var t=A7();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B7(this,o)}}var k7=function(e){T7(r,e);var t=x7(r);function r(n){S7(this,r);var o;return o=t.call(this,n),N$(k$(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return E7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(F);N$(k7,"controlFieldType",m.MONEY);function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function D7(e,t){return t&&(N7(t)==="object"||typeof t=="function")?t:cn(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}function N7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dd(e){var t=F7();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 D7(this,o)}}var j7=function(e){yd(r,e);var t=dd(r);function r(n){_d(this,r);var o;return o=t.call(this,n),Mt(cn(o),"totalScore",[{type:"number",required:!0,message:v.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:v.getMessage("theTotalScoreMustNotBeLessThan1")}]),Mt(cn(o),"defaultValue",{type:"number",min:0,max:5,message:v.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(ie),L7=function(e){yd(r,e);var t=dd(r);function r(n){_d(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:v.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(H),Mc=function(e){yd(r,e);var t=dd(r);function r(n){_d(this,r);var o,i;o=t.call(this,n),Mt(cn(o),"totalScore",void 0),Mt(cn(o),"scoreType",void 0),Mt(cn(o),"isShowExplain",void 0),Mt(cn(o),"explain",void 0),Mt(cn(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:j_.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(p){return new L_(p)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new L_});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:zc.controlName,o}return r}(D);Mt(Mc,"Rules",j7),Mt(Mc,"RuntimeRules",L7);function vd(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 M7(e){if(Array.isArray(e))return vd(e)}function F$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 V7(e,t,r){return t&&j$(e.prototype,t),r&&j$(e,r),e}function Cc(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Vc=Reflect.get:Vc=function(o,i,u){var c=W7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Vc(e,t,r||e)}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gn(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&&hd(e,t)}function H7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function q7(){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 U7(e,t){return t&&(G7(t)==="object"||typeof t=="function")?t:F$(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}function W7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gn(e),e!==null););return e}function K7(e){return M7(e)||H7(e)||X7(e)||q7()}function G7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X7(e,t){if(!!e){if(typeof e=="string")return vd(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 vd(e,t)}}function Q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J7(e){var t=Q7();return function(){var n=Gn(e),o;if(t){var i=Gn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U7(this,o)}}var zc=function(e){z7(r,e);var t=J7(r);function r(n){C7(this,r);var o;return o=t.call(this,n),Cc(F$(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return V7(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 L_});(u=this.props.explain).push.apply(u,K7(a))}}Vc(Gn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(N);Cc(zc,"controlEventKeys",["on_change","on_click"]),Cc(zc,"controlFieldType",m.DECIMAL),Cc(zc,"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 L$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z7(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 Y7(e,t,r){return t&&M$(e.prototype,t),r&&M$(e,r),e}function C$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function eV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function tV(e,t){return t&&(nV(t)==="object"||typeof t=="function")?t:L$(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}function nV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oV(e){var t=rV();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tV(this,o)}}var iV=function(e){eV(r,e);var t=oV(r);function r(n){Z7(this,r);var o;return o=t.call(this,n),C$(L$(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return Y7(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(F);C$(iV,"controlFieldType",m.DECIMAL);function qc(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 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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&gd(e,t)}function uV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:qc(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function cV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=lV();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 uV(this,o)}}var aV=function(e){z$(r,e);var t=H$(r);function r(n){V$(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:v.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:v.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:v.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(H),md=function(e){z$(r,e);var t=H$(r);function r(n){V$(this,r);var o;o=t.call(this,n),Uc(qc(o),"defaultValueType",void 0),Uc(qc(o),"defaultValue",void 0),Uc(qc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$d.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 ox((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}(D);Uc(md,"RuntimeRules",aV);function q$(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 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 sV(e,t,r){return t&&U$(e.prototype,t),r&&U$(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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function _V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function yV(e,t){return t&&(pV(t)==="object"||typeof t=="function")?t:q$(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}function pV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vV(e){var t=dV();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 yV(this,o)}}var $d=function(e){_V(r,e);var t=vV(r);function r(n){fV(this,r);var o;return o=t.call(this,n),Od(q$(o),"props",void 0),o.props=new md(n==null?void 0:n.props),o}return sV(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(N);Od($d,"controlFieldType",m.ADDRESS),Od($d,"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 W$(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 K$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bV(e,t,r){return t&&K$(e.prototype,t),r&&K$(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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function gV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function mV(e,t){return t&&(OV(t)==="object"||typeof t=="function")?t:W$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}function OV(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 $V(e){var t=wV();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 mV(this,o)}}var PV=function(e){gV(r,e);var t=$V(r);function r(n){hV(this,r);var o;return o=t.call(this,n),G$(W$(o),"props",void 0),o.props=new md(n==null?void 0:n.props),o}return bV(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}(F);G$(PV,"controlFieldType",m.ADDRESS);function ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(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&&Rd(e,t)}function RV(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:ot(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function SV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J$(e){var t=EV();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 RV(this,o)}}var TV=function(e){Q$(r,e);var t=J$(r);function r(n){X$(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(H),Sd=function(e){Q$(r,e);var t=J$(r);function r(n){X$(this,r);var o;o=t.call(this,n),it(ot(o),"showType",void 0),it(ot(o),"range",void 0),it(ot(o),"defaultValueType",void 0),it(ot(o),"multiple",void 0),it(ot(o),"rangeOptions",void 0),it(ot(o),"defaultValue",void 0),it(ot(o),"displayLevel",void 0),it(ot(o),"showSubDept",void 0),it(ot(o),"multistageFilling",void 0),it(ot(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 _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Zc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Te(w))})),o}return r}(D);it(Sd,"RuntimeRules",TV);function Z$(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 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 IV(e,t,r){return t&&Y$(e.prototype,t),r&&Y$(e,r),e}function Qc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Jc=Reflect.get:Jc=function(o,i,u){var c=kV(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Jc(e,t,r||e)}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(e)}function AV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function xV(e,t){return t&&(DV(t)==="object"||typeof t=="function")?t:Z$(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function kV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xn(e),e!==null););return e}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=Xn(e),o;if(t){var i=Xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xV(this,o)}}var Zc=function(e){AV(r,e);var t=FV(r);function r(n){BV(this,r);var o;return o=t.call(this,n),Qc(Z$(o),"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return IV(r,[{key:"toDataBindModel",value:function(o){var i=Jc(Xn(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}(N);Qc(Zc,"controlName","\u90E8\u95E8"),Qc(Zc,"controlFieldType",m.DEPARTMENTS),Qc(Zc,"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 eP(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 tP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LV(e,t,r){return t&&tP(e.prototype,t),r&&tP(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 Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(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&&Td(e,t)}function CV(e,t){return t&&(VV(t)==="object"||typeof t=="function")?t:eP(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function VV(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=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CV(this,o)}}var qV=function(e){MV(r,e);var t=HV(r);function r(n){jV(this,r);var o;return o=t.call(this,n),nP(eP(o),"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return LV(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(F);nP(qV,"controlFieldType",m.DEPARTMENTS);function rP(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 WV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(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&&Bd(e,t)}function GV(e,t){return t&&(XV(t)==="object"||typeof t=="function")?t:rP(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function XV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JV(e){var t=QV();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 GV(this,o)}}var oP=function(e){KV(r,e);var t=JV(r);function r(n){UV(this,r);var o;o=t.call(this,n),WV(rP(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:rl.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}(D);function iP(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 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 YV(e,t,r){return t&&uP(e.prototype,t),r&&uP(e,r),e}function tl(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 e8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Id(e,t)}function t8(e,t){return t&&(n8(t)==="object"||typeof t=="function")?t:iP(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function n8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o8(e){var t=r8();return function(){var n=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t8(this,o)}}var rl=function(e){e8(r,e);var t=o8(r);function r(n){ZV(this,r);var o;return o=t.call(this,n),tl(iP(o),"props",void 0),o.props=new oP(n==null?void 0:n.props),o}return YV(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(N);tl(rl,"controlEventKeys",["on_change"]),tl(rl,"controlFieldType",m.AUTO_NUMBER),tl(rl,"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 cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 u8(e,t,r){return t&&lP(e.prototype,t),r&&lP(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 ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function c8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function l8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:cP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function a8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s8(e){var t=f8();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 l8(this,o)}}var _8=function(e){c8(r,e);var t=s8(r);function r(n){i8(this,r);var o;return o=t.call(this,n),aP(cP(o),"props",void 0),o.props=new oP(n==null?void 0:n.props),o}return u8(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(F);aP(_8,"controlFieldType",m.AUTO_NUMBER);function vt(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 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 il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(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 y8(e,t){return t&&(p8(t)==="object"||typeof t=="function")?t:vt(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}function p8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nd(e){var t=d8();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 y8(this,o)}}var v8=function(e){kd(r,e);var t=Nd(r);function r(n){xd(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}(ie),h8=function(e){kd(r,e);var t=Nd(r);function r(n){xd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:v.getMessage("isNotObject"),fields:{result:[{type:"number",message:v.getMessage("isNotNumber")}],unit:{type:"string",message:v.getMessage("isNotString")}}}),o}return r}(H),ul=function(e){kd(r,e);var t=Nd(r);function r(n){xd(this,r);var o;o=t.call(this,n),ut(vt(o),"precision",void 0),ut(vt(o),"micrometer",void 0),ut(vt(o),"showUpperCase",void 0),ut(vt(o),"scriptSrc",void 0),ut(vt(o),"scriptEcho",void 0),ut(vt(o),"dataBind",void 0),ut(vt(o),"defaultValue",void 0),ut(vt(o),"unitPosition",void 0),ut(vt(o),"calcOnMounted",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 ix(n==null?void 0:n.dataBind),o.defaultValue=new ux(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:al.controlName;var l;o.unitPosition=(l=n==null?void 0:n.unitPosition)!==null&&l!==void 0?l:"right";var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165";var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var p;o.scriptSrc=(p=n==null?void 0:n.scriptSrc)!==null&&p!==void 0?p:"";var b;return o.calcOnMounted=(b=n==null?void 0:n.calcOnMounted)!==null&&b!==void 0?b:!1,o}return r}(D);ut(ul,"Rules",v8),ut(ul,"RuntimeRules",h8);function fP(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 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 g8(e,t,r){return t&&sP(e.prototype,t),r&&sP(e,r),e}function cl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ll=Reflect.get:ll=function(o,i,u){var c=w8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},ll(e,t,r||e)}function Qn(e){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qn(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&&Fd(e,t)}function O8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:fP(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function w8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qn(e),e!==null););return e}function $8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R8(e){var t=P8();return function(){var n=Qn(e),o;if(t){var i=Qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O8(this,o)}}var al=function(e){m8(r,e);var t=R8(r);function r(n){b8(this,r);var o;return o=t.call(this,n),cl(fP(o),"props",void 0),o.props=new ul(n==null?void 0:n.props),o}return g8(r,[{key:"toDataBindModel",value:function(o){var i=ll(Qn(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}(N);cl(al,"controlEventKeys",["on_change"]),cl(al,"controlFieldType",m.CALC),cl(al,"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:"calc-on-mounted",visible:!0},{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:"unit-position",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 _P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S8(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 E8(e,t,r){return t&&yP(e.prototype,t),r&&yP(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 fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function T8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 B8(e,t){return t&&(I8(t)==="object"||typeof t=="function")?t:_P(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function I8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x8(e){var t=A8();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 B8(this,o)}}var k8=function(e){T8(r,e);var t=x8(r);function r(n){S8(this,r);var o;return o=t.call(this,n),pP(_P(o),"props",void 0),o.props=new ul(n==null?void 0:n.props),o}return E8(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(F);pP(k8,"controlFieldType",m.CALC);function Jn(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 Zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(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&&Ld(e,t)}function D8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:Jn(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function N8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hP(e){var t=F8();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 D8(this,o)}}var j8=function(e){vP(r,e);var t=hP(r);function r(n){dP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(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(v.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(H),Md=function(e){vP(r,e);var t=hP(r);function r(n){dP(this,r);var o;o=t.call(this,n),Zn(Jn(o),"rangeMin",void 0),Zn(Jn(o),"rangeMax",void 0),Zn(Jn(o),"placeholderStart",void 0),Zn(Jn(o),"placeholderEnd",void 0),Zn(Jn(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:zd.controlName,o}return r}(D);Zn(Md,"RuntimeRules",j8);function bP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M8(e,t,r){return t&&gP(e.prototype,t),r&&gP(e,r),e}function Cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(e)}function C8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function V8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:bP(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q8(e){var t=H8();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V8(this,o)}}var zd=function(e){C8(r,e);var t=q8(r);function r(n){L8(this,r);var o;return o=t.call(this,n),Cd(bP(o),"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return M8(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(N);Cd(zd,"controlFieldType",m.DECIMAL_RANGE),Cd(zd,"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 mP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W8(e,t,r){return t&&OP(e.prototype,t),r&&OP(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 yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function K8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G8(e,t){return t&&(X8(t)==="object"||typeof t=="function")?t:mP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function X8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J8(e){var t=Q8();return function(){var n=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G8(this,o)}}var Z8=function(e){K8(r,e);var t=J8(r);function r(n){U8(this,r);var o;return o=t.call(this,n),wP(mP(o),"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return W8(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(F);wP(Z8,"controlFieldType",m.DECIMAL_RANGE);function ct(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 lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function PP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function Y8(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:ct(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function e9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RP(e){var t=t9();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 Y8(this,o)}}var n9=function(e){PP(r,e);var t=RP(r);function r(n){$P(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&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),Ud=function(e){PP(r,e);var t=RP(r);function r(n){$P(this,r);var o,i;o=t.call(this,n),lt(ct(o),"rangeMin",void 0),lt(ct(o),"rangeMax",void 0),lt(ct(o),"placeholderStart",void 0),lt(ct(o),"placeholderEnd",void 0),lt(ct(o),"dateType",void 0),lt(ct(o),"dateFormat",void 0),lt(ct(o),"commonTimeSetting",void 0),lt(ct(o),"setValueType",void 0),lt(ct(o),"defaultValue",void 0),lt(ct(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:Ht.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 _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var b;o.placeholderStart=(b=n==null?void 0:n.placeholderStart)!==null&&b!==void 0?b:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Gd.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(d){return new F_(d)}))!==null&&w!==void 0?w:[],o}return r}(D);lt(Ud,"RuntimeRules",n9);function SP(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 EP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o9(e,t,r){return t&&EP(e.prototype,t),r&&EP(e,r),e}function Wd(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 i9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function u9(e,t){return t&&(c9(t)==="object"||typeof t=="function")?t:SP(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function c9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a9(e){var t=l9();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 u9(this,o)}}var Gd=function(e){i9(r,e);var t=a9(r);function r(n){r9(this,r);var o;return o=t.call(this,n),Wd(SP(o),"props",void 0),o.props=new Ud(n==null?void 0:n.props),o}return o9(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(N);Wd(Gd,"controlFieldType",m.ARRAY),Wd(Gd,"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 TP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 s9(e,t,r){return t&&BP(e.prototype,t),r&&BP(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 vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(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&&Xd(e,t)}function y9(e,t){return t&&(p9(t)==="object"||typeof t=="function")?t:TP(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function p9(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 v9(e){var t=d9();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 y9(this,o)}}var h9=function(e){_9(r,e);var t=v9(r);function r(n){f9(this,r);var o;return o=t.call(this,n),IP(TP(o),"props",void 0),o.props=new Ud(n==null?void 0:n.props),o}return s9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(F);IP(h9,"controlFieldType",m.ARRAY);function Oo(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 Yn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function Jd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function b9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:Oo(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function g9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yd(e){var t=m9();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 b9(this,o)}}var O9=function(e){Jd(r,e);var t=Yd(r);function r(n){Qd(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ie),w9=function(e){Jd(r,e);var t=Yd(r);function r(n){Qd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(H),bl=function(e){Jd(r,e);var t=Yd(r);function r(n){Qd(this,r);var o;o=t.call(this,n),Yn(Oo(o),"controlExportName",void 0),Yn(Oo(o),"permissions",void 0),Yn(Oo(o),"defaultValue",void 0),Yn(Oo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$o.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}(D);Yn(bl,"Rules",O9),Yn(bl,"RuntimeRules",w9);function AP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 P9(e,t,r){return t&&xP(e.prototype,t),r&&xP(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 gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function R9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function S9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:AP(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function E9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B9(e){var t=T9();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 S9(this,o)}}var $o=function(e){R9(r,e);var t=B9(r);function r(n){$9(this,r);var o;return o=t.call(this,n),wo(AP(o),"props",void 0),o.props=new bl(n==null?void 0:n.props),o}return P9(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(N);wo($o,"controlFieldType",m.ANY),wo($o,"controlEventKeys",[]),wo($o,"slots",["grid-table-toolbar-slot",Yb.DEFAULT]),wo($o,"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 kP(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 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 A9(e,t,r){return t&&DP(e.prototype,t),r&&DP(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 ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function x9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function k9(e,t){return t&&(D9(t)==="object"||typeof t=="function")?t:kP(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function D9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F9(e){var t=N9();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 k9(this,o)}}var j9=function(e){x9(r,e);var t=F9(r);function r(n){I9(this,r);var o;return o=t.call(this,n),NP(kP(o),"props",void 0),o.props=new bl(n==null?void 0:n.props),o}return A9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(F);NP(j9,"controlFieldType",m.ANY);function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(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&&nv(e,t)}function L9(e,t){return t&&(M9(t)==="object"||typeof t=="function")?t:Se(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function M9(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 LP(e){var t=C9();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 L9(this,o)}}var V9=function(e){jP(r,e);var t=LP(r);function r(n){FP(this,r);var o;return o=t.call(this,n),Ee(Se(o),"listPageBind",[{type:"object",message:v.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:v.getMessage("isNotString")},{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}]}}]),Ee(Se(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:v.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(jn),rv=function(e){jP(r,e);var t=LP(r);function r(n){FP(this,r);var o;o=t.call(this,n),Ee(Se(o),"options",void 0),Ee(Se(o),"optionConfig",void 0),Ee(Se(o),"defaultValue",void 0),Ee(Se(o),"listPageBind",void 0),Ee(Se(o),"datasourceBind",void 0),Ee(Se(o),"multistageFilling",void 0),Ee(Se(o),"viewFormModelType",void 0),Ee(Se(o),"canViewForm",void 0),Ee(Se(o),"formBind",void 0),Ee(Se(o),"openMultistageFilling",void 0),Ee(Se(o),"showSelectedDetail",void 0),Ee(Se(o),"selectedContentConfig",void 0);var i;o.options=St((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 ks(n==null?void 0:n.listPageBind),o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Pl.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 _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new js(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Te(O))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Nn(n==null?void 0:n.formBind),o}return r}(D);Ee(rv,"Rules",V9);function MP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H9(e,t,r){return t&&CP(e.prototype,t),r&&CP(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 $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function q9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U9(e,t){return t&&(W9(t)==="object"||typeof t=="function")?t:MP(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function W9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G9(e){var t=K9();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 U9(this,o)}}var Pl=function(e){q9(r,e);var t=G9(r);function r(n){z9(this,r);var o;return o=t.call(this,n),wl(MP(o),"props",void 0),o.props=new rv(n==null?void 0:n.props),o}return H9(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(N);wl(Pl,"controlFieldType",m.VARCHAR),wl(Pl,"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:"default-value",visible:!0},{key:"super-setting",visible:!0}]),wl(Pl,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function VP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Q9(e,t,r){return t&&zP(e.prototype,t),r&&zP(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 Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(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&&iv(e,t)}function Z9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:VP(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function Y9(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=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z9(this,o)}}var nz=function(e){J9(r,e);var t=tz(r);function r(n){X9(this,r);var o;return o=t.call(this,n),HP(VP(o),"props",void 0),o.props=new rv(n==null?void 0:n.props),o}return Q9(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(F);HP(nz,"controlFieldType",m.VARCHAR);function rz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function iz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:rz(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function az(e){var t=lz();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 uz(this,o)}}var qP=function(e){iz(r,e);var t=az(r);function r(n){return oz(this,r),t.call(this,n)}return r}(bo);function UP(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 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 sz(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 El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(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&&cv(e,t)}function yz(e,t){return t&&(pz(t)==="object"||typeof t=="function")?t:UP(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function pz(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=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yz(this,o)}}var hz=function(e){_z(r,e);var t=vz(r);function r(n){fz(this,r);var o;return o=t.call(this,n),KP(UP(o),"props",void 0),o.props=new qP(n==null?void 0:n.props),o}return sz(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(go);KP(hz,"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 GP(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 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 gz(e,t,r){return t&&XP(e.prototype,t),r&&XP(e,r),e}function QP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(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&&lv(e,t)}function Oz(e,t){return t&&(wz(t)==="object"||typeof t=="function")?t:GP(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function wz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pz(e){var t=$z();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oz(this,o)}}var Rz=function(e){mz(r,e);var t=Pz(r);function r(n){bz(this,r);var o;return o=t.call(this,n),QP(GP(o),"props",void 0),o.props=new qP(n==null?void 0:n.props),o}return gz(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(F);QP(Rz,"controlFieldType",m.VARCHAR);function Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function av(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function fv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function Sz(e,t){return t&&(Ez(t)==="object"||typeof t=="function")?t:Q(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(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 _v(e){var t=Tz();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 Sz(this,o)}}var Bz=function(e){fv(r,e);var t=_v(r);function r(n){av(this,r);var o;return o=t.call(this,n),J(Q(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),Jo.call(Q(o),n,mn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:v.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:v.getMessage("rootNodeIsRequired")}}}]),o}return r}(ie),Iz=function(e){fv(r,e);var t=_v(r);function r(n){av(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(H),Il=function(e){fv(r,e);var t=_v(r);function r(n){av(this,r);var o,i;o=t.call(this,n),J(Q(o),"placeholder",void 0),J(Q(o),"multiple",void 0),J(Q(o),"canSearch",void 0),J(Q(o),"levelType",void 0),J(Q(o),"optionalLevel",void 0),J(Q(o),"containsSubNode",void 0),J(Q(o),"defaultDisplay",void 0),J(Q(o),"isShowIncludeSub",void 0),J(Q(o),"isDefaultCheckSub",void 0),J(Q(o),"isShowFilterItem",void 0),J(Q(o),"defaultCollapse",void 0),J(Q(o),"defaultCollapseLevel",void 0),J(Q(o),"optionConfig","datasource"),J(Q(o),"datasourceBind",void 0),J(Q(o),"filterItemDatasourceBind",void 0),J(Q(o),"multistageFilling",void 0),J(Q(o),"defaultValue",void 0),J(Q(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:mn.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 _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var b;o.isShowFilterItem=(b=n==null?void 0:n.isShowFilterItem)!==null&&b!==void 0?b:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var g;o.isDefaultCheckSub=(g=n==null?void 0:n.isDefaultCheckSub)!==null&&g!==void 0?g:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var d;o.defaultCollapseLevel=(d=n==null?void 0:n.defaultCollapseLevel)!==null&&d!==void 0?d:1;var $;o.datasourceBind=new Tg(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:mn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new Tg((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:mn.controlCustomAttributes});var R;o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1;var S;o.defaultDisplay=(S=n==null?void 0:n.defaultDisplay)!==null&&S!==void 0?S:!1;var L;o.multistageFilling=(L=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(G){return new Te(G)}))!==null&&L!==void 0?L:[];var B;return o.defaultValue=(B=n==null?void 0:n.defaultValue)!==null&&B!==void 0?B:[],o}return r}(D);J(Il,"Rules",Bz),J(Il,"RuntimeRules",Iz);function JP(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 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 xz(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function Al(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function kz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function Dz(e,t){return t&&(Nz(t)==="object"||typeof t=="function")?t:JP(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function Nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jz(e){var t=Fz();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 Dz(this,o)}}var mn=function(e){kz(r,e);var t=jz(r);function r(n){Az(this,r);var o;return o=t.call(this,n),Al(JP(o),"props",void 0),o.props=new Il(n==null?void 0:n.props),o}return xz(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(N);Al(mn,"controlEventKeys",["on_change","on_click"]),Al(mn,"controlFieldType",m.ARRAY),Al(mn,"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:"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 Lz(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 Mz(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 kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(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&&pv(e,t)}function Vz(e,t){return t&&(zz(t)==="object"||typeof t=="function")?t:YP(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}function zz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qz(e){var t=Hz();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vz(this,o)}}var Uz=function(e){Cz(r,e);var t=qz(r);function r(n){Lz(this,r);var o;return o=t.call(this,n),tR(YP(o),"props",void 0),o.props=new Il(n==null?void 0:n.props),o}return Mz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(F);tR(Uz,"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 dv(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 Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(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&&hv(e,t)}function Wz(e,t){return t&&(Kz(t)==="object"||typeof t=="function")?t:ye(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(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 bv(e){var t=Gz();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 Wz(this,o)}}var Xz=function(e){vv(r,e);var t=bv(r);function r(n){dv(this,r);var o;return o=t.call(this,n),pe(ye(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),pe(ye(o),"externalScope",{type:"any"}),Jo.call(ye(o),n,Po.controlCustomAttributes),n.externalType===Zt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:v.getMessage("pleaseAssignExternal")}),o}return r}(ie),Qz=function(e){vv(r,e);var t=bv(r);function r(n){dv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(H),Nl=function(e){vv(r,e);var t=bv(r);function r(n){dv(this,r);var o;o=t.call(this,n),pe(ye(o),"showType",void 0),pe(ye(o),"range",void 0),pe(ye(o),"rangeOptions",void 0),pe(ye(o),"multiple",void 0),pe(ye(o),"defaultValueType",void 0),pe(ye(o),"defaultValue",void 0),pe(ye(o),"multistageFilling",void 0),pe(ye(o),"datasourceBind",void 0),pe(ye(o),"datasourceType",void 0),pe(ye(o),"insideType",void 0),pe(ye(o),"externalType",void 0),pe(ye(o),"externalScope",void 0),pe(ye(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 _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Po.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;o.datasourceBind=new Ko((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Po.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:C_.INTERNAL;var g;o.insideType=(g=n==null?void 0:n.insideType)!==null&&g!==void 0?g:V_.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:Zt.ALL;var d;o.externalScope=(d=n==null?void 0:n.externalScope)!==null&&d!==void 0?d:[];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 Te(P))})),o}return r}(D);pe(Nl,"Rules",Xz),pe(Nl,"RuntimeRules",Qz);function nR(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 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 Zz(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function gv(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 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&&mv(e,t)}function eH(e,t){return t&&(tH(t)==="object"||typeof t=="function")?t:nR(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function tH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rH(e){var t=nH();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 eH(this,o)}}var Po=function(e){Yz(r,e);var t=rH(r);function r(n){Jz(this,r);var o;return o=t.call(this,n),gv(nR(o),"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return Zz(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(N);gv(Po,"controlFieldType",m.EMPLOYEES),gv(Po,"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 oR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 iH(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 jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function uH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function cH(e,t){return t&&(lH(t)==="object"||typeof t=="function")?t:oR(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function lH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fH(e){var t=aH();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 cH(this,o)}}var sH=function(e){uH(r,e);var t=fH(r);function r(n){oH(this,r);var o;return o=t.call(this,n),uR(oR(o),"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return iH(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(F);uR(sH,"controlFieldType",m.EMPLOYEES);function ht(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 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 Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(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&&wv(e,t)}function _H(e,t){return t&&(yH(t)==="object"||typeof t=="function")?t:ht(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function yH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aR(e){var t=pH();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 _H(this,o)}}var dH=function(e){lR(r,e);var t=aR(r);function r(n){cR(this,r);var o;return o=t.call(this,n),bt(ht(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,_){if(u.type==="public"&&Ss(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(l,f,_){if(u.type==="public"&&u.signatureType.includes("company")&&Ss(f.value)&&f.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(ie),$v=function(e){lR(r,e);var t=aR(r);function r(n){cR(this,r);var o;o=t.call(this,n),bt(ht(o),"buttonType",void 0),bt(ht(o),"content",void 0),bt(ht(o),"showType",void 0),bt(ht(o),"color",void 0),bt(ht(o),"icon",void 0),bt(ht(o),"command",""),bt(ht(o),"isLoading",!1),bt(ht(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vl.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\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 qD(n==null?void 0:n.signatureConfig),o}return r}(D);bt($v,"Rules",dH);function fR(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 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 hH(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function Ml(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function 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&&Pv(e,t)}function gH(e,t){return t&&(mH(t)==="object"||typeof t=="function")?t:fR(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function mH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wH(e){var t=OH();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 gH(this,o)}}var Vl=function(e){bH(r,e);var t=wH(r);function r(n){vH(this,r);var o;return o=t.call(this,n),Ml(fR(o),"props",void 0),o.props=new $v(n==null?void 0:n.props),o}return hH(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(N);Ml(Vl,"controlEventKeys",["on_click","on_click_finish"]),Ml(Vl,"controlFieldType",m.VARCHAR),Ml(Vl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.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 _R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $H(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 PH(e,t,r){return t&&yR(e.prototype,t),r&&yR(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 zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function RH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function SH(e,t){return t&&(EH(t)==="object"||typeof t=="function")?t:_R(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(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 BH(e){var t=TH();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 SH(this,o)}}var IH=function(e){RH(r,e);var t=BH(r);function r(n){$H(this,r);var o;return o=t.call(this,n),pR(_R(o),"props",void 0),o.props=new $v(n==null?void 0:n.props),o}return PH(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(F);pR(IH,"controlFieldType",m.VARCHAR);function ge(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 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 Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function Ev(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function AH(e,t){return t&&(xH(t)==="object"||typeof t=="function")?t:ge(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(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 Bv(e){var t=kH();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 AH(this,o)}}var DH=function(e){Ev(r,e);var t=Bv(r);function r(n){Sv(this,r);var o;return o=t.call(this,n),de(ge(o),"content",{type:"string",required:!0,message:v.getMessage("pleaseEnterButtonContent")}),de(ge(o),"canAdd",void 0),de(ge(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(v.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(v.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(v.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(ie),NH=function(e){Ev(r,e);var t=Bv(r);function r(n){Sv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(H),ql=function(e){Ev(r,e);var t=Bv(r);function r(n){Sv(this,r);var o;o=t.call(this,n),de(ge(o),"content",void 0),de(ge(o),"canAdd",void 0),de(ge(o),"addLocal",void 0),de(ge(o),"addOnline",void 0),de(ge(o),"canDownload",void 0),de(ge(o),"canEdit",void 0),de(ge(o),"canExport",void 0),de(ge(o),"canDelete",void 0),de(ge(o),"wpsSetting",void 0),de(ge(o),"maxSize",void 0),de(ge(o),"defaultValue",void 0),de(ge(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kl.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 _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var b;o.canDelete=(b=n==null?void 0:n.canDelete)!==null&&b!==void 0?b:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:FC;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[],o.wpsSetting=new UD(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}(D);de(ql,"Rules",DH),de(ql,"RuntimeRules",NH);function dR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FH(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 jH(e,t,r){return t&&vR(e.prototype,t),r&&vR(e,r),e}function Ul(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function LH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function MH(e,t){return t&&(CH(t)==="object"||typeof t=="function")?t:dR(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}function CH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zH(e){var t=VH();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MH(this,o)}}var Kl=function(e){LH(r,e);var t=zH(r);function r(n){FH(this,r);var o;return o=t.call(this,n),Ul(dR(o),"props",void 0),o.props=new ql(n==null?void 0:n.props),o}return jH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(N);Ul(Kl,"controlEventKeys",["on_change","on_wps_open"]),Ul(Kl,"controlFieldType",m.FILE),Ul(Kl,"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 hR(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 bR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qH(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function gR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function UH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function WH(e,t){return t&&(KH(t)==="object"||typeof t=="function")?t:hR(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function KH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XH(e){var t=GH();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 WH(this,o)}}var QH=function(e){UH(r,e);var t=XH(r);function r(n){HH(this,r);var o;return o=t.call(this,n),gR(hR(o),"props",void 0),o.props=new ql(n==null?void 0:n.props),o}return qH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(F);gR(QH,"controlFieldType",m.FILE);function re(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 oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(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&&Dv(e,t)}function JH(e,t){return t&&(ZH(t)==="object"||typeof t=="function")?t:re(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function ZH(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 Nv(e){var t=YH();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 JH(this,o)}}var eq=function(e){kv(r,e);var t=Nv(r);function r(n){xv(this,r);var o;return o=t.call(this,n),oe(re(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),oe(re(o),"businessScope",{type:"any"}),Jo.call(re(o),n,tr.controlCustomAttributes),n.businessType===Zt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:v.getMessage("pleaseAssignBusiness")}),o}return r}(ie),tq=function(e){kv(r,e);var t=Nv(r);function r(n){xv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(H),Ql=function(e){kv(r,e);var t=Nv(r);function r(n){xv(this,r);var o;o=t.call(this,n),oe(re(o),"showType",void 0),oe(re(o),"range",void 0),oe(re(o),"defaultValueType",void 0),oe(re(o),"multiple",void 0),oe(re(o),"rangeOptions",void 0),oe(re(o),"defaultValue",void 0),oe(re(o),"displayLevel",void 0),oe(re(o),"showSubDept",void 0),oe(re(o),"multistageFilling",void 0),oe(re(o),"datasourceBind",void 0),oe(re(o),"datasourceType",void 0),oe(re(o),"businessType",void 0),oe(re(o),"businessScope",void 0),oe(re(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 _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:tr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var g;o.datasourceBind=new Ko((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:tr.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:Ei.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Zt.ALL;var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new Te(R))})),o}return r}(D);oe(Ql,"Rules",eq),oe(Ql,"RuntimeRules",tq);function mR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rq(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function Jl(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=uq(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Zl(e,t,r||e)}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(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&&Fv(e,t)}function iq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:mR(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function uq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=er(e),e!==null););return e}function cq(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 aq(e){var t=lq();return function(){var n=er(e),o;if(t){var i=er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iq(this,o)}}var tr=function(e){oq(r,e);var t=aq(r);function r(n){nq(this,r);var o;return o=t.call(this,n),Jl(mR(o),"props",void 0),o.props=new Ql(n==null?void 0:n.props),o}return rq(r,[{key:"toDataBindModel",value:function(o){var i=Zl(er(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}(N);Jl(tr,"controlName","\u90E8\u95E8"),Jl(tr,"controlFieldType",m.DEPARTMENTS),Jl(tr,"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 wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 sq(e,t,r){return t&&$R(e.prototype,t),r&&$R(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 Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(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&&jv(e,t)}function yq(e,t){return t&&(pq(t)==="object"||typeof t=="function")?t:wR(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function pq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vq(e){var t=dq();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yq(this,o)}}var hq=function(e){_q(r,e);var t=vq(r);function r(n){fq(this,r);var o;return o=t.call(this,n),PR(wR(o),"props",void 0),o.props=new Ql(n==null?void 0:n.props),o}return sq(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(F);PR(hq,"controlFieldType",m.DEPARTMENTS);function W(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(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&&Cv(e,t)}function bq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:W(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}function gq(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 Vv(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 bq(this,o)}}var Oq=function(e){Mv(r,e);var t=Vv(r);function r(n){Lv(this,r);var o;return o=t.call(this,n),K(W(o),"datasourceBind",[{type:"object",message:v.getMessage("isNotObject")}]),K(W(o),"businessScope",{type:"any"}),Jo.call(W(o),n,rr.controlCustomAttributes),n.businessType===Zt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:v.getMessage("pleaseAssignBusiness")}),o}return r}(ie),wq=function(e){Mv(r,e);var t=Vv(r);function r(n){Lv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(H),ta=function(e){Mv(r,e);var t=Vv(r);function r(n){Lv(this,r);var o;o=t.call(this,n),K(W(o),"showType",void 0),K(W(o),"range",void 0),K(W(o),"defaultValueType",void 0),K(W(o),"multiple",void 0),K(W(o),"rangeOptions",void 0),K(W(o),"defaultValue",void 0),K(W(o),"displayLevel",void 0),K(W(o),"showSubDept",void 0),K(W(o),"multistageFilling",void 0),K(W(o),"datasourceBind",void 0),K(W(o),"listPageBind",void 0),K(W(o),"datasourceType",void 0),K(W(o),"businessType",void 0),K(W(o),"businessScope",void 0),K(W(o),"organizingFunction",void 0),K(W(o),"organizationView",void 0),K(W(o),"openMultistageFilling",void 0),K(W(o),"showSelectedDetail",void 0),K(W(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 ks(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 _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:rr.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var g;o.datasourceBind=new ZA((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:rr.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:Ei.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:Zt.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var R;o.organizationView=(R=n==null?void 0:n.organizationView)!==null&&R!==void 0?R:void 0;var S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!1,o.selectedContentConfig=new js(n==null?void 0:n.selectedContentConfig);var L;return o.openMultistageFilling=(L=n==null?void 0:n.openMultistageFilling)!==null&&L!==void 0?L:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(B){var G;(G=o.multistageFilling)===null||G===void 0||G.push(new Te(B))})),o}return r}(D);K(ta,"Rules",Oq),K(ta,"RuntimeRules",wq);function RR(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 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 Pq(e,t,r){return t&&SR(e.prototype,t),r&&SR(e,r),e}function na(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ra=Reflect.get:ra=function(o,i,u){var c=Eq(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},ra(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(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&&zv(e,t)}function Sq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:RR(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function Eq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}function Tq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iq(e){var t=Bq();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 Sq(this,o)}}var rr=function(e){Rq(r,e);var t=Iq(r);function r(n){$q(this,r);var o;return o=t.call(this,n),na(RR(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return Pq(r,[{key:"toDataBindModel",value:function(o){var i=ra(nr(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}(N);na(rr,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),na(rr,"controlFieldType",m.DEPARTMENTS),na(rr,"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 ER(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 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 xq(e,t,r){return t&&TR(e.prototype,t),r&&TR(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 oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function kq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function Dq(e,t){return t&&(Nq(t)==="object"||typeof t=="function")?t:ER(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function Nq(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=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dq(this,o)}}var Lq=function(e){kq(r,e);var t=jq(r);function r(n){Aq(this,r);var o;return o=t.call(this,n),BR(ER(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return xq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(F);BR(Lq,"controlFieldType",m.DEPARTMENTS);function Ro(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function Uv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function Mq(e,t){return t&&(Cq(t)==="object"||typeof t=="function")?t:Ro(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}function Cq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kv(e){var t=Vq();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 Mq(this,o)}}var zq=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ie),Hq=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(H),ua=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;o=t.call(this,n),or(Ro(o),"controlExportName",void 0),or(Ro(o),"permissions",void 0),or(Ro(o),"defaultValue",void 0),or(Ro(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:aa.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}(D);or(ua,"Rules",zq),or(ua,"RuntimeRules",Hq);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Uq(e,t,r){return t&&AR(e.prototype,t),r&&AR(e,r),e}function ca(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(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&&Gv(e,t)}function Kq(e,t){return t&&(Gq(t)==="object"||typeof t=="function")?t:IR(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function Gq(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 Qq(e){var t=Xq();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 Kq(this,o)}}var aa=function(e){Wq(r,e);var t=Qq(r);function r(n){qq(this,r);var o;return o=t.call(this,n),ca(IR(o),"props",void 0),o.props=new ua(n==null?void 0:n.props),o}return Uq(r,null,[{key:"controlName",get:function(){return"Vue\u9875\u9762"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return y.VUE_PAGE}}]),r}(N);ca(aa,"controlFieldType",m.ANY),ca(aa,"controlEventKeys",[]),ca(aa,"setting",[]);function xR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zq(e,t,r){return t&&kR(e.prototype,t),r&&kR(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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(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&&Xv(e,t)}function eU(e,t){return t&&(tU(t)==="object"||typeof t=="function")?t:xR(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function tU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rU(e){var t=nU();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eU(this,o)}}var oU=function(e){Yq(r,e);var t=rU(r);function r(n){Jq(this,r);var o;return o=t.call(this,n),DR(xR(o),"props",void 0),o.props=new ua(n==null?void 0:n.props),o}return Zq(r,null,[{key:"controlType",get:function(){return y.VUE_PAGE}}]),r}(F);DR(oU,"controlFieldType",m.ANY);function iU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cU(e,t,r){return t&&NR(e.prototype,t),r&&NR(e,r),e}function lU(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 aU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fU(e,t){return t&&(sU(t)==="object"||typeof t=="function")?t:iU(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function sU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _U(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yU(e){var t=_U();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 fU(this,o)}}var pU=function(e){aU(r,e);var t=yU(r);function r(n){return uU(this,r),t.call(this,n)}return cU(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ce);lU(pU,"excludes",[y.GRID]);function Jv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function vU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function hU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:Jv(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function bU(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=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hU(this,o)}}var OU=24,So=function(e){vU(r,e);var t=mU(r);function r(n){dU(this,r);var o;o=t.call(this,n),FR(Jv(o),"span",void 0),FR(Jv(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:OU;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ue);function jR(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 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 $U(e,t,r){return t&&LR(e.prototype,t),r&&LR(e,r),e}function Yv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function PU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function RU(e,t){return t&&(SU(t)==="object"||typeof t=="function")?t:jR(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function SU(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=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RU(this,o)}}var Eo=function(e){PU(r,e);var t=TU(r);function r(n){wU(this,r);var o;return o=t.call(this,n),Yv(jR(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return $U(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ce);Yv(Eo,"excludes",[y.COL,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),Yv(Eo,"childrenMaxLength",1);function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 IU(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function AU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function xU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kU(e,t){return t&&(DU(t)==="object"||typeof t=="function")?t:MR(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function DU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FU(e){var t=NU();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 kU(this,o)}}var jU=function(e){xU(r,e);var t=FU(r);function r(n){BU(this,r);var o;return o=t.call(this,n),AU(MR(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return IU(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(hn),VR={Designer:Eo,Runtime:jU,Property:So};function nh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function MU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function CU(e,t){return t&&(VU(t)==="object"||typeof t=="function")?t:nh(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function VU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HU(e){var t=zU();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 CU(this,o)}}var oh=function(e){MU(r,e);var t=HU(r);function r(n){LU(this,r);var o;o=t.call(this,n),zR(nh(o),"layoutMode",void 0),zR(nh(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}(ue);function HR(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 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 UU(e,t,r){return t&&qR(e.prototype,t),r&&qR(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 va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function WU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function KU(e,t){return t&&(GU(t)==="object"||typeof t=="function")?t:HR(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function GU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QU(e){var t=XU();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KU(this,o)}}var ch=function(e){WU(r,e);var t=QU(r);function r(n){qU(this,r);var o;return o=t.call(this,n),ih(HR(o),"props",void 0),o.props=new oh(n==null?void 0:n.props),o}return UU(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ce);ih(ch,"excludes",[y.ROW]),ih(ch,"setting",[{key:"col-setting",visible:!0}]);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JU(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 ZU(e,t,r){return t&&WR(e.prototype,t),r&&WR(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 ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(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&&lh(e,t)}function tW(e,t){return t&&(nW(t)==="object"||typeof t=="function")?t:UR(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function nW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oW(e){var t=rW();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 tW(this,o)}}var iW=function(e){eW(r,e);var t=oW(r);function r(n){JU(this,r);var o;return o=t.call(this,n),YU(UR(o),"props",void 0),o.props=new oh(n==null?void 0:n.props),o}return ZU(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(hn);function uW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lW(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function ah(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 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&&fh(e,t)}function fW(e,t){return t&&(sW(t)==="object"||typeof t=="function")?t:uW(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function sW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _W(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yW(e){var t=_W();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 fW(this,o)}}var pW=4,ga=function(e){aW(r,e);var t=yW(r);function r(n){return cW(this,r),t.call(this,n)}return lW(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}(ch);ah(ga,"excludes",[y.GRID_ROW]),ah(ga,"setting",[]),ah(ga,"childrenMaxLength",pW);function dW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hW(e,t,r){return t&&GR(e.prototype,t),r&&GR(e,r),e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function bW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function gW(e,t){return t&&(mW(t)==="object"||typeof t=="function")?t:dW(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function mW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wW(e){var t=OW();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 gW(this,o)}}var $W=function(e){bW(r,e);var t=wW(r);function r(n){return vW(this,r),t.call(this,n)}return hW(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(iW);function PW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(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&&_h(e,t)}function EW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:PW(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function TW(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 IW(e){var t=BW();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 EW(this,o)}}var AW=function(e){SW(r,e);var t=IW(r);function r(n){return RW(this,r),t.call(this,n)}return r}(oh),xW={Designer:ga,Runtime:$W,Property:AW};function To(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function QR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function kW(e,t){return t&&(DW(t)==="object"||typeof t=="function")?t:To(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function DW(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 JR(e){var t=NW();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 kW(this,o)}}var FW=function(e){QR(r,e);var t=JR(r);function r(){XR(this,r);var n;return n=t.apply(this,arguments),Bo(To(n),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),n}return r}(ue.Rules),ZR=function(e){QR(r,e);var t=JR(r);function r(n){XR(this,r);var o;o=t.call(this,n),Bo(To(o),"caption",void 0),Bo(To(o),"isHideCaption",void 0),Bo(To(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(ue);Bo(ZR,"Rules",FW);function YR(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 eS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LW(e,t,r){return t&&eS(e.prototype,t),r&&eS(e,r),e}function ph(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(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&&dh(e,t)}function CW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:YR(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function VW(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=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CW(this,o)}}var tS=function(e){MW(r,e);var t=HW(r);function r(n){jW(this,r);var o;return o=t.call(this,n),ph(YR(o),"props",void 0),o.props=new ZR(n==null?void 0:n.props),o}return LW(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(ce);ph(tS,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),ph(tS,"excludes",[y.CARD_GROUP]);function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nS(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 Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function rS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qW(e,t){return t&&(UW(t)==="object"||typeof t=="function")?t:gt(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function UW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oS(e){var t=WW();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 qW(this,o)}}var KW=function(e){rS(r,e);var t=oS(r);function r(n){nS(this,r);var o;return o=t.call(this,n),mt(gt(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),mt(gt(o),"width",{type:"number",required:!1,message:v.getMessage("pleaseEnterColumnWidth")}),mt(gt(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Y),Ra=function(e){rS(r,e);var t=oS(r);function r(n){nS(this,r);var o;o=t.call(this,n),mt(gt(o),"metaAutoWidth",void 0),mt(gt(o),"caption",void 0),mt(gt(o),"fixed",void 0),mt(gt(o),"isShowCaptionTip",void 0),mt(gt(o),"captionTip",void 0),mt(gt(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 Rg(n==null?void 0:n.metaAutoWidth),o}return r}(ue);mt(Ra,"Rules",KW);function iS(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 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 XW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function QW(e,t){return t&&(JW(t)==="object"||typeof t=="function")?t:iS(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 ZW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YW(e){var t=ZW();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QW(this,o)}}var at=function(e){XW(r,e);var t=YW(r);function r(n){GW(this,r);var o;return o=t.call(this,n),On(iS(o),"props",void 0),o.props=new Ra(n==null?void 0:n.props),o}return r}(ce);On(at,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),On(at,"controlType","subtable-column"),On(at,"controlIcon","subtable-column"),On(at,"childrenMaxLength",1),On(at,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),On(at,"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 uS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cS(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 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&&bh(e,t)}function nK(e,t){return t&&(rK(t)==="object"||typeof t=="function")?t:uS(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 oK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iK(e){var t=oK();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nK(this,o)}}var lS=function(e){tK(r,e);var t=iK(r);function r(n){eK(this,r);var o;return o=t.call(this,n),cS(uS(o),"props",void 0),o.props=new Ra(n==null?void 0:n.props),o}return r}(hn);cS(lS,"controlType","subtable-column");var uK={Designer:at,Runtime:lS,Property:Ra};function cK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function aK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function fK(e,t){return t&&(sK(t)==="object"||typeof t=="function")?t:cK(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}function sK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _K(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yK(e){var t=_K();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 fK(this,o)}}var pK=function(e){aK(r,e);var t=yK(r);function r(n){return lK(this,r),t.call(this,n)}return r}(ue);function aS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(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&&mh(e,t)}function hK(e,t){return t&&(bK(t)==="object"||typeof t=="function")?t:aS(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function bK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mK(e){var t=gK();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hK(this,o)}}var ir=function(e){vK(r,e);var t=mK(r);function r(n){dK(this,r);var o;return o=t.call(this,n),wn(aS(o),"props",void 0),o.props=new pK(n==null?void 0:n.props),o}return r}(ce);wn(ir,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),wn(ir,"controlType","subtable-row"),wn(ir,"controlIcon","subtable-row"),wn(ir,"childrenMaxLength",1),wn(ir,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),wn(ir,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OK(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 Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(e)}function wK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $K(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:Ve(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function PK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SK(e){var t=RK();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 $K(this,o)}}var fS=function(e){wK(r,e);var t=SK(r);function r(n){OK(this,r);var o;o=t.call(this,n),Xe(Ve(o),"widthType",void 0),Xe(Ve(o),"width",void 0),Xe(Ve(o),"caption",void 0),Xe(Ve(o),"fieldCode",void 0),Xe(Ve(o),"fieldType",void 0),Xe(Ve(o),"fieldName",void 0),Xe(Ve(o),"datasourceBind",void 0),Xe(Ve(o),"fixed",void 0),Xe(Ve(o),"textCleanFormart",void 0),Xe(Ve(o),"decimalKeepPrecision",void 0),Xe(Ve(o),"timestampDateType",void 0),Xe(Ve(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var 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 ne(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:Ht.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(ue);function sS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 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&&wh(e,t)}function BK(e,t){return t&&(IK(t)==="object"||typeof t=="function")?t:sS(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}function IK(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=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BK(this,o)}}var ur=function(e){TK(r,e);var t=xK(r);function r(n){EK(this,r);var o;return o=t.call(this,n),$n(sS(o),"props",void 0),o.props=new fS(n==null?void 0:n.props),o}return r}(ce);$n(ur,"controlName","\u5217\u8868\u5355\u5143\u683C"),$n(ur,"controlType","gridtable-column"),$n(ur,"controlIcon","gridtable-column"),$n(ur,"childrenMaxLength",1),$n(ur,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),$n(ur,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",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 kK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function DK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function NK(e,t){return t&&(FK(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 FK(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 LK(e){var t=jK();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 NK(this,o)}}var MK=function(e){DK(r,e);var t=LK(r);function r(n){kK(this,r);var o;return o=t.call(this,n),yS(_S(o),"props",void 0),o.props=new fS(n==null?void 0:n.props),o}return r}(hn);yS(MK,"controlType","gridtable-column");function Ph(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&Rh(e,t)}function zK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:Ph(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UK(e){var t=qK();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zK(this,o)}}var WK=function(e){VK(r,e);var t=UK(r);function r(n){CK(this,r);var o;o=t.call(this,n),pS(Ph(o),"childMinWidth",void 0),pS(Ph(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}(ue);function dS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 GK(e,t,r){return t&&vS(e.prototype,t),r&&vS(e,r),e}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 Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(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&&Eh(e,t)}function QK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:dS(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function JK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YK(e){var t=ZK();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QK(this,o)}}var hS=function(e){XK(r,e);var t=YK(r);function r(n){KK(this,r);var o;return o=t.call(this,n),Sh(dS(o),"props",void 0),o.props=new WK(n==null?void 0:n.props),o}return GK(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}(ce);Sh(hS,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),Sh(hS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",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 eG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function nG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function rG(e,t){return t&&(oG(t)==="object"||typeof t=="function")?t:bS(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}function oG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uG(e){var t=iG();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rG(this,o)}}var cG=function(e){nG(r,e);var t=uG(r);function r(n){eG(this,r);var o;o=t.call(this,n),tG(bS(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}(ue);function Bh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ih(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function mS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lG(e,t){return t&&(aG(t)==="object"||typeof t=="function")?t:Bh(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function aG(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 OS(e){var t=fG();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 lG(this,o)}}var sG=function(e){mS(r,e);var t=OS(r);function r(n){gS(this,r);var o;return o=t.call(this,n),Ih(Bh(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),o}return r}(Y),wS=function(e){mS(r,e);var t=OS(r);function r(n){gS(this,r);var o;o=t.call(this,n),Ih(Bh(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Va.controlName,o}return r}(ue);Ih(wS,"Rules",sG);function $S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yG(e,t,r){return t&&PS(e.prototype,t),r&&PS(e,r),e}function xh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function pG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function dG(e,t){return t&&(vG(t)==="object"||typeof t=="function")?t:$S(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}function vG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bG(e){var t=hG();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dG(this,o)}}var La=function(e){pG(r,e);var t=bG(r);function r(n){_G(this,r);var o;return o=t.call(this,n),xh($S(o),"props",void 0),o.props=new wS(n==null?void 0:n.props),o}return yG(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}(ce);xh(La,"excludes",[y.TAB]),xh(La,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function RS(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 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 mG(e,t,r){return t&&SS(e.prototype,t),r&&SS(e,r),e}function Ma(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(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&&Dh(e,t)}function wG(e,t){return t&&($G(t)==="object"||typeof t=="function")?t:RS(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(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=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wG(this,o)}}var Va=function(e){OG(r,e);var t=RG(r);function r(n){gG(this,r);var o;o=t.call(this,n),Ma(RS(o),"props",void 0),o.props=new cG(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new La,new La],o}return mG(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(ce);Ma(Va,"excludes",[y.TAB]),Ma(Va,"controlEventKeys",["on_change_tab"]),Ma(Va,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function SG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(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&&Nh(e,t)}function BG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:SG(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function IG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xG(e){var t=AG();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 BG(this,o)}}var kG=function(e){TG(r,e);var t=xG(r);function r(n){return EG(this,r),t.call(this,n)}return r}(ue);function ES(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 TS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NG(e,t,r){return t&&TS(e.prototype,t),r&&TS(e,r),e}function BS(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 FG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function jG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:ES(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function LG(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 CG(e){var t=MG();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 jG(this,o)}}var VG=function(e){FG(r,e);var t=CG(r);function r(n){DG(this,r);var o;return o=t.call(this,n),BS(ES(o),"props",void 0),o.props=new kG({}),o.children=(n==null?void 0:n.children)||[new Eo({props:new So({span:12})}),new Eo({props:new So({span:12})})],o}return NG(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ce);BS(VG,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function Lh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function zG(e,t){return t&&(HG(t)==="object"||typeof t=="function")?t:V(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function HG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ch(e){var t=qG();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 zG(this,o)}}var IS;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(IS||(IS={}));var UG=function(e){Lh(r,e);var t=Ch(r);function r(n){jh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(dn),WG=function(e){Lh(r,e);var t=Ch(r);function r(n){jh(this,r);var o;if(o=t.call(this,n),z(V(o),"triggerFieldCode",{type:"any"}),z(V(o),"datasourceBind",{type:"any"}),z(V(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:v.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:v.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:v.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:v.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:v.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Zs.call(V(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}(Y),Io=function(e){Lh(r,e);var t=Ch(r);function r(n){jh(this,r);var o,i,u;o=t.call(this,n),z(V(o),"datasourceBind",void 0),z(V(o),"isLoading",void 0),z(V(o),"isShowSubList",void 0),z(V(o),"triggerType",void 0),z(V(o),"triggerFieldCode",void 0),z(V(o),"sublistPage",void 0),z(V(o),"isShowJoinRelation",void 0),z(V(o),"joinRelation",void 0),z(V(o),"showType",void 0),z(V(o),"showFullScreen",void 0),z(V(o),"isFixedHeader",void 0),z(V(o),"selectionType",void 0),z(V(o),"isShowSelection",void 0),z(V(o),"isAllLoaded",void 0),z(V(o),"countType",void 0),z(V(o),"countLimit",void 0),z(V(o),"rowStyleType",void 0),z(V(o),"rowStyleBgColor",void 0),z(V(o),"rowStyleRules",void 0),z(V(o),"rowStyleRulesScript",void 0),o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.isLoading=(c=n==null?void 0:n.isLoading)!==null&&c!==void 0?c:!1;var a;o.isShowSubList=(a=n==null?void 0:n.isShowSubList)!==null&&a!==void 0?a:!1;var l;o.triggerType=(l=n==null?void 0:n.triggerType)!==null&&l!==void 0?l:1;var f;o.triggerFieldCode=(f=n==null?void 0:n.triggerFieldCode)!==null&&f!==void 0?f:"",o.sublistPage=new GA(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new QA(n==null?void 0:n.joinRelation);var p;o.showType=(p=n==null?void 0:n.showType)!==null&&p!==void 0?p:"stretch";var b;o.showFullScreen=(b=n==null?void 0:n.showFullScreen)!==null&&b!==void 0?b:!1;var O;o.selectionType=(O=n==null?void 0:n.selectionType)!==null&&O!==void 0?O:"multiple";var g;o.isFixedHeader=(g=n==null?void 0:n.isFixedHeader)!==null&&g!==void 0?g:!1;var w;o.isShowSelection=(w=n==null?void 0:n.isShowSelection)!==null&&w!==void 0?w:!1;var d;o.isAllLoaded=(d=n==null?void 0:n.isAllLoaded)!==null&&d!==void 0?d:!0,o.countType=n==null?void 0:n.countType;var $;o.countLimit=($=n==null?void 0:n.countLimit)!==null&&$!==void 0?$:1e5;var P;o.rowStyleType=(P=n==null?void 0:n.rowStyleType)!==null&&P!==void 0?P:"none";var R;o.rowStyleBgColor=(R=n==null?void 0:n.rowStyleBgColor)!==null&&R!==void 0?R:"theme";var S;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(S=n==null||(i=n.rowStyleRules)===null||i===void 0?void 0:i.map(function(B){return new fx(B)}))!==null&&S!==void 0?S:[]:[];var L;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(L=n==null||(u=n.rowStyleRulesScript)===null||u===void 0?void 0:u.map(function(B){return new sx(B)}))!==null&&L!==void 0?L:[]:[],o}return r}(ue);z(Io,"Rules",WG),z(Io,"RuntimeRules",UG);function AS(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 xS(e,t){for(var r=0;r<t.length;r++){var 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&&xS(e.prototype,t),r&&xS(e,r),e}function Ao(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function XG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function QG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:AS(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function JG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YG(e){var t=ZG();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QG(this,o)}}var xo=function(e){XG(r,e);var t=YG(r);function r(n){KG(this,r);var o;return o=t.call(this,n),Ao(AS(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return GG(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}(ce);Ao(xo,"slotPosition",{left:"list-view-left-slot"}),Ao(xo,"excludes",[y.ROW]),Ao(xo,"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"]),Ao(xo,"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:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function kS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tX(e,t,r){return t&&DS(e.prototype,t),r&&DS(e,r),e}function nX(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 rX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function oX(e,t){return t&&(iX(t)==="object"||typeof t=="function")?t:kS(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}function iX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cX(e){var t=uX();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 oX(this,o)}}var lX=function(e){rX(r,e);var t=cX(r);function r(n){eX(this,r);var o;return o=t.call(this,n),nX(kS(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return tX(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(hn),aX={Designer:xo,Runtime:lX,Property:Io};function ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function FS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:ln(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function sX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jS(e){var t=_X();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 fX(this,o)}}var yX=function(e){FS(r,e);var t=jS(r);function r(n){NS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(dn),Ga=function(e){FS(r,e);var t=jS(r);function r(n){NS(this,r);var o;o=t.call(this,n),an(ln(o),"save",void 0),an(ln(o),"cancel",void 0),an(ln(o),"saveAs",void 0),an(ln(o),"print",void 0),an(ln(o),"custom",void 0),an(ln(o),"isLoading",void 0),an(ln(o),"datasourceBind",void 0);var i;o.save=new Ut((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Ut((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Ut((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 Ut((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(_){return new Ut(_)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new ne(n==null?void 0:n.datasourceBind),o}return r}(ue);an(Ga,"RuntimeRules",yX);function LS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dX(e,t,r){return t&&MS(e.prototype,t),r&&MS(e,r),e}function CS(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 vX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function hX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:LS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function bX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mX(e){var t=gX();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hX(this,o)}}var VS=function(e){vX(r,e);var t=mX(r);function r(n){pX(this,r);var o;return o=t.call(this,n),CS(LS(o),"props",void 0),o.props=new Ga(n==null?void 0:n.props),o}return dX(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ce);CS(VS,"excludes",[]);function zS(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 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 wX(e,t,r){return t&&HS(e.prototype,t),r&&HS(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 Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(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 RX(e,t){return t&&(SX(t)==="object"||typeof t=="function")?t:zS(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(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=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RX(this,o)}}var BX=function(e){PX(r,e);var t=TX(r);function r(n){OX(this,r);var o;return o=t.call(this,n),$X(zS(o),"props",void 0),o.props=new Ga(n==null?void 0:n.props),o}return wX(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(hn),IX={Designer:VS,Runtime:BX,Property:Ga};function Ja(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(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&&Kh(e,t)}function kX(e,t){return t&&(DX(t)==="object"||typeof t=="function")?t:Ja(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function DX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FX(e){var t=NX();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 kX(this,o)}}var jX=function(e){xX(r,e);var t=FX(r);function r(n){AX(this,r);var o;o=t.call(this,n),Wh(Ja(o),"position",void 0),Wh(Ja(o),"opacity",void 0),Wh(Ja(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}(ue);function qS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function US(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MX(e,t,r){return t&&US(e.prototype,t),r&&US(e,r),e}function Ya(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 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&&Gh(e,t)}function VX(e,t){return t&&(zX(t)==="object"||typeof t=="function")?t:qS(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function zX(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 qX(e){var t=HX();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 VX(this,o)}}var Xh=function(e){CX(r,e);var t=qX(r);function r(n){LX(this,r);var o;o=t.call(this,n),Ya(qS(o),"props",void 0);var i;return o.props=new jX((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return MX(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}(ce);Ya(Xh,"slotPosition",{default:"action-bar-slot"}),Ya(Xh,"excludes",[]),Ya(Xh,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",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 Qh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&Zh(e,t)}function UX(e,t){return t&&(WX(t)==="object"||typeof t=="function")?t:A(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}function WX(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 Yh(e){var t=KX();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 UX(this,o)}}var GX=function(e){Jh(r,e);var t=Yh(r);function r(n){Qh(this,r);var o;return o=t.call(this,n),I(A(o),"caption",{type:"string",required:!0,message:v.getMessage("pleaseEnterCaption")}),I(A(o),"limitRows",[{type:"number",required:!0,message:v.getMessage("isNotNumber")},{type:"number",min:0,message:v.getMessage("limitRowsCannotBeLessThan0")}]),I(A(o),"formKey",{type:"string",required:!1,message:v.getMessage("pleaseEnterForm")}),I(A(o),"maxHeight",{type:"number",required:!0,message:v.getMessage("pleaseEnterMaxHeight")}),I(A(o),"captionTip",{type:"string",required:!1,message:v.getMessage("pleaseEnterCaptionTip")}),I(A(o),"mobileRowCaption",{type:"string",required:!1,message:v.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}(Y),XX=function(e){Jh(r,e);var t=Yh(r);function r(n){Qh(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:v.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:v.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(dn),e0=function(e){Jh(r,e);var t=Yh(r);function r(n,o){Qh(this,r);var i;i=t.call(this,n,o,r.mode),I(A(i),"caption",void 0),I(A(i),"labelPosition",void 0),I(A(i),"isHideCaption",void 0),I(A(i),"isShowCaptionTip",void 0),I(A(i),"captionTip",void 0),I(A(i),"defaultState",void 0),I(A(i),"limitRows",void 0),I(A(i),"maxRows",void 0),I(A(i),"defaultRows",void 0),I(A(i),"datasourceBind",void 0),I(A(i),"printMode",void 0),I(A(i),"openType",void 0),I(A(i),"formKey",void 0),I(A(i),"useCustomHeight",void 0),I(A(i),"maxHeight",void 0),I(A(i),"canAdd",void 0),I(A(i),"canDelete",void 0),I(A(i),"canCheck",void 0),I(A(i),"canEdit",void 0),I(A(i),"canImport",void 0),I(A(i),"importConfig",void 0),I(A(i),"canExport",void 0),I(A(i),"exportConfig",void 0),I(A(i),"canClear",void 0),I(A(i),"isPaste",void 0),I(A(i),"mobileShowType",void 0),I(A(i),"mobileDefaultNum",void 0),I(A(i),"dataStorageDoc",void 0),I(A(i),"serverPagination",void 0),I(A(i),"fixedColumn",void 0),I(A(i),"mobileRowCaption",void 0),I(A(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:of.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 _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var b;i.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:XD;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var g;i.limitRows=(g=o==null?void 0:o.limitRows)!==null&&g!==void 0?g:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var d;i.defaultRows=(d=o==null?void 0:o.defaultRows)!==null&&d!==void 0?d:1,i.datasourceBind=new ne(o==null?void 0:o.datasourceBind);var $;i.canAdd=($=o==null?void 0:o.canAdd)!==null&&$!==void 0?$:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var R;i.canCheck=(R=o==null?void 0:o.canCheck)!==null&&R!==void 0?R:!1;var S;i.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!1;var L;i.canImport=(L=o==null?void 0:o.canImport)!==null&&L!==void 0?L:!1;var B;i.canExport=(B=o==null?void 0:o.canExport)!==null&&B!==void 0?B:!1;var G;i.canClear=(G=o==null?void 0:o.canClear)!==null&&G!==void 0?G:!0;var x;i.serverPagination=(x=o==null?void 0:o.serverPagination)!==null&&x!==void 0?x:!1;var wt;i.isShowCaptionTip=(wt=o==null?void 0:o.isShowCaptionTip)!==null&&wt!==void 0?wt:!1;var Vo;i.captionTip=(Vo=o==null?void 0:o.captionTip)!==null&&Vo!==void 0?Vo:"";var Wr;i.mobileShowType=(Wr=o==null?void 0:o.mobileShowType)!==null&&Wr!==void 0?Wr:"list";var An;i.mobileDefaultNum=(An=o==null?void 0:o.mobileDefaultNum)!==null&&An!==void 0?An:10;var $t;i.dataStorageDoc=($t=o==null?void 0:o.dataStorageDoc)!==null&&$t!==void 0?$t:new qA;var Hb;i.fixedColumn=(Hb=o==null?void 0:o.fixedColumn)!==null&&Hb!==void 0?Hb:[];var qb;i.mobileRowCaption=(qb=o==null?void 0:o.mobileRowCaption)!==null&&qb!==void 0?qb:"\u660E\u7EC6";var Ub;i.mobileIsTile=(Ub=o==null?void 0:o.mobileIsTile)!==null&&Ub!==void 0?Ub:!1;var Wb;i.isPaste=(Wb=o==null?void 0:o.isPaste)!==null&&Wb!==void 0?Wb:!1;var Kb;i.pageSize=(Kb=o==null?void 0:o.pageSize)!==null&&Kb!==void 0?Kb:10;var Gb;return i.pageSizeOptions=(Gb=o==null?void 0:o.pageSizeOptions)!==null&&Gb!==void 0?Gb:[10,20,50,100],i.importConfig=new KD(o==null?void 0:o.importConfig),i.exportConfig=new GD(o==null?void 0:o.exportConfig),i}return r}(f_);I(e0,"Rules",GX),I(e0,"RuntimeRules",XX);function t0(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 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 JX(e,t,r){return t&&WS(e.prototype,t),r&&WS(e,r),e}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 rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function ZX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function YX(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:t0(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(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 nQ(e){var t=tQ();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 YX(this,o)}}var of=function(e){ZX(r,e);var t=nQ(r);function r(n){QX(this,r);var o,i,u;return o=t.call(this,n),nf(t0(o),"props",void 0),o.props=new e0(t0(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 at,new at,new at]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return JX(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new at,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}(y_);nf(of,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),nf(of,"slotPosition",{toolbar:"subtable-toolbar-slot"}),nf(of,"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,s.SERVER_PAGINATION]},{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:"max-rows",visible:!0},{key:"list-pager",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 cr(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 ko(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(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&&r0(e,t)}function iQ(e,t){return t&&(uQ(t)==="object"||typeof t=="function")?t:cr(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(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=uf(e),o;if(t){var i=uf(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,o){rQ(this,r);var i;i=t.call(this,n,o),ko(cr(i),"isFixedHeader",void 0),ko(cr(i),"selectionType",void 0),ko(cr(i),"isShowToolbar",void 0),ko(cr(i),"isShowSelection",void 0),ko(cr(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;i.isShowCustomColumns=(l=o==null?void 0:o.isShowCustomColumns)!==null&&l!==void 0?l:!0;var f;return i.pageSizeOptions=(f=o==null?void 0:o.pageSizeOptions)!==null&&f!==void 0?f:[10,20,50,100,500],i}return r}(f_);function fQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sQ(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 GS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _Q(e,t){return t&&(yQ(t)==="object"||typeof t=="function")?t:fQ(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}function yQ(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 XS(e){var t=pQ();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 _Q(this,o)}}var dQ=function(e){GS(r,e);var t=XS(r);function r(n){KS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(st),i0=function(e){GS(r,e);var t=XS(r);function r(n){KS(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:lr.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 _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(Z);sQ(i0,"Rules",dQ);function QS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(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&&u0(e,t)}function bQ(e,t){return t&&(gQ(t)==="object"||typeof t=="function")?t:QS(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function gQ(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 OQ(e){var t=mQ();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 bQ(this,o)}}var lr=function(e){hQ(r,e);var t=OQ(r);function r(n){vQ(this,r);var o;return o=t.call(this,n),Do(QS(o),"props",void 0),o.props=new i0(n==null?void 0:n.props),o}return r}(ae);Do(lr,"controlType","order-column"),Do(lr,"controlName","\u5E8F\u53F7"),Do(lr,"controlIcon","order-column"),Do(lr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function JS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c0(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 $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&&l0(e,t)}function PQ(e,t){return t&&(RQ(t)==="object"||typeof t=="function")?t:JS(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function RQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EQ(e){var t=SQ();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PQ(this,o)}}var ZS=function(e){$Q(r,e);var t=EQ(r);function r(n){wQ(this,r);var o;return o=t.call(this,n),c0(JS(o),"props",void 0),o.props=new i0(n==null?void 0:n.props),o}return r}(fe);c0(ZS,"controlType","order-column"),c0(ZS,"controlFieldType",m.DECIMAL);function a0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function BQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f0(e,t)}function IQ(e,t){return t&&(AQ(t)==="object"||typeof t=="function")?t:a0(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function AQ(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 kQ(e){var t=xQ();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IQ(this,o)}}var eE=function(e){BQ(r,e);var t=kQ(r);function r(n){TQ(this,r);var o,i;o=t.call(this,n),YS(a0(o),"showType",void 0),YS(a0(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:fr.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}(Z);function sf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tE(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 DQ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){tE(i,n,o,u,c,"next",a)}function c(a){tE(i,n,o,u,c,"throw",a)}u(void 0)})}}function NQ(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 FQ(e,t,r){return t&&nE(e.prototype,t),r&&nE(e,r),e}function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ar(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ar=Reflect.get:ar=function(o,i,u){var c=zQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},ar(e,t,r||e)}function fn(e){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fn(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&&s0(e,t)}function LQ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Pn(e,o,r[o])})}return e}function MQ(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 CQ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):MQ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function VQ(e,t){return t&&(HQ(t)==="object"||typeof t=="function")?t:sf(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function zQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fn(e),e!==null););return e}function HQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UQ(e){var t=qQ();return function(){var n=fn(e),o;if(t){var i=fn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VQ(this,o)}}function WQ(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}}}var fr=function(e){jQ(r,e);var t=UQ(r);function r(n){NQ(this,r);var o;return o=t.call(this,n),Pn(sf(o),"props",void 0),Pn(sf(o),"children",void 0),o.props=new eE(n==null?void 0:n.props),Pt(sf(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return FQ(r,[{key:"toDataBindModel",value:function(){var o=ar(fn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Su.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=ar(fn(r.prototype),"toSchema",this).call(this);return CQ(LQ({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return ar(fn(r.prototype),"validate",u)};return DQ(function(){return WQ(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}(ae);Pn(fr,"controlType","operation-column"),Pn(fr,"controlName","\u64CD\u4F5C"),Pn(fr,"controlIcon","operation-column"),Pn(fr,"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 _f(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yf(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 GQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function XQ(e,t){return t&&(QQ(t)==="object"||typeof t=="function")?t:_f(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function QQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZQ(e){var t=JQ();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 XQ(this,o)}}var rE=function(e){GQ(r,e);var t=ZQ(r);function r(n){KQ(this,r);var o;return o=t.call(this,n),yf(_f(o),"props",void 0),yf(_f(o),"children",void 0),o.props=new eE(n==null?void 0:n.props),Pt(_f(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(fe);yf(rE,"controlType","operation-column"),yf(rE,"controlFieldType",m.FILE);function Rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oE(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 YQ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){oE(i,n,o,u,c,"next",a)}function c(a){oE(i,n,o,u,c,"throw",a)}u(void 0)})}}function eJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tJ(e,t,r){return t&&iE(e.prototype,t),r&&iE(e,r),e}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function No(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?No=Reflect.get:No=function(o,i,u){var c=lJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},No(e,t,r||e)}function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sn(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&&y0(e,t)}function rJ(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function oJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ct(e,o,r[o])})}return e}function iJ(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 uJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):iJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function cJ(e,t){return t&&(aJ(t)==="object"||typeof t=="function")?t:Rn(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function lJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sn(e),e!==null););return e}function aJ(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 sJ(e){var t=fJ();return function(){var n=Sn(e),o;if(t){var i=Sn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cJ(this,o)}}function _J(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}}}var yJ=1e4,df=function(t){nJ(n,t);var r=sJ(n);function n(o){eJ(this,n);var i,u;i=r.call(this,o),Ct(Rn(i),"props",void 0),Ct(Rn(i),"children",void 0),Ct(Rn(i),"excludes",void 0),Ct(Rn(i),"childrenMaxLength",void 0);var c=rJ(this,n)?this.constructor:void 0,a=c.excludes,l=c.childrenMaxLength;return i.props=new aQ(Rn(i),o==null?void 0:o.props),Pt(Rn(i),"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new lr,new fr]),(o==null||(u=o.props)===null||u===void 0?void 0:u.footers)===void 0&&(i.props.footers=[]),i.excludes=Ze(a),i.childrenMaxLength=l,i}return tJ(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:"toSchema",value:function(){var i=No(Sn(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){return c.toSchema()});return uJ(oJ({},i),{children:u})}},{key:"validate",value:function(i,u){var c=this,a=this,l=function(){return No(Sn(n.prototype),"validate",c)};return YQ(function(){return _J(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(_){return _.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(y_);Ct(df,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),Ct(df,"setting",[{key:"list-fixed-header",visible:!0}]),Ct(df,"excludes",[]),Ct(df,"childrenMaxLength",yJ);function Vt(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 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 vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(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&&p0(e,t)}function pJ(e,t){return t&&(dJ(t)==="object"||typeof t=="function")?t:Vt(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}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 lE(e){var t=vJ();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 pJ(this,o)}}var hJ=function(e){cE(r,e);var t=lE(r);function r(n){uE(this,r);var o;return o=t.call(this,n),Jt.call(Vt(o),n),o}return r}(im),d0=function(e){cE(r,e);var t=lE(r);function r(n){uE(this,r);var o;o=t.call(this,n),sn(Vt(o),"optionConfig",void 0),sn(Vt(o),"datasourceBind",void 0),sn(Vt(o),"showLinkOperation",void 0),sn(Vt(o),"linkOperationOption",void 0),sn(Vt(o),"options",void 0),sn(Vt(o),"lineEllipsis",void 0),sn(Vt(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_r.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.options=St((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 Rt(n==null?void 0:n.linkOperationOption);var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1;var f;return o.dictionaryTagConfig=(f=n==null?void 0:n.dictionaryTagConfig)!==null&&f!==void 0?f:{isTag:!1},o}return r}(Z);sn(d0,"Rules",hJ);function aE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(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&&v0(e,t)}function mJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:aE(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function OJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $J(e){var t=wJ();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 mJ(this,o)}}var _r=function(e){gJ(r,e);var t=$J(r);function r(n){bJ(this,r);var o;return o=t.call(this,n),sr(aE(o),"props",void 0),o.props=new d0(n==null?void 0:n.props),o}return r}(ae);sr(_r,"controlType","varchar-column"),sr(_r,"controlName","\u77ED\u6587\u672C"),sr(_r,"controlIcon","varchar-column"),sr(_r,"controlFieldType",m.VARCHAR),sr(_r,"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-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",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 PJ(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 bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function RJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function SJ(e,t){return t&&(EJ(t)==="object"||typeof t=="function")?t:fE(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function EJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BJ(e){var t=TJ();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 SJ(this,o)}}var sE=function(e){RJ(r,e);var t=BJ(r);function r(n){PJ(this,r);var o;return o=t.call(this,n),h0(fE(o),"props",void 0),o.props=new d0(n==null?void 0:n.props),o}return r}(fe);h0(sE,"controlType","varchar-column"),h0(sE,"controlFieldType",m.VARCHAR);function yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(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&&g0(e,t)}function IJ(e,t){return t&&(AJ(t)==="object"||typeof t=="function")?t:yr(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(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 pE(e){var t=xJ();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 IJ(this,o)}}var kJ=function(e){yE(r,e);var t=pE(r);function r(n){_E(this,r);var o;return o=t.call(this,n),Jt.call(yr(o),n),o}return r}(st),m0=function(e){yE(r,e);var t=pE(r);function r(n){_E(this,r);var o;o=t.call(this,n),Fo(yr(o),"escapeHTML",void 0),Fo(yr(o),"showLinkOperation",void 0),Fo(yr(o),"linkOperationOption",void 0),Fo(yr(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:vr.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 Rt(n==null?void 0:n.linkOperationOption),o}return r}(Z);Fo(m0,"Rules",kJ);function dE(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 vE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NJ(e,t,r){return t&&vE(e.prototype,t),r&&vE(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 mf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mf=Reflect.get:mf=function(o,i,u){var c=LJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},mf(e,t,r||e)}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function FJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function jJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:dE(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function LJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dr(e),e!==null););return e}function MJ(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 VJ(e){var t=CJ();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 jJ(this,o)}}var vr=function(e){FJ(r,e);var t=VJ(r);function r(n){DJ(this,r);var o;return o=t.call(this,n),pr(dE(o),"props",void 0),o.props=new m0(n==null?void 0:n.props),o}return NJ(r,[{key:"toDataBindModel",value:function(o){var i=mf(dr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ae);pr(vr,"controlType","text-column"),pr(vr,"controlName","\u957F\u6587\u672C"),pr(vr,"controlIcon","text-column"),pr(vr,"controlFieldType",m.TEXT),pr(vr,"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-align-content",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},{key:"column-statistics",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 zJ(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 Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(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&&$0(e,t)}function qJ(e,t){return t&&(UJ(t)==="object"||typeof t=="function")?t:hE(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function UJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KJ(e){var t=WJ();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qJ(this,o)}}var bE=function(e){HJ(r,e);var t=KJ(r);function r(n){zJ(this,r);var o;return o=t.call(this,n),w0(hE(o),"props",void 0),o.props=new m0(n==null?void 0:n.props),o}return r}(fe);w0(bE,"controlType","text-column"),w0(bE,"controlFieldType",m.TEXT);function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gE(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 wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function mE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GJ(e,t){return t&&(XJ(t)==="object"||typeof t=="function")?t:Ot(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function XJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OE(e){var t=QJ();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 GJ(this,o)}}var JJ=function(e){mE(r,e);var t=OE(r);function r(n){gE(this,r);var o;return o=t.call(this,n),Jt.call(Ot(o),n),o}return r}(st),R0=function(e){mE(r,e);var t=OE(r);function r(n){gE(this,r);var o;o=t.call(this,n),zt(Ot(o),"optionConfig",void 0),zt(Ot(o),"datasourceBind",void 0),zt(Ot(o),"showLinkOperation",void 0),zt(Ot(o),"linkOperationOption",void 0),zt(Ot(o),"options",void 0),zt(Ot(o),"precision",void 0),zt(Ot(o),"micrometer",void 0),zt(Ot(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:gr.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 ne(n==null?void 0:n.datasourceBind);var f;o.options=St((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption),o}return r}(Z);zt(R0,"Rules",JJ);function wE(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 $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 YJ(e,t,r){return t&&$E(e.prototype,t),r&&$E(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 $f(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$f=Reflect.get:$f=function(o,i,u){var c=nZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},$f(e,t,r||e)}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(e)}function eZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S0(e,t)}function tZ(e,t){return t&&(rZ(t)==="object"||typeof t=="function")?t:wE(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function nZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=br(e),e!==null););return e}function rZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iZ(e){var t=oZ();return function(){var n=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tZ(this,o)}}var gr=function(e){eZ(r,e);var t=iZ(r);function r(n){ZJ(this,r);var o;return o=t.call(this,n),hr(wE(o),"props",void 0),o.props=new R0(n==null?void 0:n.props),o}return YJ(r,[{key:"toDataBindModel",value:function(o){var i=$f(br(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}(ae);hr(gr,"controlType","decimal-column"),hr(gr,"controlName","\u6570\u503C"),hr(gr,"controlIcon","decimal-column"),hr(gr,"controlFieldType",m.DECIMAL),hr(gr,"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-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function PE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uZ(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 Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(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&&T0(e,t)}function lZ(e,t){return t&&(aZ(t)==="object"||typeof t=="function")?t:PE(e)}function T0(e,t){return T0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T0(e,t)}function aZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sZ(e){var t=fZ();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 lZ(this,o)}}var RE=function(e){cZ(r,e);var t=sZ(r);function r(n){uZ(this,r);var o;return o=t.call(this,n),E0(PE(o),"props",void 0),o.props=new R0(n==null?void 0:n.props),o}return r}(fe);E0(RE,"controlType","decimal-column"),E0(RE,"controlFieldType",m.DECIMAL);function jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&B0(e,t)}function _Z(e,t){return t&&(yZ(t)==="object"||typeof t=="function")?t:jo(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B0(e,t)}function yZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TE(e){var t=pZ();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 _Z(this,o)}}var dZ=function(e){EE(r,e);var t=TE(r);function r(n){SE(this,r);var o;return o=t.call(this,n),Jt.call(jo(o),n),o}return r}(st),I0=function(e){EE(r,e);var t=TE(r);function r(n){SE(this,r);var o;o=t.call(this,n),Rf(jo(o),"dateType",void 0),Rf(jo(o),"showLinkOperation",void 0),Rf(jo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Ht.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:wr.controlName,o}return r}(Z);Rf(I0,"Rules",dZ);function BE(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 IE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hZ(e,t,r){return t&&IE(e.prototype,t),r&&IE(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 Ef(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ef=Reflect.get:Ef=function(o,i,u){var c=mZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Ef(e,t,r||e)}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(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&&A0(e,t)}function gZ(e,t){return t&&(OZ(t)==="object"||typeof t=="function")?t:BE(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function mZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Or(e),e!==null););return e}function OZ(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 $Z(e){var t=wZ();return function(){var n=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gZ(this,o)}}var wr=function(e){bZ(r,e);var t=$Z(r);function r(n){vZ(this,r);var o;return o=t.call(this,n),mr(BE(o),"props",void 0),o.props=new I0(n==null?void 0:n.props),o}return hZ(r,[{key:"toDataBindModel",value:function(o){var i=Ef(Or(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ae);mr(wr,"controlType","timescope-column"),mr(wr,"controlName","\u65E5\u671F\u533A\u95F4"),mr(wr,"controlIcon","timescope-column"),mr(wr,"controlFieldType",m.TIMESCOPE),mr(wr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function AE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x0(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 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&&k0(e,t)}function SZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:AE(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(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 BZ(e){var t=TZ();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 SZ(this,o)}}var xE=function(e){RZ(r,e);var t=BZ(r);function r(n){PZ(this,r);var o;return o=t.call(this,n),x0(AE(o),"props",void 0),o.props=new I0(n==null?void 0:n.props),o}return r}(fe);x0(xE,"controlType","timescope-column"),x0(xE,"controlFieldType",m.TIMESCOPE);function Lo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bf(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 DE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IZ(e,t){return t&&(AZ(t)==="object"||typeof t=="function")?t:Lo(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function AZ(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 NE(e){var t=xZ();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 IZ(this,o)}}var kZ=function(e){DE(r,e);var t=NE(r);function r(n){kE(this,r);var o;return o=t.call(this,n),Jt.call(Lo(o),n),o}return r}(st),N0=function(e){DE(r,e);var t=NE(r);function r(n){kE(this,r);var o;o=t.call(this,n),Bf(Lo(o),"dateType",void 0),Bf(Lo(o),"showLinkOperation",void 0),Bf(Lo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Ht.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Rr.controlName,o}return r}(Z);Bf(N0,"Rules",kZ);function FE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jE(e,t){for(var r=0;r<t.length;r++){var 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&&jE(e.prototype,t),r&&jE(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 Af(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Af=Reflect.get:Af=function(o,i,u){var c=LZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Af(e,t,r||e)}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(e)}function FZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F0(e,t)}function jZ(e,t){return t&&(MZ(t)==="object"||typeof t=="function")?t:FE(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function LZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pr(e),e!==null););return e}function MZ(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 VZ(e){var t=CZ();return function(){var n=Pr(e),o;if(t){var i=Pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jZ(this,o)}}var Rr=function(e){FZ(r,e);var t=VZ(r);function r(n){DZ(this,r);var o;return o=t.call(this,n),$r(FE(o),"props",void 0),o.props=new N0(n==null?void 0:n.props),o}return NZ(r,[{key:"toDataBindModel",value:function(o){var i=Af(Pr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ae);$r(Rr,"controlType","timestamp-column"),$r(Rr,"controlName","\u65E5\u671F"),$r(Rr,"controlIcon","timestamp-column"),$r(Rr,"controlFieldType",m.TIMESTAMP),$r(Rr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",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 zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j0(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 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&&L0(e,t)}function qZ(e,t){return t&&(UZ(t)==="object"||typeof t=="function")?t:LE(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L0(e,t)}function UZ(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=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qZ(this,o)}}var ME=function(e){HZ(r,e);var t=KZ(r);function r(n){zZ(this,r);var o;return o=t.call(this,n),j0(LE(o),"props",void 0),o.props=new N0(n==null?void 0:n.props),o}return r}(fe);j0(ME,"controlType","timestamp-column"),j0(ME,"controlFieldType",m.TIMESTAMP);function En(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CE(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 kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function VE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GZ(e,t){return t&&(XZ(t)==="object"||typeof t=="function")?t:En(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function XZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zE(e){var t=QZ();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 GZ(this,o)}}var JZ=function(e){VE(r,e);var t=zE(r);function r(n){CE(this,r);var o;return o=t.call(this,n),Jt.call(En(o),n),o}return r}(im),C0=function(e){VE(r,e);var t=zE(r);function r(n){CE(this,r);var o;o=t.call(this,n),Sr(En(o),"optionConfig",void 0),Sr(En(o),"datasourceBind",void 0),Sr(En(o),"showLinkOperation",void 0),Sr(En(o),"linkOperationOption",void 0),Sr(En(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Tr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ne(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var a;return o.options=St((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]),o}return r}(Z);Sr(C0,"Rules",JZ);function HE(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 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 Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(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&&V0(e,t)}function eY(e,t){return t&&(tY(t)==="object"||typeof t=="function")?t:HE(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function tY(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 rY(e){var t=nY();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 eY(this,o)}}var Tr=function(e){YZ(r,e);var t=rY(r);function r(n){ZZ(this,r);var o;return o=t.call(this,n),Er(HE(o),"props",void 0),o.props=new C0(n==null?void 0:n.props),o}return r}(ae);Er(Tr,"controlType","array-column"),Er(Tr,"controlName","\u6570\u7EC4"),Er(Tr,"controlIcon","array-column"),Er(Tr,"controlFieldType",m.ARRAY),Er(Tr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",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 oY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z0(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 iY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H0(e,t)}function uY(e,t){return t&&(cY(t)==="object"||typeof t=="function")?t:qE(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function cY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aY(e){var t=lY();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 uY(this,o)}}var UE=function(e){iY(r,e);var t=aY(r);function r(n){oY(this,r);var o;return o=t.call(this,n),z0(qE(o),"props",void 0),o.props=new C0(n==null?void 0:n.props),o}return r}(fe);z0(UE,"controlType","array-column"),z0(UE,"controlFieldType",m.ARRAY);function WE(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 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 Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(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&&q0(e,t)}function yY(e,t){return t&&(pY(t)==="object"||typeof t=="function")?t:WE(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function pY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vY(e){var t=dY();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 yY(this,o)}}var KE=function(e){_Y(r,e);var t=vY(r);function r(n){fY(this,r);var o;o=t.call(this,n),sY(WE(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ar.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Z);function GE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bY(e,t,r){return t&&XE(e.prototype,t),r&&XE(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 jf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jf=Reflect.get:jf=function(o,i,u){var c=OY(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},jf(e,t,r||e)}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function gY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mY(e,t){return t&&(wY(t)==="object"||typeof t=="function")?t:GE(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function OY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}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=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mY(this,o)}}var Ar=function(e){gY(r,e);var t=PY(r);function r(n){hY(this,r);var o;return o=t.call(this,n),Br(GE(o),"props",void 0),o.props=new KE(n==null?void 0:n.props),o}return bY(r,[{key:"toDataBindModel",value:function(o){var i=jf(Ir(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ae);Br(Ar,"controlType","department-column"),Br(Ar,"controlName","\u90E8\u95E8"),Br(Ar,"controlIcon","department-column"),Br(Ar,"controlFieldType",m.DEPARTMENTS),Br(Ar,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",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 RY(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 Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(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&&K0(e,t)}function EY(e,t){return t&&(TY(t)==="object"||typeof t=="function")?t:QE(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function TY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IY(e){var t=BY();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 EY(this,o)}}var JE=function(e){SY(r,e);var t=IY(r);function r(n){RY(this,r);var o;return o=t.call(this,n),W0(QE(o),"props",void 0),o.props=new KE(n==null?void 0:n.props),o}return r}(fe);W0(JE,"controlType","department-column"),W0(JE,"controlFieldType",m.DEPARTMENTS);function Mf(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 G0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(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&&X0(e,t)}function AY(e,t){return t&&(xY(t)==="object"||typeof t=="function")?t:Mf(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X0(e,t)}function xY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eT(e){var t=kY();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 AY(this,o)}}var DY=function(e){YE(r,e);var t=eT(r);function r(n){ZE(this,r);var o;return o=t.call(this,n),Jt.call(Mf(o),n),o}return r}(st),Q0=function(e){YE(r,e);var t=eT(r);function r(n){ZE(this,r);var o;o=t.call(this,n),G0(Mf(o),"showLinkOperation",void 0),G0(Mf(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 Rt(n==null?void 0:n.linkOperationOption),o}return r}(Z);G0(Q0,"Rules",DY);function tT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function FY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J0(e,t)}function jY(e,t){return t&&(LY(t)==="object"||typeof t=="function")?t:tT(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function LY(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 CY(e){var t=MY();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 jY(this,o)}}var kr=function(e){FY(r,e);var t=CY(r);function r(n){NY(this,r);var o;return o=t.call(this,n),xr(tT(o),"props",void 0),o.props=new Q0(n==null?void 0:n.props),o}return r}(ae);xr(kr,"controlType","auto-number-column"),xr(kr,"controlName","\u81EA\u52A8\u7F16\u53F7"),xr(kr,"controlIcon","auto-number-column"),xr(kr,"controlFieldType",m.AUTO_NUMBER),xr(kr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function nT(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 Z0(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 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&&Y0(e,t)}function HY(e,t){return t&&(qY(t)==="object"||typeof t=="function")?t:nT(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function qY(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=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HY(this,o)}}var rT=function(e){zY(r,e);var t=WY(r);function r(n){VY(this,r);var o;return o=t.call(this,n),Z0(nT(o),"props",void 0),o.props=new Q0(n==null?void 0:n.props),o}return r}(fe);Z0(rT,"controlType","auto-number-column"),Z0(rT,"controlFieldType",m.AUTO_NUMBER);function KY(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 Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(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&&eb(e,t)}function QY(e,t){return t&&(JY(t)==="object"||typeof t=="function")?t:KY(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function JY(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 YY(e){var t=ZY();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 QY(this,o)}}var oT=function(e){XY(r,e);var t=YY(r);function r(n){GY(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:Nr.controlName,o}return r}(Z);function iT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function tee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function nee(e,t){return t&&(ree(t)==="object"||typeof t=="function")?t:iT(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function ree(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iee(e){var t=oee();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nee(this,o)}}var Nr=function(e){tee(r,e);var t=iee(r);function r(n){eee(this,r);var o;return o=t.call(this,n),Dr(iT(o),"props",void 0),o.props=new oT(n==null?void 0:n.props),o}return r}(ae);Dr(Nr,"controlType","file-column"),Dr(Nr,"controlName","\u9644\u4EF6"),Dr(Nr,"controlIcon","file-column"),Dr(Nr,"controlFieldType",m.FILE),Dr(Nr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function uT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uee(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 Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(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&&rb(e,t)}function lee(e,t){return t&&(aee(t)==="object"||typeof t=="function")?t:uT(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function aee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function see(e){var t=fee();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 lee(this,o)}}var cT=function(e){cee(r,e);var t=see(r);function r(n){uee(this,r);var o;return o=t.call(this,n),nb(uT(o),"props",void 0),o.props=new oT(n==null?void 0:n.props),o}return r}(fe);nb(cT,"controlType","file-column"),nb(cT,"controlFieldType",m.FILE);function _ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function pee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dee(e,t){return t&&(vee(t)==="object"||typeof t=="function")?t:_ee(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function vee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bee(e){var t=hee();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 dee(this,o)}}var lT=function(e){pee(r,e);var t=bee(r);function r(n){yee(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:jr.controlName,o}return r}(Z);function aT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function mee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function Oee(e,t){return t&&(wee(t)==="object"||typeof t=="function")?t:aT(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(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 Pee(e){var t=$ee();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 Oee(this,o)}}var jr=function(e){mee(r,e);var t=Pee(r);function r(n){gee(this,r);var o;return o=t.call(this,n),Fr(aT(o),"props",void 0),o.props=new lT(n==null?void 0:n.props),o}return r}(ae);Fr(jr,"controlType","image-column"),Fr(jr,"controlName","\u56FE\u7247"),Fr(jr,"controlIcon","image-column"),Fr(jr,"controlFieldType",m.IMAGE),Fr(jr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function fT(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 ub(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(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&&cb(e,t)}function Eee(e,t){return t&&(Tee(t)==="object"||typeof t=="function")?t:fT(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function Tee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iee(e){var t=Bee();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 Eee(this,o)}}var sT=function(e){See(r,e);var t=Iee(r);function r(n){Ree(this,r);var o;return o=t.call(this,n),ub(fT(o),"props",void 0),o.props=new lT(n==null?void 0:n.props),o}return r}(fe);ub(sT,"controlType","image-column"),ub(sT,"controlFieldType",m.IMAGE);function Aee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function kee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dee(e,t){return t&&(Nee(t)==="object"||typeof t=="function")?t:Aee(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function Nee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jee(e){var t=Fee();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 Dee(this,o)}}var _T=function(e){kee(r,e);var t=jee(r);function r(n){xee(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mr.controlName,o}return r}(Z);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function Mee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ab(e,t)}function Cee(e,t){return t&&(Vee(t)==="object"||typeof t=="function")?t:yT(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function Vee(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=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cee(this,o)}}var Mr=function(e){Mee(r,e);var t=Hee(r);function r(n){Lee(this,r);var o;return o=t.call(this,n),Lr(yT(o),"props",void 0),o.props=new _T(n==null?void 0:n.props),o}return r}(ae);Lr(Mr,"controlType","people-column"),Lr(Mr,"controlName","\u4EBA\u5458"),Lr(Mr,"controlIcon","people-column"),Lr(Mr,"controlFieldType",m.EMPLOYEES),Lr(Mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",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 qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function 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&&sb(e,t)}function Wee(e,t){return t&&(Kee(t)==="object"||typeof t=="function")?t:pT(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function Kee(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 dT=function(e){Uee(r,e);var t=Xee(r);function r(n){qee(this,r);var o;return o=t.call(this,n),fb(pT(o),"props",void 0),o.props=new _T(n==null?void 0:n.props),o}return r}(fe);fb(dT,"controlType","people-column"),fb(dT,"controlFieldType",m.EMPLOYEES);function Zf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function hT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yb(e,t)}function Qee(e,t){return t&&(Jee(t)==="object"||typeof t=="function")?t:Zf(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}function Jee(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 bT(e){var t=Zee();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 Qee(this,o)}}var Yee=function(e){hT(r,e);var t=bT(r);function r(n){vT(this,r);var o;return o=t.call(this,n),Jt.call(Zf(o),n),o}return r}(st),pb=function(e){hT(r,e);var t=bT(r);function r(n){vT(this,r);var o;o=t.call(this,n),_b(Zf(o),"showLinkOperation",void 0),_b(Zf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption),o}return r}(Z);_b(pb,"Rules",Yee);function gT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ete(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function tte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nte(e,t){return t&&(rte(t)==="object"||typeof t=="function")?t:gT(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function rte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ote(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ote();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 nte(this,o)}}var Vr=function(e){tte(r,e);var t=ite(r);function r(n){ete(this,r);var o;return o=t.call(this,n),Cr(gT(o),"props",void 0),o.props=new pb(n==null?void 0:n.props),o}return r}(ae);Cr(Vr,"controlType","location-column"),Cr(Vr,"controlName","\u5730\u5740"),Cr(Vr,"controlIcon","location-column"),Cr(Vr,"controlFieldType",m.ADDRESS),Cr(Vr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function mT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ute(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 ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function cte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lte(e,t){return t&&(ate(t)==="object"||typeof t=="function")?t:mT(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function ate(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ste(e){var t=fte();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lte(this,o)}}var OT=function(e){cte(r,e);var t=ste(r);function r(n){ute(this,r);var o;return o=t.call(this,n),vb(mT(o),"props",void 0),o.props=new pb(n==null?void 0:n.props),o}return r}(fe);vb(OT,"controlType","location-column"),vb(OT,"controlFieldType",m.ADDRESS);function ns(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rs(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 $T(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _te(e,t){return t&&(yte(t)==="object"||typeof t=="function")?t:ns(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function yte(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 PT(e){var t=pte();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 _te(this,o)}}var dte=function(e){$T(r,e);var t=PT(r);function r(n){wT(this,r);var o;return o=t.call(this,n),rs(ns(o),"sortFieldCode",{type:"string",message:v.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(st),gb=function(e){$T(r,e);var t=PT(r);function r(n){wT(this,r);var o;o=t.call(this,n),rs(ns(o),"fieldCodeList",void 0),rs(ns(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_n.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var c;return o.sortFieldCode=(c=n==null?void 0:n.sortFieldCode)!==null&&c!==void 0?c:"",o}return r}(Z);rs(gb,"Rules",dte);function zr(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 RT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hte(e,t,r){return t&&RT(e.prototype,t),r&&RT(e,r),e}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 Mo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mo=Reflect.get:Mo=function(o,i,u){var c=Pte(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Mo(e,t,r||e)}function Tn(e){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tn(e)}function bte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gte(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function mte(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){Qe(e,o,r[o])})}return e}function Ote(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 wte(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ote(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function $te(e,t){return t&&(Rte(t)==="object"||typeof t=="function")?t:zr(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function Pte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tn(e),e!==null););return e}function Rte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ste(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ete(e){var t=Ste();return function(){var n=Tn(e),o;if(t){var i=Tn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $te(this,o)}}var Tte=1,_n=function(t){bte(n,t);var r=Ete(n);function n(o){vte(this,n);var i;i=r.call(this,o),Qe(zr(i),"excludes",void 0),Qe(zr(i),"childrenMaxLength",void 0),Qe(zr(i),"props",void 0),Qe(zr(i),"children",void 0);var u=gte(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new gb(o==null?void 0:o.props),Pt(zr(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Ze(c),i.childrenMaxLength=a,i}return hte(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(Tn(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(Tn(n.prototype),"toSchema",this).call(this);return wte(mte({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ae);Qe(_n,"controlType","custom-column"),Qe(_n,"controlName","\u81EA\u5B9A\u4E49"),Qe(_n,"controlIcon","custom-column"),Qe(_n,"slots",["column-column-slot"]),Qe(_n,"excludes",[]),Qe(_n,"childrenMaxLength",Tte),Qe(_n,"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},{key:"column-sort-field",visible:!0}]);function is(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bte(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 us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function Ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function Ate(e,t){return t&&(xte(t)==="object"||typeof t=="function")?t:is(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function xte(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=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ate(this,o)}}var Nte=function(e){Ite(r,e);var t=Dte(r);function r(n){Bte(this,r);var o;return o=t.call(this,n),Ob(is(o),"props",void 0),Ob(is(o),"children",void 0),o.props=new gb(n==null?void 0:n.props),Pt(is(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(fe);Ob(Nte,"controlType","custom-column");function ST(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 jte(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 Lte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mte(e,t){return t&&(Cte(t)==="object"||typeof t=="function")?t:ST(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function Cte(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 zte(e){var t=Vte();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 Mte(this,o)}}var ET=function(e){Lte(r,e);var t=zte(r);function r(n){Fte(this,r);var o;o=t.call(this,n),jte(ST(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Bn.controlName;var u;return o.datasourceBind=new Ko((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:Bn.controlCustomAttributes}),o}return r}(Z);function TT(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 BT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qte(e,t,r){return t&&BT(e.prototype,t),r&&BT(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 ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function Ute(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function Wte(e,t){return t&&(Kte(t)==="object"||typeof t=="function")?t:TT(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function Kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xte(e){var t=Gte();return function(){var n=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wte(this,o)}}var Bn=function(e){Ute(r,e);var t=Xte(r);function r(n){Hte(this,r);var o;return o=t.call(this,n),Hr(TT(o),"props",void 0),o.props=new ET(n==null?void 0:n.props),o}return qte(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ae);Hr(Bn,"controlType","employee-column"),Hr(Bn,"controlName","\u4EBA\u5458"),Hr(Bn,"controlIcon","employee-column"),Hr(Bn,"controlFieldType",m.EMPLOYEES),Hr(Bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function IT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qte(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 as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(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&&Sb(e,t)}function Zte(e,t){return t&&(Yte(t)==="object"||typeof t=="function")?t:IT(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function Yte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ene(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tne(e){var t=ene();return function(){var n=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zte(this,o)}}var AT=function(e){Jte(r,e);var t=tne(r);function r(n){Qte(this,r);var o;return o=t.call(this,n),Rb(IT(o),"props",void 0),o.props=new ET(n==null?void 0:n.props),o}return r}(fe);Rb(AT,"controlType","employee-column"),Rb(AT,"controlFieldType",m.EMPLOYEES);function fs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ss(e)}function rne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 one(e,t){return t&&(ine(t)==="object"||typeof t=="function")?t:fs(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function ine(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function une(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cne(e){var t=une();return function(){var n=ss(e),o;if(t){var i=ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return one(this,o)}}var xT=function(e){rne(r,e);var t=cne(r);function r(n){nne(this,r);var o;o=t.call(this,n),Eb(fs(o),"lineEllipsis",void 0),Eb(fs(o),"showLinkOperation",void 0),Eb(fs(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Rt(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(Z);function Bb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function ane(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function fne(e,t){return t&&(sne(t)==="object"||typeof t=="function")?t:Bb(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function sne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yne(e){var t=_ne();return function(){var n=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fne(this,o)}}var qr=function(e){ane(r,e);var t=yne(r);function r(n){lne(this,r);var o;return o=t.call(this,n),In(Bb(o),"props",void 0),In(Bb(o),"children",void 0),o.props=new xT(n==null?void 0:n.props),o}return r}(ae);In(qr,"controlType","approval-status-column"),In(qr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),In(qr,"controlIcon","approval-status-column"),In(qr,"excludes",[]),In(qr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function Ab(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ys(e)}function dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function vne(e,t){return t&&(hne(t)==="object"||typeof t=="function")?t:Ab(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function hne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gne(e){var t=bne();return function(){var n=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vne(this,o)}}var mne=function(e){dne(r,e);var t=gne(r);function r(n){pne(this,r);var o;return o=t.call(this,n),xb(Ab(o),"props",void 0),xb(Ab(o),"children",void 0),o.props=new xT(n==null?void 0:n.props),o}return r}(fe);xb(mne,"controlType","approval-status-column");function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kT(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 ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(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&&Db(e,t)}function One(e,t){return t&&(wne(t)==="object"||typeof t=="function")?t:ze(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function wne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NT(e){var t=$ne();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return One(this,o)}}var Pne=function(e){DT(r,e);var t=NT(r);function r(n){kT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(dn),Nb=function(e){DT(r,e);var t=NT(r);function r(n){kT(this,r);var o;o=t.call(this,n),He(ze(o),"search",void 0),He(ze(o),"cancel",void 0),He(ze(o),"searchType",void 0),He(ze(o),"labelPosition",void 0),He(ze(o),"viewType",void 0),He(ze(o),"isLoading",void 0),He(ze(o),"custom",void 0),He(ze(o),"queryTypeMap",void 0),He(ze(o),"childMinWidth",void 0),He(ze(o),"colGap",void 0),He(ze(o),"viewConfig",void 0),He(ze(o),"simpleConfig",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 Ut((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new Ut((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 _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(d){return new Ut(d)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var b;o.childMinWidth=(b=n==null?void 0:n.childMinWidth)!==null&&b!==void 0?b:230;var O;o.colGap=(O=n==null?void 0:n.colGap)!==null&&O!==void 0?O:24;var g;o.viewConfig=(g=n==null?void 0:n.viewConfig)!==null&&g!==void 0?g:[];var w;return o.simpleConfig=(w=n==null?void 0:n.simpleConfig)!==null&&w!==void 0?w:[],o}return r}($_);He(Nb,"RuntimeRules",Pne);function FT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ds(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vs(e)}function Sne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function Ene(e,t){return t&&(Tne(t)==="object"||typeof t=="function")?t:FT(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function Tne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ine(e){var t=Bne();return function(){var n=vs(e),o;if(t){var i=vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ene(this,o)}}var jb=function(e){Sne(r,e);var t=Ine(r);function r(n){Rne(this,r);var o;return o=t.call(this,n),ds(FT(o),"props",void 0),o.props=new Nb(n==null?void 0:n.props),o}return r}(G2);ds(jb,"controlType","simple-search"),ds(jb,"slotPosition",{default:"search"}),ds(jb,"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 Lb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ane(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 hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function xne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kne(e,t){return t&&(Dne(t)==="object"||typeof t=="function")?t:Lb(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function Dne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fne(e){var t=Nne();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kne(this,o)}}var jne=function(e){xne(r,e);var t=Fne(r);function r(n){Ane(this,r);var o;o=t.call(this,n),Mb(Lb(o),"props",void 0),Mb(Lb(o),"children",void 0),o.props=new Nb(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}(tD);Mb(jne,"controlType","simple-search");const Lne=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Qne(t==null?void 0:t.events),qne(n),Une(n);const o=Hne(n),i=Wne(o,t);let u=pn(X(i,c=>zne(c,t)));return r?u:u[0]},Mne=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Cne=["subtable","grid-table"],Vne=["simple-search"];function zne(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Mne.includes(r.type)?r.controlType="base":r.controlType="form",Cne.includes(r.type)&&(r.controlType="list"),Vne.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((_,p)=>{const b=new uK.Designer;b.props.caption=me(_.field_name)?_.field_name.zh:_.field_name;const O=b.toSchema();O.id=_.header_id;const g=r.children[0].children[p].children[0];return g&&(O.children=[g]),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(_=>{const p=new VR.Designer;p.props.span=f;const b=p.toSchema();return b.children.push(_),b})}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],_=r==null?void 0:r.children[1],p={};f&&(jT(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),_&&(p.unit=_.props.data_bind,r.props.default_value={unit:_.props.value}),r.props.dataBind=p,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],_=r==null?void 0:r.children[1],p={},b={};f&&(jT(r,t),r.id=f.id,p.amount=f.props.data_bind,r.props.range_min=Dn(f.props.range_min),r.props.range_max=Dn(f.props.range_max),b.amount=Dn(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),_&&(p.currency=_.props.data_bind,b.currency=_.props.value,r.props.datasourceBind=_.props.datasource_bind,r.props.options=_.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=p,r.props.defaultValue=b,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],_=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 p={};f&&(p.min=f.props.data_bind),_&&(p.max=_.props.data_bind),r.props.dataBind=p,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=me(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Dn(e.props.range_min),r.props.range_max=Dn(e.props.range_max),r.props.defaultValue=Dn(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"),Jne(r,t==null?void 0:t.control_events),r}function jT(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 Hne(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new IX.Designer().toSchema();return n.children=e,[n]}function qne(e){e.forEach(t=>{t.children&&Xne(t.children)})}function Une(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 Wne(e,t){var b,O,g,w,d,$,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;Kne(i),c.props.is_fixed_header=(b=n==null?void 0:n.source_config)==null?void 0:b.is_fixed_header,Gne(c,u);const a=(g=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?g:t==null?void 0:t.dataCode,l=((d=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?d:a)?`${a}_selectMore`:void 0,f=(P=($=n==null?void 0:n.source_config)==null?void 0:$.orders)!=null?P:[],_=new aX.Designer;_.props.datasourceBind=new ne({dataCode:a,svcCode:l,orders:gA(f)}),_.props.isShowSubList=n.is_show_sublist,_.props.triggerType=n.timing_type,_.props.triggerFieldCode=n.ctrl_field_code,(R=n==null?void 0:n.sublist_page)==null||R.sublists.forEach(S=>{S.title=me(S.title)?S.title.zh:S.title}),_.props.sublistPage=n.sublist_page;const p=_.toSchema();return p.children.push(i,c),[p]}function Kne(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 Gne(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 ne({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 Xne(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 Qne(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 Jne(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 Zne=(e,t)=>{const r=Array.isArray(e);let o=pn(X(r?e:[e],i=>Yne(i)));return r?o:o[0]};function Yne(e,t){return e.type===y.LIST_VIEW&&e.children.find(n=>n.type===y.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new tt({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const ere=(e,t)=>{const r=Array.isArray(e);let o=pn(X(r?e:[e],i=>tre(i)));return r?o:o[0]};function tre(e,t){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===y.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===y.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const nre=(e,t)=>{const r=Array.isArray(e);let o=pn(X(r?e:[e],i=>rre(i)));return r?o:o[0]};function rre(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 ore=(e,t)=>{const r=Array.isArray(e);let o=pn(X(r?e:[e],i=>ure(i)));return r?o:o[0]},ire=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function ure(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(ire.includes(r.type))return r;const n=new xW.Designer,o=new VR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const cre=(e,t)=>{const r=Array.isArray(e);let o=pn(X(r?e:[e],i=>lre(i)));return r?o:o[0]};function lre(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===y.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const are=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>fre(i));return r?o:o[0]};function fre(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const sre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>_re(i));return r?o:o[0]};function yn(e,t){e.field_code&&(e.field_type=t)}function _re(e,t){var n;const r={[y.TITLE]:m.AUTO_NUMBER,[y.ADDRESS]:m.ADDRESS,[y.ATTACHMENT]:m.FILE,[y.AUTO_NUMBER]:m.AUTO_NUMBER,[y.CHECKBOX]:m.ARRAY,[y.DATE_PICKER]:m.TIMESTAMP,[y.DEPARTMENT]:m.DEPARTMENTS,[y.DEPARTMENT2]:m.DEPARTMENTS,[y.EMPLOYEE]:m.EMPLOYEES,[y.EMPLOYEE2]:m.EMPLOYEES,[y.IMAGE]:m.IMAGE,[y.INPUT]:m.VARCHAR,[y.NUMBER]:m.DECIMAL,[y.RADIO]:m.VARCHAR,[y.RICH_TEXT]:m.TEXT,[y.SCORE]:m.DECIMAL,[y.SELECT]:m.VARCHAR,[y.SELECT_MULTIPLE]:m.ARRAY,[y.SELECT_RELATION]:m.VARCHAR,[y.TEXTAREA]:m.TEXT,[y.TREE]:m.ARRAY,[y.SEARCH_DATE_RANGE]:m.ARRAY,[y.SEARCH_INPUT]:m.VARCHAR,[y.SEARCH_NUMBER_RANGE]:m.ARRAY};return r.hasOwnProperty(e.type)&&yn(e.props.data_bind,r[e.type]),e.type===y.AMOUNT&&(yn(e.props.data_bind.amount,m.DECIMAL),yn(e.props.data_bind.currency,m.VARCHAR)),e.type===y.CALC&&(yn(e.props.data_bind.result,m.DECIMAL),yn(e.props.data_bind.unit,m.VARCHAR)),e.type===y.DATE_RANGE&&(yn(e.props.data_bind.min,m.TIMESTAMP),yn(e.props.data_bind.max,m.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&yn(e.props.data_bind,(n=e.field_type)!=null?n:m.ANY),e}const yre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>pre(i));return r?o:o[0]};function pre(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===y.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const dre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>vre(i));return r?o:o[0]};function vre(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[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 hre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>bre(i));return r?o:o[0]};function bre(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const gre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>mre(i));return r?o:o[0]};function mre(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Ore=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>wre(i));return r?o:o[0]};function wre(e,t){return e.type===y.TITLE&&e.props.config.push(It.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,a,l,f,_,p,b,O,g,w,d,$,P,R,S,L,B,G;if(r.type===y.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((o=r.props)==null?void 0:o.check)!==void 0){const x=new My.Designer;Object.defineProperty(x,"id",{value:"listPageCheckBtnId"}),x.props.code="view",x.props.icon="iconliulan1",x.props.command="view",x.props.content=(i=r.props)==null?void 0:i.check.content,x.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,x.props.openType=(c=r.props)==null?void 0:c.check.open_type,x.props.formKey=(a=r.props)==null?void 0:a.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(x.toSchema()),(f=r.props)==null||delete f.check}if(((_=r.props)==null?void 0:_.edit)!==void 0){const x=new My.Designer;Object.defineProperty(x,"id",{value:"listPageEditBtnId"}),x.props.code="edit",x.props.icon="iconbianji1",x.props.command="edit",x.props.content=(p=r.props)==null?void 0:p.edit.content,x.props.priorityProcess=(b=r.props)==null?void 0:b.edit.priority_process,x.props.openType=(O=r.props)==null?void 0:O.edit.open_type,x.props.formKey=(g=r.props)==null?void 0:g.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(x.toSchema()),(d=r.props)==null||delete d.edit}if((($=r.props)==null?void 0:$.delete)!==void 0){const x=new My.Designer;Object.defineProperty(x,"id",{value:"listPageDeleteBtnId"}),x.props.code="delete",x.props.icon="iconlajitong",x.props.command="delete",x.props.content=(P=r.props)==null?void 0:P.delete.content,x.props.priorityProcess=(R=r.props)==null?void 0:R.delete.priority_process,x.props.openType=(S=r.props)==null?void 0:S.delete.open_type,x.props.formKey=(L=r.props)==null?void 0:L.delete.form_key,x.props.needConfirm=!0,x.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(B=r.props)!=null&&B.delete.is_show&&r.children.push(x.toSchema()),(G=r.props)==null||delete G.delete}}}),[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const $re=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>Pre(i,t));return r?o:o[0]};function Pre(e,t){e.type===y.SUBTABLE&&e.props.headers.map(n=>{var i;n.props.meta_auto_width=new Rg,n.props.width_type==="px"&&(n.props.meta_auto_width.pc.width=n.props.width,n.props.meta_auto_width.pc.width_type="px"),delete n.props.width,delete n.props.width_type;const o=(i=n.children)==null?void 0:i[0];o&&o.type===y.CALC&&o.props.calc_on_mounted===void 0&&(o.props.calc_on_mounted=!0)});const r={[y.SUBTABLE]:[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}],[y.GRID_TABLE]:[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}],[y.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[y.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[y.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return e.type in r&&r[e.type].forEach(n=>{e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),e.type===y.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.limit===void 0&&(n.props.limit=3),n.props.show_type===void 0&&(n.props.show_type="icon")),n.props.flex===void 0&&(n.props.flex=1)}),e.type===y.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Rre(t),e}function Rre(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let r,n,o;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":n=i,o=u;break;case"on_click":r=i;break}}),n&&(n.cases[0].handlers.unshift(Vb()),r?(n.cases.forEach(i=>{r.cases[0].handlers.push(i)}),e.listeners[t].splice(o,1)):n.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Sre()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){let t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(r=>{r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(Vb())}}}function Sre(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[Vb()]}}function Vb(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Ere=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>Tre(i,t));return r?o:o[0]};function Tre(e,t){if(e.type===y.LIST_VIEW){if(e.props.is_show_selection===!1){const r=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];e.children.forEach(n=>{n.type===y.GRID_TABLE&&n.children.map(u=>u.type).some(u=>r.includes(u))===!0&&(e.props.is_show_selection=!0,n.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName)}return e.type===y.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===y.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e}const Bre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>Ire(i));return r?o:o[0]};function Ire(e,t){const r={[y.SUBTABLE]:[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]};return e.type in r&&r[e.type].forEach(n=>{e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1),e}const Are=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>xre(i));return r?o:o[0]};function xre(e,t){var r,n,o;if(e.type===y.TEXTAREA){const i={rowHeightType:e.props.auto_size===!0?"auto":"fixed",minRows:(r=e.props.line_ellipsis)!=null?r:4,maxRows:(n=e.props.max_rows)!=null?n:20,fiexdRow:(o=e.props.line_ellipsis)!=null?o:4};e.props.row_height_setting=pn(new Pg({pc:i,mobile:i}))}return e}const kre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=X(n,u=>{const c=Dre(u);return o[u.id]=u,c});return Nre(o,t),r?i:i[0]};function Dre(e,t){return e}function Nre(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(r=>{var i,u,c,a,l;const n=t==null?void 0:t.listeners[r],o=e[r];(o==null?void 0:o.type)===y.BUTTON&&(["draft","form_submit","save"].includes((u=(i=o.props)==null?void 0:i.opt_obj)==null?void 0:u.opt_type)&&(n==null||n.map(f=>{var _,p,b,O;(_=f==null?void 0:f.cases)==null||_.map(g=>{var w;(w=g==null?void 0:g.handlers)==null||w.map(d=>{var $,P,R,S;(d==null?void 0:d.method)==="optPage"&&d.params.operation==="refresh"&&(d.params.operation="close"),(d==null?void 0:d.method)==="openPage"&&((S=(R=(P=($=d.params)==null?void 0:$.options)==null?void 0:P.link)==null?void 0:R.fx)==null?void 0:S.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(d.id="optPage",d.method="optPage",d.params={operation:"close"})})}),((O=(b=(p=f==null?void 0:f.cases)==null?void 0:p[0])==null?void 0:b.handlers)==null?void 0:O.length)===1&&f.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((a=(c=o.props)==null?void 0:c.opt_obj)==null?void 0:a.opt_type)&&((l=t.dataModelExtend)==null?void 0:l.process_status_enum_type)==="business"&&(n==null||n.map(f=>{f.cases[0].handlers.map(_=>{(_==null?void 0:_.method)==="optPage"&&_.params.operation==="close"&&(_.params.operation="edit")})})))})}const Fre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=X(n,u=>{const c=jre(u);return o[u.id]=u,c});return Lre(o,t),r?i:i[0]};function jre(e,t){if(e.type===y.ORGANIZATION_SELECTION){const r=e.props.selected_content_config,n=r==null?void 0:r.display_bo_list;n&&n.forEach(o=>{o.value==="org_type_code"&&(o.label="\u4E1A\u52A1\u7C7B\u578B"),o.value==="org_pattern_code"&&(o.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}function Lre(e,t){var r,n;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const o=(n=(r=t==null?void 0:t.events)==null?void 0:r.did_mount)!=null?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}const Mre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>Cre(i));return r?o:o[0]};function Cre(e,t){var r,n;return e.type===y.SIMPLE_SEARCH&&(e.props.view_config===void 0&&(e.props.view_config=(r=e.children)==null?void 0:r.map(o=>{var i;return(i=o.props)==null?void 0:i.data_bind})),e.props.simple_config===void 0&&(e.props.simple_config=(n=e.children)==null?void 0:n.map(o=>{var i;return(i=o.props)==null?void 0:i.data_bind}))),e}var LT={"v1.0":Lne,"v2.0":Zne,"v2.1":ere,"v2.2":nre,"v2.3":ore,"v2.4":cre,"v2.5":are,"v2.6":sre,"v2.7":yre,"v2.8":dre,"v2.9":hre,"v2.10":gre,"v3.0":Ore,"v3.1":$re,"v3.2":Ere,"v3.3":Bre,"v3.4":Are,"v3.5":kre,"v3.6":Fre,"v3.7":Mre,"v3.8":()=>{}};const MT=(e,t)=>{const r=CT(e),n=CT(t),o=r.pop(),i=n.pop(),u=HT(r,n);return u!==0?u:o&&i?HT(o.split("."),i.split(".")):o||i?o?-1:1:0},bs=(e,t,r)=>{qre(r);const n=MT(e,t);return qT[r].includes(n)},Vre=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,CT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Vre);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},VT=e=>e==="*"||e==="x"||e==="X",zT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},zre=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Hre=(e,t)=>{if(VT(e)||VT(t))return 0;const[r,n]=zre(zT(e),zT(t));return r>n?1:r<n?-1:0},HT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Hre(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},qT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},UT=Object.keys(qT),qre=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(UT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${UT.join("|")}`)};function zb(e){return e.replace(/^v/,"")}const Ur=Object.keys(LT).map(e=>zb(e)).sort(MT),Co=Ur[Ur.length-1];class Ure{constructor(t,r=Co){this.schemaVersion=t,this.toVersion=r,bs(r,Co,">")?Qr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${Co}`):(!Ur.includes(zb(r))||!Ur.includes(zb(t)))&&Qr(`Version Builder: Please give me a valid version number, The valid version is: ${Ur.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(bs(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var _;const a=(_=c[u+1])!=null?_:this.toVersion;Ho(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=LT[i];let f=o;if(typeof l=="function"){const p=l(o,r);p&&(f=p)}return f},t);return Ho(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return Ur.filter(t=>bs(t,this.schemaVersion,">=")&&bs(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Co}static get version(){return Co}}xn.VersionBuilder=Ure,Object.defineProperty(xn,"__esModule",{value:!0})});