@byteluck-fe/model-driven-upgrade 2.11.0-alpha.1 → 2.20.0-beta.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(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})});
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",KT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",GT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",XT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",QT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",JT="{caption}\u5FC5\u586B",ZT="\u8BF7\u8F93\u5165\u6807\u9898",YT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",e3="\u8BF7\u8F93\u5165\u884C\u6807\u9898",t3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",n3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",r3="\u8BF7\u7ED1\u5B9A\u8868\u5355",o3="\u8BF7\u7ED1\u5B9A\u5217\u8868",i3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",u3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",c3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",l3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",a3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",f3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",s3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",_3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",y3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",p3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",d3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",v3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",h3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",b3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",g3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",m3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",O3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",w3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",$3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",P3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",R3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",S3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",E3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",T3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",B3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",I3="\u8BF7\u9009\u62E9\u7701",A3="\u8BF7\u9009\u62E9\u5E02",x3="\u8BF7\u9009\u62E9\u533A",k3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",D3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",N3="\u8BF7\u8F93\u5165\u5217\u5BBD",F3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",j3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",L3="\u8BF7\u9009\u62E9\u63A7\u4EF6",M3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",C3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",V3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",z3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",H3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",q3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",U3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",W3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",K3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",G3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",X3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Q3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",J3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Z3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Y3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",eB="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",tB="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",nB="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",rB="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",oB="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",iB="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",uB="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",cB="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",lB="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",aB="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",fB="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",sB="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",_B={isNotNumber:Kr,isNotString:KT,isNotObject:GT,isNotArray:XT,isNotBoolean:QT,runtimeRequired:JT,pleaseEnterCaption:ZT,pleaseEnterCaptionTip:YT,pleaseEnterRowCaption:e3,pleaseEnterPlaceholder:t3,pleaseEnterFieldCode:n3,pleaseEnterForm:r3,pleaseEnterList:o3,pleaseEnterProcess:i3,pleaseEnterLabel:u3,pleaseEnterValue:c3,bizKeyNotBindFiled:l3,pleaseSelectOneField:a3,pleaseEnterNumberRange:f3,pleaseEnterAValueGreaterThanMin:s3,pleaseEnterAValueLessThanMax:_3,numberRangeSetError:y3,stringRangeError:p3,attachmentMaxSize:d3,pleaseEnterTotalScoreSetting:v3,theTotalScoreMustNotBeLessThan1:h3,scoreDefaultValueRange:b3,attachmentLimitError:g3,PleaseReselectTheOptionalQuantity:m3,TheMaximumLengthIsGreaterThanTheMinimumLength:O3,TheMinimumLengthIsGreaterThanTheMaximumLength:w3,PleaseSelectTheCorrectOptionSettings:$3,optionIdIsRepeat:P3,optionIsRequired:R3,pleaseEnterDataCode:S3,pleaseEnterValueFieldCode:E3,pleaseEnterSvcCode:T3,pleaseBindAtLeastOneDisplayValue:B3,pleaseSelectProvince:I3,pleaseSelectCity:A3,pleaseSelectDistrict:x3,limitRowsCannotBeLessThan0:k3,TheNumberOfRowsCannotBeLessThanMinRows:D3,pleaseEnterColumnWidth:N3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:F3,pleaseCompleteAllRulesAndConditions:j3,pleaseSelectControl:L3,pleaseSelectAtLeastOneColumn:M3,pleaseSelectFillBackMode:C3,pleaseSelectDashboard:V3,rootNodeIsRequired:z3,theViewNameCannotBeEmpty:H3,pleaseSelectOcrType:q3,pleaseSelectAtLeastOneFieldToFillIn:U3,pleaseChooseAtLeastOne:W3,pleaseEnterButtonContent:K3,pleaseEnterDataCodeInDataSetting:G3,pleaseEnterValueFieldCodeInDataSetting:X3,pleaseEnterSvcCodeInDataSetting:Q3,pleaseBindAtLeastOneDisplayValueInDataSetting:J3,rootNodeIsRequiredInDataSetting:Z3,pleaseEnterMaxHeight:Y3,pleaseEnter:eB,pleaseEnterWatermark:tB,pleaseEnterFileName:nB,pleaseUploadAtLeastOnePrintTemplate:rB,pleaseAssignBusiness:oB,pleaseAssignExternal:iB,pleaseEnterAliasCode:uB,pleaseSelectDataCode:cB,pleaseSelectSvcCode:lB,pleaseSelectJoinFieldCode:aB,pleaseSelectMainFieldCode:fB,pleaseSelectSortFieldCode:sB},yB="Please enter a number",pB="Please enter a string",dB="Please enter an object",vB="Please enter an array",hB="Please enter a boolean",bB="{caption} Required",gB="Please enter the title",mB="Please enter the bubble prompt",OB="Please enter the row title",wB="Please enter the prompt text",$B="Please bind data items",PB="Please bind the form",RB="Please bind the list",SB="Please bind the process",EB="Please enter the displayed value",TB="Please enter the stored value",BB="The document number is not bound to the data item",IB="Please select at least one display field",AB="Please enter a value greater than or equal to {min} and less than or equal to {max}",xB="Please enter a value greater than or equal to {min}",kB="Please enter a value less than or equal to {max}",DB="The value range is set incorrectly",NB="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",FB="The attachment size must be between 0MB and 1000MB",jB="Please fill in the total score setting",LB="The total score cannot be less than 1",MB="The default value must be between {min} and {max}",CB="The number of attachments uploaded must be between {min} and {max}",VB="Please re-select the optional quantity",zB="The maximum length of the control must be greater than the minimum length",HB="The minimum length of the control must be less than the maximum length",qB="Please select the correct option setting",UB="Option ID cannot be repeated",WB="Please enter at least one option",KB="Please bind the data source",GB="Please bind the stored value",XB="Please bind the service",QB="At least one display value must be bound",JB="Please select a province",ZB="Please select a city",YB="Please select a district",eI="The minimum number of lines to fill in cannot be less than 0",tI="The number of rows cannot be less than {min} rows",nI="Please enter the column width",rI="Please set the logical relationship of all rule conditions",oI="Please complete all rules and conditions",iI="please select control",uI="Please select the dashboard",cI="View name cannot be empty",lI="Please select recognition type",aI="Please select at least one field to fill in",fI="Please select at least one",sI="Please enter the button title",_I="Please bind the business model in the data settings",yI="Please bind storage values in data settings",pI="Please bind the service in the data settings",dI="Please bind at least one display value in the data settings",vI="Please select the root node in the data settings",hI="Please enter the maximum height",bI="The input content cannot be empty",gI="Watermark cannot be empty",mI="File name cannot be empty",OI="Please upload at least one printing template!\uFF01",wI="Please select a specific business department",$I="Please select a specified external organization",PI="Please enter a sub table alias",RI="Please select the associated table to set the business model",SI="Please select the association table to set the binding service",EI="Select associated sub table fields",TI="Please select the associated main table field",BI="Please select the sort field",II={isNotNumber:yB,isNotString:pB,isNotObject:dB,isNotArray:vB,isNotBoolean:hB,runtimeRequired:bB,pleaseEnterCaption:gB,pleaseEnterCaptionTip:mB,pleaseEnterRowCaption:OB,pleaseEnterPlaceholder:wB,pleaseEnterFieldCode:$B,pleaseEnterForm:PB,pleaseEnterList:RB,pleaseEnterProcess:SB,pleaseEnterLabel:EB,pleaseEnterValue:TB,bizKeyNotBindFiled:BB,pleaseSelectOneField:IB,pleaseEnterNumberRange:AB,pleaseEnterAValueGreaterThanMin:xB,pleaseEnterAValueLessThanMax:kB,numberRangeSetError:DB,stringRangeError:NB,attachmentMaxSize:FB,pleaseEnterTotalScoreSetting:jB,theTotalScoreMustNotBeLessThan1:LB,scoreDefaultValueRange:MB,attachmentLimitError:CB,PleaseReselectTheOptionalQuantity:VB,TheMaximumLengthIsGreaterThanTheMinimumLength:zB,TheMinimumLengthIsGreaterThanTheMaximumLength:HB,PleaseSelectTheCorrectOptionSettings:qB,optionIdIsRepeat:UB,optionIsRequired:WB,pleaseEnterDataCode:KB,pleaseEnterValueFieldCode:GB,pleaseEnterSvcCode:XB,pleaseBindAtLeastOneDisplayValue:QB,pleaseSelectProvince:JB,pleaseSelectCity:ZB,pleaseSelectDistrict:YB,limitRowsCannotBeLessThan0:eI,TheNumberOfRowsCannotBeLessThanMinRows:tI,pleaseEnterColumnWidth:nI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:rI,pleaseCompleteAllRulesAndConditions:oI,pleaseSelectControl:iI,pleaseSelectDashboard:uI,theViewNameCannotBeEmpty:cI,pleaseSelectOcrType:lI,pleaseSelectAtLeastOneFieldToFillIn:aI,pleaseChooseAtLeastOne:fI,pleaseEnterButtonContent:sI,pleaseEnterDataCodeInDataSetting:_I,pleaseEnterValueFieldCodeInDataSetting:yI,pleaseEnterSvcCodeInDataSetting:pI,pleaseBindAtLeastOneDisplayValueInDataSetting:dI,rootNodeIsRequiredInDataSetting:vI,pleaseEnterMaxHeight:hI,pleaseEnter:bI,pleaseEnterWatermark:gI,pleaseEnterFileName:mI,pleaseUploadAtLeastOnePrintTemplate:OI,pleaseAssignBusiness:wI,pleaseAssignExternal:$I,pleaseEnterAliasCode:PI,pleaseSelectDataCode:RI,pleaseSelectSvcCode:SI,pleaseSelectJoinFieldCode:EI,pleaseSelectMainFieldCode:TI,pleaseSelectSortFieldCode:BI},AI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",DI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",NI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FI="{caption}\u5FC5\u9808",jI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",MI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",HI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",UI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",KI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",GI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",XI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",QI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ZI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",YI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",e1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",t1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",n1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",r1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",o1="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",i1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",u1="\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",c1="\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",l1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",a1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",f1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",s1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",y1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",p1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",d1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",v1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",h1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",b1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",g1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",m1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",O1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",w1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",$1="please select control",P1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",R1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",S1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",E1="\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",T1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",B1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",I1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",A1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",k1="\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",D1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",N1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",F1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",j1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",L1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",M1="\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",C1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",V1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",z1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",H1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",q1="\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",U1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",W1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",K1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",G1={isNotNumber:AI,isNotString:xI,isNotObject:kI,isNotArray:DI,isNotBoolean:NI,runtimeRequired:FI,pleaseEnterCaption:jI,pleaseEnterCaptionTip:LI,pleaseEnterRowCaption:MI,pleaseEnterPlaceholder:CI,pleaseEnterFieldCode:VI,pleaseEnterForm:zI,pleaseEnterList:HI,pleaseEnterProcess:qI,pleaseEnterLabel:UI,pleaseEnterValue:WI,bizKeyNotBindFiled:KI,pleaseSelectOneField:GI,pleaseEnterNumberRange:XI,pleaseEnterAValueGreaterThanMin:QI,pleaseEnterAValueLessThanMax:JI,numberRangeSetError:ZI,stringRangeError:YI,attachmentMaxSize:e1,pleaseEnterTotalScoreSetting:t1,theTotalScoreMustNotBeLessThan1:n1,scoreDefaultValueRange:r1,attachmentLimitError:o1,PleaseReselectTheOptionalQuantity:i1,TheMaximumLengthIsGreaterThanTheMinimumLength:u1,TheMinimumLengthIsGreaterThanTheMaximumLength:c1,PleaseSelectTheCorrectOptionSettings:l1,optionIdIsRepeat:a1,optionIsRequired:f1,pleaseEnterDataCode:s1,pleaseEnterValueFieldCode:_1,pleaseEnterSvcCode:y1,pleaseBindAtLeastOneDisplayValue:p1,pleaseSelectProvince:d1,pleaseSelectCity:v1,pleaseSelectDistrict:h1,limitRowsCannotBeLessThan0:b1,TheNumberOfRowsCannotBeLessThanMinRows:g1,pleaseEnterColumnWidth:m1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:O1,pleaseCompleteAllRulesAndConditions:w1,pleaseSelectControl:$1,pleaseSelectDashboard:P1,theViewNameCannotBeEmpty:R1,pleaseSelectOcrType:S1,pleaseSelectAtLeastOneFieldToFillIn:E1,pleaseChooseAtLeastOne:T1,pleaseEnterButtonContent:B1,pleaseEnterDataCodeInDataSetting:I1,pleaseEnterValueFieldCodeInDataSetting:A1,pleaseEnterSvcCodeInDataSetting:x1,pleaseBindAtLeastOneDisplayValueInDataSetting:k1,rootNodeIsRequiredInDataSetting:D1,pleaseEnterMaxHeight:N1,pleaseEnter:F1,pleaseEnterWatermark:j1,pleaseEnterFileName:L1,pleaseUploadAtLeastOnePrintTemplate:M1,pleaseAssignBusiness:C1,pleaseAssignExternal:V1,pleaseEnterAliasCode:z1,pleaseSelectDataCode:H1,pleaseSelectSvcCode:q1,pleaseSelectJoinFieldCode:U1,pleaseSelectMainFieldCode:W1,pleaseSelectSortFieldCode:K1},X1={zhCN:_B,enUS:II,jaJP:G1},Qb;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Qb||(Qb={}));var Jb;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Jb||(Jb={}));var Q1="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 Zb;(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"})(Zb||(Zb={}));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 Yb;(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"})(Yb||(Yb={}));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 eg={DEFAULT:"default"},tg="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",J1=tg+"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?tg:J1,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 Z1(e){if(Array.isArray(e))return gs(e)}function Y1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zo(e,t,r){return ig()?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 rg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xr(e,t)}function eA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function tA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nA(){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 rA(e,t){return t&&(oA(t)==="object"||typeof t=="function")?t:Y1(e)}function Xr(e,t){return Xr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xr(e,t)}function og(e){return Z1(e)||tA(e)||iA(e)||nA()}function oA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iA(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||!eA(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 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=Gr(e),o;if(t){var i=Gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rA(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(og(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(og(o)))}function uA(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var $s=function(e){rg(r,e);var t=ug(r);function r(n){ng(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?uA(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)),cA=function(e){rg(r,e);var t=ug(r);function r(n){ng(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 cg(e){throw new cA(e)}function lA(e){Os.error(new $s(e))}var aA=Object.prototype.toString;function lg(e,t){return aA.call(e)==="[object "+t+"]"}function fA(e){return lg(e,"String")}function sA(e){return lg(e,"Promise")}var _A=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();sA(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&&!fA(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 yA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ag(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pA(e,t,r){return t&&ag(e.prototype,t),r&&ag(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 v=function(){function e(){yA(this,e)}return pA(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]:Q1;return new _A({locale:r,messages:X1})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();dA(v,"$i18n",v.resetI18n());function vA(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 hA=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 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})(hA)})(Ps);var fg={};Object.defineProperty(fg,"__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 bA=fg.default=Rs;function Ze(e){if(e!==void 0)return typeof e=="object"?bA(e):e}function me(e){return sg(e)&&"zh"in e}function sg(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 gA(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 mA(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 OA(e){if(Array.isArray(e))return Es(e)}function _g(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function wA(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){_g(i,n,o,u,c,"next",a)}function c(a){_g(i,n,o,u,c,"throw",a)}u(void 0)})}}function $A(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 PA(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function pg(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){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function SA(){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 OA(e)||RA(e)||EA(e)||SA()}function EA(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 TA(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 BA=function(){function e(){$A(this,e),pg(this,"_events",new Map),pg(this,"debug",!1)}return PA(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 wA(function(){var c,a,l,f,_,p,b,O,g,w,d,$;return TA(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(),lA(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 IA(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 AA(e,t,r){return t&&dg(e.prototype,t),r&&dg(e,r),e}function xA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kA=[{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"}],DA=function(){function e(){IA(this,e)}return AA(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}();xA(DA,"events",kA);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 NA(e){if(Array.isArray(e))return Bs(e)}function FA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vg(e){return NA(e)||FA(e)||LA(e)||jA()}function LA(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 hg(e,t,r){r==="Designer"&&(e.parent=t,Is(e,"parent"))}function MA(e,t,r){e.forEach(function(n){hg(n,t,r)})}var bg=Symbol("targetKey");function gg(e){var t;return(t=e[bg])!==null&&t!==void 0?t:e}function mg(e,t,r){return MA(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===bg?o:(l=Reflect).get.apply(l,[o,i].concat(vg(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(vg(a)));return sg(u)&&hg(u,t,r),_}})}function Pt(e,t,r,n,o){var i=n!=null?n:e,u=mg(gg(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=mg(gg(a),i,o)},enumerable:!0})}function CA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VA(e,t,r){return t&&Og(e.prototype,t),r&&Og(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 wg=[],qo=function(){function e(t){CA(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 VA(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",wg),qt(qo,"staticRegisteredTypes",new Set(wg.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 zA(e,t){return t&&(HA(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 HA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function et(e){var t=qA();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 zA(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},$g=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},Pg=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},Rg=function e(t){E(this,e),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Pg(t==null?void 0:t.pc),this.mobile=new Pg(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}($g),Sg=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})},UA=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:""},WA=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),Eg=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 Eg(u)}))!==null&&i!==void 0?i:[]},KA=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},GA=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),XA=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 KA(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 GA(u)}))!==null&&i!==void 0?i:[]},QA=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 QA(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Jr(t==null?void 0:t.rightVariableBo)},JA=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},ZA=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 ZA(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},Tg=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 Tg(c)}))!==null&&u!==void 0?u:[],o}return r}(ne),YA=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 Tg(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),Bg=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),Ig=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:[]},Ag=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}(Ig),xg=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}(Ig),kg=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:""},ex=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 ex(r)}))!==null&&t!==void 0?t:[]}var Ls=function e(){E(this,e)},tx=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),nx=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"},rx=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),ox=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:""},ix=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:""},ux=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),cx=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",e.SORTABLE="sortable"})(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},lx=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 Eg(u)}))!==null&&i!==void 0?i:[],Fs.call(this,t)},ax=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"},fx=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:""},sx=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:[]},_x=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 yx(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 Dg()?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 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&&Yr(e,t)}function dx(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function vx(e,t){return t&&(hx(t)==="object"||typeof t=="function")?t:yx(e)}function Yr(e,t){return Yr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yr(e,t)}function hx(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||!dx(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 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 bx(e){var t=Dg();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 vx(this,o)}}var Y=function e(t){Vs(this,e),Wt(this,"isHide",{type:"boolean"})},dn=function(e){px(r,e);var t=bx(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 ax(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 gx(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 mx(){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 mx()?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 Ox(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||!Ox(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 wx=/%[sdj%]/g,Ng=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Ng=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(wx,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 $x(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||$x(t)&&typeof e=="string"&&!e)}function Px(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 Fg(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 Rx(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var jg=function(e){gx(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 Sx(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var b=function(w){return n(w),w.length?p(new jg(w,Us(w))):_()},O=Rx(e);Fg(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 jg(l,Us(l))):_()};u.length||(n(l),_()),u.forEach(function(O){var g=e[O];i.indexOf(O)!==-1?Fg(g,r,b):Px(g,r,b)})});return f.catch(function(_){return _}),f}function Lg(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 Mg(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 Cg(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 Ex(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 Tx(e,t,r,n,o){if(e.required&&t===void 0){Cg(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 Bx(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 Ix(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 Ax(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:Cg,whitespace:Ex,type:Tx,range:Bx,enum:Ix,pattern:Ax};function xx(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 kx(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 Dx(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 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),t!==void 0&&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),te(t)||k.type(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(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 Mx(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 Cx(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 Vx="enum";function zx(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[Vx](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,"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 qx(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 Ux(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 Wx(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:xx,method:kx,number:Dx,boolean:Nx,regexp:Fx,integer:jx,float:Lx,array:Mx,object:Cx,enum:zx,pattern:Hx,date:qx,url:Ks,hex:Ks,email:Ks,required:Ux,any:Wx};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=Mg(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()),Mg(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 Sx(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,I){return ft(ft({},I),{},{fullField:d.fullField+"."+L})}function R(L){L===void 0&&(L=[]);var I=L;if(Array.isArray(I)||(I=[I]),!u.suppressWarning&&I.length&&Kt.warning("async-validator:",I),I.length&&d.message!==void 0&&(I=[].concat(d.message)),I=I.map(Lg(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(Lg(d)):u.error&&(I=[u.error(d,ke(u.messages.required,d.field))]),w(I);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=[];I&&I.length&&$t.push.apply($t,I),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=Ng,Kt.messages=Xs,Kt.validators=to;var Kx={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 Gx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Kt(e);return r.messages(Object.assign(Kx,t)),r}var Xx=new BA;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 Qx(e){if(Array.isArray(e))return e}function Jx(e){if(Array.isArray(e))return Qs(e)}function Vg(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 zg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Vg(i,n,o,u,c,"next",a)}function c(a){Vg(i,n,o,u,c,"throw",a)}u(void 0)})}}function Zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Yx(e,t,r){return t&&Hg(e.prototype,t),r&&Hg(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 qg(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ug(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ek(){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 tk(){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 Wg(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 nk(e){return Qx(e)||Ug(e)||Kg(e)||ek()}function Js(e){return Jx(e)||Ug(e)||Kg(e)||tk()}function Kg(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 Gg(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;Zx(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",Qg),j(this,"removeSetting",Xg),this._callControlHooks("preInstance",r);var o=qg(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||cg("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,(qg(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 Yx(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=nk(o),a=c[0],l=c.slice(1);return(u=Xx).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),vA(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return zg(function(){var o,i,u;return Gg(this,function(c){switch(c.label){case 0:return o=Wg({},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 zg(function(){var u,c,a,l;return Gg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:Wg({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),a=Gx(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",Xg),j(M,"updateSettingItem",Qg);function Xg(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 Qg(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 rk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ok(e,t,r){return t&&Jg(e.prototype,t),r&&Jg(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 ik(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Et=function(){function t(r){rk(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=ik(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||cg("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 ok(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=gA(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 uk(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 ck(e,t){return t&&(lk(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 lk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ak(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ti(e){var t=ak();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 ck(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(uk(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 fk(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 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&&t_(e,t)}function _k(e,t){return t&&(yk(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 yk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dk(e){var t=pk();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 _k(this,o)}}var N=function(e){sk(r,e);var t=dk(r);function r(n){fk(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 vk(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 hk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function bk(e,t){return t&&(gk(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 gk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ok(e){var t=mk();return function(){var n=ii(e),o;if(t){var i=ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bk(this,o)}}var F=function(e){hk(r,e);var t=Ok(r);function r(n){vk(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 wk(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 ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function Pk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o_(e,t)}function Rk(e,t){return t&&(Sk(t)==="object"||typeof t=="function")?t:wk(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}function Sk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ek(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tk(e){var t=Ek();return function(){var n=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rk(this,o)}}var ue=function(e){Pk(r,e);var t=Tk(r);function r(n){return $k(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 Bk(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 Zg(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 Ik(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Zg(i,n,o,u,c,"next",a)}function c(a){Zg(i,n,o,u,c,"throw",a)}u(void 0)})}}function Ak(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 xk(e,t,r){return t&&Yg(e.prototype,t),r&&Yg(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=Vk(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 kk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function Dk(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Nk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fk(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function jk(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 Lk(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 Mk(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Lk(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Ck(e,t){return t&&(zk(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 Vk(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}function em(e){return Bk(e)||Nk(e)||Hk(e)||Fk()}function zk(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hk(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 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=Xt(e),o;if(t){var i=Xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ck(this,o)}}function Wk(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 Kk=1e4,ce=function(t){kk(n,t);var r=Uk(n);function n(o){Ak(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=Dk(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 xk(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 Ik(function(){return Wk(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 em(a).concat(em(_))}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 Mk(jk({},i),{children:u})}}]),n}(M);Gt(ce,"excludes",!1),Gt(ce,"childrenMaxLength",Kk);function no(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&l_(e,t)}function Qk(e,t){return t&&(Jk(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 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=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qk(this,o)}}var hn=function(e){Xk(r,e);var t=Yk(r);function r(n){Gk(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 e2(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 t2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function n2(e,t){return t&&(r2(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 r2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i2(e){var t=o2();return function(){var n=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n2(this,o)}}var f_=function(e){t2(r,e);var t=i2(r);function r(n,o,i){e2(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 u2(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 tm(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 c2(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){tm(i,n,o,u,c,"next",a)}function c(a){tm(i,n,o,u,c,"throw",a)}u(void 0)})}}function l2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a2(e,t,r){return t&&nm(e.prototype,t),r&&nm(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=d2(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 f2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function s2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _2(){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 rm(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 y2(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 om(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y2(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function p2(e,t){return t&&(v2(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 d2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qt(e),e!==null););return e}function im(e){return u2(e)||s2(e)||h2(e)||_2()}function v2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h2(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 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 g2(e){var t=b2();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 p2(this,o)}}function m2(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){f2(r,e);var t=g2(r);function r(n){l2(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 a2(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Cn(Qt(r.prototype),"validate",u)};return c2(function(){return m2(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 im(c).concat(im(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 om(rm({},u),{props:om(rm({},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 O2(e,t){return t&&(w2(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 w2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h_(e){var t=$2();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 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 $g(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 um=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 P2(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 _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(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&&g_(e,t)}function S2(e,t){return t&&(E2(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 E2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=T2();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 S2(this,o)}}var ae=function(e){R2(r,e);var t=B2(r);function r(n){P2(this,r);var o;return o=t.call(this,n),cm(b_(o),"controlType","column"),cm(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 I2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(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&&O_(e,t)}function x2(e,t){return t&&(k2(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 k2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N2(e){var t=D2();return function(){var n=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x2(this,o)}}var fe=function(e){A2(r,e);var t=N2(r);function r(n){I2(this,r);var o;return o=t.call(this,n),lm(m_(o),"controlType","column"),lm(m_(o),"props",void 0),o.props=new Z(n==null?void 0:n.props),o}return r}(Et);function am(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j2(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 L2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function M2(e,t){return t&&(C2(t)==="object"||typeof t=="function")?t:am(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function C2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z2(e){var t=V2();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 M2(this,o)}}var $_=function(e){L2(r,e);var t=z2(r);function r(n){F2(this,r);var o;return o=t.call(this,n),j2(am(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 H2(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 di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(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&&R_(e,t)}function U2(e,t){return t&&(W2(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 W2(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 G2(e){var t=K2();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 U2(this,o)}}var X2=function(e){q2(r,e);var t=G2(r);function r(n){H2(this,r);var o;return o=t.call(this,n),fm(P_(o),"controlType","search"),fm(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 Q2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(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&&E_(e,t)}function Z2(e,t){return t&&(Y2(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 Y2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tD(e){var t=eD();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 Z2(this,o)}}var nD=function(e){J2(r,e);var t=tD(r);function r(n){Q2(this,r);var o;return o=t.call(this,n),sm(S_(o),"controlType","search"),sm(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 rD(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 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&&T_(e,t)}function iD(e,t){return t&&(uD(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 uD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lD(e){var t=cD();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 iD(this,o)}}var aD=function(e){oD(r,e);var t=lD(r);function r(n){rD(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 _m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fD(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 sD(e,t,r){return t&&ym(e.prototype,t),r&&ym(e,r),e}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 bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(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&&B_(e,t)}function yD(e,t){return t&&(pD(t)==="object"||typeof t=="function")?t:_m(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}function pD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vD(e){var t=dD();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 yD(this,o)}}var hD=function(e){_D(r,e);var t=vD(r);function r(n){fD(this,r);var o;return o=t.call(this,n),pm(_m(o),"props",void 0),o.props=new aD(n==null?void 0:n.props),o}return sD(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);pm(hD,"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 bD(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 gD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A_(e,t)}function mD(e,t){return t&&(OD(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 OD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $D(e){var t=wD();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 mD(this,o)}}var PD=function(e){gD(r,e);var t=$D(r);function r(n){bD(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 dm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SD(e,t,r){return t&&vm(e.prototype,t),r&&vm(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 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&&k_(e,t)}function TD(e,t){return t&&(BD(t)==="object"||typeof t=="function")?t:dm(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}function BD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ID(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AD(e){var t=ID();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 TD(this,o)}}var hm=function(e){ED(r,e);var t=AD(r);function r(n){RD(this,r);var o;return o=t.call(this,n),x_(dm(o),"props",void 0),o.props=new PD(n==null?void 0:n.props),o}return SD(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_(hm,"controlEventKeys",["on_click"]),x_(hm,"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 xD(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 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&&D_(e,t)}function DD(e,t){return t&&(ND(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 ND(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jD(e){var t=FD();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 DD(this,o)}}var Ne=function(e){kD(r,e);var t=jD(r);function r(n){xD(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 fx((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(ee);function bm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MD(e,t,r){return t&&gm(e.prototype,t),r&&gm(e,r),e}function $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 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&&N_(e,t)}function VD(e,t){return t&&(zD(t)==="object"||typeof t=="function")?t:bm(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}function zD(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 qD(e){var t=HD();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 VD(this,o)}}var Oe=function(e){CD(r,e);var t=qD(r);function r(n){LD(this,r);var o;return o=t.call(this,n),$i(bm(o),"props",void 0),o.props=new Ne(n==null?void 0:n.props),o}return MD(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",eg.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 mm;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(mm||(mm={}));var Om;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Om||(Om={}));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 wm=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:""},UD=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 wm(a)}))!==null&&o!==void 0?o:[new wm];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},$m=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:""},WD=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 $m(t==null?void 0:t.watermark),this.autoRename=new $m(t==null?void 0:t.autoRename)},KD=function e(t){nt(this,e),T(this,"dataCode",void 0),this.dataCode=t.dataCode},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 KD(i)}))!==null&&o!==void 0?o:[]},XD=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})]},QD=480;function Si(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var JD=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:[]},Pm;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Pm||(Pm={}));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 ZD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rm(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 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&&H_(e,t)}function eN(e,t){return t&&(tN(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 tN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rN(e){var t=nN();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eN(this,o)}}var oN=function(e){YD(r,e);var t=rN(r);function r(n){ZD(this,r);var o;o=t.call(this,n),Rm(z_(o),"color",void 0),Rm(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 Sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Em(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uN(e,t,r){return t&&Em(e.prototype,t),r&&Em(e,r),e}function Tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(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&&q_(e,t)}function lN(e,t){return t&&(aN(t)==="object"||typeof t=="function")?t:Sm(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}function aN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sN(e){var t=fN();return function(){var n=Bi(e),o;if(t){var i=Bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lN(this,o)}}var _N=function(e){cN(r,e);var t=sN(r);function r(n){iN(this,r);var o;return o=t.call(this,n),Tm(Sm(o),"props",void 0),o.props=new oN(n==null?void 0:n.props),o}return uN(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(M);Tm(_N,"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 Bm(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 Im(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function yN(e,t){return t&&(pN(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 pN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Am(e){var t=dN();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 yN(this,o)}}var vN=function(e){Im(r,e);var t=Am(r);function r(n){Bm(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),xm=function(e){Im(r,e);var t=Am(r);function r(n){Bm(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(xm,"Rules",vN);function km(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hN(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 bN(e,t,r){return t&&Dm(e.prototype,t),r&&Dm(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 gN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function mN(e,t){return t&&(ON(t)==="object"||typeof t=="function")?t:km(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}function ON(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 $N(e){var t=wN();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 mN(this,o)}}var ro=function(e){gN(r,e);var t=$N(r);function r(n){hN(this,r);var o;return o=t.call(this,n),W_(km(o),"props",void 0),o.props=new xm(n==null?void 0:n.props),o}return bN(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 Nm(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 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&&G_(e,t)}function PN(e,t){return t&&(RN(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 RN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jm(e){var t=SN();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 PN(this,o)}}var EN=function(e){Fm(r,e);var t=jm(r);function r(n){Nm(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),Lm=function(e){Fm(r,e);var t=jm(r);function r(n){Nm(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(Lm,"Rules",EN);function Mm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BN(e,t,r){return t&&Cm(e.prototype,t),r&&Cm(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 IN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function AN(e,t){return t&&(xN(t)==="object"||typeof t=="function")?t:Mm(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function xN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DN(e){var t=kN();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AN(this,o)}}var oo=function(e){IN(r,e);var t=DN(r);function r(n){TN(this,r);var o;return o=t.call(this,n),Ni(Mm(o),"props",void 0),o.props=new Lm(n==null?void 0:n.props),o}return BN(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 Vm(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 zm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function NN(e,t){return t&&(FN(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 FN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hm(e){var t=jN();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 NN(this,o)}}var LN=function(e){zm(r,e);var t=Hm(r);function r(n){Vm(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),qm=function(e){zm(r,e);var t=Hm(r);function r(n){Vm(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(qm,"Rules",LN);function Um(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CN(e,t,r){return t&&Wm(e.prototype,t),r&&Wm(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 VN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zN(e,t){return t&&(HN(t)==="object"||typeof t=="function")?t:Um(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}function HN(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 UN(e){var t=qN();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 zN(this,o)}}var io=function(e){VN(r,e);var t=UN(r);function r(n){MN(this,r);var o;return o=t.call(this,n),Li(Um(o),"props",void 0),o.props=new qm(n==null?void 0:n.props),o}return CN(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 WN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KN(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 GN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function XN(e,t){return t&&(QN(t)==="object"||typeof t=="function")?t:WN(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}function QN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZN(e){var t=JN();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 XN(this,o)}}var YN=function(e){GN(r,e);var t=ZN(r);function r(n){KN(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 Km(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tF(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 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&&Y_(e,t)}function rF(e,t){return t&&(oF(t)==="object"||typeof t=="function")?t:Km(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}function oF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uF(e){var t=iF();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rF(this,o)}}var uo=function(e){nF(r,e);var t=uF(r);function r(n){eF(this,r);var o;return o=t.call(this,n),Vi(Km(o),"props",void 0),o.props=new YN(n==null?void 0:n.props),o}return tF(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 cF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(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&&ty(e,t)}function aF(e,t){return t&&(fF(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 fF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _F(e){var t=sF();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 aF(this,o)}}var yF=function(e){lF(r,e);var t=_F(r);function r(n){cF(this,r);var o,i;o=t.call(this,n),Xm(ey(o),"templateList",void 0),Xm(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 Qm(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 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 dF(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 vF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hF(e,t){return t&&(bF(t)==="object"||typeof t=="function")?t:Qm(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}function bF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=gF();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 hF(this,o)}}var co=function(e){vF(r,e);var t=mF(r);function r(n){pF(this,r);var o;return o=t.call(this,n),qi(Qm(o),"props",void 0),o.props=new yF(n==null?void 0:n.props),o}return dF(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 OF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function $F(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function PF(e,t){return t&&(RF(t)==="object"||typeof t=="function")?t:OF(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}function RF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EF(e){var t=SF();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 PF(this,o)}}var TF=function(e){$F(r,e);var t=EF(r);function r(n){wF(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 Zm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 IF(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 AF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function xF(e,t){return t&&(kF(t)==="object"||typeof t=="function")?t:Zm(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}function kF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NF(e){var t=DF();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 xF(this,o)}}var lo=function(e){AF(r,e);var t=NF(r);function r(n){BF(this,r);var o;return o=t.call(this,n),Ki(Zm(o),"props",void 0),o.props=new TF(n==null?void 0:n.props),o}return IF(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 eO(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 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&&cy(e,t)}function jF(e,t){return t&&(LF(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 LF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CF(e){var t=MF();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 jF(this,o)}}var VF=function e(t){eO(this,e),uy(this,"dataCode",void 0),this.dataCode=t.dataCode},zF=function(e){FF(r,e);var t=CF(r);function r(n){eO(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 VF(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 tO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qF(e,t,r){return t&&nO(e.prototype,t),r&&nO(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 UF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function WF(e,t){return t&&(KF(t)==="object"||typeof t=="function")?t:tO(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}function KF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XF(e){var t=GF();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 WF(this,o)}}var ao=function(e){UF(r,e);var t=XF(r);function r(n){HF(this,r);var o;return o=t.call(this,n),Qi(tO(o),"props",void 0),o.props=new zF(n==null?void 0:n.props),o}return qF(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 rO(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 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&&ay(e,t)}function iO(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 QF(e,t){return t&&(JF(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 JF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uO(e){var t=ZF();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 QF(this,o)}}var YF=function(e){oO(r,e);var t=uO(r);function r(n){rO(this,r);var o;return o=t.call(this,n),At(tn(o),"fillPayload",{type:"object",fields:iO({},Zi())}),At(tn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:v.getMessage("pleaseEnterList")}}}),At(tn(o),"fillBack",{type:"object",fields:iO({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),cO=function(e){oO(r,e);var t=uO(r);function r(n){rO(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 Ag(n==null?void 0:n.fillPayload),o.formBind=new WA(n==null?void 0:n.formBind),o.fillBack=new xg(n==null?void 0:n.fillBack),o}return r}(Ne);At(cO,"Rules",YF);function lO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ej(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tj(e,t,r){return t&&aO(e.prototype,t),r&&aO(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 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&&sy(e,t)}function rj(e,t){return t&&(oj(t)==="object"||typeof t=="function")?t:lO(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}function oj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ij(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uj(e){var t=ij();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rj(this,o)}}var tu=function(e){nj(r,e);var t=uj(r);function r(n){ej(this,r);var o;return o=t.call(this,n),fy(lO(o),"props",void 0),o.props=new cO(n==null?void 0:n.props),o}return tj(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 fO(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 sO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function _O(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 cj(e,t){return t&&(lj(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 lj(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 yO(e){var t=aj();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 cj(this,o)}}var fj=function(e){sO(r,e);var t=yO(r);function r(n){fO(this,r);var o;return o=t.call(this,n),yt(xt(o),"fillPayload",{type:"object",fields:_O({},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:_O({mode:{type:"string",required:!0,message:v.getMessage("pleaseSelectFillBackMode")}},Zi())}),o}return r}(Y),pO=function(e){sO(r,e);var t=yO(r);function r(n){fO(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 Ag(n==null?void 0:n.fillPayload),o.listPageBind=new ks(n==null?void 0:n.listPageBind),o.fillBack=new xg(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(pO,"Rules",fj);function dO(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 vO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _j(e,t,r){return t&&vO(e.prototype,t),r&&vO(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 yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function pj(e,t){return t&&(dj(t)==="object"||typeof t=="function")?t:dO(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(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 hj(e){var t=vj();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 pj(this,o)}}var ou=function(e){yj(r,e);var t=hj(r);function r(n){sj(this,r);var o;return o=t.call(this,n),yy(dO(o),"props",void 0),o.props=new pO(n==null?void 0:n.props),o}return _j(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 bj(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 hO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function 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 gj(e,t){return t&&(mj(t)==="object"||typeof t=="function")?t:bj(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}function mj(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 by(e){var t=Oj();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 gj(this,o)}}var wj=function(e){vy(r,e);var t=by(r);function r(n){return dy(this,r),t.call(this,n)}return r}(Y),$j=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);hO(gy,"Rules",wj),hO(gy,"RuntimeRules",$j);function bO(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 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 Rj(e,t,r){return t&&gO(e.prototype,t),r&&gO(e,r),e}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 uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(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&&my(e,t)}function Ej(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:bO(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}function Tj(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 Ij(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 Ej(this,o)}}var Aj=function(e){Sj(r,e);var t=Ij(r);function r(n){Pj(this,r);var o;return o=t.call(this,n),mO(bO(o),"props",void 0),o.props=new gy(n==null?void 0:n.props),o}return Rj(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(M);mO(Aj,"setting",[]);function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OO(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 wO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function xj(e,t){return t&&(kj(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 kj(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 $O(e){var t=Dj();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 xj(this,o)}}var Nj=function(e){wO(r,e);var t=$O(r);function r(n){OO(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),PO=function(e){wO(r,e);var t=$O(r);function r(n){OO(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(PO,"Rules",Nj);function RO(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 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 jj(e,t,r){return t&&SO(e.prototype,t),r&&SO(e,r),e}function EO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function Lj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function Mj(e,t){return t&&(Cj(t)==="object"||typeof t=="function")?t:RO(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}function Cj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zj(e){var t=Vj();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mj(this,o)}}var Hj=function(e){Lj(r,e);var t=zj(r);function r(n){Fj(this,r);var o;return o=t.call(this,n),EO(RO(o),"props",void 0),o.props=new PO(n==null?void 0:n.props),o}return jj(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);EO(Hj,"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 TO(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 BO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function qj(e,t){return t&&(Uj(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 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 IO(e){var t=Wj();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 qj(this,o)}}var Kj=function(e){BO(r,e);var t=IO(r);function r(n){TO(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),AO=function(e){BO(r,e);var t=IO(r);function r(n){TO(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 lx(a)}))!==null&&c!==void 0?c:[],o}return r}(ee);so(AO,"Rules",Kj);function xO(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 kO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xj(e,t,r){return t&&kO(e.prototype,t),r&&kO(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 fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(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&&Py(e,t)}function Jj(e,t){return t&&(Zj(t)==="object"||typeof t=="function")?t:xO(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}function Zj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eL(e){var t=Yj();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 Jj(this,o)}}var tL=function(e){Qj(r,e);var t=eL(r);function r(n){Gj(this,r);var o;return o=t.call(this,n),DO(xO(o),"props",void 0),o.props=new AO(n==null?void 0:n.props),o}return Xj(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);DO(tL,"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 NO(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 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&&Ry(e,t)}function nL(e,t){return t&&(rL(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 rL(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 jO(e){var t=oL();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 nL(this,o)}}var iL=function(e){FO(r,e);var t=jO(r);function r(n){NO(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),LO=function(e){FO(r,e);var t=jO(r);function r(n){NO(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(LO,"Rules",iL);function MO(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 CO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cL(e,t,r){return t&&CO(e.prototype,t),r&&CO(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 lL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function aL(e,t){return t&&(fL(t)==="object"||typeof t=="function")?t:MO(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}function fL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _L(e){var t=sL();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 aL(this,o)}}var _o=function(e){lL(r,e);var t=_L(r);function r(n){uL(this,r);var o;return o=t.call(this,n),Sy(MO(o),"props",void 0),o.props=new LO(n==null?void 0:n.props),o}return cL(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 VO(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 zO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yL(e,t){return t&&(pL(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 pL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HO(e){var t=dL();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 yL(this,o)}}var vL=function(e){zO(r,e);var t=HO(r);function r(n){VO(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),qO=function(e){zO(r,e);var t=HO(r);function r(n){VO(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(qO,"Rules",vL);function UO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bL(e,t,r){return t&&WO(e.prototype,t),r&&WO(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 gL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function mL(e,t){return t&&(OL(t)==="object"||typeof t=="function")?t:UO(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}function OL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $L(e){var t=wL();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 mL(this,o)}}var yo=function(e){gL(r,e);var t=$L(r);function r(n){hL(this,r);var o;return o=t.call(this,n),By(UO(o),"props",void 0),o.props=new qO(n==null?void 0:n.props),o}return bL(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 KO(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 GO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PL(e,t){return t&&(RL(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 RL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XO(e){var t=SL();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 PL(this,o)}}var EL=function(e){GO(r,e);var t=XO(r);function r(){KO(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),QO=function(e){GO(r,e);var t=XO(r);function r(n){KO(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 JD(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(QO,"Rules",EL);function JO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TL(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 BL(e,t,r){return t&&ZO(e.prototype,t),r&&ZO(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 IL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function AL(e,t){return t&&(xL(t)==="object"||typeof t=="function")?t:JO(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}function xL(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 DL(e){var t=kL();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 AL(this,o)}}var po=function(e){IL(r,e);var t=DL(r);function r(n){TL(this,r);var o;return o=t.call(this,n),bu(JO(o),"props",void 0),o.props=new QO(n==null?void 0:n.props),o}return BL(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 NL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function jL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LL(e,t){return t&&(ML(t)==="object"||typeof t=="function")?t:NL(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}function ML(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VL(e){var t=CL();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 LL(this,o)}}var zL=function(e){jL(r,e);var t=VL(r);function r(n){FL(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 YO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qL(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 UL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function WL(e,t){return t&&(KL(t)==="object"||typeof t=="function")?t:YO(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}function KL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XL(e){var t=GL();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WL(this,o)}}var vo=function(e){UL(r,e);var t=XL(r);function r(n){HL(this,r);var o;return o=t.call(this,n),Ou(YO(o),"props",void 0),o.props=new zL(n==null?void 0:n.props),o}return qL(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 tw(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 nw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function QL(e,t){return t&&(JL(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 JL(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 rw(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 QL(this,o)}}var YL=function(e){nw(r,e);var t=rw(r);function r(n){tw(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){nw(r,e);var t=rw(r);function r(n){tw(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",YL);function ow(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tM(e,t,r){return t&&iw(e.prototype,t),r&&iw(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 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&&jy(e,t)}function rM(e,t){return t&&(oM(t)==="object"||typeof t=="function")?t:ow(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}function oM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=iM();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 rM(this,o)}}var Su=function(e){nM(r,e);var t=uM(r);function r(n){eM(this,r);var o;return o=t.call(this,n),Fy(ow(o),"props",void 0),o.props=new Pu(n==null?void 0:n.props),o}return tM(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 uw(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 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 lM(e,t,r){return t&&cw(e.prototype,t),r&&cw(e,r),e}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 Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(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&&Ly(e,t)}function sM(e,t){return t&&(_M(t)==="object"||typeof t=="function")?t:uw(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}function _M(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pM(e){var t=yM();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 sM(this,o)}}var dM=function(e){fM(r,e);var t=pM(r);function r(n){cM(this,r);var o;return o=t.call(this,n),aM(uw(o),"props",void 0),o.props=new Pu(n==null?void 0:n.props),o}return lM(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Et),My={Designer:Su,Runtime:dM,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 vM(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 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&&Cy(e,t)}function bM(e,t){return t&&(gM(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 gM(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 OM(e){var t=mM();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 bM(this,o)}}var wM=function(e){hM(r,e);var t=OM(r);function r(n){vM(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 lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 PM(e,t,r){return t&&aw(e.prototype,t),r&&aw(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 RM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vy(e,t)}function SM(e,t){return t&&(EM(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 EM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BM(e){var t=TM();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 SM(this,o)}}var ho=function(e){RM(r,e);var t=BM(r);function r(n){$M(this,r);var o;return o=t.call(this,n),Bu(lw(o),"props",void 0),o.props=new wM(n==null?void 0:n.props),o}return PM(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 IM(e,t){return t&&(AM(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 AM(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 Uy(e){var t=xM();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 IM(this,o)}}var kM=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),DM=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 kg(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",kM),rt(bo,"RuntimeRules",DM);function fw(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 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 FM(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 jM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function LM(e,t){return t&&(MM(t)==="object"||typeof t=="function")?t:fw(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function MM(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 VM(e){var t=CM();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 LM(this,o)}}var go=function(e){jM(r,e);var t=VM(r);function r(n){NM(this,r);var o;return o=t.call(this,n),xu(fw(o),"props",void 0),o.props=new bo(n==null?void 0:n.props),o}return FM(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 _w(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HM(e,t,r){return t&&yw(e.prototype,t),r&&yw(e,r),e}function pw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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&&Ky(e,t)}function UM(e,t){return t&&(WM(t)==="object"||typeof t=="function")?t:_w(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}function WM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GM(e){var t=KM();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 UM(this,o)}}var XM=function(e){qM(r,e);var t=GM(r);function r(n){zM(this,r);var o;return o=t.call(this,n),pw(_w(o),"props",void 0),o.props=new bo(n==null?void 0:n.props),o}return HM(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(F);pw(XM,"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 QM(e,t){return t&&(JM(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 JM(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 Jy(e){var t=ZM();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 QM(this,o)}}var YM=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),e5=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",YM),se(Fu,"RuntimeRules",e5);function dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n5(e,t,r){return t&&vw(e.prototype,t),r&&vw(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 r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function o5(e,t){return t&&(i5(t)==="object"||typeof t=="function")?t:dw(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function i5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c5(e){var t=u5();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o5(this,o)}}var Mu=function(e){r5(r,e);var t=c5(r);function r(n){t5(this,r);var o;return o=t.call(this,n),ju(dw(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return n5(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 hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 a5(e,t,r){return t&&bw(e.prototype,t),r&&bw(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 Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(e)}function f5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s5(e,t){return t&&(_5(t)==="object"||typeof t=="function")?t:hw(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yy(e,t)}function _5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p5(e){var t=y5();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 s5(this,o)}}var d5=function(e){f5(r,e);var t=p5(r);function r(n){l5(this,r);var o;return o=t.call(this,n),gw(hw(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return a5(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(F);gw(d5,"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 mw(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 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&&ep(e,t)}function v5(e,t){return t&&(h5(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 h5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ww(e){var t=b5();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 v5(this,o)}}var g5=function(e){Ow(r,e);var t=ww(r);function r(n){return mw(this,r),t.call(this,n)}return r}(jn),tp=function(e){Ow(r,e);var t=ww(r);function r(n){mw(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",g5);function $w(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 Pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O5(e,t,r){return t&&Pw(e.prototype,t),r&&Pw(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 w5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function $5(e,t){return t&&(P5(t)==="object"||typeof t=="function")?t:$w(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 R5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S5(e){var t=R5();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 $5(this,o)}}var qu=function(e){w5(r,e);var t=S5(r);function r(n){m5(this,r);var o;return o=t.call(this,n),zu($w(o),"props",void 0),o.props=new tp(n==null?void 0:n.props),o}return O5(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 Rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T5(e,t,r){return t&&Sw(e.prototype,t),r&&Sw(e,r),e}function Ew(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function B5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function I5(e,t){return t&&(A5(t)==="object"||typeof t=="function")?t:Rw(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function A5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k5(e){var t=x5();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 I5(this,o)}}var D5=function(e){B5(r,e);var t=k5(r);function r(n){E5(this,r);var o;return o=t.call(this,n),Ew(Rw(o),"props",void 0),o.props=new tp(n==null?void 0:n.props),o}return T5(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(F);Ew(D5,"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 N5(e,t){return t&&(F5(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 F5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cp(e){var t=j5();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 N5(this,o)}}var L5=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),M5=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 kg(n==null?void 0:n.regularRules),o}return r}(D);be(Ku,"Rules",L5),be(Ku,"RuntimeRules",M5);function Tw(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 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 V5(e,t,r){return t&&Bw(e.prototype,t),r&&Bw(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=q5(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 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&&lp(e,t)}function H5(e,t){return t&&(U5(t)==="object"||typeof t=="function")?t:Tw(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function q5(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function U5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K5(e){var t=W5();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 H5(this,o)}}var Qu=function(e){z5(r,e);var t=K5(r);function r(n){C5(this,r);var o;return o=t.call(this,n),Gu(Tw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return V5(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 Iw(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 Aw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X5(e,t,r){return t&&Aw(e.prototype,t),r&&Aw(e,r),e}function xw(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 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&&ap(e,t)}function J5(e,t){return t&&(Z5(t)==="object"||typeof t=="function")?t:Iw(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}function Z5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e6(e){var t=Y5();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 J5(this,o)}}var t6=function(e){Q5(r,e);var t=e6(r);function r(n){G5(this,r);var o;return o=t.call(this,n),xw(Iw(o),"props",void 0),o.props=new Ku(n==null?void 0:n.props),o}return X5(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(F);xw(t6,"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 n6(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 r6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function o6(e,t){return t&&(i6(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 i6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c6(e){var t=u6();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 o6(this,o)}}var kw=function(e){r6(r,e);var t=c6(r);function r(n){n6(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 Dw(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 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 a6(e,t,r){return t&&Nw(e.prototype,t),r&&Nw(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=_6(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 f6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:Dw(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}function _6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}function y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d6(e){var t=p6();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 s6(this,o)}}var yp=function(e){f6(r,e);var t=d6(r);function r(n){l6(this,r);var o;return o=t.call(this,n),sp(Dw(o),"props",void 0),o.props=new kw(n==null?void 0:n.props),o}return a6(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 Fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h6(e,t,r){return t&&jw(e.prototype,t),r&&jw(e,r),e}function Lw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(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&&pp(e,t)}function g6(e,t){return t&&(m6(t)==="object"||typeof t=="function")?t:Fw(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}function m6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w6(e){var t=O6();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 g6(this,o)}}var $6=function(e){b6(r,e);var t=w6(r);function r(n){v6(this,r);var o;return o=t.call(this,n),Lw(Fw(o),"props",void 0),o.props=new kw(n==null?void 0:n.props),o}return h6(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(F);Lw($6,"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 Mw(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 Cw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function P6(e,t){return t&&(R6(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 R6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vw(e){var t=S6();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 P6(this,o)}}var E6=function(e){Cw(r,e);var t=Vw(r);function r(n){Mw(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){Cw(r,e);var t=Vw(r);function r(n){Mw(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 rx(n==null?void 0:n.dataBind),o.defaultValue=new ox(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",E6);function zw(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 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 B6(e,t,r){return t&&Hw(e.prototype,t),r&&Hw(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=x6(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 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&&bp(e,t)}function A6(e,t){return t&&(k6(t)==="object"||typeof t=="function")?t:zw(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function x6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}function k6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N6(e){var t=D6();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 A6(this,o)}}var gp=function(e){I6(r,e);var t=N6(r);function r(n){T6(this,r);var o;return o=t.call(this,n),hp(zw(o),"props",void 0),o.props=new vp(n==null?void 0:n.props),o}return B6(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 qw(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 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 j6(e,t,r){return t&&Uw(e.prototype,t),r&&Uw(e,r),e}function Ww(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 L6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function M6(e,t){return t&&(C6(t)==="object"||typeof t=="function")?t:qw(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function C6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z6(e){var t=V6();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M6(this,o)}}var H6=function(e){L6(r,e);var t=z6(r);function r(n){F6(this,r);var o;return o=t.call(this,n),Ww(qw(o),"props",void 0),o.props=new vp(n==null?void 0:n.props),o}return j6(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(F);Ww(H6,"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 q6(e,t){return t&&(U6(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 U6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pp(e){var t=W6();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q6(this,o)}}var K6=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),G6=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 Rg(n==null?void 0:n.rowHeightSetting),o}return r}(D);Nt(ic,"Rules",K6),Nt(ic,"RuntimeRules",G6);function Kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q6(e,t,r){return t&&Gw(e.prototype,t),r&&Gw(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 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&&Rp(e,t)}function Z6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:Kw(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function Y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t4(e){var t=e4();return function(){var n=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z6(this,o)}}var lc=function(e){J6(r,e);var t=t4(r);function r(n){X6(this,r);var o;return o=t.call(this,n),uc(Kw(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return Q6(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 Xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 r4(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(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 ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function o4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function i4(e,t){return t&&(u4(t)==="object"||typeof t=="function")?t:Xw(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}function u4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l4(e){var t=c4();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 i4(this,o)}}var a4=function(e){o4(r,e);var t=l4(r);function r(n){n4(this,r);var o;return o=t.call(this,n),Jw(Xw(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return r4(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(F);Jw(a4,"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 f4(e,t){return t&&(s4(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 s4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ip(e){var t=_4();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 f4(this,o)}}var y4=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),p4=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",y4),un(sc,"RuntimeRules",p4);function Zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 v4(e,t,r){return t&&Yw(e.prototype,t),r&&Yw(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 h4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function b4(e,t){return t&&(g4(t)==="object"||typeof t=="function")?t:Zw(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function g4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O4(e){var t=m4();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b4(this,o)}}var pc=function(e){h4(r,e);var t=O4(r);function r(n){d4(this,r);var o;return o=t.call(this,n),_c(Zw(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return v4(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 e$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $4(e,t,r){return t&&t$(e.prototype,t),r&&t$(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 dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function P4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function R4(e,t){return t&&(S4(t)==="object"||typeof t=="function")?t:e$(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function S4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T4(e){var t=E4();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R4(this,o)}}var B4=function(e){P4(r,e);var t=T4(r);function r(n){w4(this,r);var o;return o=t.call(this,n),n$(e$(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return $4(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(F);n$(B4,"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 r$(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 o$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function I4(e,t){return t&&(A4(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 A4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i$(e){var t=x4();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 I4(this,o)}}var k4=function(e){o$(r,e);var t=i$(r);function r(n){r$(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){o$(r,e);var t=i$(r);function r(n){r$(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",k4);function u$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 N4(e,t,r){return t&&c$(e.prototype,t),r&&c$(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 F4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function j4(e,t){return t&&(L4(t)==="object"||typeof t=="function")?t:u$(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function L4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C4(e){var t=M4();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 j4(this,o)}}var jp=function(e){F4(r,e);var t=C4(r);function r(n){D4(this,r);var o;return o=t.call(this,n),Np(u$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return N4(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 l$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 z4(e,t,r){return t&&a$(e.prototype,t),r&&a$(e,r),e}function f$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function H4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function q4(e,t){return t&&(U4(t)==="object"||typeof t=="function")?t:l$(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function U4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K4(e){var t=W4();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q4(this,o)}}var G4=function(e){H4(r,e);var t=K4(r);function r(n){V4(this,r);var o;return o=t.call(this,n),f$(l$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return z4(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(F);f$(G4,"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 X4(e,t){return t&&(Q4(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 Q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zp(e){var t=J4();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 Z4=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),Y4=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",Z4),Ce(mc,"RuntimeRules",Y4);function s$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tC(e,t,r){return t&&_$(e.prototype,t),r&&_$(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 nC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function rC(e,t){return t&&(oC(t)==="object"||typeof t=="function")?t:s$(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function oC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uC(e){var t=iC();return function(){var n=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rC(this,o)}}var Up=function(e){nC(r,e);var t=uC(r);function r(n){eC(this,r);var o;return o=t.call(this,n),Hp(s$(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return tC(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 y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lC(e,t,r){return t&&p$(e.prototype,t),r&&p$(e,r),e}function d$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function aC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function fC(e,t){return t&&(sC(t)==="object"||typeof t=="function")?t:y$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function sC(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 yC(e){var t=_C();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 fC(this,o)}}var pC=function(e){aC(r,e);var t=yC(r);function r(n){cC(this,r);var o;return o=t.call(this,n),d$(y$(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return lC(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(F);d$(pC,"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 v$(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 h$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function dC(e,t){return t&&(vC(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 vC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b$(e){var t=hC();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 dC(this,o)}}var bC=function(e){h$(r,e);var t=b$(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}(H),Gp=function(e){h$(r,e);var t=b$(r);function r(n){v$(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",bC);function g$(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 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 mC(e,t,r){return t&&m$(e.prototype,t),r&&m$(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 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&&Qp(e,t)}function wC(e,t){return t&&($C(t)==="object"||typeof t=="function")?t:g$(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}function $C(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 RC(e){var t=PC();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 wC(this,o)}}var Jp=function(e){OC(r,e);var t=RC(r);function r(n){gC(this,r);var o;return o=t.call(this,n),Xp(g$(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return mC(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 O$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SC(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 EC(e,t,r){return t&&w$(e.prototype,t),r&&w$(e,r),e}function $$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(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&&Zp(e,t)}function BC(e,t){return t&&(IC(t)==="object"||typeof t=="function")?t:O$(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function IC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xC(e){var t=AC();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 BC(this,o)}}var kC=function(e){TC(r,e);var t=xC(r);function r(n){SC(this,r);var o;return o=t.call(this,n),$$(O$(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return EC(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(F);$$(kC,"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 DC(e,t){return t&&(NC(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 NC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nd(e){var t=FC();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 DC(this,o)}}var jC=10485760,LC=104857600,MC=1048576e3,CC=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:MC,message:v.getMessage("attachmentMaxSize")}),o}return r}(ie),VC=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?_:LC;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",CC),dt(Ec,"RuntimeRules",VC);function P$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zC(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 HC(e,t,r){return t&&R$(e.prototype,t),r&&R$(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 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&&rd(e,t)}function UC(e,t){return t&&(WC(t)==="object"||typeof t=="function")?t:P$(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}function WC(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 GC(e){var t=KC();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 UC(this,o)}}var mo=function(e){qC(r,e);var t=GC(r);function r(n){zC(this,r);var o;return o=t.call(this,n),Tc(P$(o),"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return HC(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 S$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 QC(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 Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function JC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function ZC(e,t){return t&&(YC(t)==="object"||typeof t=="function")?t:S$(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}function YC(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=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZC(this,o)}}var n7=function(e){JC(r,e);var t=t7(r);function r(n){XC(this,r);var o;return o=t.call(this,n),T$(S$(o),"props",void 0),o.props=new Ec(n==null?void 0:n.props),o}return QC(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(F);T$(n7,"controlFieldType",m.FILE);function r7(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 B$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i7(e,t,r){return t&&B$(e.prototype,t),r&&B$(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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function u7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function c7(e,t){return t&&(l7(t)==="object"||typeof t=="function")?t:r7(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function l7(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 f7(e){var t=a7();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 c7(this,o)}}var A$=function(e){u7(r,e);var t=f7(r);function r(n){o7(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 i7(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(mo);I$(A$,"controlFieldType",m.IMAGE),I$(A$,"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 s7(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 _7(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 y7(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_7(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function p7(e,t){return t&&(d7(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 d7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ad(e){var t=v7();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 p7(this,o)}}var h7=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),b7=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:[y7(s7({},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 tx(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 nx((_=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",h7),_e(kc,"RuntimeRules",b7);function x$(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 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 m7(e,t,r){return t&&k$(e.prototype,t),r&&k$(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=$7(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 O7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function w7(e,t){return t&&(P7(t)==="object"||typeof t=="function")?t:x$(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function $7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kn(e),e!==null););return e}function P7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S7(e){var t=R7();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 w7(this,o)}}var Fc=function(e){O7(r,e);var t=S7(r);function r(n){g7(this,r);var o;return o=t.call(this,n),Dc(x$(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return m7(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 D$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 T7(e,t,r){return t&&N$(e.prototype,t),r&&N$(e,r),e}function F$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function B7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function I7(e,t){return t&&(A7(t)==="object"||typeof t=="function")?t:D$(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function A7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k7(e){var t=x7();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 I7(this,o)}}var D7=function(e){B7(r,e);var t=k7(r);function r(n){E7(this,r);var o;return o=t.call(this,n),F$(D$(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return T7(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(F);F$(D7,"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 N7(e,t){return t&&(F7(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 F7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dd(e){var t=j7();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 N7(this,o)}}var L7=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),M7=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",L7),Mt(Mc,"RuntimeRules",M7);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 C7(e){if(Array.isArray(e))return vd(e)}function j$(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 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 z7(e,t,r){return t&&L$(e.prototype,t),r&&L$(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=K7(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 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&&hd(e,t)}function q7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function U7(){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 W7(e,t){return t&&(X7(t)==="object"||typeof t=="function")?t:j$(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}function K7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gn(e),e!==null););return e}function G7(e){return C7(e)||q7(e)||Q7(e)||U7()}function X7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q7(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 J7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z7(e){var t=J7();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 W7(this,o)}}var zc=function(e){H7(r,e);var t=Z7(r);function r(n){V7(this,r);var o;return o=t.call(this,n),Cc(j$(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return z7(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,G7(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 M$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y7(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 eV(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function V$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function tV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function nV(e,t){return t&&(rV(t)==="object"||typeof t=="function")?t:M$(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}function rV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iV(e){var t=oV();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nV(this,o)}}var uV=function(e){tV(r,e);var t=iV(r);function r(n){Y7(this,r);var o;return o=t.call(this,n),V$(M$(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return eV(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(F);V$(uV,"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 z$(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 H$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function cV(e,t){return t&&(lV(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 lV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q$(e){var t=aV();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cV(this,o)}}var fV=function(e){H$(r,e);var t=q$(r);function r(n){z$(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){H$(r,e);var t=q$(r);function r(n){z$(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 ix((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",fV);function U$(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 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 _V(e,t,r){return t&&W$(e.prototype,t),r&&W$(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 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&&wd(e,t)}function pV(e,t){return t&&(dV(t)==="object"||typeof t=="function")?t:U$(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}function dV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hV(e){var t=vV();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pV(this,o)}}var $d=function(e){yV(r,e);var t=hV(r);function r(n){sV(this,r);var o;return o=t.call(this,n),Od(U$(o),"props",void 0),o.props=new md(n==null?void 0:n.props),o}return _V(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 K$(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 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 gV(e,t,r){return t&&G$(e.prototype,t),r&&G$(e,r),e}function X$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(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&&Pd(e,t)}function OV(e,t){return t&&(wV(t)==="object"||typeof t=="function")?t:K$(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}function wV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $V(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PV(e){var t=$V();return function(){var n=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OV(this,o)}}var RV=function(e){mV(r,e);var t=PV(r);function r(n){bV(this,r);var o;return o=t.call(this,n),X$(K$(o),"props",void 0),o.props=new md(n==null?void 0:n.props),o}return gV(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);X$(RV,"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 Q$(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 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&&Rd(e,t)}function SV(e,t){return t&&(EV(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 EV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z$(e){var t=TV();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 SV(this,o)}}var BV=function(e){J$(r,e);var t=Z$(r);function r(n){Q$(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){J$(r,e);var t=Z$(r);function r(n){Q$(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",BV);function Y$(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 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 AV(e,t,r){return t&&eP(e.prototype,t),r&&eP(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=DV(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 xV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function kV(e,t){return t&&(NV(t)==="object"||typeof t=="function")?t:Y$(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function DV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xn(e),e!==null););return e}function NV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jV(e){var t=FV();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 kV(this,o)}}var Zc=function(e){xV(r,e);var t=jV(r);function r(n){IV(this,r);var o;return o=t.call(this,n),Qc(Y$(o),"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return AV(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 tP(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 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 MV(e,t,r){return t&&nP(e.prototype,t),r&&nP(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 Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function CV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function VV(e,t){return t&&(zV(t)==="object"||typeof t=="function")?t:tP(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function zV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qV(e){var t=HV();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 VV(this,o)}}var UV=function(e){CV(r,e);var t=qV(r);function r(n){LV(this,r);var o;return o=t.call(this,n),rP(tP(o),"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return MV(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(F);rP(UV,"controlFieldType",m.DEPARTMENTS);function oP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(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&&Bd(e,t)}function XV(e,t){return t&&(QV(t)==="object"||typeof t=="function")?t:oP(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function QV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZV(e){var t=JV();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 XV(this,o)}}var iP=function(e){GV(r,e);var t=ZV(r);function r(n){WV(this,r);var o;o=t.call(this,n),KV(oP(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 uP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 e8(e,t,r){return t&&cP(e.prototype,t),r&&cP(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 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&&Id(e,t)}function n8(e,t){return t&&(r8(t)==="object"||typeof t=="function")?t:uP(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function r8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i8(e){var t=o8();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 n8(this,o)}}var rl=function(e){t8(r,e);var t=i8(r);function r(n){YV(this,r);var o;return o=t.call(this,n),tl(uP(o),"props",void 0),o.props=new iP(n==null?void 0:n.props),o}return e8(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 lP(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 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 c8(e,t,r){return t&&aP(e.prototype,t),r&&aP(e,r),e}function fP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function l8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function a8(e,t){return t&&(f8(t)==="object"||typeof t=="function")?t:lP(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(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 _8(e){var t=s8();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 a8(this,o)}}var y8=function(e){l8(r,e);var t=_8(r);function r(n){u8(this,r);var o;return o=t.call(this,n),fP(lP(o),"props",void 0),o.props=new iP(n==null?void 0:n.props),o}return c8(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(F);fP(y8,"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 p8(e,t){return t&&(d8(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 d8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nd(e){var t=v8();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 p8(this,o)}}var 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.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),b8=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 ux(n==null?void 0:n.dataBind),o.defaultValue=new cx(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",h8),ut(ul,"RuntimeRules",b8);function sP(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 _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 m8(e,t,r){return t&&_P(e.prototype,t),r&&_P(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=$8(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 O8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 w8(e,t){return t&&(P8(t)==="object"||typeof t=="function")?t:sP(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function $8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qn(e),e!==null););return e}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=Qn(e),o;if(t){var i=Qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w8(this,o)}}var al=function(e){O8(r,e);var t=S8(r);function r(n){g8(this,r);var o;return o=t.call(this,n),cl(sP(o),"props",void 0),o.props=new ul(n==null?void 0:n.props),o}return m8(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 yP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 T8(e,t,r){return t&&pP(e.prototype,t),r&&pP(e,r),e}function dP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function B8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function I8(e,t){return t&&(A8(t)==="object"||typeof t=="function")?t:yP(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function A8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k8(e){var t=x8();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 I8(this,o)}}var D8=function(e){B8(r,e);var t=k8(r);function r(n){E8(this,r);var o;return o=t.call(this,n),dP(yP(o),"props",void 0),o.props=new ul(n==null?void 0:n.props),o}return T8(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(F);dP(D8,"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 vP(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 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&&Ld(e,t)}function N8(e,t){return t&&(F8(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 F8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bP(e){var t=j8();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 N8(this,o)}}var L8=function(e){hP(r,e);var t=bP(r);function r(n){vP(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){hP(r,e);var t=bP(r);function r(n){vP(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",L8);function gP(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 mP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C8(e,t,r){return t&&mP(e.prototype,t),r&&mP(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 V8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:gP(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function H8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U8(e){var t=q8();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z8(this,o)}}var zd=function(e){V8(r,e);var t=U8(r);function r(n){M8(this,r);var o;return o=t.call(this,n),Cd(gP(o),"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return C8(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(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 OP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 K8(e,t,r){return t&&wP(e.prototype,t),r&&wP(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 yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function G8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function X8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:OP(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function Q8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z8(e){var t=J8();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 X8(this,o)}}var Y8=function(e){G8(r,e);var t=Z8(r);function r(n){W8(this,r);var o;return o=t.call(this,n),$P(OP(o),"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return K8(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(F);$P(Y8,"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 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 pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(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&&qd(e,t)}function e9(e,t){return t&&(t9(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 t9(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 SP(e){var t=n9();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 e9(this,o)}}var r9=function(e){RP(r,e);var t=SP(r);function r(n){PP(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){RP(r,e);var t=SP(r);function r(n){PP(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",r9);function EP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 i9(e,t,r){return t&&TP(e.prototype,t),r&&TP(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 u9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function c9(e,t){return t&&(l9(t)==="object"||typeof t=="function")?t:EP(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function l9(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 f9(e){var t=a9();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 c9(this,o)}}var Gd=function(e){u9(r,e);var t=f9(r);function r(n){o9(this,r);var o;return o=t.call(this,n),Wd(EP(o),"props",void 0),o.props=new Ud(n==null?void 0:n.props),o}return i9(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 BP(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 IP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _9(e,t,r){return t&&IP(e.prototype,t),r&&IP(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 vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function y9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function p9(e,t){return t&&(d9(t)==="object"||typeof t=="function")?t:BP(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function d9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h9(e){var t=v9();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 p9(this,o)}}var b9=function(e){y9(r,e);var t=h9(r);function r(n){s9(this,r);var o;return o=t.call(this,n),AP(BP(o),"props",void 0),o.props=new Ud(n==null?void 0:n.props),o}return _9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(F);AP(b9,"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 g9(e,t){return t&&(m9(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 m9(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 Yd(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 g9(this,o)}}var 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.dataBind={type:"any"},o}return r}(ie),$9=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",w9),Yn(bl,"RuntimeRules",$9);function xP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R9(e,t,r){return t&&kP(e.prototype,t),r&&kP(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 S9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function E9(e,t){return t&&(T9(t)==="object"||typeof t=="function")?t:xP(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function T9(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 I9(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 E9(this,o)}}var $o=function(e){S9(r,e);var t=I9(r);function r(n){P9(this,r);var o;return o=t.call(this,n),wo(xP(o),"props",void 0),o.props=new bl(n==null?void 0:n.props),o}return R9(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",eg.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 DP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 x9(e,t,r){return t&&NP(e.prototype,t),r&&NP(e,r),e}function FP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(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&&tv(e,t)}function D9(e,t){return t&&(N9(t)==="object"||typeof t=="function")?t:DP(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function N9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j9(e){var t=F9();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 D9(this,o)}}var L9=function(e){k9(r,e);var t=j9(r);function r(n){A9(this,r);var o;return o=t.call(this,n),FP(DP(o),"props",void 0),o.props=new bl(n==null?void 0:n.props),o}return x9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(F);FP(L9,"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 jP(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 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&&nv(e,t)}function M9(e,t){return t&&(C9(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 C9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MP(e){var t=V9();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 M9(this,o)}}var z9=function(e){LP(r,e);var t=MP(r);function r(n){jP(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){LP(r,e);var t=MP(r);function r(n){jP(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",z9);function CP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 q9(e,t,r){return t&&VP(e.prototype,t),r&&VP(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 U9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function W9(e,t){return t&&(K9(t)==="object"||typeof t=="function")?t:CP(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function K9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X9(e){var t=G9();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W9(this,o)}}var Pl=function(e){U9(r,e);var t=X9(r);function r(n){H9(this,r);var o;return o=t.call(this,n),wl(CP(o),"props",void 0),o.props=new rv(n==null?void 0:n.props),o}return q9(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 zP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 J9(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}function qP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(e)}function Z9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function Y9(e,t){return t&&(ez(t)==="object"||typeof t=="function")?t:zP(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(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 nz(e){var t=tz();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 Y9(this,o)}}var rz=function(e){Z9(r,e);var t=nz(r);function r(n){Q9(this,r);var o;return o=t.call(this,n),qP(zP(o),"props",void 0),o.props=new rv(n==null?void 0:n.props),o}return J9(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(F);qP(rz,"controlFieldType",m.VARCHAR);function oz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function uz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function cz(e,t){return t&&(lz(t)==="object"||typeof t=="function")?t:oz(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function lz(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 fz(e){var t=az();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 cz(this,o)}}var UP=function(e){uz(r,e);var t=fz(r);function r(n){return iz(this,r),t.call(this,n)}return r}(bo);function WP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _z(e,t,r){return t&&KP(e.prototype,t),r&&KP(e,r),e}function GP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(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&&cv(e,t)}function pz(e,t){return t&&(dz(t)==="object"||typeof t=="function")?t:WP(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function dz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hz(e){var t=vz();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 pz(this,o)}}var bz=function(e){yz(r,e);var t=hz(r);function r(n){sz(this,r);var o;return o=t.call(this,n),GP(WP(o),"props",void 0),o.props=new UP(n==null?void 0:n.props),o}return _z(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(go);GP(bz,"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 XP(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 QP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mz(e,t,r){return t&&QP(e.prototype,t),r&&QP(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 Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(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&&lv(e,t)}function wz(e,t){return t&&($z(t)==="object"||typeof t=="function")?t:XP(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function $z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rz(e){var t=Pz();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wz(this,o)}}var Sz=function(e){Oz(r,e);var t=Rz(r);function r(n){gz(this,r);var o;return o=t.call(this,n),JP(XP(o),"props",void 0),o.props=new UP(n==null?void 0:n.props),o}return mz(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(F);JP(Sz,"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 Ez(e,t){return t&&(Tz(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 Tz(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 _v(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 Ez(this,o)}}var Iz=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),Az=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 Bg(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:mn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new Bg((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 I;return o.defaultValue=(I=n==null?void 0:n.defaultValue)!==null&&I!==void 0?I:[],o}return r}(D);J(Il,"Rules",Iz),J(Il,"RuntimeRules",Az);function ZP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 kz(e,t,r){return t&&YP(e.prototype,t),r&&YP(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 Dz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function Nz(e,t){return t&&(Fz(t)==="object"||typeof t=="function")?t:ZP(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function Fz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lz(e){var t=jz();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 Nz(this,o)}}var mn=function(e){Dz(r,e);var t=Lz(r);function r(n){xz(this,r);var o;return o=t.call(this,n),Al(ZP(o),"props",void 0),o.props=new Il(n==null?void 0:n.props),o}return kz(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 eR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Cz(e,t,r){return t&&tR(e.prototype,t),r&&tR(e,r),e}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 kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(e)}function Vz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function zz(e,t){return t&&(Hz(t)==="object"||typeof t=="function")?t:eR(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}function Hz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uz(e){var t=qz();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zz(this,o)}}var Wz=function(e){Vz(r,e);var t=Uz(r);function r(n){Mz(this,r);var o;return o=t.call(this,n),nR(eR(o),"props",void 0),o.props=new Il(n==null?void 0:n.props),o}return Cz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(F);nR(Wz,"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 Kz(e,t){return t&&(Gz(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 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 bv(e){var t=Xz();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 Kz(this,o)}}var Qz=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),Jz=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",Qz),pe(Nl,"RuntimeRules",Jz);function rR(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 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 Yz(e,t,r){return t&&oR(e.prototype,t),r&&oR(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 eH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:rR(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function nH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oH(e){var t=rH();return function(){var n=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tH(this,o)}}var Po=function(e){eH(r,e);var t=oH(r);function r(n){Zz(this,r);var o;return o=t.call(this,n),gv(rR(o),"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return Yz(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 iR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uH(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function 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 jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function cH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function lH(e,t){return t&&(aH(t)==="object"||typeof t=="function")?t:iR(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function aH(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 sH(e){var t=fH();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 lH(this,o)}}var _H=function(e){cH(r,e);var t=sH(r);function r(n){iH(this,r);var o;return o=t.call(this,n),cR(iR(o),"props",void 0),o.props=new Nl(n==null?void 0:n.props),o}return uH(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(F);cR(_H,"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 lR(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 aR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function yH(e,t){return t&&(pH(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 pH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fR(e){var t=dH();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 yH(this,o)}}var vH=function(e){aR(r,e);var t=fR(r);function r(n){lR(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){aR(r,e);var t=fR(r);function r(n){lR(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 UD(n==null?void 0:n.signatureConfig),o}return r}(D);bt($v,"Rules",vH);function sR(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 _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 bH(e,t,r){return t&&_R(e.prototype,t),r&&_R(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 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&&Pv(e,t)}function mH(e,t){return t&&(OH(t)==="object"||typeof t=="function")?t:sR(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function OH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $H(e){var t=wH();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 mH(this,o)}}var Vl=function(e){gH(r,e);var t=$H(r);function r(n){hH(this,r);var o;return o=t.call(this,n),Ml(sR(o),"props",void 0),o.props=new $v(n==null?void 0:n.props),o}return bH(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 yR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PH(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 RH(e,t,r){return t&&pR(e.prototype,t),r&&pR(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 zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function SH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function EH(e,t){return t&&(TH(t)==="object"||typeof t=="function")?t:yR(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function TH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IH(e){var t=BH();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 EH(this,o)}}var AH=function(e){SH(r,e);var t=IH(r);function r(n){PH(this,r);var o;return o=t.call(this,n),dR(yR(o),"props",void 0),o.props=new $v(n==null?void 0:n.props),o}return RH(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(F);dR(AH,"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 xH(e,t){return t&&(kH(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 kH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bv(e){var t=DH();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 xH(this,o)}}var NH=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),FH=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:jC;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[],o.wpsSetting=new WD(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",NH),de(ql,"RuntimeRules",FH);function vR(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 hR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LH(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function 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 MH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function CH(e,t){return t&&(VH(t)==="object"||typeof t=="function")?t:vR(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}function VH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HH(e){var t=zH();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CH(this,o)}}var Kl=function(e){MH(r,e);var t=HH(r);function r(n){jH(this,r);var o;return o=t.call(this,n),Ul(vR(o),"props",void 0),o.props=new ql(n==null?void 0:n.props),o}return LH(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 bR(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 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 UH(e,t,r){return t&&gR(e.prototype,t),r&&gR(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 Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function WH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function KH(e,t){return t&&(GH(t)==="object"||typeof t=="function")?t:bR(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function GH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QH(e){var t=XH();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 KH(this,o)}}var JH=function(e){WH(r,e);var t=QH(r);function r(n){qH(this,r);var o;return o=t.call(this,n),mR(bR(o),"props",void 0),o.props=new ql(n==null?void 0:n.props),o}return UH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(F);mR(JH,"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 ZH(e,t){return t&&(YH(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 YH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nv(e){var t=eq();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 tq=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),nq=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",tq),oe(Ql,"RuntimeRules",nq);function OR(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 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 oq(e,t,r){return t&&wR(e.prototype,t),r&&wR(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=cq(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 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&&Fv(e,t)}function uq(e,t){return t&&(lq(t)==="object"||typeof t=="function")?t:OR(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function cq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=er(e),e!==null););return e}function lq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fq(e){var t=aq();return function(){var n=er(e),o;if(t){var i=er(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uq(this,o)}}var tr=function(e){iq(r,e);var t=fq(r);function r(n){rq(this,r);var o;return o=t.call(this,n),Jl(OR(o),"props",void 0),o.props=new Ql(n==null?void 0:n.props),o}return oq(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 $R(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 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 _q(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function RR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(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&&jv(e,t)}function pq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:$R(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function dq(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 hq(e){var t=vq();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 pq(this,o)}}var bq=function(e){yq(r,e);var t=hq(r);function r(n){sq(this,r);var o;return o=t.call(this,n),RR($R(o),"props",void 0),o.props=new Ql(n==null?void 0:n.props),o}return _q(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(F);RR(bq,"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 gq(e,t){return t&&(mq(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 mq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vv(e){var t=Oq();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 gq(this,o)}}var wq=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),$q=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 YA((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(I){var G;(G=o.multistageFilling)===null||G===void 0||G.push(new Te(I))})),o}return r}(D);K(ta,"Rules",wq),K(ta,"RuntimeRules",$q);function SR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Rq(e,t,r){return t&&ER(e.prototype,t),r&&ER(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=Tq(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 Sq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function Eq(e,t){return t&&(Bq(t)==="object"||typeof t=="function")?t:SR(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function Tq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}function Bq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aq(e){var t=Iq();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 Eq(this,o)}}var rr=function(e){Sq(r,e);var t=Aq(r);function r(n){Pq(this,r);var o;return o=t.call(this,n),na(SR(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return Rq(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 TR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 kq(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function IR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(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&&Hv(e,t)}function Nq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:TR(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function Fq(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 Lq(e){var t=jq();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 Nq(this,o)}}var Mq=function(e){Dq(r,e);var t=Lq(r);function r(n){xq(this,r);var o;return o=t.call(this,n),IR(TR(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return kq(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(F);IR(Mq,"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 Cq(e,t){return t&&(Vq(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 Vq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kv(e){var t=zq();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 Cq(this,o)}}var 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.dataBind={type:"any"},o}return r}(ie),qq=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",Hq),or(ua,"RuntimeRules",qq);function AR(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 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 Wq(e,t,r){return t&&xR(e.prototype,t),r&&xR(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 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&&Gv(e,t)}function Gq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:AR(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function Xq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jq(e){var t=Qq();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gq(this,o)}}var aa=function(e){Kq(r,e);var t=Jq(r);function r(n){Uq(this,r);var o;return o=t.call(this,n),ca(AR(o),"props",void 0),o.props=new ua(n==null?void 0:n.props),o}return Wq(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 kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Yq(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}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 fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(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&&Xv(e,t)}function tU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:kR(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function nU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oU(e){var t=rU();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 tU(this,o)}}var iU=function(e){eU(r,e);var t=oU(r);function r(n){Zq(this,r);var o;return o=t.call(this,n),NR(kR(o),"props",void 0),o.props=new ua(n==null?void 0:n.props),o}return Yq(r,null,[{key:"controlType",get:function(){return y.VUE_PAGE}}]),r}(F);NR(iU,"controlFieldType",m.ANY);function uU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cU(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 lU(e,t,r){return t&&FR(e.prototype,t),r&&FR(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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function fU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function sU(e,t){return t&&(_U(t)==="object"||typeof t=="function")?t:uU(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function _U(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pU(e){var t=yU();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 sU(this,o)}}var dU=function(e){fU(r,e);var t=pU(r);function r(n){return cU(this,r),t.call(this,n)}return lU(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ce);aU(dU,"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 vU(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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function hU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bU(e,t){return t&&(gU(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 gU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OU(e){var t=mU();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 bU(this,o)}}var wU=24,So=function(e){hU(r,e);var t=OU(r);function r(n){vU(this,r);var o;o=t.call(this,n),jR(Jv(o),"span",void 0),jR(Jv(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:wU;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(ue);function LR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PU(e,t,r){return t&&MR(e.prototype,t),r&&MR(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 RU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function SU(e,t){return t&&(EU(t)==="object"||typeof t=="function")?t:LR(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function EU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BU(e){var t=TU();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 SU(this,o)}}var Eo=function(e){RU(r,e);var t=BU(r);function r(n){$U(this,r);var o;return o=t.call(this,n),Yv(LR(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return PU(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 CR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 AU(e,t,r){return t&&VR(e.prototype,t),r&&VR(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 pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function kU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function DU(e,t){return t&&(NU(t)==="object"||typeof t=="function")?t:CR(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function NU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jU(e){var t=FU();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 DU(this,o)}}var LU=function(e){kU(r,e);var t=jU(r);function r(n){IU(this,r);var o;return o=t.call(this,n),xU(CR(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return AU(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(hn),zR={Designer:Eo,Runtime:LU,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 MU(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 da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function CU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function VU(e,t){return t&&(zU(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 zU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qU(e){var t=HU();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VU(this,o)}}var oh=function(e){CU(r,e);var t=qU(r);function r(n){MU(this,r);var o;o=t.call(this,n),HR(nh(o),"layoutMode",void 0),HR(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 qR(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 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 WU(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}function ih(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function KU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function GU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:qR(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function XU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JU(e){var t=QU();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GU(this,o)}}var ch=function(e){KU(r,e);var t=JU(r);function r(n){UU(this,r);var o;return o=t.call(this,n),ih(qR(o),"props",void 0),o.props=new oh(n==null?void 0:n.props),o}return WU(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 WR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 YU(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function eW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function tW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function nW(e,t){return t&&(rW(t)==="object"||typeof t=="function")?t:WR(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}function rW(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 iW(e){var t=oW();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 nW(this,o)}}var uW=function(e){tW(r,e);var t=iW(r);function r(n){ZU(this,r);var o;return o=t.call(this,n),eW(WR(o),"props",void 0),o.props=new oh(n==null?void 0:n.props),o}return YU(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(hn);function cW(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 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 aW(e,t,r){return t&&GR(e.prototype,t),r&&GR(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 fW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function sW(e,t){return t&&(_W(t)==="object"||typeof t=="function")?t:cW(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function _W(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pW(e){var t=yW();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 sW(this,o)}}var dW=4,ga=function(e){fW(r,e);var t=pW(r);function r(n){return lW(this,r),t.call(this,n)}return aW(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",dW);function vW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bW(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function gW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function mW(e,t){return t&&(OW(t)==="object"||typeof t=="function")?t:vW(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function OW(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 $W(e){var t=wW();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 mW(this,o)}}var PW=function(e){gW(r,e);var t=$W(r);function r(n){return hW(this,r),t.call(this,n)}return bW(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(uW);function RW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(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&&_h(e,t)}function TW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:RW(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function BW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AW(e){var t=IW();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 TW(this,o)}}var xW=function(e){EW(r,e);var t=AW(r);function r(n){return SW(this,r),t.call(this,n)}return r}(oh),kW={Designer:ga,Runtime:PW,Property:xW};function To(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QR(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 JR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function DW(e,t){return t&&(NW(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 NW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZR(e){var t=FW();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 DW(this,o)}}var jW=function(e){JR(r,e);var t=ZR(r);function r(){QR(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),YR=function(e){JR(r,e);var t=ZR(r);function r(n){QR(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(YR,"Rules",jW);function eS(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 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 MW(e,t,r){return t&&tS(e.prototype,t),r&&tS(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 CW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function VW(e,t){return t&&(zW(t)==="object"||typeof t=="function")?t:eS(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function zW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qW(e){var t=HW();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 VW(this,o)}}var nS=function(e){CW(r,e);var t=qW(r);function r(n){LW(this,r);var o;return o=t.call(this,n),ph(eS(o),"props",void 0),o.props=new YR(n==null?void 0:n.props),o}return MW(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(nS,"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(nS,"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 rS(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 oS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function UW(e,t){return t&&(WW(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 WW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iS(e){var t=KW();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 UW(this,o)}}var GW=function(e){oS(r,e);var t=iS(r);function r(n){rS(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){oS(r,e);var t=iS(r);function r(n){rS(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 Sg(n==null?void 0:n.metaAutoWidth),o}return r}(ue);mt(Ra,"Rules",GW);function uS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 QW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function JW(e,t){return t&&(ZW(t)==="object"||typeof t=="function")?t:uS(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function ZW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eK(e){var t=YW();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 JW(this,o)}}var at=function(e){QW(r,e);var t=eK(r);function r(n){XW(this,r);var o;return o=t.call(this,n),On(uS(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 cS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(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&&bh(e,t)}function rK(e,t){return t&&(oK(t)==="object"||typeof t=="function")?t:cS(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function oK(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 uK(e){var t=iK();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 rK(this,o)}}var aS=function(e){nK(r,e);var t=uK(r);function r(n){tK(this,r);var o;return o=t.call(this,n),lS(cS(o),"props",void 0),o.props=new Ra(n==null?void 0:n.props),o}return r}(hn);lS(aS,"controlType","subtable-column");var cK={Designer:at,Runtime:aS,Property:Ra};function lK(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 Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(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&&gh(e,t)}function sK(e,t){return t&&(_K(t)==="object"||typeof t=="function")?t:lK(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(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=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sK(this,o)}}var dK=function(e){fK(r,e);var t=pK(r);function r(n){return aK(this,r),t.call(this,n)}return r}(ue);function fS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mh(e,t)}function bK(e,t){return t&&(gK(t)==="object"||typeof t=="function")?t:fS(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function gK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OK(e){var t=mK();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bK(this,o)}}var ir=function(e){hK(r,e);var t=OK(r);function r(n){vK(this,r);var o;return o=t.call(this,n),wn(fS(o),"props",void 0),o.props=new dK(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 wK(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 $K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function PK(e,t){return t&&(RK(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 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=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PK(this,o)}}var sS=function(e){$K(r,e);var t=EK(r);function r(n){wK(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 _S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 BK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function IK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:_S(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}function AK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kK(e){var t=xK();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 IK(this,o)}}var ur=function(e){BK(r,e);var t=kK(r);function r(n){TK(this,r);var o;return o=t.call(this,n),$n(_S(o),"props",void 0),o.props=new sS(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 yS(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 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 xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function NK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function FK(e,t){return t&&(jK(t)==="object"||typeof t=="function")?t:yS(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function jK(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 MK(e){var t=LK();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 FK(this,o)}}var CK=function(e){NK(r,e);var t=MK(r);function r(n){DK(this,r);var o;return o=t.call(this,n),pS(yS(o),"props",void 0),o.props=new sS(n==null?void 0:n.props),o}return r}(hn);pS(CK,"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 VK(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 ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&Rh(e,t)}function HK(e,t){return t&&(qK(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 qK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WK(e){var t=UK();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HK(this,o)}}var KK=function(e){zK(r,e);var t=WK(r);function r(n){VK(this,r);var o;o=t.call(this,n),dS(Ph(o),"childMinWidth",void 0),dS(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 vS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 XK(e,t,r){return t&&hS(e.prototype,t),r&&hS(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 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&&Eh(e,t)}function JK(e,t){return t&&(ZK(t)==="object"||typeof t=="function")?t:vS(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function ZK(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 eG(e){var t=YK();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 JK(this,o)}}var bS=function(e){QK(r,e);var t=eG(r);function r(n){GK(this,r);var o;return o=t.call(this,n),Sh(vS(o),"props",void 0),o.props=new KK(n==null?void 0:n.props),o}return XK(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(bS,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),Sh(bS,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function gS(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 nG(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 rG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function oG(e,t){return t&&(iG(t)==="object"||typeof t=="function")?t:gS(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}function iG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cG(e){var t=uG();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 oG(this,o)}}var lG=function(e){rG(r,e);var t=cG(r);function r(n){tG(this,r);var o;o=t.call(this,n),nG(gS(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 mS(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 OS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function aG(e,t){return t&&(fG(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 fG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wS(e){var t=sG();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 aG(this,o)}}var _G=function(e){OS(r,e);var t=wS(r);function r(n){mS(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),$S=function(e){OS(r,e);var t=wS(r);function r(n){mS(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($S,"Rules",_G);function PS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pG(e,t,r){return t&&RS(e.prototype,t),r&&RS(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 dG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function vG(e,t){return t&&(hG(t)==="object"||typeof t=="function")?t:PS(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}function hG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gG(e){var t=bG();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 vG(this,o)}}var La=function(e){dG(r,e);var t=gG(r);function r(n){yG(this,r);var o;return o=t.call(this,n),xh(PS(o),"props",void 0),o.props=new $S(n==null?void 0:n.props),o}return pG(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 SS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 OG(e,t,r){return t&&ES(e.prototype,t),r&&ES(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 wG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function $G(e,t){return t&&(PG(t)==="object"||typeof t=="function")?t:SS(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function PG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SG(e){var t=RG();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 $G(this,o)}}var Va=function(e){wG(r,e);var t=SG(r);function r(n){mG(this,r);var o;o=t.call(this,n),Ma(SS(o),"props",void 0),o.props=new lG(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 OG(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 EG(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 za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function BG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function IG(e,t){return t&&(AG(t)==="object"||typeof t=="function")?t:EG(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function AG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kG(e){var t=xG();return function(){var n=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IG(this,o)}}var DG=function(e){BG(r,e);var t=kG(r);function r(n){return TG(this,r),t.call(this,n)}return r}(ue);function TS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FG(e,t,r){return t&&BS(e.prototype,t),r&&BS(e,r),e}function IS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function jG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function LG(e,t){return t&&(MG(t)==="object"||typeof t=="function")?t:TS(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function MG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VG(e){var t=CG();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 LG(this,o)}}var zG=function(e){jG(r,e);var t=VG(r);function r(n){NG(this,r);var o;return o=t.call(this,n),IS(TS(o),"props",void 0),o.props=new DG({}),o.children=(n==null?void 0:n.children)||[new Eo({props:new So({span:12})}),new Eo({props:new So({span:12})})],o}return FG(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ce);IS(zG,"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 HG(e,t){return t&&(qG(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 qG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ch(e){var t=UG();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 HG(this,o)}}var AS;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(AS||(AS={}));var WG=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),KG=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 XA(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new JA(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 sx(I)}))!==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(I){return new _x(I)}))!==null&&L!==void 0?L:[]:[],o}return r}(ue);z(Io,"Rules",KG),z(Io,"RuntimeRules",WG);function xS(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 kS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XG(e,t,r){return t&&kS(e.prototype,t),r&&kS(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 QG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function JG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:xS(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function ZG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eX(e){var t=YG();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JG(this,o)}}var xo=function(e){QG(r,e);var t=eX(r);function r(n){GG(this,r);var o;return o=t.call(this,n),Ao(xS(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return XG(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 DS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nX(e,t,r){return t&&NS(e.prototype,t),r&&NS(e,r),e}function rX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function oX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function iX(e,t){return t&&(uX(t)==="object"||typeof t=="function")?t:DS(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}function uX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lX(e){var t=cX();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iX(this,o)}}var aX=function(e){oX(r,e);var t=lX(r);function r(n){tX(this,r);var o;return o=t.call(this,n),rX(DS(o),"props",void 0),o.props=new Io(n==null?void 0:n.props),o}return nX(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(hn),fX={Designer:xo,Runtime:aX,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 FS(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 jS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sX(e,t){return t&&(_X(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 _X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LS(e){var t=yX();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 sX(this,o)}}var pX=function(e){jS(r,e);var t=LS(r);function r(n){FS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(dn),Ga=function(e){jS(r,e);var t=LS(r);function r(n){FS(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",pX);function MS(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 CS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vX(e,t,r){return t&&CS(e.prototype,t),r&&CS(e,r),e}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 Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(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 bX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:MS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function gX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OX(e){var t=mX();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 bX(this,o)}}var zS=function(e){hX(r,e);var t=OX(r);function r(n){dX(this,r);var o;return o=t.call(this,n),VS(MS(o),"props",void 0),o.props=new Ga(n==null?void 0:n.props),o}return vX(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ce);VS(zS,"excludes",[]);function HS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $X(e,t,r){return t&&qS(e.prototype,t),r&&qS(e,r),e}function PX(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 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&&Uh(e,t)}function SX(e,t){return t&&(EX(t)==="object"||typeof t=="function")?t:HS(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(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 BX(e){var t=TX();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 SX(this,o)}}var IX=function(e){RX(r,e);var t=BX(r);function r(n){wX(this,r);var o;return o=t.call(this,n),PX(HS(o),"props",void 0),o.props=new Ga(n==null?void 0:n.props),o}return $X(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(hn),AX={Designer:zS,Runtime:IX,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 xX(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 kX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function DX(e,t){return t&&(NX(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 NX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jX(e){var t=FX();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 DX(this,o)}}var LX=function(e){kX(r,e);var t=jX(r);function r(n){xX(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 US(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 CX(e,t,r){return t&&WS(e.prototype,t),r&&WS(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 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&&Gh(e,t)}function zX(e,t){return t&&(HX(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 HX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UX(e){var t=qX();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zX(this,o)}}var Xh=function(e){VX(r,e);var t=UX(r);function r(n){MX(this,r);var o;o=t.call(this,n),Ya(US(o),"props",void 0);var i;return o.props=new LX((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return CX(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 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 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 WX(e,t){return t&&(KX(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 KX(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 Yh(e){var t=GX();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 WX(this,o)}}var XX=function(e){Jh(r,e);var t=Yh(r);function r(n){Qh(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}(Y),QX=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),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),B(A(i),"sortable",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:QD;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 I;i.canExport=(I=o==null?void 0:o.canExport)!==null&&I!==void 0?I:!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 UA;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;i.pageSizeOptions=(Gb=o==null?void 0:o.pageSizeOptions)!==null&&Gb!==void 0?Gb:[10,20,50,100],i.importConfig=new GD(o==null?void 0:o.importConfig),i.exportConfig=new XD(o==null?void 0:o.exportConfig);var Xb;return i.sortable=(Xb=o==null?void 0:o.sortable)!==null&&Xb!==void 0?Xb:!1,i}return r}(f_);B(e0,"Rules",XX),B(e0,"RuntimeRules",QX);function t0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KS(e,t){for(var r=0;r<t.length;r++){var 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&&KS(e.prototype,t),r&&KS(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 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&&n0(e,t)}function eQ(e,t){return t&&(tQ(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 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 rQ(e){var t=nQ();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 eQ(this,o)}}var of=function(e){YX(r,e);var t=rQ(r);function r(n){JX(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 ZX(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,s.SORTABLE]},{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 oQ(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 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&&r0(e,t)}function uQ(e,t){return t&&(cQ(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 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=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uQ(this,o)}}var fQ=function(e){iQ(r,e);var t=aQ(r);function r(n,o){oQ(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 sQ(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 _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 cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function XS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function yQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:sQ(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(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 QS(e){var t=dQ();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 yQ(this,o)}}var vQ=function(e){XS(r,e);var t=QS(r);function r(n){GS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(st),i0=function(e){XS(r,e);var t=QS(r);function r(n){GS(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);_Q(i0,"Rules",vQ);function JS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&u0(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:JS(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function mQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wQ(e){var t=OQ();return function(){var n=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gQ(this,o)}}var lr=function(e){bQ(r,e);var t=wQ(r);function r(n){hQ(this,r);var o;return o=t.call(this,n),Do(JS(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 ZS(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 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 PQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l0(e,t)}function RQ(e,t){return t&&(SQ(t)==="object"||typeof t=="function")?t:ZS(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function SQ(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=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RQ(this,o)}}var YS=function(e){PQ(r,e);var t=TQ(r);function r(n){$Q(this,r);var o;return o=t.call(this,n),c0(ZS(o),"props",void 0),o.props=new i0(n==null?void 0:n.props),o}return r}(fe);c0(YS,"controlType","order-column"),c0(YS,"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 BQ(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 ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(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&&f0(e,t)}function AQ(e,t){return t&&(xQ(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 xQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DQ(e){var t=kQ();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 AQ(this,o)}}var tE=function(e){IQ(r,e);var t=DQ(r);function r(n){BQ(this,r);var o,i;o=t.call(this,n),eE(a0(o),"showType",void 0),eE(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 nE(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){nE(i,n,o,u,c,"next",a)}function c(a){nE(i,n,o,u,c,"throw",a)}u(void 0)})}}function FQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jQ(e,t,r){return t&&rE(e.prototype,t),r&&rE(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=HQ(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 LQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function MQ(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 CQ(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 VQ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):CQ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function zQ(e,t){return t&&(qQ(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 HQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fn(e),e!==null););return e}function qQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WQ(e){var t=UQ();return function(){var n=fn(e),o;if(t){var i=fn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zQ(this,o)}}function KQ(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){LQ(r,e);var t=WQ(r);function r(n){FQ(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 tE(n==null?void 0:n.props),Pt(sf(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return jQ(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 VQ(MQ({},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 NQ(function(){return KQ(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 GQ(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 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&&_0(e,t)}function QQ(e,t){return t&&(JQ(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 JQ(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=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QQ(this,o)}}var oE=function(e){XQ(r,e);var t=YQ(r);function r(n){GQ(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 tE(n==null?void 0:n.props),Pt(_f(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(fe);yf(oE,"controlType","operation-column"),yf(oE,"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 iE(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 eJ(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){iE(i,n,o,u,c,"next",a)}function c(a){iE(i,n,o,u,c,"throw",a)}u(void 0)})}}function tJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uE(e,t){for(var r=0;r<t.length;r++){var 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&&uE(e.prototype,t),r&&uE(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=aJ(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 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&&y0(e,t)}function oJ(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function iJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ct(e,o,r[o])})}return e}function uJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function cJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function lJ(e,t){return t&&(fJ(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 aJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sn(e),e!==null););return e}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 _J(e){var t=sJ();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 lJ(this,o)}}function yJ(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 pJ=1e4,df=function(t){rJ(n,t);var r=_J(n);function n(o){tJ(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=oJ(this,n)?this.constructor:void 0,a=c.excludes,l=c.childrenMaxLength;return i.props=new fQ(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 nJ(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 cJ(iJ({},i),{children:u})}},{key:"validate",value:function(i,u){var c=this,a=this,l=function(){return No(Sn(n.prototype),"validate",c)};return eJ(function(){return yJ(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",pJ);function Vt(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 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 lE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p0(e,t)}function dJ(e,t){return t&&(vJ(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 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 aE(e){var t=hJ();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 dJ(this,o)}}var bJ=function(e){lE(r,e);var t=aE(r);function r(n){cE(this,r);var o;return o=t.call(this,n),Jt.call(Vt(o),n),o}return r}(um),d0=function(e){lE(r,e);var t=aE(r);function r(n){cE(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",bJ);function fE(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 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 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&&v0(e,t)}function OJ(e,t){return t&&(wJ(t)==="object"||typeof t=="function")?t:fE(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(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=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OJ(this,o)}}var _r=function(e){mJ(r,e);var t=PJ(r);function r(n){gJ(this,r);var o;return o=t.call(this,n),sr(fE(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 sE(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 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 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&&b0(e,t)}function EJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:sE(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function TJ(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 IJ(e){var t=BJ();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 EJ(this,o)}}var _E=function(e){SJ(r,e);var t=IJ(r);function r(n){RJ(this,r);var o;return o=t.call(this,n),h0(sE(o),"props",void 0),o.props=new d0(n==null?void 0:n.props),o}return r}(fe);h0(_E,"controlType","varchar-column"),h0(_E,"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 yE(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 pE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AJ(e,t){return t&&(xJ(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 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 dE(e){var t=kJ();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 AJ(this,o)}}var DJ=function(e){pE(r,e);var t=dE(r);function r(n){yE(this,r);var o;return o=t.call(this,n),Jt.call(yr(o),n),o}return r}(st),m0=function(e){pE(r,e);var t=dE(r);function r(n){yE(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",DJ);function vE(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 hE(e,t){for(var r=0;r<t.length;r++){var 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&&hE(e.prototype,t),r&&hE(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=MJ(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 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&&O0(e,t)}function LJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:vE(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function MJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dr(e),e!==null););return e}function CJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zJ(e){var t=VJ();return function(){var n=dr(e),o;if(t){var i=dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LJ(this,o)}}var vr=function(e){jJ(r,e);var t=zJ(r);function r(n){NJ(this,r);var o;return o=t.call(this,n),pr(vE(o),"props",void 0),o.props=new m0(n==null?void 0:n.props),o}return FJ(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 bE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&$0(e,t)}function UJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:bE(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function WJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GJ(e){var t=KJ();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UJ(this,o)}}var gE=function(e){qJ(r,e);var t=GJ(r);function r(n){HJ(this,r);var o;return o=t.call(this,n),w0(bE(o),"props",void 0),o.props=new m0(n==null?void 0:n.props),o}return r}(fe);w0(gE,"controlType","text-column"),w0(gE,"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 mE(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 OE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P0(e,t)}function XJ(e,t){return t&&(QJ(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 QJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wE(e){var t=JJ();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 XJ(this,o)}}var ZJ=function(e){OE(r,e);var t=wE(r);function r(n){mE(this,r);var o;return o=t.call(this,n),Jt.call(Ot(o),n),o}return r}(st),R0=function(e){OE(r,e);var t=wE(r);function r(n){mE(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",ZJ);function $E(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 PE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eZ(e,t,r){return t&&PE(e.prototype,t),r&&PE(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=rZ(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 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&&S0(e,t)}function nZ(e,t){return t&&(oZ(t)==="object"||typeof t=="function")?t:$E(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function rZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=br(e),e!==null););return e}function oZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uZ(e){var t=iZ();return function(){var n=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nZ(this,o)}}var gr=function(e){tZ(r,e);var t=uZ(r);function r(n){YJ(this,r);var o;return o=t.call(this,n),hr($E(o),"props",void 0),o.props=new R0(n==null?void 0:n.props),o}return eZ(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 RE(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 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 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&&T0(e,t)}function aZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:RE(e)}function T0(e,t){return T0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T0(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=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aZ(this,o)}}var SE=function(e){lZ(r,e);var t=_Z(r);function r(n){cZ(this,r);var o;return o=t.call(this,n),E0(RE(o),"props",void 0),o.props=new R0(n==null?void 0:n.props),o}return r}(fe);E0(SE,"controlType","decimal-column"),E0(SE,"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 EE(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 TE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yZ(e,t){return t&&(pZ(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 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 BE(e){var t=dZ();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 yZ(this,o)}}var vZ=function(e){TE(r,e);var t=BE(r);function r(n){EE(this,r);var o;return o=t.call(this,n),Jt.call(jo(o),n),o}return r}(st),I0=function(e){TE(r,e);var t=BE(r);function r(n){EE(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",vZ);function IE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bZ(e,t,r){return t&&AE(e.prototype,t),r&&AE(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=OZ(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 gZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function mZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:IE(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function OZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Or(e),e!==null););return e}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=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mZ(this,o)}}var wr=function(e){gZ(r,e);var t=PZ(r);function r(n){hZ(this,r);var o;return o=t.call(this,n),mr(IE(o),"props",void 0),o.props=new I0(n==null?void 0:n.props),o}return bZ(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 xE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 SZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k0(e,t)}function EZ(e,t){return t&&(TZ(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 TZ(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 IZ(e){var t=BZ();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 EZ(this,o)}}var kE=function(e){SZ(r,e);var t=IZ(r);function r(n){RZ(this,r);var o;return o=t.call(this,n),x0(xE(o),"props",void 0),o.props=new I0(n==null?void 0:n.props),o}return r}(fe);x0(kE,"controlType","timescope-column"),x0(kE,"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 DE(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 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&&D0(e,t)}function AZ(e,t){return t&&(xZ(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 xZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FE(e){var t=kZ();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 AZ(this,o)}}var DZ=function(e){NE(r,e);var t=FE(r);function r(n){DE(this,r);var o;return o=t.call(this,n),Jt.call(Lo(o),n),o}return r}(st),N0=function(e){NE(r,e);var t=FE(r);function r(n){DE(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",DZ);function jE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 FZ(e,t,r){return t&&LE(e.prototype,t),r&&LE(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=MZ(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 jZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F0(e,t)}function LZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:jE(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function MZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pr(e),e!==null););return e}function CZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zZ(e){var t=VZ();return function(){var n=Pr(e),o;if(t){var i=Pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LZ(this,o)}}var Rr=function(e){jZ(r,e);var t=zZ(r);function r(n){NZ(this,r);var o;return o=t.call(this,n),$r(jE(o),"props",void 0),o.props=new N0(n==null?void 0:n.props),o}return FZ(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 ME(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L0(e,t)}function UZ(e,t){return t&&(WZ(t)==="object"||typeof t=="function")?t:ME(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L0(e,t)}function WZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GZ(e){var t=KZ();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UZ(this,o)}}var CE=function(e){qZ(r,e);var t=GZ(r);function r(n){HZ(this,r);var o;return o=t.call(this,n),j0(ME(o),"props",void 0),o.props=new N0(n==null?void 0:n.props),o}return r}(fe);j0(CE,"controlType","timestamp-column"),j0(CE,"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 VE(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 zE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XZ(e,t){return t&&(QZ(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 QZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HE(e){var t=JZ();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 XZ(this,o)}}var ZZ=function(e){zE(r,e);var t=HE(r);function r(n){VE(this,r);var o;return o=t.call(this,n),Jt.call(En(o),n),o}return r}(um),C0=function(e){zE(r,e);var t=HE(r);function r(n){VE(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",ZZ);function qE(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 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 eY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tY(e,t){return t&&(nY(t)==="object"||typeof t=="function")?t:qE(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function nY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oY(e){var t=rY();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tY(this,o)}}var Tr=function(e){eY(r,e);var t=oY(r);function r(n){YZ(this,r);var o;return o=t.call(this,n),Er(qE(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 UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&H0(e,t)}function cY(e,t){return t&&(lY(t)==="object"||typeof t=="function")?t:UE(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function lY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fY(e){var t=aY();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 cY(this,o)}}var WE=function(e){uY(r,e);var t=fY(r);function r(n){iY(this,r);var o;return o=t.call(this,n),z0(UE(o),"props",void 0),o.props=new C0(n==null?void 0:n.props),o}return r}(fe);z0(WE,"controlType","array-column"),z0(WE,"controlFieldType",m.ARRAY);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function yY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function pY(e,t){return t&&(dY(t)==="object"||typeof t=="function")?t:KE(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function dY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hY(e){var t=vY();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pY(this,o)}}var GE=function(e){yY(r,e);var t=hY(r);function r(n){sY(this,r);var o;o=t.call(this,n),_Y(KE(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 XE(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 QE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gY(e,t,r){return t&&QE(e.prototype,t),r&&QE(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=wY(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 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&&U0(e,t)}function OY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:XE(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function wY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}function $Y(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RY(e){var t=PY();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 OY(this,o)}}var Ar=function(e){mY(r,e);var t=RY(r);function r(n){bY(this,r);var o;return o=t.call(this,n),Br(XE(o),"props",void 0),o.props=new GE(n==null?void 0:n.props),o}return gY(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 JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 EY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:JE(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function BY(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 AY(e){var t=IY();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 TY(this,o)}}var ZE=function(e){EY(r,e);var t=AY(r);function r(n){SY(this,r);var o;return o=t.call(this,n),W0(JE(o),"props",void 0),o.props=new GE(n==null?void 0:n.props),o}return r}(fe);W0(ZE,"controlType","department-column"),W0(ZE,"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 YE(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 eT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X0(e,t)}function xY(e,t){return t&&(kY(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 kY(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 tT(e){var t=DY();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 xY(this,o)}}var NY=function(e){eT(r,e);var t=tT(r);function r(n){YE(this,r);var o;return o=t.call(this,n),Jt.call(Mf(o),n),o}return r}(st),Q0=function(e){eT(r,e);var t=tT(r);function r(n){YE(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",NY);function nT(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 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 jY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J0(e,t)}function LY(e,t){return t&&(MY(t)==="object"||typeof t=="function")?t:nT(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function MY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VY(e){var t=CY();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 LY(this,o)}}var kr=function(e){jY(r,e);var t=VY(r);function r(n){FY(this,r);var o;return o=t.call(this,n),xr(nT(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 rT(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 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 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&&Y0(e,t)}function qY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:rT(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function UY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KY(e){var t=WY();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qY(this,o)}}var oT=function(e){HY(r,e);var t=KY(r);function r(n){zY(this,r);var o;return o=t.call(this,n),Z0(rT(o),"props",void 0),o.props=new Q0(n==null?void 0:n.props),o}return r}(fe);Z0(oT,"controlType","auto-number-column"),Z0(oT,"controlFieldType",m.AUTO_NUMBER);function GY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function QY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function JY(e,t){return t&&(ZY(t)==="object"||typeof t=="function")?t:GY(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function ZY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eee(e){var t=YY();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 JY(this,o)}}var iT=function(e){QY(r,e);var t=eee(r);function r(n){XY(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 uT(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 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 nee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ree(e,t){return t&&(oee(t)==="object"||typeof t=="function")?t:uT(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function oee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uee(e){var t=iee();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 ree(this,o)}}var Nr=function(e){nee(r,e);var t=uee(r);function r(n){tee(this,r);var o;return o=t.call(this,n),Dr(uT(o),"props",void 0),o.props=new iT(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 cT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cee(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 lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rb(e,t)}function aee(e,t){return t&&(fee(t)==="object"||typeof t=="function")?t:cT(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function fee(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 _ee(e){var t=see();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 aee(this,o)}}var lT=function(e){lee(r,e);var t=_ee(r);function r(n){cee(this,r);var o;return o=t.call(this,n),nb(cT(o),"props",void 0),o.props=new iT(n==null?void 0:n.props),o}return r}(fe);nb(lT,"controlType","file-column"),nb(lT,"controlFieldType",m.FILE);function yee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function dee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function vee(e,t){return t&&(hee(t)==="object"||typeof t=="function")?t:yee(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function hee(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 gee(e){var t=bee();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 vee(this,o)}}var aT=function(e){dee(r,e);var t=gee(r);function r(n){pee(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 fT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&ib(e,t)}function wee(e,t){return t&&($ee(t)==="object"||typeof t=="function")?t:fT(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function $ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ree(e){var t=Pee();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 wee(this,o)}}var jr=function(e){Oee(r,e);var t=Ree(r);function r(n){mee(this,r);var o;return o=t.call(this,n),Fr(fT(o),"props",void 0),o.props=new aT(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 sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function See(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 Eee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tee(e,t){return t&&(Bee(t)==="object"||typeof t=="function")?t:sT(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function Bee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aee(e){var t=Iee();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 Tee(this,o)}}var _T=function(e){Eee(r,e);var t=Aee(r);function r(n){See(this,r);var o;return o=t.call(this,n),ub(sT(o),"props",void 0),o.props=new aT(n==null?void 0:n.props),o}return r}(fe);ub(_T,"controlType","image-column"),ub(_T,"controlFieldType",m.IMAGE);function xee(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 Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function Dee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function Nee(e,t){return t&&(Fee(t)==="object"||typeof t=="function")?t:xee(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function Fee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jee();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 Nee(this,o)}}var yT=function(e){Dee(r,e);var t=Lee(r);function r(n){kee(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 pT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&ab(e,t)}function Vee(e,t){return t&&(zee(t)==="object"||typeof t=="function")?t:pT(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function zee(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 qee(e){var t=Hee();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 Vee(this,o)}}var Mr=function(e){Cee(r,e);var t=qee(r);function r(n){Mee(this,r);var o;return o=t.call(this,n),Lr(pT(o),"props",void 0),o.props=new yT(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 dT(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 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 Wee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function Kee(e,t){return t&&(Gee(t)==="object"||typeof t=="function")?t:dT(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function Gee(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 Qee(e){var t=Xee();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 Kee(this,o)}}var vT=function(e){Wee(r,e);var t=Qee(r);function r(n){Uee(this,r);var o;return o=t.call(this,n),fb(dT(o),"props",void 0),o.props=new yT(n==null?void 0:n.props),o}return r}(fe);fb(vT,"controlType","people-column"),fb(vT,"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 hT(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 bT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jee(e,t){return t&&(Zee(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 Zee(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 gT(e){var t=Yee();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 Jee(this,o)}}var ete=function(e){bT(r,e);var t=gT(r);function r(n){hT(this,r);var o;return o=t.call(this,n),Jt.call(Zf(o),n),o}return r}(st),pb=function(e){bT(r,e);var t=gT(r);function r(n){hT(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",ete);function mT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rte(e,t){return t&&(ote(t)==="object"||typeof t=="function")?t:mT(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function ote(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 ute(e){var t=ite();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 rte(this,o)}}var Vr=function(e){nte(r,e);var t=ute(r);function r(n){tte(this,r);var o;return o=t.call(this,n),Cr(mT(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 OT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cte(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 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&&hb(e,t)}function ate(e,t){return t&&(fte(t)==="object"||typeof t=="function")?t:OT(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function fte(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 _te(e){var t=ste();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 ate(this,o)}}var wT=function(e){lte(r,e);var t=_te(r);function r(n){cte(this,r);var o;return o=t.call(this,n),vb(OT(o),"props",void 0),o.props=new pb(n==null?void 0:n.props),o}return r}(fe);vb(wT,"controlType","location-column"),vb(wT,"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 $T(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 PT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yte(e,t){return t&&(pte(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 pte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RT(e){var t=dte();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 yte(this,o)}}var vte=function(e){PT(r,e);var t=RT(r);function r(n){$T(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){PT(r,e);var t=RT(r);function r(n){$T(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",vte);function zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ST(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bte(e,t,r){return t&&ST(e.prototype,t),r&&ST(e,r),e}function 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=Rte(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 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&&mb(e,t)}function mte(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Ote(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 wte(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 $te(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wte(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Pte(e,t){return t&&(Ste(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 Rte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tn(e),e!==null););return e}function Ste(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tte(e){var t=Ete();return function(){var n=Tn(e),o;if(t){var i=Tn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pte(this,o)}}var Bte=1,_n=function(t){gte(n,t);var r=Tte(n);function n(o){hte(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=mte(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 bte(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 $te(Ote({},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",Bte),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 Ite(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 Ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function xte(e,t){return t&&(kte(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 kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Dte();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xte(this,o)}}var Fte=function(e){Ate(r,e);var t=Nte(r);function r(n){Ite(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(Fte,"controlType","custom-column");function ET(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lte(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 Mte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function Cte(e,t){return t&&(Vte(t)==="object"||typeof t=="function")?t:ET(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function Vte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hte(e){var t=zte();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 Cte(this,o)}}var TT=function(e){Mte(r,e);var t=Hte(r);function r(n){jte(this,r);var o;o=t.call(this,n),Lte(ET(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 BT(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 IT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ute(e,t,r){return t&&IT(e.prototype,t),r&&IT(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 Wte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function Kte(e,t){return t&&(Gte(t)==="object"||typeof t=="function")?t:BT(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function Gte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qte(e){var t=Xte();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 Kte(this,o)}}var Bn=function(e){Wte(r,e);var t=Qte(r);function r(n){qte(this,r);var o;return o=t.call(this,n),Hr(BT(o),"props",void 0),o.props=new TT(n==null?void 0:n.props),o}return Ute(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 AT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yte(e,t){return t&&(ene(t)==="object"||typeof t=="function")?t:AT(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function ene(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nne(e){var t=tne();return function(){var n=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yte(this,o)}}var xT=function(e){Zte(r,e);var t=nne(r);function r(n){Jte(this,r);var o;return o=t.call(this,n),Rb(AT(o),"props",void 0),o.props=new TT(n==null?void 0:n.props),o}return r}(fe);Rb(xT,"controlType","employee-column"),Rb(xT,"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 rne(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 one(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ine(e,t){return t&&(une(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 une(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lne(e){var t=cne();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 ine(this,o)}}var kT=function(e){one(r,e);var t=lne(r);function r(n){rne(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 ane(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 fne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function sne(e,t){return t&&(_ne(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 _ne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pne(e){var t=yne();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 sne(this,o)}}var qr=function(e){fne(r,e);var t=pne(r);function r(n){ane(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 kT(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 dne(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 vne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hne(e,t){return t&&(bne(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 bne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=gne();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 hne(this,o)}}var One=function(e){vne(r,e);var t=mne(r);function r(n){dne(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 kT(n==null?void 0:n.props),o}return r}(fe);xb(One,"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 DT(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 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&&Db(e,t)}function wne(e,t){return t&&($ne(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 $ne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FT(e){var t=Pne();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 wne(this,o)}}var Rne=function(e){NT(r,e);var t=FT(r);function r(n){DT(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(dn),Nb=function(e){NT(r,e);var t=FT(r);function r(n){DT(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",Rne);function jT(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 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 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&&Fb(e,t)}function Tne(e,t){return t&&(Bne(t)==="object"||typeof t=="function")?t:jT(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function Bne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ine(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ane(e){var t=Ine();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 Tne(this,o)}}var jb=function(e){Ene(r,e);var t=Ane(r);function r(n){Sne(this,r);var o;return o=t.call(this,n),ds(jT(o),"props",void 0),o.props=new Nb(n==null?void 0:n.props),o}return r}(X2);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 xne(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 kne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function Dne(e,t){return t&&(Nne(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 Nne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jne(e){var t=Fne();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 Dne(this,o)}}var Lne=function(e){kne(r,e);var t=jne(r);function r(n){xne(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}(nD);Mb(Lne,"controlType","simple-search");const Mne=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Jne(t==null?void 0:t.events),Une(n),Wne(n);const o=qne(n),i=Kne(o,t);let u=pn(X(i,c=>Hne(c,t)));return r?u:u[0]},Cne=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Vne=["subtable","grid-table"],zne=["simple-search"];function Hne(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Cne.includes(r.type)?r.controlType="base":r.controlType="form",Vne.includes(r.type)&&(r.controlType="list"),zne.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 cK.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 zR.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&&(LT(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&&(LT(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"),Zne(r,t==null?void 0:t.control_events),r}function LT(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 qne(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new AX.Designer().toSchema();return n.children=e,[n]}function Une(e){e.forEach(t=>{t.children&&Qne(t.children)})}function Wne(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 Kne(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;Gne(i),c.props.is_fixed_header=(b=n==null?void 0:n.source_config)==null?void 0:b.is_fixed_header,Xne(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 fX.Designer;_.props.datasourceBind=new ne({dataCode:a,svcCode:l,orders:mA(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 Gne(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 Xne(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 Qne(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 Jne(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 Zne(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 Yne=(e,t)=>{const r=Array.isArray(e);let o=pn(X(r?e:[e],i=>ere(i)));return r?o:o[0]};function ere(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 tre=(e,t)=>{const r=Array.isArray(e);let o=pn(X(r?e:[e],i=>nre(i)));return r?o:o[0]};function nre(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 rre=(e,t)=>{const r=Array.isArray(e);let o=pn(X(r?e:[e],i=>ore(i)));return r?o:o[0]};function ore(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 ire=(e,t)=>{const r=Array.isArray(e);let o=pn(X(r?e:[e],i=>cre(i)));return r?o:o[0]},ure=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function cre(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(ure.includes(r.type))return r;const n=new kW.Designer,o=new zR.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const lre=(e,t)=>{const r=Array.isArray(e);let o=pn(X(r?e:[e],i=>are(i)));return r?o:o[0]};function are(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 fre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>sre(i));return r?o:o[0]};function sre(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const _re=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>yre(i));return r?o:o[0]};function yn(e,t){e.field_code&&(e.field_type=t)}function yre(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 pre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>dre(i));return r?o:o[0]};function dre(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 vre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>hre(i));return r?o:o[0]};function hre(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 bre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>gre(i));return r?o:o[0]};function gre(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 mre=(e,t)=>{const r=Array.isArray(e);let o=X(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=X(r?e:[e],i=>$re(i));return r?o:o[0]};function $re(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,I,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",(I=r.props)!=null&&I.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 Pre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>Rre(i,t));return r?o:o[0]};function Rre(e,t){e.type===y.SUBTABLE&&e.props.headers.map(n=>{var i;n.props.meta_auto_width=new Sg,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),Sre(t),e}function Sre(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:[Ere()]}];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 Ere(){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 Tre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>Bre(i,t));return r?o:o[0]};function Bre(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 Ire=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>Are(i));return r?o:o[0]};function Are(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 xre=(e,t)=>{const r=Array.isArray(e);let o=X(r?e:[e],i=>kre(i));return r?o:o[0]};function kre(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 Rg({pc:i,mobile:i}))}return e}const Dre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=X(n,u=>{const c=Nre(u);return o[u.id]=u,c});return Fre(o,t),r?i:i[0]};function Nre(e,t){return e}function Fre(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 jre=(e,t)=>{const r=Array.isArray(e),n=r?e:[e],o={};let i=X(n,u=>{const c=Lre(u);return o[u.id]=u,c});return Mre(o,t),r?i:i[0]};function Lre(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 Mre(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 Cre=(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){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 MT={"v1.0":Mne,"v2.0":Yne,"v2.1":tre,"v2.2":rre,"v2.3":ire,"v2.4":lre,"v2.5":fre,"v2.6":_re,"v2.7":pre,"v2.8":vre,"v2.9":bre,"v2.10":mre,"v3.0":wre,"v3.1":Pre,"v3.2":Tre,"v3.3":Ire,"v3.4":xre,"v3.5":Dre,"v3.6":jre,"v3.7":Cre,"v3.8":()=>{}};const CT=(e,t)=>{const r=VT(e),n=VT(t),o=r.pop(),i=n.pop(),u=qT(r,n);return u!==0?u:o&&i?qT(o.split("."),i.split(".")):o||i?o?-1:1:0},bs=(e,t,r)=>{Ure(r);const n=CT(e,t);return UT[r].includes(n)},zre=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,VT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(zre);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},zT=e=>e==="*"||e==="x"||e==="X",HT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Hre=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],qre=(e,t)=>{if(zT(e)||zT(t))return 0;const[r,n]=Hre(HT(e),HT(t));return r>n?1:r<n?-1:0},qT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=qre(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},UT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},WT=Object.keys(UT),Ure=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(WT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${WT.join("|")}`)};function zb(e){return e.replace(/^v/,"")}const Ur=Object.keys(MT).map(e=>zb(e)).sort(CT),Co=Ur[Ur.length-1];class Wre{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=MT[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=Wre,Object.defineProperty(xn,"__esModule",{value:!0})});