@byteluck-fe/model-driven-upgrade 4.34.0-lx2 → 4.34.0-lx4

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(Lt,Gn){typeof exports=="object"&&typeof module!="undefined"?Gn(exports):typeof define=="function"&&define.amd?define(["exports"],Gn):(Lt=typeof globalThis!="undefined"?globalThis:Lt||self,Gn(Lt.modelDrivenUpgrade={}))})(this,function(Lt){"use strict";var Gn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",lI="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",aI="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",fI="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",_I="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",yI="{caption}\u5FC5\u586B",sI="\u8BF7\u8F93\u5165\u6807\u9898",pI="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",dI="\u8BF7\u8F93\u5165\u884C\u6807\u9898",vI="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",hI="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",bI="\u8BF7\u7ED1\u5B9A\u8868\u5355",mI="\u8BF7\u7ED1\u5B9A\u5217\u8868",gI="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",OI="\u8BF7\u8F93\u5165\u663E\u793A\u503C",wI="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",$I="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",PI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",EI="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",SI="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",TI="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",RI="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",II="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",BI="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",AI="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",kI="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",DI="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xI="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",LI="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",FI="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",jI="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",MI="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",NI="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",VI="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",zI="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",CI="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",HI="\u8BF7\u7ED1\u5B9A\u670D\u52A1",qI="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",UI="\u8BF7\u9009\u62E9\u7701",WI="\u8BF7\u9009\u62E9\u5E02",KI="\u8BF7\u9009\u62E9\u533A",GI="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",XI="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",QI="\u8BF7\u8F93\u5165\u5217\u5BBD",JI="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ZI="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",YI="\u8BF7\u9009\u62E9\u63A7\u4EF6",e3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",t3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",n3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",o3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",r3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",i3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",u3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",c3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",l3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",a3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",f3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",_3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",y3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",s3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",p3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",d3="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",v3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",h3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",b3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",m3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",g3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",O3="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",w3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",$3="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",P3="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",E3="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",S3="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",T3={isNotNumber:Gn,isNotString:lI,isNotObject:aI,isNotArray:fI,isNotBoolean:_I,runtimeRequired:yI,pleaseEnterCaption:sI,pleaseEnterCaptionTip:pI,pleaseEnterRowCaption:dI,pleaseEnterPlaceholder:vI,pleaseEnterFieldCode:hI,pleaseEnterForm:bI,pleaseEnterList:mI,pleaseEnterProcess:gI,pleaseEnterLabel:OI,pleaseEnterValue:wI,bizKeyNotBindFiled:$I,pleaseSelectOneField:PI,pleaseEnterNumberRange:EI,pleaseEnterAValueGreaterThanMin:SI,pleaseEnterAValueLessThanMax:TI,numberRangeSetError:RI,stringRangeError:II,attachmentMaxSize:BI,pleaseEnterTotalScoreSetting:AI,theTotalScoreMustNotBeLessThan1:kI,scoreDefaultValueRange:DI,attachmentLimitError:xI,PleaseReselectTheOptionalQuantity:LI,TheMaximumLengthIsGreaterThanTheMinimumLength:FI,TheMinimumLengthIsGreaterThanTheMaximumLength:jI,PleaseSelectTheCorrectOptionSettings:MI,optionIdIsRepeat:NI,optionIsRequired:VI,pleaseEnterDataCode:zI,pleaseEnterValueFieldCode:CI,pleaseEnterSvcCode:HI,pleaseBindAtLeastOneDisplayValue:qI,pleaseSelectProvince:UI,pleaseSelectCity:WI,pleaseSelectDistrict:KI,limitRowsCannotBeLessThan0:GI,TheNumberOfRowsCannotBeLessThanMinRows:XI,pleaseEnterColumnWidth:QI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:JI,pleaseCompleteAllRulesAndConditions:ZI,pleaseSelectControl:YI,pleaseSelectAtLeastOneColumn:e3,pleaseSelectFillBackMode:t3,pleaseSelectDashboard:n3,rootNodeIsRequired:o3,theViewNameCannotBeEmpty:r3,pleaseSelectOcrType:i3,pleaseSelectAtLeastOneFieldToFillIn:u3,pleaseChooseAtLeastOne:c3,pleaseEnterButtonContent:l3,pleaseEnterDataCodeInDataSetting:a3,pleaseEnterValueFieldCodeInDataSetting:f3,pleaseEnterSvcCodeInDataSetting:_3,pleaseBindAtLeastOneDisplayValueInDataSetting:y3,rootNodeIsRequiredInDataSetting:s3,pleaseEnterMaxHeight:p3,pleaseEnter:d3,pleaseEnterWatermark:v3,pleaseEnterFileName:h3,pleaseUploadAtLeastOnePrintTemplate:b3,pleaseAssignBusiness:m3,pleaseAssignExternal:g3,pleaseEnterAliasCode:O3,pleaseSelectDataCode:w3,pleaseSelectSvcCode:$3,pleaseSelectJoinFieldCode:P3,pleaseSelectMainFieldCode:E3,pleaseSelectSortFieldCode:S3},R3="Please enter a number",I3="Please enter a string",B3="Please enter an object",A3="Please enter an array",k3="Please enter a boolean",D3="{caption} Required",x3="Please enter the title",L3="Please enter the bubble prompt",F3="Please enter the row title",j3="Please enter the prompt text",M3="Please bind data items",N3="Please bind the form",V3="Please bind the list",z3="Please bind the process",C3="Please enter the displayed value",H3="Please enter the stored value",q3="The document number is not bound to the data item",U3="Please select at least one display field",W3="Please enter a value greater than or equal to {min} and less than or equal to {max}",K3="Please enter a value greater than or equal to {min}",G3="Please enter a value less than or equal to {max}",X3="The value range is set incorrectly",Q3="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",J3="The attachment size must be between 0MB and 1000MB",Z3="Please fill in the total score setting",Y3="The total score cannot be less than 1",eB="The default value must be between {min} and {max}",tB="The number of attachments uploaded must be between {min} and {max}",nB="Please re-select the optional quantity",oB="The maximum length of the control must be greater than the minimum length",rB="The minimum length of the control must be less than the maximum length",iB="Please select the correct option setting",uB="Option ID cannot be repeated",cB="Please enter at least one option",lB="Please bind the data source",aB="Please bind the stored value",fB="Please bind the service",_B="At least one display value must be bound",yB="Please select a province",sB="Please select a city",pB="Please select a district",dB="The minimum number of lines to fill in cannot be less than 0",vB="The number of rows cannot be less than {min} rows",hB="Please enter the column width",bB="Please set the logical relationship of all rule conditions",mB="Please complete all rules and conditions",gB="please select control",OB="Please select the dashboard",wB="View name cannot be empty",$B="Please select recognition type",PB="Please select at least one field to fill in",EB="Please select at least one",SB="Please enter the button title",TB="Please bind the business model in the data settings",RB="Please bind storage values in data settings",IB="Please bind the service in the data settings",BB="Please bind at least one display value in the data settings",AB="Please select the root node in the data settings",kB="Please enter the maximum height",DB="The input content cannot be empty",xB="Watermark cannot be empty",LB="File name cannot be empty",FB="Please upload at least one printing template!\uFF01",jB="Please select a specific business department",MB="Please select a specified external organization",NB="Please enter a sub table alias",VB="Please select the associated table to set the business model",zB="Please select the association table to set the binding service",CB="Select associated sub table fields",HB="Please select the associated main table field",qB="Please select the sort field",UB={isNotNumber:R3,isNotString:I3,isNotObject:B3,isNotArray:A3,isNotBoolean:k3,runtimeRequired:D3,pleaseEnterCaption:x3,pleaseEnterCaptionTip:L3,pleaseEnterRowCaption:F3,pleaseEnterPlaceholder:j3,pleaseEnterFieldCode:M3,pleaseEnterForm:N3,pleaseEnterList:V3,pleaseEnterProcess:z3,pleaseEnterLabel:C3,pleaseEnterValue:H3,bizKeyNotBindFiled:q3,pleaseSelectOneField:U3,pleaseEnterNumberRange:W3,pleaseEnterAValueGreaterThanMin:K3,pleaseEnterAValueLessThanMax:G3,numberRangeSetError:X3,stringRangeError:Q3,attachmentMaxSize:J3,pleaseEnterTotalScoreSetting:Z3,theTotalScoreMustNotBeLessThan1:Y3,scoreDefaultValueRange:eB,attachmentLimitError:tB,PleaseReselectTheOptionalQuantity:nB,TheMaximumLengthIsGreaterThanTheMinimumLength:oB,TheMinimumLengthIsGreaterThanTheMaximumLength:rB,PleaseSelectTheCorrectOptionSettings:iB,optionIdIsRepeat:uB,optionIsRequired:cB,pleaseEnterDataCode:lB,pleaseEnterValueFieldCode:aB,pleaseEnterSvcCode:fB,pleaseBindAtLeastOneDisplayValue:_B,pleaseSelectProvince:yB,pleaseSelectCity:sB,pleaseSelectDistrict:pB,limitRowsCannotBeLessThan0:dB,TheNumberOfRowsCannotBeLessThanMinRows:vB,pleaseEnterColumnWidth:hB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:bB,pleaseCompleteAllRulesAndConditions:mB,pleaseSelectControl:gB,pleaseSelectDashboard:OB,theViewNameCannotBeEmpty:wB,pleaseSelectOcrType:$B,pleaseSelectAtLeastOneFieldToFillIn:PB,pleaseChooseAtLeastOne:EB,pleaseEnterButtonContent:SB,pleaseEnterDataCodeInDataSetting:TB,pleaseEnterValueFieldCodeInDataSetting:RB,pleaseEnterSvcCodeInDataSetting:IB,pleaseBindAtLeastOneDisplayValueInDataSetting:BB,rootNodeIsRequiredInDataSetting:AB,pleaseEnterMaxHeight:kB,pleaseEnter:DB,pleaseEnterWatermark:xB,pleaseEnterFileName:LB,pleaseUploadAtLeastOnePrintTemplate:FB,pleaseAssignBusiness:jB,pleaseAssignExternal:MB,pleaseEnterAliasCode:NB,pleaseSelectDataCode:VB,pleaseSelectSvcCode:zB,pleaseSelectJoinFieldCode:CB,pleaseSelectMainFieldCode:HB,pleaseSelectSortFieldCode:qB},WB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",KB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",GB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",XB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",QB="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JB="{caption}\u5FC5\u9808",ZB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",e1="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",t1="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",n1="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",o1="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",r1="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",i1="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",u1="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",c1="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",l1="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",a1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",f1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",y1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",s1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",p1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",d1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",v1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",h1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",b1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",m1="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",g1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",O1="\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",w1="\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",$1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",P1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",E1="\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",T1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",R1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",I1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",B1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",A1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",k1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",D1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",x1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",L1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",F1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",j1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",M1="please select control",N1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",V1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",z1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",C1="\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",H1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",q1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",U1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",W1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",K1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",G1="\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",X1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Q1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",J1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Z1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Y1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",eA="\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",tA="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",nA="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oA="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rA="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",iA="\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",uA="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",cA="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lA="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",aA={isNotNumber:WB,isNotString:KB,isNotObject:GB,isNotArray:XB,isNotBoolean:QB,runtimeRequired:JB,pleaseEnterCaption:ZB,pleaseEnterCaptionTip:YB,pleaseEnterRowCaption:e1,pleaseEnterPlaceholder:t1,pleaseEnterFieldCode:n1,pleaseEnterForm:o1,pleaseEnterList:r1,pleaseEnterProcess:i1,pleaseEnterLabel:u1,pleaseEnterValue:c1,bizKeyNotBindFiled:l1,pleaseSelectOneField:a1,pleaseEnterNumberRange:f1,pleaseEnterAValueGreaterThanMin:_1,pleaseEnterAValueLessThanMax:y1,numberRangeSetError:s1,stringRangeError:p1,attachmentMaxSize:d1,pleaseEnterTotalScoreSetting:v1,theTotalScoreMustNotBeLessThan1:h1,scoreDefaultValueRange:b1,attachmentLimitError:m1,PleaseReselectTheOptionalQuantity:g1,TheMaximumLengthIsGreaterThanTheMinimumLength:O1,TheMinimumLengthIsGreaterThanTheMaximumLength:w1,PleaseSelectTheCorrectOptionSettings:$1,optionIdIsRepeat:P1,optionIsRequired:E1,pleaseEnterDataCode:S1,pleaseEnterValueFieldCode:T1,pleaseEnterSvcCode:R1,pleaseBindAtLeastOneDisplayValue:I1,pleaseSelectProvince:B1,pleaseSelectCity:A1,pleaseSelectDistrict:k1,limitRowsCannotBeLessThan0:D1,TheNumberOfRowsCannotBeLessThanMinRows:x1,pleaseEnterColumnWidth:L1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:F1,pleaseCompleteAllRulesAndConditions:j1,pleaseSelectControl:M1,pleaseSelectDashboard:N1,theViewNameCannotBeEmpty:V1,pleaseSelectOcrType:z1,pleaseSelectAtLeastOneFieldToFillIn:C1,pleaseChooseAtLeastOne:H1,pleaseEnterButtonContent:q1,pleaseEnterDataCodeInDataSetting:U1,pleaseEnterValueFieldCodeInDataSetting:W1,pleaseEnterSvcCodeInDataSetting:K1,pleaseBindAtLeastOneDisplayValueInDataSetting:G1,rootNodeIsRequiredInDataSetting:X1,pleaseEnterMaxHeight:Q1,pleaseEnter:J1,pleaseEnterWatermark:Z1,pleaseEnterFileName:Y1,pleaseUploadAtLeastOnePrintTemplate:eA,pleaseAssignBusiness:tA,pleaseAssignExternal:nA,pleaseEnterAliasCode:oA,pleaseSelectDataCode:rA,pleaseSelectSvcCode:iA,pleaseSelectJoinFieldCode:uA,pleaseSelectMainFieldCode:cA,pleaseSelectSortFieldCode:lA},fA={zhCN:T3,enUS:UB,jaJP:aA},d0;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(d0||(d0={}));var v0;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(v0||(v0={}));var _A="zh-CN";function be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ft;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Ft||(Ft={}));var h0;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(h0||(h0={}));var s;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.SENSITIVEN_INFORMATION="sensitiven-information"})(s||(s={}));var b0;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(b0||(b0={}));var m;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(m||(m={}));var ae;ae={},be(ae,"array","array-column"),be(ae,"auto_number","auto-number-column"),be(ae,"decimal","decimal-column"),be(ae,"department","department-column"),be(ae,"file","file-column"),be(ae,"image","image-column"),be(ae,"location","location-column"),be(ae,"people","employee-column"),be(ae,"text","text-column"),be(ae,"timescope","timescope-column"),be(ae,"timestamp","timestamp-column"),be(ae,"varchar","varchar-column"),be(ae,"relation","varchar-column");var rt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(rt||(rt={}));var m0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",yA=m0+"0123456789";function Re(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var o=n===0?m0:yA,r=Math.random()*o.length;e+=o[parseInt(String(r),10)]}return e}function Na(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function sA(t){if(Array.isArray(t))return Na(t)}function pA(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g0(t,e,n){return e=Xn(e),bA(t,za()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function O0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $o(t,e,n){return za()?$o=Reflect.construct:$o=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Qn(l,u.prototype),l},$o.apply(null,arguments)}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function w0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qn(t,e)}function dA(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function bA(t,e){return e&&(mA(e)==="object"||typeof e=="function")?e:pA(t)}function Qn(t,e){return Qn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qn(t,e)}function $0(t){return sA(t)||vA(t)||gA(t)||hA()}function mA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gA(t,e){if(!!t){if(typeof t=="string")return Na(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Na(t,e)}}function Va(t){var e=typeof Map=="function"?new Map:void 0;return Va=function(o){if(o===null||!dA(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return $o(o,arguments,Xn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Qn(r,o)},Va(t)}function za(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(za=function(){return!!t})()}var Ca=console;function Ha(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=Ca).warn.apply(o,["\u{1F9D0} Driven Warning:"+e[0]].concat($0(r)))}function Po(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=Ca).log.apply(o,["\u{1F680} Driven Log:"+e[0]].concat($0(r)))}function OA(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var qa=function(t){w0(e,t);function e(n){O0(this,e);var o;return o=g0(this,e,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?OA(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return e}(Va(Error)),wA=function(t){w0(e,t);function e(n){O0(this,e);var o;return o=g0(this,e,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return e}(qa);function Jn(t){throw new qa(t)}function P0(t){throw new wA(t)}function $A(t){Ca.error(new qa(t))}var PA=Object.prototype.toString;function E0(t,e){return PA.call(t)==="[object "+e+"]"}function EA(t){return E0(t,"String")}function SA(t){return E0(t,"Promise")}var TA=function(){function t(e){var n,o;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((o=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&o!==void 0?o:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var o=this.getMessageData();SA(o)?o.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):this.messages[this.localeInMessageKey]=o},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,o){var r=this.getMessage(e);return r?this.formatMessage(r,o):this.formatMessage(n,o)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),o=n.reduce(function(r,i,u,c){if(r!==void 0){var a=r[i];if(!(u===c.length-1&&!EA(a)))return a}},this.message);return this._messageCache.set(e,o),o},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(o,r){var i=n[r];return i!==void 0?String(i):o}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var o=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(o)?window.okI18nPreImport:(n={},n[o]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function RA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function IA(t,e,n){return e&&S0(t.prototype,e),n&&S0(t,n),t}function BA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var p=function(){function t(){RA(this,t)}return IA(t,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",o)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_A;return new TA({locale:n,messages:fA})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();BA(p,"$i18n",p.resetI18n());function AA(t,e,n){var o=e.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Ha("Can not set ".concat(e,"'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],n)&&(l[u]=n,r=!0),l[u]}},t),r}var kA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ua={exports:{}};(function(t){(function(e){var n=function(h,$,P){if(!l($)||y($)||d($)||b($)||a($))return $;var E,T=0,F=0;if(_($))for(E=[],F=$.length;T<F;T++)E.push(n(h,$[T],P));else{E={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(E[h(A,P)]=n(h,$[A],P))}return E},o=function(h,$){$=$||{};var P=$.separator||"_",E=$.split||/(?=[A-Z])/;return h.split(E).join(P)},r=function(h){return O(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,P){return P?P.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},c=Object.prototype.toString,a=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},_=function(h){return c.call(h)=="[object Array]"},y=function(h){return c.call(h)=="[object Date]"},d=function(h){return c.call(h)=="[object RegExp]"},b=function(h){return c.call(h)=="[object Boolean]"},O=function(h){return h=h-0,h===h},g=function(h,$){var P=$&&"process"in $?$.process:$;return typeof P!="function"?h:function(E,T){return P(E,h,T)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(g(r,$),h)},decamelizeKeys:function(h,$){return n(g(u,$),h,$)},pascalizeKeys:function(h,$){return n(g(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(kA)})(Ua);var T0={};Object.defineProperty(T0,"__esModule",{value:!0});function Wa(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Wa(e));{const e={};for(const n in t){const o=t[n];e[n]=typeof o!="object"||o===null?o:Wa(o)}return e}}var DA=T0.default=Wa;function xA(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function it(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":xA(t))==="object"?DA(t):t}function fe(t){return R0(t)&&"zh"in t}function R0(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ka(t){return Array.isArray(t)}function jt(t){return isNaN(parseFloat(t))?"":Number(t)}function LA(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function U(t,e){var n=[];return Array.isArray(t)&&(n=t.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=U(o.children,e)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=U(o.footers,e)),e(r)})),n}function FA(t){return Ua.exports.camelizeKeys(t)}function Mt(t){return Ua.exports.decamelizeKeys(t)}function Ga(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function jA(t){if(Array.isArray(t))return Ga(t)}function I0(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function MA(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){I0(i,o,r,u,c,"next",a)}function c(a){I0(i,o,r,u,c,"throw",a)}u(void 0)})}}function NA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VA(t,e,n){return e&&B0(t.prototype,e),n&&B0(t,n),t}function A0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function CA(){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 Xa(t){return jA(t)||zA(t)||HA(t)||CA()}function HA(t,e){if(!!t){if(typeof t=="string")return Ga(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ga(t,e)}}function qA(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[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(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var UA=function(){function t(){NA(this,t),A0(this,"_events",new Map),A0(this,"debug",!1)}return VA(t,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var u=this;return MA(function(){var c,a,l,_,y,d,b,O,g,w,h,$;return qA(this,function(P){switch(P.label){case 0:if(c=u._events.get(n),a=[],!c)return[3,10];l=c.slice(),_=!0,y=!1,d=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=l[Symbol.iterator](),P.label=2;case 2:if(_=(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&&Po.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \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(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Xa(r))),[4,g.apply(null,Xa(r))];case 4:return w=P.sent(),u.debug&&Po.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \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(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Xa(r),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return h=P.sent(),$A(String(h)+":"+String(h.stack)),[3,6];case 6:return _=!0,[3,2];case 7:return[3,10];case 8:return $=P.sent(),y=!0,d=$,[3,10];case 9:try{!_&&b.return!=null&&b.return()}finally{if(y)throw d}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function WA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KA(t,e,n){return e&&k0(t.prototype,e),n&&k0(t,n),t}function GA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}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"}],QA=function(){function t(){WA(this,t)}return KA(t,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return t.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(t.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var c=u.key;return{key:c,code:u.key,name:u.name}});return o=o.concat(i),o}}]),t}();GA(QA,"events",XA);function Qa(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function JA(t){if(Array.isArray(t))return Qa(t)}function ZA(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function YA(){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 D0(t){return JA(t)||ZA(t)||ek(t)||YA()}function ek(t,e){if(!!t){if(typeof t=="string")return Qa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qa(t,e)}}function Ja(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function x0(t,e,n){n!=="Runtime"&&(t.parent=e,Ja(t,"parent"))}function tk(t,e,n){t.forEach(function(o){x0(o,e,n)})}var L0=Symbol("targetKey");function F0(t){var e;return(e=t[L0])!==null&&e!==void 0?e:t}function j0(t,e,n){return tk(t,e,n),new Proxy(t,{get:function(r,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===L0?r:(l=Reflect).get.apply(l,[r,i].concat(D0(c)))},set:function(r,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 _;if(Ka(t)&&i==="length"&&u===t.length)return!0;var y=(_=Reflect).set.apply(_,[r,i,u].concat(D0(a)));return R0(u)&&x0(u,e,n),y}})}function Ge(t,e,n,o,r){var i=o!=null?o:t,u=j0(F0(n!=null?n:[]),i,r);Object.defineProperty(t,e,{get:function(){return u},set:function(a){u=j0(F0(a),i,r)},enumerable:!0})}function nk(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M0(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ok(t,e,n){return e&&M0(t.prototype,e),n&&M0(t,n),t}function ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var N0=[],Eo=function(){function t(e){nk(this,t),ut(this,"registeredControlTypes",new Set),ut(this,"controlConfigMap",new Map),ut(this,"_controls",[]),ut(this,"_type",void 0),this._type=e,this._initControls(e)}return ok(t,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Jn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(Ha("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Ft.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Ft.FORM}},{key:"isListControl",value:function(n){return n.controlType===Ft.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Ft.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(_){return r.createControl(_,o)});if(n.children&&(n.children=n.children.map(function(_){return r.createControl(_,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(_){return r.createControl(_,o)})),i.footers&&(i.footers=i.footers.map(function(_){var y;return _&&(y=r.createControl(_,o)),y}))}var u=this.getControlFormType(n.type);if(u){var c=n;if(typeof o=="function"){var a=o(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 Jn("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,o){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return o}}),Ja(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,o){o._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=o._controlParentIdMap,c=o.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var _=l.findIndex(function(b){return b==n}),y=c[a]||[],d;return y.length!==l.length?d=y[0]:d=y[_],d}}}}),Ja(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=t.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&Jn("".concat(n," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===r.controlType});return c>-1&&(Ha("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),t}();ut(Eo,"staticControlsRuntimeRules",new Map),ut(Eo,"staticControls",N0),ut(Eo,"staticRegisteredTypes",new Set(N0.map(function(t){return t.Designer.controlType}))),ut(Eo,"staticRegisteredConfigs",new Map);function rk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ie(t,e,n){return e=So(e),ik(t,V0()?Reflect.construct(e,n||[],So(t).constructor):e.apply(t,n))}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function So(t){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},So(t)}function Be(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Za(t,e)}function ik(t,e){return e&&(uk(e)==="object"||typeof e=="function")?e:rk(t)}function Za(t,e){return Za=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Za(t,e)}function uk(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V0(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V0=function(){return!!t})()}var Ae=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},Ya=function t(e){S(this,t),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var o;this.flex=(o=e==null?void 0:e.flex)!==null&&o!==void 0?o:1},ef=function(t){Be(e,t);function e(n){S(this,e);var o;o=Ie(this,e,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return e}(Ya),z0=function t(e){S(this,t),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new ef(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ef(e==null?void 0:e.mobile):new ef({width:130,minWidth:180})},ck=function t(e){S(this,t),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=e==null?void 0:e.customOptions)!==null&&o!==void 0?o:[]},Nt=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},lk=function(t){Be(e,t);function e(n){S(this,e);var o;o=Ie(this,e,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return e}(Nt),C0=function t(e){S(this,t),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:""},tf=function t(e){S(this,t);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new C0(u)}))!==null&&i!==void 0?i:[]},ak=function t(e){S(this,t),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:m.VARCHAR},fk=function(t){Be(e,t);function e(n){S(this,e);var o;o=Ie(this,e,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return e}(Nt),_k=function t(e){S(this,t);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new Nt(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new ak(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=e==null||(o=e.sublists)===null||o===void 0?void 0:o.map(function(u){return new fk(u)}))!==null&&i!==void 0?i:[]},yk=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Zn=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},nf=function t(e){var n=this;S(this,t),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=e==null?void 0:e.level)!==null&&i!==void 0?i:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(c){if(c.children!==void 0){var a,l=new t(c);(a=n.children)===null||a===void 0||a.push(l)}else{var _,y=new To(c);(_=n.children)===null||_===void 0||_.push(y)}}))},To=function t(e){S(this,t),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re();var o;this.ruleId=(o=e==null?void 0:e.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=e==null?void 0:e.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new yk(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Zn(e==null?void 0:e.rightVariableBo)},sk=function t(e){S(this,t),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new G(e==null?void 0:e.datasourceBind);var o;this.relationFields=(o=e==null?void 0:e.relationFields)!==null&&o!==void 0?o:[]},se=function t(e){S(this,t),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=e==null?void 0:e.propName)!==null&&i!==void 0?i:""},of=function t(e){S(this,t),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:"",this.fieldType=e==null?void 0:e.fieldType},pk=function t(e){S(this,t),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=e.desc)!==null&&o!==void 0?o:!1};function rf(t){var e,n,o,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(c){return c.children!==void 0?new nf(c):new To(c)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new nf(c):new To(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=t==null||(o=t.orders)===null||o===void 0?void 0:o.map(function(c){return new pk(c)}))!==null&&u!==void 0?u:[]}var G=function t(e){var n=this;S(this,t),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=e==null?void 0:e.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(_){var y;(y=n.displayBoList)===null||y===void 0||y.push(new of(_))}));var c;this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",rf.call(this,e)},uf=function t(e){S(this,t),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=e==null?void 0:e.displayBoList)!==null&&o!==void 0?o:[]},Xe=function t(e){S(this,t),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=e==null?void 0:e.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c:void 0,this.formType=e==null?void 0:e.formType;var a;this.icon=(a=e==null?void 0:e.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=e==null?void 0:e.needConfirm)!==null&&l!==void 0?l:!1;var _;this.openType=(_=e==null?void 0:e.openType)!==null&&_!==void 0?_:"modal";var y;this.priorityProcess=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},H0=function t(e){S(this,t);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=e==null?void 0:e.name)!==null&&o!==void 0?o:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var i;this.value=(i=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new of(u)}))!==null&&i!==void 0?i:[]},Ro=function(t){Be(e,t);function e(n){S(this,e);var o,r;o=Ie(this,e,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new H0(u)}))!==null&&i!==void 0?i:[],o}return e}(G),dk=function(t){Be(e,t);function e(n){S(this,e);var o,r;o=Ie(this,e,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new H0(c)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return e}(G),q0=function(t){Be(e,t);function e(n){S(this,e);var o;o=Ie(this,e,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Zn(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return e}(Ro),U0=function t(e){S(this,t);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new se(u)}))!==null&&i!==void 0?i:[]},W0=function(t){Be(e,t);function e(n){S(this,e);var o;return o=Ie(this,e,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),rf.call(o,n),o}return e}(U0),K0=function(t){Be(e,t);function e(n){S(this,e);var o;o=Ie(this,e,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return e}(U0),Io=function t(e){S(this,t),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=e==null?void 0:e.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},vk=function t(e){S(this,t),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re(8);var o;this.label=(o=e==null?void 0:e.label)!==null&&o!==void 0?o:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function Qe(t){var e;return(e=t==null?void 0:t.map(function(n){return new vk(n)}))!==null&&e!==void 0?e:[]}var cf=function t(){S(this,t)},hk=function(t){Be(e,t);function e(n){S(this,e);var o;return o=Ie(this,e),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new Ae(n==null?void 0:n.amount),o.currency=new Ae(n==null?void 0:n.currency),o}return e}(cf),bk=function t(e){S(this,t),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=e==null?void 0:e.currency)!==null&&o!==void 0?o:"CNY"},mk=function(t){Be(e,t);function e(n){S(this,e);var o;return o=Ie(this,e),v(o,"min",void 0),v(o,"max",void 0),o.min=new Ae(n==null?void 0:n.min),o.max=new Ae(n==null?void 0:n.max),o}return e}(cf),gk=function t(e){S(this,t),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var o;this.max=(o=e==null?void 0:e.max)!==null&&o!==void 0?o:""},Ok=function t(e){S(this,t),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=e==null?void 0:e.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=e==null?void 0:e.provinceDisplay)!==null&&c!==void 0?c:""},wk=function(t){Be(e,t);function e(n){S(this,e);var o;return o=Ie(this,e),v(o,"result",void 0),v(o,"unit",void 0),o.result=new Ae(n==null?void 0:n.result),o.unit=new Ae(n==null?void 0:n.unit),o}return e}(cf),$k=function t(e){S(this,t),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=e==null?void 0:e.unit)!==null&&o!==void 0?o:""},lf;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(lf||(lf={}));var f;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.ONLY_ALLOW_TAKE_PHOTO="onlyAllowTakePhoto",t.FORBID_DOWNLOAD="forbidDownload",t.ACCESS_CONTROL="accessControl"})(f||(f={}));var af;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(af||(af={}));var ct=function t(e){S(this,t),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=e==null?void 0:e.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=e==null?void 0:e.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},Pk=function t(e){S(this,t);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new C0(u)}))!==null&&i!==void 0?i:[],rf.call(this,e)},Ek=function t(e){S(this,t),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var o;this.height=(o=e==null?void 0:e.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=e==null?void 0:e.heightConfig)!==null&&i!==void 0?i:"fill"},Sk=function t(e){S(this,t),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=e==null?void 0:e.optType)!==null&&o!==void 0?o:""},Tk=function t(e){S(this,t);var n;v(this,"id",void 0),v(this,"name",void 0),v(this,"color",void 0),v(this,"filters",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re();var r;this.name=(r=e==null?void 0:e.name)!==null&&r!==void 0?r:"";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new nf(c):new To(c)}))!==null&&u!==void 0?u:[]},Rk=function t(e){S(this,t),v(this,"id",void 0),v(this,"script",void 0),v(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:Re();var o;this.script=(o=e.script)!==null&&o!==void 0?o:"";var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme"};function Ik(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bk(t,e,n){return e=Yn(e),Dk(t,yf()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function ff(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bo(t,e,n){return yf()?Bo=Reflect.construct:Bo=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&eo(l,u.prototype),l},Bo.apply(null,arguments)}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function Ak(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eo(t,e)}function kk(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Dk(t,e){return e&&(xk(e)==="object"||typeof e=="function")?e:Ik(t)}function eo(t,e){return eo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eo(t,e)}function xk(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _f(t){var e=typeof Map=="function"?new Map:void 0;return _f=function(o){if(o===null||!kk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return Bo(o,arguments,Yn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),eo(r,o)},_f(t)}function yf(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yf=function(){return!!t})()}var W=function t(e){ff(this,t),lt(this,"isHide",{type:"boolean"})},$t=function(t){Ak(e,t);function e(n){return ff(this,e),Bk(this,e)}return e}(_f(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ff(this,t),lt(this,"isHide",void 0),lt(this,"className",void 0),lt(this,"style",void 0),lt(this,"caption",void 0);var o;this.isHide=(o=e==null?void 0:e.isHide)!==null&&o!==void 0?o:!1,this.style=new Ek(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};lt(X,"mode",void 0),lt(X,"Rules",W),lt(X,"RuntimeRules",$t);function Ve(){return Ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ve.apply(this,arguments)}function Lk(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function sf(t){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sf(t)}function Ao(t,e){return Ao=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ao(t,e)}function Fk(){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(t){return!1}}function ko(t,e,n){return Fk()?ko=Reflect.construct:ko=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Ao(l,u.prototype),l},ko.apply(null,arguments)}function jk(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function pf(t){var e=typeof Map=="function"?new Map:void 0;return pf=function(o){if(o===null||!jk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return ko(o,arguments,sf(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ao(r,o)},pf(t)}var Mk=/%[sdj%]/g,G0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(G0=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(e,n)});function df(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function me(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=1,r=e[0],i=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var u=String(r).replace(Mk,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(e[o++]);case"%d":return Number(e[o++]);case"%j":try{return JSON.stringify(e[o++])}catch(a){return"[Circular]"}break;default:return c}});return u}return r}function Nk(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Nk(e)&&typeof t=="string"&&!t)}function Vk(t,e,n){var o=[],r=0,i=t.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}t.forEach(function(c){e(c,u)})}function X0(t,e,n){var o=0,r=t.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?e(t[c],i):n([])}i([])}function zk(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Q0=function(t){Lk(e,t);function e(n,o){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return e}(pf(Error));function Ck(t,e,n,o){if(e.first){var r=new Promise(function(y,d){var b=function(w){return o(w),w.length?d(new Q0(w,df(w))):y()},O=zk(t);X0(O,n,b)});return r.catch(function(y){return y}),r}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var u=Object.keys(t),c=u.length,a=0,l=[],_=new Promise(function(y,d){var b=function(g){if(l.push.apply(l,g),a++,a===c)return o(l),l.length?d(new Q0(l,df(l))):y()};u.length||(o(l),y()),u.forEach(function(O){var g=t[O];i.indexOf(O)!==-1?X0(g,n,b):Vk(g,n,b)})});return _.catch(function(y){return y}),_}function J0(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Z0(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];typeof o=="object"&&typeof t[n]=="object"?t[n]=Ve(Ve({},t[n]),o):t[n]=o}}return t}function Y0(t,e,n,o,r,i){t.required&&(!n.hasOwnProperty(t.field)||K(e,i||t.type))&&o.push(me(r.messages.required,t.fullField))}function Hk(t,e,n,o,r){(/^\s+$/.test(e)||e==="")&&o.push(me(r.messages.whitespace,t.fullField))}var vf={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},to={integer:function(e){return to.number(e)&&parseInt(e,10)===e},float:function(e){return to.number(e)&&!to.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!to.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(vf.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(vf.url)},hex:function(e){return typeof e=="string"&&!!e.match(vf.hex)}};function qk(t,e,n,o,r){if(t.required&&e===void 0){Y0(t,e,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;i.indexOf(u)>-1?to[u](e)||o.push(me(r.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&o.push(me(r.messages.types[u],t.fullField,t.type))}function Uk(t,e,n,o,r){var i=typeof t.len=="number",u=typeof t.min=="number",c=typeof t.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=e,_=null,y=typeof e=="number",d=typeof e=="string",b=Array.isArray(e);if(y?_="number":d?_="string":b&&(_="array"),!_)return!1;b&&(l=e.length),d&&(l=e.replace(a,"_").length),i?l!==t.len&&o.push(me(r.messages[_].len,t.fullField,t.len)):u&&!c&&l<t.min?o.push(me(r.messages[_].min,t.fullField,t.min)):c&&!u&&l>t.max?o.push(me(r.messages[_].max,t.fullField,t.max)):u&&c&&(l<t.min||l>t.max)&&o.push(me(r.messages[_].range,t.fullField,t.min,t.max))}var Vt="enum";function Wk(t,e,n,o,r){t[Vt]=Array.isArray(t[Vt])?t[Vt]:[],t[Vt].indexOf(e)===-1&&o.push(me(r.messages[Vt],t.fullField,t[Vt].join(", ")))}function Kk(t,e,n,o,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||o.push(me(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||o.push(me(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var k={required:Y0,whitespace:Hk,type:qk,range:Uk,enum:Wk,pattern:Kk};function Gk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e,"string")&&!t.required)return n();k.required(t,e,o,i,r,"string"),K(e,"string")||(k.type(t,e,o,i,r),k.range(t,e,o,i,r),k.pattern(t,e,o,i,r),t.whitespace===!0&&k.whitespace(t,e,o,i,r))}n(i)}function Xk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function Qk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function Jk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}function Zk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),K(e)||k.type(t,e,o,i,r)}n(i)}function Yk(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function e2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function t2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();k.required(t,e,o,i,r,"array"),e!=null&&(k.type(t,e,o,i,r),k.range(t,e,o,i,r))}n(i)}function n2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k.type(t,e,o,i,r)}n(i)}var o2="enum";function r2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r),e!==void 0&&k[o2](t,e,o,i,r)}n(i)}function i2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e,"string")&&!t.required)return n();k.required(t,e,o,i,r),K(e,"string")||k.pattern(t,e,o,i,r)}n(i)}function u2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e,"date")&&!t.required)return n();if(k.required(t,e,o,i,r),!K(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),k.type(t,c,o,i,r),c&&k.range(t,c.getTime(),o,i,r)}}n(i)}function c2(t,e,n,o,r){var i=[],u=Array.isArray(e)?"array":typeof e;k.required(t,e,o,i,r,u),n(i)}function hf(t,e,n,o,r){var i=t.type,u=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(K(e,i)&&!t.required)return n();k.required(t,e,o,u,r,i),K(e,i)||k.type(t,e,o,u,r)}n(u)}function l2(t,e,n,o,r){var i=[],u=t.required||!t.required&&o.hasOwnProperty(t.field);if(u){if(K(e)&&!t.required)return n();k.required(t,e,o,i,r)}n(i)}var no={string:Gk,method:Xk,number:Qk,boolean:Jk,regexp:Zk,integer:Yk,float:e2,array:t2,object:n2,enum:r2,pattern:i2,date:u2,url:hf,hex:hf,email:hf,required:c2,any:l2};function bf(){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 e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var mf=bf();function at(t){this.rules=null,this._messages=mf,this.define(t)}at.prototype={messages:function(e){return e&&(this._messages=Z0(bf(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in e)e.hasOwnProperty(n)&&(o=e[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(e,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=e,u=n,c=o;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,h=[],$={};function P(E){if(Array.isArray(E)){var T;h=(T=h).concat.apply(T,E)}else h.push(E)}for(w=0;w<g.length;w++)P(g[w]);h.length?$=df(h):(h=null,$=null),c(h,$)}if(u.messages){var l=this.messages();l===mf&&(l=bf()),Z0(l,u.messages),u.messages=l}else u.messages=this.messages();var _,y,d={},b=u.keys||Object.keys(this.rules);b.forEach(function(g){_=r.rules[g],y=i[g],_.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===e&&(i=Ve({},i)),y=i[g]=h.transform(y)),typeof h=="function"?h={validator:h}:h=Ve({},h),h.validator=r.getValidationMethod(h),h.field=g,h.fullField=h.fullField||g,h.type=r.getType(h),h.validator&&(d[g]=d[g]||[],d[g].push({rule:h,value:y,source:i,field:g}))})});var O={};return Ck(d,u,function(g,w){var h=g.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&g.value),h.field=g.field;function P(F,A){return Ve(Ve({},A),{},{fullField:h.fullField+"."+F})}function E(F){F===void 0&&(F=[]);var A=F;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&at.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(J0(h)),u.first&&A.length)return O[h.field]=1,w(A);if(!$)w(A);else{if(h.required&&!g.value)return h.message!==void 0?A=[].concat(h.message).map(J0(h)):u.error&&(A=[u.error(h,me(u.messages.required,h.field))]),w(A);var ue={};if(h.defaultField)for(var I in g.value)g.value.hasOwnProperty(I)&&(ue[I]=h.defaultField);ue=Ve(Ve({},ue),g.rule.fields);for(var We in ue)if(ue.hasOwnProperty(We)){var wo=Array.isArray(ue[We])?ue[We]:[ue[We]];ue[We]=wo.map(P.bind(null,We))}var Kn=new at(ue);Kn.messages(u.messages),g.rule.options&&(g.rule.options.messages=u.messages,g.rule.options.error=u.error),Kn.validate(g.value,g.rule.options||u,function(xt){var Ke=[];A&&A.length&&Ke.push.apply(Ke,A),xt&&xt.length&&Ke.push.apply(Ke,xt),w(Ke.length?Ke:null)})}}var T;h.asyncValidator?T=h.asyncValidator(h,g.value,E,g.source,u):h.validator&&(T=h.validator(h,g.value,E,g.source,u),T===!0?E():T===!1?E(h.message||h.field+" fails"):T instanceof Array?E(T):T instanceof Error&&E(T.message)),T&&T.then&&T.then(function(){return E()},function(F){return E(F)})},function(g){a(g)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!no.hasOwnProperty(e.type))throw new Error(me("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?no.required:no[this.getType(e)]||!1}},at.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");no[e]=n},at.warning=G0,at.messages=mf,at.validators=no;var a2={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 f2(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new at(t);return n.messages(Object.assign(a2,e)),n}var _2=new UA;function gf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function y2(t){if(Array.isArray(t))return t}function s2(t){if(Array.isArray(t))return gf(t)}function eb(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function tb(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){eb(i,o,r,u,c,"next",a)}function c(a){eb(i,o,r,u,c,"throw",a)}u(void 0)})}}function p2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d2(t,e,n){return e&&nb(t.prototype,e),n&&nb(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ob(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function rb(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function v2(){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 h2(){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 ib(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(t,r,n[r])})}return t}function b2(t){return y2(t)||rb(t)||ub(t)||v2()}function Of(t){return s2(t)||rb(t)||ub(t)||h2()}function m2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ub(t,e){if(!!t){if(typeof t=="string")return gf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gf(t,e)}}function cb(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[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(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var N=function(){function e(n){var o=this;p2(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",ab),M(this,"removeSetting",lb),this._callControlHooks("preInstance",n);var r=ob(this,e)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,a=r.controlFieldType,l=r.controlEventKeys,_=r.controlCustomEvents,y=r.name,d=r.setting;i&&u&&c||P0("The ".concat(y," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:Re(10),this.name=i,this.icon=u;var O;this.type=(O=n==null?void 0:n.type)!==null&&O!==void 0?O:c,this.props=new X(n==null?void 0:n.props,(ob(this,e)?this.constructor:void 0).controlName);var g;this.controlType=(g=n==null?void 0:n.controlType)!==null&&g!==void 0?g:"base",this.setting=it(d);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=it(l),this.customEvents=it(_),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return d2(e,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,c=b2(r),a=c[0],l=c.slice(1);return(u=_2).emit.apply(u,[a,this].concat(Of(l)))}},{key:"preUpdate",value:function(o,r){this._callControlHooks("preUpdateProps",o,r)}},{key:"postUpdate",value:function(o,r){this._callControlHooks("postUpdateProps",o,r)}},{key:"updateProps",value:function(o,r){this.preUpdate(o,r),AA(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return tb(function(){var r,i,u;return cb(this,function(c){switch(c.label){case 0:return r=ib({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(o,r){var i=this;return tb(function(){var u,c,a,l;return cb(this,function(_){switch(_.label){case 0:return[4,i.preValidate()];case 1:u=_.sent(),c=u!==void 0?u:ib({},i.rules),Array.isArray(r)&&r.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),a=f2(c,o),_.label=2;case 2:return _.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return _.sent(),[2,!0];case 4:throw l=_.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,_=c.optionConfig,y=c.caption,d=c.required,b=c.maxLength,O=c.options,g=c.encrypted,w=c.encryptedMode;if(!(!r&&!a&&!l)){var h={parentId:o,fieldType:r,controlId:i,caption:y,type:u,props:{}};switch(a&&(h.dataBind=a),_){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=O;break}return d!==void 0&&(h.required=d),b!==void 0&&(h.maxLength=b),g!==void 0&&(h.encrypted=g),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:it(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,Of(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();M(N,"mode","Designer"),M(N,"controlName","\u63A7\u4EF6"),M(N,"controlIcon","icon"),M(N,"controlType","control"),M(N,"controlFieldType",void 0),M(N,"controlEventKeys",[]),M(N,"controlCustomEvents",[]),M(N,"setting",[]),M(N,"__is_control__",!0),M(N,"removeSettingItem",lb),M(N,"updateSettingItem",ab);function lb(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(o){var r,i=typeof o!="string",u=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(l){return l.key===(i?o.key:o)});if(u!==-1){var c,a;i?e.setting[u].showItems=(c=e.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!o.hideItems.includes(l)}):e.setting.splice(u,1),i&&!(!((a=e.setting[u].showItems)===null||a===void 0)&&a.length)&&e.setting.splice(u,1)}})}function ab(t,e){var n=this,o=typeof t=="string"?[t]:t;o.forEach(function(r){var i=n.setting.find(function(l){return l.key===r});if(i){if(typeof e=="boolean")i.visible=e;else if((typeof e=="undefined"?"undefined":m2(e))==="object"){var u,c=(u=e.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=e.showItems;else{var a;(a=i.showItems).push.apply(a,Of(e.showItems))}}}})}function g2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function O2(t,e,n){return e&&fb(t.prototype,e),n&&fb(t,n),t}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w2(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Je=function(){function e(n){g2(this,e),ge(this,"id",void 0),ge(this,"type",void 0),ge(this,"controlType",void 0),ge(this,"props",void 0),ge(this,"fieldType",void 0),ge(this,"customEvents",[]),ge(this,"pageStatus",void 0),ge(this,"parent",null);var o=w2(this,e)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,c=o.controlCustomEvents;r||P0("The ".concat(u," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Re(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:r,this.props=new X(n==null?void 0:n.props),this.customEvents=c;var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:af.UNKNOWN}return O2(e,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),e}();ge(Je,"mode","Runtime"),ge(Je,"controlType","control"),ge(Je,"controlFieldType",void 0),ge(Je,"__is_control__",!0),ge(Je,"controlCustomEvents",[]);function wf(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(p.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=LA(i);i.length!==u.length?r(p.getMessage("optionIdIsRepeat")):r()},message:p.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(p.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function Do(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function $2(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function P2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xo(t,e,n){return e=Fo(e),E2(t,_b()?Reflect.construct(e,n||[],Fo(t).constructor):e.apply(t,n))}function Lo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fo(t){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fo(t)}function jo(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$f(t,e)}function E2(t,e){return e&&(S2(e)==="object"||typeof e=="function")?e:P2(t)}function $f(t,e){return $f=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$f(t,e)}function S2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _b(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_b=function(){return!!t})()}var J=function(t){jo(e,t);function e(n){Lo(this,e);var o;o=xo(this,e,[n]),j(o,"dataBind",{}),j(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),j(o,"isHideCaption",{type:"boolean"}),j(o,"labelPosition",{type:"enum",enum:["top","left"]}),j(o,"defaultState",{type:"enum",enum:["default","readonly"]}),j(o,"required",{type:"boolean"}),j(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if($2(n.dataBind))o.dataBind={type:"object",required:!0,fields:it(r),message:p.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:it(r),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),z=function(t){jo(e,t);function e(n){Lo(this,e);var o;o=xo(this,e,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return e}($t),D=function(t){jo(e,t);function e(n){Lo(this,e);var o;o=xo(this,e,[n]),j(o,"caption",void 0),j(o,"captionSize",void 0),j(o,"captionColor",void 0),j(o,"isCaptionItalic",void 0),j(o,"isHideCaption",void 0),j(o,"isShowCaptionTip",void 0),j(o,"captionTip",void 0),j(o,"labelPosition",void 0),j(o,"dataBind",void 0),j(o,"defaultValue",void 0),j(o,"placeholder",void 0),j(o,"defaultState",void 0),j(o,"required",void 0),j(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.captionSize=(i=n==null?void 0:n.captionSize)!==null&&i!==void 0?i:"";var u;o.captionColor=(u=n==null?void 0:n.captionColor)!==null&&u!==void 0?u:"";var c;o.isCaptionItalic=(c=n==null?void 0:n.isCaptionItalic)!==null&&c!==void 0?c:!1;var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var _;o.captionTip=(_=n==null?void 0:n.captionTip)!==null&&_!==void 0?_:"";var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var d;o.labelPosition=(d=n==null?void 0:n.labelPosition)!==null&&d!==void 0?d:"top";var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"";var O;o.required=(O=n==null?void 0:n.required)!==null&&O!==void 0?O:!1;var g;o.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",o.dataBind=new Ae(n==null?void 0:n.dataBind);var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o}return e}(X);j(D,"Rules",J),j(D,"RuntimeRules",z);var zt=function(t){jo(e,t);function e(n){Lo(this,e);var o;return o=xo(this,e,[n]),j(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),j(o,"options",[{type:"array",message:p.getMessage("isNotArray")}]),j(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),wf.call(o,n),o}return e}(J);function T2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R2(t,e,n){return e=No(e),A2(t,yb()?Reflect.construct(e,n||[],No(t).constructor):e.apply(t,n))}function I2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function No(t){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},No(t)}function B2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pf(t,e)}function A2(t,e){return e&&(k2(e)==="object"||typeof e=="function")?e:T2(t)}function Pf(t,e){return Pf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pf(t,e)}function k2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yb=function(){return!!t})()}var x=function(t){B2(e,t);function e(n){I2(this,e);var o;return o=R2(this,e,[n]),Mo(o,"controlType","form"),Mo(o,"props",void 0),o.props=new D(n==null?void 0:n.props),o}return e}(N);Mo(x,"controlEventKeys",["on_change","on_focus","on_blur"]),Mo(x,"controlCustomAttributes",void 0);function D2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x2(t,e,n){return e=Vo(e),j2(t,sb()?Reflect.construct(e,n||[],Vo(t).constructor):e.apply(t,n))}function L2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ef(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vo(t){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(t)}function F2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sf(t,e)}function j2(t,e){return e&&(M2(e)==="object"||typeof e=="function")?e:D2(t)}function Sf(t,e){return Sf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sf(t,e)}function M2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sb=function(){return!!t})()}var L=function(t){F2(e,t);function e(n){L2(this,e);var o;return o=x2(this,e,[n]),Ef(o,"controlType","form"),Ef(o,"props",void 0),Ef(o,"value",void 0),o.props=new D(n==null?void 0:n.props),o}return e}(Je);function N2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function V2(t,e,n){return e=zo(e),H2(t,pb()?Reflect.construct(e,n||[],zo(t).constructor):e.apply(t,n))}function z2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zo(t){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zo(t)}function C2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tf(t,e)}function H2(t,e){return e&&(q2(e)==="object"||typeof e=="function")?e:N2(t)}function Tf(t,e){return Tf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tf(t,e)}function q2(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pb=function(){return!!t})()}var Z=function(t){C2(e,t);function e(n){return z2(this,e),V2(this,e,[n])}return e}(X);function Rf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function U2(t){if(Array.isArray(t))return Rf(t)}function W2(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function db(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function K2(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){db(i,o,r,u,c,"next",a)}function c(a){db(i,o,r,u,c,"throw",a)}u(void 0)})}}function G2(t,e,n){return e=_t(e),rD(t,bb()?Reflect.construct(e,n||[],_t(t).constructor):e.apply(t,n))}function X2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Q2(t,e,n){return e&&vb(t.prototype,e),n&&vb(t,n),t}function ft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ct=Reflect.get:Ct=function(r,i,u){var c=iD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ct(t,e,n||t)}function _t(t){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_t(t)}function J2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&If(t,e)}function Z2(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Y2(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function eD(){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 tD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ft(t,r,n[r])})}return t}function nD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function oD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):nD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function rD(t,e){return e&&(uD(e)==="object"||typeof e=="function")?e:W2(t)}function If(t,e){return If=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},If(t,e)}function iD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=_t(t),t!==null););return t}function hb(t){return U2(t)||Y2(t)||cD(t)||eD()}function uD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cD(t,e){if(!!t){if(typeof t=="string")return Rf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rf(t,e)}}function bb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bb=function(){return!!t})()}function lD(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[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(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var aD=1e4,Y=function(e){J2(n,e);function n(o){X2(this,n);var r;r=G2(this,n,[o]),ft(r,"controlType","layout"),ft(r,"children",void 0),ft(r,"excludes",void 0),ft(r,"childrenMaxLength",void 0),ft(r,"props",void 0);var i=Z2(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Z(o==null?void 0:o.props),Ge(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=it(u),r.childrenMaxLength=c,r}return Q2(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,c=this,a=function(){return Ct(_t(n.prototype),"validate",u)};return K2(function(){return lD(this,function(l){switch(l.label){case 0:return[4,a().call(c,r,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(_){return _.validate(r,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Ct(_t(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,a){var l=a.toDataBindModel(r);if(Array.isArray(l)){var _=l.filter(function(y){return!!y});return hb(c).concat(hb(_))}return l&&c.push(l),c},u)}},{key:"toSchema",value:function(){var r=Ct(_t(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var c=u.toSchema();return c});return oD(tD({},r),{children:i})}}]),n}(N);ft(Y,"excludes",!1),ft(Y,"childrenMaxLength",aD);function fD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _D(t,e,n){return e=Co(e),pD(t,mb()?Reflect.construct(e,n||[],Co(t).constructor):e.apply(t,n))}function yD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Co(t){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(t)}function sD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Af(t,e)}function pD(t,e){return e&&(dD(e)==="object"||typeof e=="function")?e:fD(t)}function Af(t,e){return Af=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Af(t,e)}function dD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mb=function(){return!!t})()}var Pt=function(t){sD(e,t);function e(n){yD(this,e);var o;return o=_D(this,e,[n]),Bf(o,"controlType","layout"),Bf(o,"children",void 0),Bf(o,"props",void 0),o.props=new Z(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Je);function vD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hD(t,e,n){return e=Ho(e),gD(t,gb()?Reflect.construct(e,n||[],Ho(t).constructor):e.apply(t,n))}function bD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ho(t){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(t)}function mD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kf(t,e)}function gD(t,e){return e&&(OD(e)==="object"||typeof e=="function")?e:vD(t)}function kf(t,e){return kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kf(t,e)}function OD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gb=function(){return!!t})()}var Df=function(t){mD(e,t);function e(n,o,r){bD(this,e);var i;i=hD(this,e,[o]),Ht(i,"headers",void 0),Ht(i,"footers",void 0),Ht(i,"pageIndex",void 0),Ht(i,"pageSize",void 0),Ht(i,"pageSizeOptions",void 0),Ht(i,"totalCount",void 0),Ge(i,"headers",o==null?void 0:o.headers,n,r),Ge(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var c;i.pageSize=(c=o==null?void 0:o.pageSize)!==null&&c!==void 0?c:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var l;return i.totalCount=(l=o==null?void 0:o.totalCount)!==null&&l!==void 0?l:0,i}return e}(X);function xf(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function wD(t){if(Array.isArray(t))return xf(t)}function $D(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ob(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function PD(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){Ob(i,o,r,u,c,"next",a)}function c(a){Ob(i,o,r,u,c,"throw",a)}u(void 0)})}}function ED(t,e,n){return e=yt(e),kD(t,Sb()?Reflect.construct(e,n||[],yt(t).constructor):e.apply(t,n))}function SD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function TD(t,e,n){return e&&wb(t.prototype,e),n&&wb(t,n),t}function qo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?qt=Reflect.get:qt=function(r,i,u){var c=DD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},qt(t,e,n||t)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yt(t)}function RD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lf(t,e)}function ID(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function BD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $b(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){qo(t,r,n[r])})}return t}function AD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function Pb(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):AD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function kD(t,e){return e&&(xD(e)==="object"||typeof e=="function")?e:$D(t)}function Lf(t,e){return Lf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lf(t,e)}function DD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=yt(t),t!==null););return t}function Eb(t){return wD(t)||ID(t)||LD(t)||BD()}function xD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LD(t,e){if(!!t){if(typeof t=="string")return xf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xf(t,e)}}function Sb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sb=function(){return!!t})()}function FD(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[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(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Ff=function(t){RD(e,t);function e(n){SD(this,e);var o;return o=ED(this,e,[n]),qo(o,"controlType","list"),qo(o,"props",void 0),o.props=new Df(o,n==null?void 0:n.props,"Designer"),o}return TD(e,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return qt(yt(e.prototype),"validate",i)};return PD(function(){return FD(this,function(a){switch(a.label){case 0:return[4,c().call(u,o)];case 1:return a.sent(),[4,Promise.all(u.props.headers.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=qt(yt(e.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var a=c.toDataBindModel(i);if(Array.isArray(a)){var l=a.filter(function(_){return!!_});return Eb(u).concat(Eb(l))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o,r,i=qt(yt(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()}),c=(r=this.props)===null||r===void 0||(o=r.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return Pb($b({},i),{props:Pb($b({},this.props),{headers:u,footers:c})})}}]),e}(N);qo(Ff,"controlFieldType",m.LIST);function jD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jf(t,e,n){return e=Uo(e),MD(t,Tb()?Reflect.construct(e,n||[],Uo(t).constructor):e.apply(t,n))}function Mf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uo(t){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uo(t)}function Nf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vf(t,e)}function MD(t,e){return e&&(ND(e)==="object"||typeof e=="function")?e:jD(t)}function Vf(t,e){return Vf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vf(t,e)}function ND(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tb=function(){return!!t})()}var ze=function(t){Nf(e,t);function e(n){Mf(this,e);var o;return o=jf(this,e,[n]),ee(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ee(o,"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return e}(W),q=function(t){Nf(e,t);function e(n){Mf(this,e);var o;o=jf(this,e,[n]),ee(o,"widthType",void 0),ee(o,"width",void 0),ee(o,"caption",void 0),ee(o,"dataBind",void 0),ee(o,"autoWidth",void 0),ee(o,"fixed",void 0),ee(o,"sort",void 0),ee(o,"align",void 0),ee(o,"colSpan",void 0),ee(o,"autoHeight",void 0),ee(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";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:"none",o.autoWidth=new Ya(n==null?void 0:n.autoWidth),o.dataBind=new Ae(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return e}(X);ee(q,"Rules",ze);var Rb=function(t){Nf(e,t);function e(n){Mf(this,e);var o;return o=jf(this,e,[n]),ee(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),ee(o,"options",[{type:"array",message:p.getMessage("isNotArray")}]),ee(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),wf.call(o,n),o}return e}(ze);function VD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zD(t,e,n){return e=Ut(e),GD(t,Bb()?Reflect.construct(e,n||[],Ut(t).constructor):e.apply(t,n))}function CD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ib(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function HD(t,e,n){return e&&Ib(t.prototype,e),n&&Ib(t,n),t}function Wo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ko(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ko=Reflect.get:Ko=function(r,i,u){var c=XD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ko(t,e,n||t)}function Ut(t){return Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ut(t)}function qD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zf(t,e)}function UD(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Wo(t,r,n[r])})}return t}function WD(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function KD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):WD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function GD(t,e){return e&&(QD(e)==="object"||typeof e=="function")?e:VD(t)}function zf(t,e){return zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zf(t,e)}function XD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ut(t),t!==null););return t}function QD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bb=function(){return!!t})()}var te=function(t){qD(e,t);function e(n){CD(this,e);var o;return o=zD(this,e,[n]),Wo(o,"controlType","column"),Wo(o,"props",void 0),Wo(o,"children",void 0),o.props=new q(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return HD(e,[{key:"toSchema",value:function(){var o=Ko(Ut(e.prototype),"toSchema",this).call(this);return KD(UD({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),e}(N);function JD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZD(t,e,n){return e=Go(e),tx(t,Ab()?Reflect.construct(e,n||[],Go(t).constructor):e.apply(t,n))}function YD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Go(t){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Go(t)}function ex(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hf(t,e)}function tx(t,e){return e&&(nx(e)==="object"||typeof e=="function")?e:JD(t)}function Hf(t,e){return Hf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hf(t,e)}function nx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ab(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ab=function(){return!!t})()}var ne=function(t){ex(e,t);function e(n){YD(this,e);var o;return o=ZD(this,e,[n]),Cf(o,"controlType","column"),Cf(o,"props",void 0),Cf(o,"children",void 0),o.props=new q(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(Je);function ox(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rx(t,e,n){return e=Xo(e),lx(t,kb()?Reflect.construct(e,n||[],Xo(t).constructor):e.apply(t,n))}function ix(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ux(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xo(t){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xo(t)}function cx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qf(t,e)}function lx(t,e){return e&&(ax(e)==="object"||typeof e=="function")?e:ox(t)}function qf(t,e){return qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qf(t,e)}function ax(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kb=function(){return!!t})()}var Uf=function(t){cx(e,t);function e(n){ix(this,e);var o;return o=rx(this,e,[n]),ux(o,"dataBind",void 0),o.dataBind=new Ae(n==null?void 0:n.dataBind),o}return e}(Z);function fx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _x(t,e,n){return e=Qo(e),px(t,xb()?Reflect.construct(e,n||[],Qo(t).constructor):e.apply(t,n))}function yx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Db(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qo(t){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(t)}function sx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wf(t,e)}function px(t,e){return e&&(dx(e)==="object"||typeof e=="function")?e:fx(t)}function Wf(t,e){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(t,e)}function dx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xb=function(){return!!t})()}var vx=function(t){sx(e,t);function e(n){yx(this,e);var o;return o=_x(this,e,[n]),Db(o,"controlType","search"),Db(o,"props",void 0),o.props=new Uf(n==null?void 0:n.props),o}return e}(Y);function hx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bx(t,e,n){return e=Jo(e),Ox(t,Fb()?Reflect.construct(e,n||[],Jo(t).constructor):e.apply(t,n))}function mx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jo(t){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(t)}function gx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kf(t,e)}function Ox(t,e){return e&&(wx(e)==="object"||typeof e=="function")?e:hx(t)}function Kf(t,e){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(t,e)}function wx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fb=function(){return!!t})()}var $x=function(t){gx(e,t);function e(n){mx(this,e);var o;return o=bx(this,e,[n]),Lb(o,"controlType","search"),Lb(o,"props",void 0),o.props=new Uf(n==null?void 0:n.props),o}return e}(Pt);function st(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function Px(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ex(t,e,n){return e=Zo(e),Rx(t,jb()?Reflect.construct(e,n||[],Zo(t).constructor):e.apply(t,n))}function Sx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zo(t){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(t)}function Tx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gf(t,e)}function Rx(t,e){return e&&(Ix(e)==="object"||typeof e=="function")?e:Px(t)}function Gf(t,e){return Gf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gf(t,e)}function Ix(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jb=function(){return!!t})()}var Bx=function(t){Tx(e,t);function e(n){Sx(this,e);var o;o=Ex(this,e,[n]),Wt(o,"content",void 0),Wt(o,"fontSize",void 0),Wt(o,"color",void 0),Wt(o,"icon",void 0),Wt(o,"align",void 0),Wt(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"",o}return e}(X);function Ax(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kx(t,e,n){return e=Yo(e),Fx(t,Vb()?Reflect.construct(e,n||[],Yo(t).constructor):e.apply(t,n))}function Dx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xx(t,e,n){return e&&Mb(t.prototype,e),n&&Mb(t,n),t}function Nb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yo(t){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(t)}function Lx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xf(t,e)}function Fx(t,e){return e&&(jx(e)==="object"||typeof e=="function")?e:Ax(t)}function Xf(t,e){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(t,e)}function jx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vb=function(){return!!t})()}var Mx=function(t){Lx(e,t);function e(n){Dx(this,e);var o;return o=kx(this,e,[n]),Nb(o,"props",void 0),o.props=new Bx(n==null?void 0:n.props),o}return xx(e,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),e}(N);Nb(Mx,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Nx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vx(t,e,n){return e=er(e),Hx(t,zb()?Reflect.construct(e,n||[],er(t).constructor):e.apply(t,n))}function zx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function er(t){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(t)}function Cx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jf(t,e)}function Hx(t,e){return e&&(qx(e)==="object"||typeof e=="function")?e:Nx(t)}function Jf(t,e){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(t,e)}function qx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zb=function(){return!!t})()}var Ux=function(t){Cx(e,t);function e(n){zx(this,e);var o;o=Vx(this,e,[n]),Qf(o,"content",void 0),Qf(o,"url",void 0),Qf(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return e}(D);function Wx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kx(t,e,n){return e=tr(e),Jx(t,Hb()?Reflect.construct(e,n||[],tr(t).constructor):e.apply(t,n))}function Gx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Xx(t,e,n){return e&&Cb(t.prototype,e),n&&Cb(t,n),t}function Zf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tr(t){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(t)}function Qx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yf(t,e)}function Jx(t,e){return e&&(Zx(e)==="object"||typeof e=="function")?e:Wx(t)}function Yf(t,e){return Yf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yf(t,e)}function Zx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hb=function(){return!!t})()}var qb=function(t){Qx(e,t);function e(n){Gx(this,e);var o;return o=Kx(this,e,[n]),Zf(o,"props",void 0),o.props=new Ux(n==null?void 0:n.props),o}return Xx(e,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),e}(N);Zf(qb,"controlEventKeys",["on_click"]),Zf(qb,"setting",[{key:"data-bind",visible:!0},{key:"content",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function Yx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eL(t,e,n){return e=nr(e),oL(t,Ub()?Reflect.construct(e,n||[],nr(t).constructor):e.apply(t,n))}function tL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nr(t){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(t)}function nL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e_(t,e)}function oL(t,e){return e&&(rL(e)==="object"||typeof e=="function")?e:Yx(t)}function e_(t,e){return e_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e_(t,e)}function rL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ub(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ub=function(){return!!t})()}var Oe=function(t){nL(e,t);function e(n){tL(this,e);var o;o=eL(this,e,[n]),Ze(o,"content",void 0),Ze(o,"buttonType",void 0),Ze(o,"showType",void 0),Ze(o,"color",void 0),Ze(o,"icon",void 0),Ze(o,"defaultState",void 0),Ze(o,"command",void 0),Ze(o,"isLoading",void 0),Ze(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE";var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var d;return o.optObj=new Sk((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return e}(X);function iL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uL(t,e,n){return e=or(e),fL(t,Kb()?Reflect.construct(e,n||[],or(t).constructor):e.apply(t,n))}function cL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wb(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lL(t,e,n){return e&&Wb(t.prototype,e),n&&Wb(t,n),t}function t_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function or(t){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(t)}function aL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n_(t,e)}function fL(t,e){return e&&(_L(e)==="object"||typeof e=="function")?e:iL(t)}function n_(t,e){return n_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n_(t,e)}function _L(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kb=function(){return!!t})()}var pe=function(t){aL(e,t);function e(n){cL(this,e);var o;return o=uL(this,e,[n]),t_(o,"props",void 0),o.props=new Oe(n==null?void 0:n.props),o}return lL(e,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),e}(N);t_(pe,"controlEventKeys",["on_click"]),t_(pe,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ye;(function(t){t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title"})(Ye||(Ye={}));var Gb;(function(t){t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Gb||(Gb={}));var Xb;(function(t){t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified"})(Xb||(Xb={}));var o_=function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Re(8),value:["",""]};pt(this,t),B(this,"dateConfigType",void 0),B(this,"dateLimitType",void 0),B(this,"id",void 0),B(this,"value",void 0),this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value},r_;(function(t){t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile"})(r_||(r_={}));var i_=function t(e){pt(this,t),B(this,"id",void 0),B(this,"text",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re();var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},u_;(function(t){t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line"})(u_||(u_={}));var Qb=function t(e){pt(this,t),B(this,"type",void 0),B(this,"person",void 0),B(this,"signatureType",void 0),B(this,"telephone",void 0),B(this,"company",void 0),B(this,"remark",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"private";var o;this.person=new Zn((o=e==null?void 0:e.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=e==null?void 0:e.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=e==null?void 0:e.telephone)!==null&&u!==void 0?u:new Zn((i=e==null?void 0:e.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=e==null?void 0:e.company)!==null&&a!==void 0?a:new Zn((c=e==null?void 0:e.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=e==null?void 0:e.remark)!==null&&l!==void 0?l:""},yL=function t(e){pt(this,t);var n;B(this,"fileControl",void 0),B(this,"undersignedList",void 0),B(this,"statusControl",void 0),B(this,"completeControl",void 0),B(this,"completeTimeControl",void 0);var o;this.fileControl=(o=e==null?void 0:e.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=e==null||(n=e.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new Qb(a)}))!==null&&r!==void 0?r:[new Qb];var i;this.statusControl=(i=e==null?void 0:e.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=e==null?void 0:e.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!==null&&c!==void 0?c:""},Jb=function t(e){pt(this,t),B(this,"id",void 0),B(this,"appId",void 0),B(this,"dataCode",void 0),B(this,"svcCode",void 0),B(this,"name",void 0),B(this,"fieldList",void 0),B(this,"active",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re(8);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=e==null?void 0:e.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=e==null?void 0:e.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=e==null?void 0:e.active)!==null&&a!==void 0?a:!1},Zb=function t(e){pt(this,t),B(this,"active",void 0),B(this,"text",void 0);var n;this.active=(n=e==null?void 0:e.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},sL=function t(e){pt(this,t),B(this,"types",void 0),B(this,"history",void 0),B(this,"collaborativeRecord",void 0),B(this,"logicToDelete",void 0),B(this,"watermark",void 0),B(this,"autoRename",void 0);var n;this.types=(n=e==null?void 0:e.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=e==null?void 0:e.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=e==null?void 0:e.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=e==null?void 0:e.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Zb(e==null?void 0:e.watermark),this.autoRename=new Zb(e==null?void 0:e.autoRename)},pL=480;function Kt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}var dL=function t(e){pt(this,t),B(this,"fileId",void 0),B(this,"fileName",void 0),B(this,"ruleName",void 0),B(this,"isDefault",void 0),B(this,"rules",void 0);var n;this.fileId=(n=e==null?void 0:e.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=e==null?void 0:e.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=e==null?void 0:e.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=e.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=e.rules)!==null&&u!==void 0?u:[]},Yb;(function(t){t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK"})(Yb||(Yb={}));var c_;(function(t){t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(c_||(c_={}));var rr;(function(t){t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS"})(rr||(rr={}));var dt;(function(t){t.ALL="all",t.ASSIGN="assign"})(dt||(dt={}));var l_;(function(t){t.ALL="all",t.ADMIN="admin"})(l_||(l_={}));function vL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hL(t,e,n){return e=ir(e),gL(t,tm()?Reflect.construct(e,n||[],ir(t).constructor):e.apply(t,n))}function bL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ir(t){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(t)}function mL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a_(t,e)}function gL(t,e){return e&&(OL(e)==="object"||typeof e=="function")?e:vL(t)}function a_(t,e){return a_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a_(t,e)}function OL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tm=function(){return!!t})()}var wL=function(t){mL(e,t);function e(n){bL(this,e);var o;o=hL(this,e,[n]),em(o,"color",void 0),em(o,"lineStyle",void 0);var r;o.color=(r=n==null?void 0:n.color)!==null&&r!==void 0?r:"#000";var i;return o.lineStyle=(i=n==null?void 0:n.lineStyle)!==null&&i!==void 0?i:u_.SOLID,o}return e}(X);function $L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PL(t,e,n){return e=ur(e),RL(t,rm()?Reflect.construct(e,n||[],ur(t).constructor):e.apply(t,n))}function EL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SL(t,e,n){return e&&nm(t.prototype,e),n&&nm(t,n),t}function om(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ur(t){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ur(t)}function TL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f_(t,e)}function RL(t,e){return e&&(IL(e)==="object"||typeof e=="function")?e:$L(t)}function f_(t,e){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(t,e)}function IL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rm=function(){return!!t})()}var BL=function(t){TL(e,t);function e(n){EL(this,e);var o;return o=PL(this,e,[n]),om(o,"props",void 0),o.props=new wL(n==null?void 0:n.props),o}return SL(e,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),e}(N);om(BL,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]}]);function AL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function im(t,e,n){return e=cr(e),kL(t,lm()?Reflect.construct(e,n||[],cr(t).constructor):e.apply(t,n))}function um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cr(t){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(t)}function cm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&__(t,e)}function kL(t,e){return e&&(DL(e)==="object"||typeof e=="function")?e:AL(t)}function __(t,e){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(t,e)}function DL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lm=function(){return!!t})()}var xL=function(t){cm(e,t);function e(n){um(this,e);var o;return o=im(this,e,[n]),vt(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),vt(o,"dataBind",{type:"any"}),vt(o,"config",{type:"array"}),n.config.includes(Ye.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")}},message:p.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:p.getMessage("pleaseSelectOneField")}),o}return e}(W),am=function(t){cm(e,t);function e(n){um(this,e);var o;o=im(this,e,[n]),vt(o,"dataBind",void 0),vt(o,"caption",void 0),vt(o,"config",void 0),vt(o,"position",void 0),o.dataBind=new Ae(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[Ye.ShowSubmitUser,Ye.ShowSubmitDept,Ye.ShowSubmitTime,Ye.ShowCurrentApprovar,Ye.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:oo==null?void 0:oo.controlName)!==null&&u!==void 0?u:"";var c;return o.position=(c=n==null?void 0:n.position)!==null&&c!==void 0?c:"top",o}return e}(X);vt(am,"Rules",xL);function LL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FL(t,e,n){return e=lr(e),VL(t,_m()?Reflect.construct(e,n||[],lr(t).constructor):e.apply(t,n))}function jL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ML(t,e,n){return e&&fm(t.prototype,e),n&&fm(t,n),t}function y_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lr(t){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(t)}function NL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s_(t,e)}function VL(t,e){return e&&(zL(e)==="object"||typeof e=="function")?e:LL(t)}function s_(t,e){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(t,e)}function zL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_m=function(){return!!t})()}var oo=function(t){NL(e,t);function e(n){jL(this,e);var o;return o=FL(this,e,[n]),y_(o,"props",void 0),o.props=new am(n==null?void 0:n.props),o}return ML(e,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),e}(N);y_(oo,"controlFieldType",m.AUTO_NUMBER),y_(oo,"setting",[{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function CL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ym(t,e,n){return e=fr(e),HL(t,dm()?Reflect.construct(e,n||[],fr(t).constructor):e.apply(t,n))}function sm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ar(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fr(t){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(t)}function pm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p_(t,e)}function HL(t,e){return e&&(qL(e)==="object"||typeof e=="function")?e:CL(t)}function p_(t,e){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(t,e)}function qL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dm=function(){return!!t})()}var UL=function(t){pm(e,t);function e(n){sm(this,e);var o;return o=ym(this,e,[n]),ar(o,"formKey",{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return e}(W),vm=function(t){pm(e,t);function e(n){sm(this,e);var o;o=ym(this,e,[n]),ar(o,"formKey",void 0),ar(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:yr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:yr.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;return o.openType=(c=n==null?void 0:n.openType)!==null&&c!==void 0?c:"modal",o}return e}(Oe);ar(vm,"Rules",UL);function WL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KL(t,e,n){return e=_r(e),JL(t,bm()?Reflect.construct(e,n||[],_r(t).constructor):e.apply(t,n))}function GL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XL(t,e,n){return e&&hm(t.prototype,e),n&&hm(t,n),t}function d_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _r(t){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(t)}function QL(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v_(t,e)}function JL(t,e){return e&&(ZL(e)==="object"||typeof e=="function")?e:WL(t)}function v_(t,e){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(t,e)}function ZL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bm=function(){return!!t})()}var yr=function(t){QL(e,t);function e(n){GL(this,e);var o;return o=KL(this,e,[n]),d_(o,"props",void 0),o.props=new vm(n==null?void 0:n.props),o}return XL(e,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"}}]),e}(pe);d_(yr,"controlEventKeys",["on_click","on_click_finish"]),d_(yr,"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 YL(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mm(t,e,n){return e=sr(e),eF(t,wm()?Reflect.construct(e,n||[],sr(t).constructor):e.apply(t,n))}function gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sr(t){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(t)}function Om(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h_(t,e)}function eF(t,e){return e&&(tF(e)==="object"||typeof e=="function")?e:YL(t)}function h_(t,e){return h_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h_(t,e)}function tF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wm=function(){return!!t})()}var nF=function(t){Om(e,t);function e(n){gm(this,e);var o;return o=mm(this,e,[n]),Gt(o,"processKey",[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}]),o}return e}(W),$m=function(t){Om(e,t);function e(n){gm(this,e);var o;o=mm(this,e,[n]),Gt(o,"processKey",void 0),Gt(o,"initiatorMode",void 0),Gt(o,"fieldCode",void 0),Gt(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:dr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:dr.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var c;o.processKey=(c=n==null?void 0:n.processKey)!==null&&c!==void 0?c:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;return o.employeeId=(l=n==null?void 0:n.employeeId)!==null&&l!==void 0?l:"",o}return e}(Oe);Gt($m,"Rules",nF);function oF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rF(t,e,n){return e=pr(e),lF(t,Em()?Reflect.construct(e,n||[],pr(t).constructor):e.apply(t,n))}function iF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uF(t,e,n){return e&&Pm(t.prototype,e),n&&Pm(t,n),t}function b_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pr(t){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(t)}function cF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m_(t,e)}function lF(t,e){return e&&(aF(e)==="object"||typeof e=="function")?e:oF(t)}function m_(t,e){return m_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m_(t,e)}function aF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Em(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Em=function(){return!!t})()}var dr=function(t){cF(e,t);function e(n){iF(this,e);var o;return o=rF(this,e,[n]),b_(o,"props",void 0),o.props=new $m(n==null?void 0:n.props),o}return uF(e,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"}}]),e}(pe);b_(dr,"controlEventKeys",["on_click","on_click_finish"]),b_(dr,"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 fF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _F(t,e,n){return e=vr(e),pF(t,Sm()?Reflect.construct(e,n||[],vr(t).constructor):e.apply(t,n))}function yF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vr(t){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(t)}function sF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g_(t,e)}function pF(t,e){return e&&(dF(e)==="object"||typeof e=="function")?e:fF(t)}function g_(t,e){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(t,e)}function dF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sm=function(){return!!t})()}var vF=function(t){sF(e,t);function e(n){yF(this,e);var o;o=_F(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:br.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:br.controlIcon,o}return e}(Oe);function hF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bF(t,e,n){return e=hr(e),wF(t,Rm()?Reflect.construct(e,n||[],hr(t).constructor):e.apply(t,n))}function mF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gF(t,e,n){return e&&Tm(t.prototype,e),n&&Tm(t,n),t}function O_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hr(t){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(t)}function OF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w_(t,e)}function wF(t,e){return e&&($F(e)==="object"||typeof e=="function")?e:hF(t)}function w_(t,e){return w_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},w_(t,e)}function $F(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rm=function(){return!!t})()}var br=function(t){OF(e,t);function e(n){mF(this,e);var o;return o=bF(this,e,[n]),O_(o,"props",void 0),o.props=new vF(n==null?void 0:n.props),o}return gF(e,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"}}]),e}(pe);O_(br,"controlEventKeys",["on_click"]),O_(br,"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 PF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EF(t,e,n){return e=mr(e),RF(t,Bm()?Reflect.construct(e,n||[],mr(t).constructor):e.apply(t,n))}function SF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Im(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mr(t){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mr(t)}function TF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$_(t,e)}function RF(t,e){return e&&(IF(e)==="object"||typeof e=="function")?e:PF(t)}function $_(t,e){return $_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$_(t,e)}function IF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bm=function(){return!!t})()}var BF=function(t){TF(e,t);function e(n){SF(this,e);var o,r;o=EF(this,e,[n]),Im(o,"templateList",void 0),Im(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Or.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Or.controlName;var c;o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system";var a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(l){return new Jb(l)}))!==null&&a!==void 0?a:[new Jb({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return e}(Oe);function AF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kF(t,e,n){return e=gr(e),FF(t,km()?Reflect.construct(e,n||[],gr(t).constructor):e.apply(t,n))}function DF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Am(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xF(t,e,n){return e&&Am(t.prototype,e),n&&Am(t,n),t}function P_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gr(t){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gr(t)}function LF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E_(t,e)}function FF(t,e){return e&&(jF(e)==="object"||typeof e=="function")?e:AF(t)}function E_(t,e){return E_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E_(t,e)}function jF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function km(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(km=function(){return!!t})()}var Or=function(t){LF(e,t);function e(n){DF(this,e);var o;return o=kF(this,e,[n]),P_(o,"props",void 0),o.props=new BF(n==null?void 0:n.props),o}return xF(e,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),e}(pe);P_(Or,"controlEventKeys",["on_click","on_click_finish"]),P_(Or,"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(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NF(t,e,n){return e=wr(e),CF(t,Dm()?Reflect.construct(e,n||[],wr(t).constructor):e.apply(t,n))}function VF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(t)}function zF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S_(t,e)}function CF(t,e){return e&&(HF(e)==="object"||typeof e=="function")?e:MF(t)}function S_(t,e){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(t,e)}function HF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dm=function(){return!!t})()}var qF=function(t){zF(e,t);function e(n){VF(this,e);var o;o=NF(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Pr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Pr.controlIcon,o}return e}(Oe);function UF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WF(t,e,n){return e=$r(e),QF(t,Lm()?Reflect.construct(e,n||[],$r(t).constructor):e.apply(t,n))}function KF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function GF(t,e,n){return e&&xm(t.prototype,e),n&&xm(t,n),t}function T_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $r(t){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(t)}function XF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R_(t,e)}function QF(t,e){return e&&(JF(e)==="object"||typeof e=="function")?e:UF(t)}function R_(t,e){return R_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R_(t,e)}function JF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lm=function(){return!!t})()}var Pr=function(t){XF(e,t);function e(n){KF(this,e);var o;return o=WF(this,e,[n]),T_(o,"props",void 0),o.props=new qF(n==null?void 0:n.props),o}return GF(e,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"}}]),e}(pe);T_(Pr,"controlEventKeys",["on_click"]),T_(Pr,"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 ZF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YF(t,e,n){return e=Er(e),tj(t,jm()?Reflect.construct(e,n||[],Er(t).constructor):e.apply(t,n))}function Fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Er(t){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Er(t)}function ej(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&B_(t,e)}function tj(t,e){return e&&(nj(e)==="object"||typeof e=="function")?e:ZF(t)}function B_(t,e){return B_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},B_(t,e)}function nj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jm=function(){return!!t})()}var oj=function t(e){Fm(this,t),I_(this,"dataCode",void 0),this.dataCode=e.dataCode},rj=function(t){ej(e,t);function e(n){Fm(this,e);var o,r;o=YF(this,e,[n]),I_(o,"canImportList",void 0),I_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Tr.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Tr.controlIcon;var c;o.canImportList=(c=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(l){return new oj(l)}))!==null&&c!==void 0?c:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return e}(Oe);function ij(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uj(t,e,n){return e=Sr(e),fj(t,Nm()?Reflect.construct(e,n||[],Sr(t).constructor):e.apply(t,n))}function cj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lj(t,e,n){return e&&Mm(t.prototype,e),n&&Mm(t,n),t}function A_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sr(t){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sr(t)}function aj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k_(t,e)}function fj(t,e){return e&&(_j(e)==="object"||typeof e=="function")?e:ij(t)}function k_(t,e){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(t,e)}function _j(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nm=function(){return!!t})()}var Tr=function(t){aj(e,t);function e(n){cj(this,e);var o;return o=uj(this,e,[n]),A_(o,"props",void 0),o.props=new rj(n==null?void 0:n.props),o}return lj(e,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),e}(pe);A_(Tr,"controlEventKeys",["on_click","on_click_finish"]),A_(Tr,"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 Rr(){return{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}}}}}}function yj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vm(t,e,n){return e=Ir(e),sj(t,qm()?Reflect.construct(e,n||[],Ir(t).constructor):e.apply(t,n))}function zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(t)}function Cm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D_(t,e)}function Hm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){et(t,r,n[r])})}return t}function sj(t,e){return e&&(pj(e)==="object"||typeof e=="function")?e:yj(t)}function D_(t,e){return D_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},D_(t,e)}function pj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qm=function(){return!!t})()}var dj=function(t){Cm(e,t);function e(n){zm(this,e);var o;return o=Vm(this,e,[n]),et(o,"fillPayload",{type:"object",fields:Hm({},Rr())}),et(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}}),et(o,"fillBack",{type:"object",fields:Hm({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Rr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return e}(W),Um=function(t){Cm(e,t);function e(n){zm(this,e);var o;o=Vm(this,e,[n]),et(o,"fillPayload",void 0),et(o,"formBind",void 0),et(o,"fillBack",void 0),et(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Ar.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Ar.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new W0(n==null?void 0:n.fillPayload),o.formBind=new lk(n==null?void 0:n.formBind),o.fillBack=new K0(n==null?void 0:n.fillBack),o}return e}(Oe);et(Um,"Rules",dj);function vj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hj(t,e,n){return e=Br(e),Oj(t,Km()?Reflect.construct(e,n||[],Br(t).constructor):e.apply(t,n))}function bj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mj(t,e,n){return e&&Wm(t.prototype,e),n&&Wm(t,n),t}function x_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Br(t){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(t)}function gj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L_(t,e)}function Oj(t,e){return e&&(wj(e)==="object"||typeof e=="function")?e:vj(t)}function L_(t,e){return L_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L_(t,e)}function wj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Km(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Km=function(){return!!t})()}var Ar=function(t){gj(e,t);function e(n){bj(this,e);var o;return o=hj(this,e,[n]),x_(o,"props",void 0),o.props=new Um(n==null?void 0:n.props),o}return mj(e,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),e}(pe);x_(Ar,"controlEventKeys",["on_click","on_click_finish"]),x_(Ar,"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:[f.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function $j(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gm(t,e,n){return e=kr(e),Pj(t,Zm()?Reflect.construct(e,n||[],kr(t).constructor):e.apply(t,n))}function Xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kr(t){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(t)}function Qm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F_(t,e)}function Jm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ke(t,r,n[r])})}return t}function Pj(t,e){return e&&(Ej(e)==="object"||typeof e=="function")?e:$j(t)}function F_(t,e){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(t,e)}function Ej(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zm=function(){return!!t})()}var Sj=function(t){Qm(e,t);function e(n){Xm(this,e);var o;return o=Gm(this,e,[n]),ke(o,"fillPayload",{type:"object",fields:Jm({},Rr())}),ke(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}),ke(o,"fillBack",{type:"object",fields:Jm({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Rr())}),o}return e}(W),Ym=function(t){Qm(e,t);function e(n){Xm(this,e);var o;o=Gm(this,e,[n]),ke(o,"fillPayload",void 0),ke(o,"listPageBind",void 0),ke(o,"disableFilling",void 0),ke(o,"fillBack",void 0),ke(o,"showSelectedDetail",void 0),ke(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:xr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:xr.controlIcon,o.fillPayload=new W0(n==null?void 0:n.fillPayload),o.listPageBind=new tf(n==null?void 0:n.listPageBind),o.fillBack=new K0(n==null?void 0:n.fillBack);var u;o.showSelectedDetail=(u=n==null?void 0:n.showSelectedDetail)!==null&&u!==void 0?u:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig);var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return e}(Oe);ke(Ym,"Rules",Sj);function Tj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rj(t,e,n){return e=Dr(e),kj(t,tg()?Reflect.construct(e,n||[],Dr(t).constructor):e.apply(t,n))}function Ij(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Bj(t,e,n){return e&&eg(t.prototype,e),n&&eg(t,n),t}function j_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dr(t){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dr(t)}function Aj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M_(t,e)}function kj(t,e){return e&&(Dj(e)==="object"||typeof e=="function")?e:Tj(t)}function M_(t,e){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(t,e)}function Dj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tg=function(){return!!t})()}var xr=function(t){Aj(e,t);function e(n){Ij(this,e);var o;return o=Rj(this,e,[n]),j_(o,"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return Bj(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),e}(pe);j_(xr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),j_(xr,"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:[f.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function xj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N_(t,e,n){return e=Lr(e),Lj(t,og()?Reflect.construct(e,n||[],Lr(t).constructor):e.apply(t,n))}function V_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ng(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lr(t){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(t)}function z_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C_(t,e)}function Lj(t,e){return e&&(Fj(e)==="object"||typeof e=="function")?e:xj(t)}function C_(t,e){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(t,e)}function Fj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function og(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(og=function(){return!!t})()}var jj=function(t){z_(e,t);function e(n){return V_(this,e),N_(this,e,[n])}return e}(W),Mj=function(t){z_(e,t);function e(n){return V_(this,e),N_(this,e,[n])}return e}($t),H_=function(t){z_(e,t);function e(n){return V_(this,e),N_(this,e,[n])}return e}(X);ng(H_,"Rules",jj),ng(H_,"RuntimeRules",Mj);function Nj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vj(t,e,n){return e=Fr(e),qj(t,ug()?Reflect.construct(e,n||[],Fr(t).constructor):e.apply(t,n))}function zj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Cj(t,e,n){return e&&rg(t.prototype,e),n&&rg(t,n),t}function ig(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fr(t){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(t)}function Hj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q_(t,e)}function qj(t,e){return e&&(Uj(e)==="object"||typeof e=="function")?e:Nj(t)}function q_(t,e){return q_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q_(t,e)}function Uj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ug(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ug=function(){return!!t})()}var Wj=function(t){Hj(e,t);function e(n){zj(this,e);var o;return o=Vj(this,e,[n]),ig(o,"props",void 0),o.props=new H_(n==null?void 0:n.props),o}return Cj(e,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),e}(N);ig(Wj,"setting",[]);function Kj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cg(t,e,n){return e=jr(e),Gj(t,fg()?Reflect.construct(e,n||[],jr(t).constructor):e.apply(t,n))}function lg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jr(t){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(t)}function ag(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U_(t,e)}function Gj(t,e){return e&&(Xj(e)==="object"||typeof e=="function")?e:Kj(t)}function U_(t,e){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(t,e)}function Xj(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fg=function(){return!!t})()}var Qj=function(t){ag(e,t);function e(n){lg(this,e);var o;return o=cg(this,e,[n]),Ee(o,"dashboardKey",{type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")}),Ee(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Ee(o,"isHideCaption",{type:"boolean"}),Ee(o,"labelPosition",{type:"enum",enum:["top","left"]}),Ee(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),_g=function(t){ag(e,t);function e(n){lg(this,e);var o;o=cg(this,e,[n]),Ee(o,"dashboardKey",void 0),Ee(o,"caption",void 0),Ee(o,"isHideCaption",void 0),Ee(o,"isShowCaptionTip",void 0),Ee(o,"captionTip",void 0),Ee(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";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;return o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top",o}return e}(X);Ee(_g,"Rules",Qj);function Jj(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zj(t,e,n){return e=Mr(e),nM(t,pg()?Reflect.construct(e,n||[],Mr(t).constructor):e.apply(t,n))}function Yj(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eM(t,e,n){return e&&yg(t.prototype,e),n&&yg(t,n),t}function sg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mr(t){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(t)}function tM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W_(t,e)}function nM(t,e){return e&&(oM(e)==="object"||typeof e=="function")?e:Jj(t)}function W_(t,e){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(t,e)}function oM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pg=function(){return!!t})()}var rM=function(t){tM(e,t);function e(n){Yj(this,e);var o;return o=Zj(this,e,[n]),sg(o,"props",void 0),o.props=new _g(n==null?void 0:n.props),o}return eM(e,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),e}(N);sg(rM,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function iM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dg(t,e,n){return e=Nr(e),uM(t,bg()?Reflect.construct(e,n||[],Nr(t).constructor):e.apply(t,n))}function vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nr(t){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(t)}function hg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K_(t,e)}function uM(t,e){return e&&(cM(e)==="object"||typeof e=="function")?e:iM(t)}function K_(t,e){return K_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},K_(t,e)}function cM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bg=function(){return!!t})()}var lM=function(t){hg(e,t);function e(n){vg(this,e);var o;return o=dg(this,e,[n]),ro(o,"showType",{type:"enum",enum:["select","tabs"]}),ro(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:p.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return e}(W),mg=function(t){hg(e,t);function e(n){vg(this,e);var o,r;o=dg(this,e,[n]),ro(o,"showType",void 0),ro(o,"viewList",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"select";var u;return o.viewList=(u=n==null||(r=n.viewList)===null||r===void 0?void 0:r.map(function(c){return new Pk(c)}))!==null&&u!==void 0?u:[],o}return e}(X);ro(mg,"Rules",lM);function aM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fM(t,e,n){return e=Vr(e),pM(t,wg()?Reflect.construct(e,n||[],Vr(t).constructor):e.apply(t,n))}function _M(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yM(t,e,n){return e&&gg(t.prototype,e),n&&gg(t,n),t}function Og(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vr(t){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(t)}function sM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&G_(t,e)}function pM(t,e){return e&&(dM(e)==="object"||typeof e=="function")?e:aM(t)}function G_(t,e){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(t,e)}function dM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wg=function(){return!!t})()}var vM=function(t){sM(e,t);function e(n){_M(this,e);var o;return o=fM(this,e,[n]),Og(o,"props",void 0),o.props=new mg(n==null?void 0:n.props),o}return yM(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),e}(N);Og(vM,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function hM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $g(t,e,n){return e=zr(e),bM(t,Sg()?Reflect.construct(e,n||[],zr(t).constructor):e.apply(t,n))}function Pg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zr(t){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(t)}function Eg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X_(t,e)}function bM(t,e){return e&&(mM(e)==="object"||typeof e=="function")?e:hM(t)}function X_(t,e){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(t,e)}function mM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sg=function(){return!!t})()}var gM=function(t){Eg(e,t);function e(n){Pg(this,e);var o;return o=$g(this,e,[n]),de(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),de(o,"isHideCaption",{type:"boolean"}),de(o,"labelPosition",{type:"enum",enum:["top","left"]}),de(o,"ocrType",{type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")}),de(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),de(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),Tg=function(t){Eg(e,t);function e(n){Pg(this,e);var o,r;o=$g(this,e,[n]),de(o,"caption",void 0),de(o,"isHideCaption",void 0),de(o,"isShowCaptionTip",void 0),de(o,"captionTip",void 0),de(o,"labelPosition",void 0),de(o,"ocrType",void 0),de(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:io.controlName;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.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:io.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:io.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new se(O)}))!==null&&b!==void 0?b:[],o}return e}(Oe);de(Tg,"Rules",gM);function OM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wM(t,e,n){return e=Cr(e),SM(t,Ig()?Reflect.construct(e,n||[],Cr(t).constructor):e.apply(t,n))}function $M(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function PM(t,e,n){return e&&Rg(t.prototype,e),n&&Rg(t,n),t}function Q_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cr(t){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(t)}function EM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J_(t,e)}function SM(t,e){return e&&(TM(e)==="object"||typeof e=="function")?e:OM(t)}function J_(t,e){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(t,e)}function TM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ig(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ig=function(){return!!t})()}var io=function(t){EM(e,t);function e(n){$M(this,e);var o;return o=wM(this,e,[n]),Q_(o,"props",void 0),o.props=new Tg(n==null?void 0:n.props),o}return PM(e,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),e}(pe);Q_(io,"controlEventKeys",["on_click","on_click_finish"]),Q_(io,"setting",[{key:"caption",showItems:[f.CAPTION,f.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:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function RM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bg(t,e,n){return e=Hr(e),IM(t,Dg()?Reflect.construct(e,n||[],Hr(t).constructor):e.apply(t,n))}function Ag(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hr(t){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(t)}function kg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Z_(t,e)}function IM(t,e){return e&&(BM(e)==="object"||typeof e=="function")?e:RM(t)}function Z_(t,e){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(t,e)}function BM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dg=function(){return!!t})()}var AM=function(t){kg(e,t);function e(n){Ag(this,e);var o;return o=Bg(this,e,[n]),ve(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ve(o,"isHideCaption",{type:"boolean"}),ve(o,"labelPosition",{type:"enum",enum:["top","left"]}),ve(o,"invoiceCheck",{type:"boolean"}),ve(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),ve(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),xg=function(t){kg(e,t);function e(n){Ag(this,e);var o,r;o=Bg(this,e,[n]),ve(o,"caption",void 0),ve(o,"isHideCaption",void 0),ve(o,"isShowCaptionTip",void 0),ve(o,"captionTip",void 0),ve(o,"labelPosition",void 0),ve(o,"invoiceCheck",void 0),ve(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:uo.controlName;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.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:uo.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:uo.controlIcon;var d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(O){return new se(O)}))!==null&&b!==void 0?b:[],o}return e}(Oe);ve(xg,"Rules",AM);function kM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DM(t,e,n){return e=qr(e),jM(t,Fg()?Reflect.construct(e,n||[],qr(t).constructor):e.apply(t,n))}function xM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LM(t,e,n){return e&&Lg(t.prototype,e),n&&Lg(t,n),t}function Y_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qr(t){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(t)}function FM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ey(t,e)}function jM(t,e){return e&&(MM(e)==="object"||typeof e=="function")?e:kM(t)}function ey(t,e){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(t,e)}function MM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fg=function(){return!!t})()}var uo=function(t){FM(e,t);function e(n){xM(this,e);var o;return o=DM(this,e,[n]),Y_(o,"props",void 0),o.props=new xg(n==null?void 0:n.props),o}return LM(e,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),e}(pe);Y_(uo,"controlEventKeys",["on_click","on_click_finish"]),Y_(uo,"setting",[{key:"caption",showItems:[f.CAPTION,f.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:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function NM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jg(t,e,n){return e=Wr(e),VM(t,Vg()?Reflect.construct(e,n||[],Wr(t).constructor):e.apply(t,n))}function Mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wr(t){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(t)}function Ng(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ty(t,e)}function VM(t,e){return e&&(zM(e)==="object"||typeof e=="function")?e:NM(t)}function ty(t,e){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(t,e)}function zM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vg=function(){return!!t})()}var CM=function(t){Ng(e,t);function e(){Mg(this,e);var n;return n=jg(this,e,arguments),Ur(n,"printTemplates",{type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return e}(W),zg=function(t){Ng(e,t);function e(n){Mg(this,e);var o,r;o=jg(this,e,[n]),Ur(o,"printTemplates",void 0),Ur(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Gr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Gr.controlName;var c;o.printTemplates=(c=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(l){return new dL(l)}))!==null&&c!==void 0?c:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return e}(Oe);Ur(zg,"Rules",CM);function HM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qM(t,e,n){return e=Kr(e),GM(t,Hg()?Reflect.construct(e,n||[],Kr(t).constructor):e.apply(t,n))}function UM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function WM(t,e,n){return e&&Cg(t.prototype,e),n&&Cg(t,n),t}function ny(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kr(t){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kr(t)}function KM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oy(t,e)}function GM(t,e){return e&&(XM(e)==="object"||typeof e=="function")?e:HM(t)}function oy(t,e){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(t,e)}function XM(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hg=function(){return!!t})()}var Gr=function(t){KM(e,t);function e(n){UM(this,e);var o;return o=qM(this,e,[n]),ny(o,"props",void 0),o.props=new zg(n==null?void 0:n.props),o}return WM(e,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"}}]),e}(pe);ny(Gr,"controlEventKeys",["on_click","on_click_finish"]),ny(Gr,"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 QM(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JM(t,e,n){return e=Xr(e),eN(t,qg()?Reflect.construct(e,n||[],Xr(t).constructor):e.apply(t,n))}function ZM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(t){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(t)}function YM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ry(t,e)}function eN(t,e){return e&&(tN(e)==="object"||typeof e=="function")?e:QM(t)}function ry(t,e){return ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ry(t,e)}function tN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qg=function(){return!!t})()}var nN=function(t){YM(e,t);function e(n){ZM(this,e);var o;o=JM(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Jr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Jr.controlIcon,o}return e}(Oe);function oN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rN(t,e,n){return e=Qr(e),lN(t,Wg()?Reflect.construct(e,n||[],Qr(t).constructor):e.apply(t,n))}function iN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ug(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uN(t,e,n){return e&&Ug(t.prototype,e),n&&Ug(t,n),t}function iy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qr(t){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qr(t)}function cN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uy(t,e)}function lN(t,e){return e&&(aN(e)==="object"||typeof e=="function")?e:oN(t)}function uy(t,e){return uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uy(t,e)}function aN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wg=function(){return!!t})()}var Jr=function(t){cN(e,t);function e(n){iN(this,e);var o;return o=rN(this,e,[n]),iy(o,"props",void 0),o.props=new nN(n==null?void 0:n.props),o}return uN(e,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"}}]),e}(pe);iy(Jr,"controlEventKeys",["on_click"]),iy(Jr,"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 fN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kg(t,e,n){return e=Zr(e),_N(t,Qg()?Reflect.construct(e,n||[],Zr(t).constructor):e.apply(t,n))}function Gg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zr(t){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(t)}function Xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cy(t,e)}function _N(t,e){return e&&(yN(e)==="object"||typeof e=="function")?e:fN(t)}function cy(t,e){return cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cy(t,e)}function yN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qg=function(){return!!t})()}var sN=function(t){Xg(e,t);function e(n){Gg(this,e);var o;return o=Kg(this,e,[n]),_e(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return e}(W),Yr=function(t){Xg(e,t);function e(n){Gg(this,e);var o;o=Kg(this,e,[n]),_e(o,"content",void 0),_e(o,"code",void 0),_e(o,"command",void 0),_e(o,"color",void 0),_e(o,"icon",void 0),_e(o,"formKey",void 0),_e(o,"openType",void 0),_e(o,"needConfirm",void 0),_e(o,"confirmMessage",void 0),_e(o,"options",void 0),_e(o,"defaultState",void 0),_e(o,"priorityProcess",void 0),_e(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE",o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"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 c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return e}(X);_e(Yr,"Rules",sN);function pN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dN(t,e,n){return e=ei(e),mN(t,Zg()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function vN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hN(t,e,n){return e&&Jg(t.prototype,e),n&&Jg(t,n),t}function ly(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function bN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ay(t,e)}function mN(t,e){return e&&(gN(e)==="object"||typeof e=="function")?e:pN(t)}function ay(t,e){return ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ay(t,e)}function gN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zg=function(){return!!t})()}var ti=function(t){bN(e,t);function e(n){vN(this,e);var o;return o=dN(this,e,[n]),ly(o,"props",void 0),o.props=new Yr(n==null?void 0:n.props),o}return hN(e,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),e}(N);ly(ti,"controlEventKeys",["on_click"]),ly(ti,"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:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function ON(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wN(t,e,n){return e=ni(e),TN(t,eO()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function $N(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yg(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function PN(t,e,n){return e&&Yg(t.prototype,e),n&&Yg(t,n),t}function EN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function SN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fy(t,e)}function TN(t,e){return e&&(RN(e)==="object"||typeof e=="function")?e:ON(t)}function fy(t,e){return fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fy(t,e)}function RN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eO=function(){return!!t})()}var IN=function(t){SN(e,t);function e(n){$N(this,e);var o;return o=wN(this,e,[n]),EN(o,"props",void 0),o.props=new Yr(n==null?void 0:n.props),o}return PN(e,null,[{key:"controlType",get:function(){return"operation-button"}}]),e}(Je),_y={Designer:ti,Runtime:IN,Property:Yr};function BN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AN(t,e,n){return e=oi(e),xN(t,tO()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function kN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function DN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yy(t,e)}function xN(t,e){return e&&(LN(e)==="object"||typeof e=="function")?e:BN(t)}function yy(t,e){return yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yy(t,e)}function LN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tO=function(){return!!t})()}var FN=function(t){DN(e,t);function e(n){kN(this,e);var o;o=AN(this,e,[n]),ht(o,"content",void 0),ht(o,"buttonType",void 0),ht(o,"showType",void 0),ht(o,"color",void 0),ht(o,"icon",void 0),ht(o,"defaultState",void 0),ht(o,"command",void 0),ht(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:ii.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ii.controlIcon;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:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var l;o.isHide=(l=n==null?void 0:n.isHide)!==null&&l!==void 0?l:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return e}(X);function jN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MN(t,e,n){return e=ri(e),CN(t,oO()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function NN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VN(t,e,n){return e&&nO(t.prototype,e),n&&nO(t,n),t}function sy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function zN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&py(t,e)}function CN(t,e){return e&&(HN(e)==="object"||typeof e=="function")?e:jN(t)}function py(t,e){return py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},py(t,e)}function HN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oO=function(){return!!t})()}var ii=function(t){zN(e,t);function e(n){NN(this,e);var o;return o=MN(this,e,[n]),sy(o,"props",void 0),o.props=new FN(n==null?void 0:n.props),o}return VN(e,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"}}]),e}(N);sy(ii,"controlEventKeys",["on_click"]),sy(ii,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function qN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dy(t,e,n){return e=ui(e),UN(t,rO()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function vy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function hy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&by(t,e)}function UN(t,e){return e&&(WN(e)==="object"||typeof e=="function")?e:qN(t)}function by(t,e){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(t,e)}function WN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rO=function(){return!!t})()}var KN=function(t){hy(e,t);function e(n){vy(this,e);var o;return o=dy(this,e,[n]),De(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),De(o,"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),De(o,"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Kt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),GN=function(t){hy(e,t);function e(n){vy(this,e);var o;return o=dy(this,e,[n]),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Kt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),co=function(t){hy(e,t);function e(n){vy(this,e);var o;o=dy(this,e,[n]),De(o,"maxLength",void 0),De(o,"minLength",void 0),De(o,"regularRules",void 0),De(o,"defaultValue",void 0),De(o,"encrypted",void 0),De(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Io(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:lo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return e}(D);De(co,"Rules",KN),De(co,"RuntimeRules",GN);function XN(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QN(t,e,n){return e=li(e),e5(t,uO()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function JN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ZN(t,e,n){return e&&iO(t.prototype,e),n&&iO(t,n),t}function ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function YN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&my(t,e)}function e5(t,e){return e&&(t5(e)==="object"||typeof e=="function")?e:XN(t)}function my(t,e){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(t,e)}function t5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uO=function(){return!!t})()}var lo=function(t){YN(e,t);function e(n){JN(this,e);var o;return o=QN(this,e,[n]),ci(o,"props",void 0),o.props=new co(n==null?void 0:n.props),o}return ZN(e,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),e}(x);ci(lo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ci(lo,"controlFieldType",m.VARCHAR),ci(lo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.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 n5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o5(t,e,n){return e=ai(e),c5(t,aO()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function r5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function i5(t,e,n){return e&&cO(t.prototype,e),n&&cO(t,n),t}function lO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function u5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gy(t,e)}function c5(t,e){return e&&(l5(e)==="object"||typeof e=="function")?e:n5(t)}function gy(t,e){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(t,e)}function l5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aO=function(){return!!t})()}var a5=function(t){u5(e,t);function e(n){r5(this,e);var o;return o=o5(this,e,[n]),lO(o,"props",void 0),o.props=new co(n==null?void 0:n.props),o}return i5(e,null,[{key:"controlType",get:function(){return"input"}}]),e}(L);lO(a5,"controlFieldType",m.VARCHAR);function f5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Oy(t,e,n){return e=fi(e),_5(t,fO()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function $y(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Py(t,e)}function _5(t,e){return e&&(y5(e)==="object"||typeof e=="function")?e:f5(t)}function Py(t,e){return Py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Py(t,e)}function y5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fO=function(){return!!t})()}var s5=function(t){$y(e,t);function e(n){wy(this,e);var o;o=Oy(this,e,[n]),oe(o,"limitMax",{type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return e}(zt),p5=function(t){$y(e,t);function e(n){wy(this,e);var o;return o=Oy(this,e,[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 e}(z),_i=function(t){$y(e,t);function e(n){wy(this,e);var o;o=Oy(this,e,[n]),oe(o,"checkboxMode",void 0),oe(o,"options",void 0),oe(o,"optionsOrder",void 0),oe(o,"limitMax",void 0),oe(o,"limitMin",void 0),oe(o,"otherOption",void 0),oe(o,"optionConfig",void 0),oe(o,"optionsFormat",void 0),oe(o,"defaultShowOptions",void 0),oe(o,"datasourceBind",void 0),oe(o,"multistageFilling",void 0),oe(o,"interreaction",void 0),oe(o,"defaultValue",void 0),oe(o,"openMultistageFilling",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.limitMin=(l=n==null?void 0:n.limitMin)!==null&&l!==void 0?l:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:pi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var O;o.optionsFormat=(O=n==null?void 0:n.optionsFormat)!==null&&O!==void 0?O:"horizontal";var g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!0;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var $;($=o.multistageFilling)===null||$===void 0||$.push(new se(h))})),o}return e}(D);oe(_i,"Rules",s5),oe(_i,"RuntimeRules",p5);function d5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v5(t,e,n){return e=si(e),g5(t,yO()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function h5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _O(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function b5(t,e,n){return e&&_O(t.prototype,e),n&&_O(t,n),t}function yi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function m5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ey(t,e)}function g5(t,e){return e&&(O5(e)==="object"||typeof e=="function")?e:d5(t)}function Ey(t,e){return Ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ey(t,e)}function O5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yO=function(){return!!t})()}var pi=function(t){m5(e,t);function e(n){h5(this,e);var o;return o=v5(this,e,[n]),yi(o,"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return b5(e,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),e}(x);yi(pi,"controlEventKeys",["on_change","on_click"]),yi(pi,"controlFieldType",m.ARRAY),yi(pi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function w5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $5(t,e,n){return e=di(e),T5(t,dO()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function P5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E5(t,e,n){return e&&sO(t.prototype,e),n&&sO(t,n),t}function pO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function S5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sy(t,e)}function T5(t,e){return e&&(R5(e)==="object"||typeof e=="function")?e:w5(t)}function Sy(t,e){return Sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sy(t,e)}function R5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dO=function(){return!!t})()}var I5=function(t){S5(e,t);function e(n){P5(this,e);var o;return o=$5(this,e,[n]),pO(o,"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return E5(e,null,[{key:"controlType",get:function(){return"checkbox"}}]),e}(L);pO(I5,"controlFieldType",m.ARRAY);function B5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vO(t,e,n){return e=vi(e),A5(t,mO()?Reflect.construct(e,n||[],vi(t).constructor):e.apply(t,n))}function hO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function bO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ty(t,e)}function A5(t,e){return e&&(k5(e)==="object"||typeof e=="function")?e:B5(t)}function Ty(t,e){return Ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ty(t,e)}function k5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mO=function(){return!!t})()}var D5=function(t){bO(e,t);function e(n){return hO(this,e),vO(this,e,[n])}return e}(zt),Ry=function(t){bO(e,t);function e(n){hO(this,e);var o;o=vO(this,e,[n]),we(o,"radioMode",void 0),we(o,"options",void 0),we(o,"optionConfig",void 0),we(o,"optionsFormat",void 0),we(o,"defaultShowOptions",void 0),we(o,"otherOption",void 0),we(o,"optionsOrder",void 0),we(o,"datasourceBind",void 0),we(o,"multistageFilling",void 0),we(o,"interreaction",void 0),we(o,"defaultValue",void 0),we(o,"openMultistageFilling",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.defaultShowOptions=(l=n==null?void 0:n.defaultShowOptions)!==null&&l!==void 0?l:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:mi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!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 se(g))})),o}return e}(D);we(Ry,"Rules",D5);function x5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L5(t,e,n){return e=bi(e),N5(t,OO()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function F5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function j5(t,e,n){return e&&gO(t.prototype,e),n&&gO(t,n),t}function hi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function M5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iy(t,e)}function N5(t,e){return e&&(V5(e)==="object"||typeof e=="function")?e:x5(t)}function Iy(t,e){return Iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iy(t,e)}function V5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OO=function(){return!!t})()}var mi=function(t){M5(e,t);function e(n){F5(this,e);var o;return o=L5(this,e,[n]),hi(o,"props",void 0),o.props=new Ry(n==null?void 0:n.props),o}return j5(e,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),e}(x);hi(mi,"controlEventKeys",["on_change","on_click"]),hi(mi,"controlFieldType",m.VARCHAR),hi(mi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function z5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C5(t,e,n){return e=gi(e),W5(t,PO()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function H5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function q5(t,e,n){return e&&wO(t.prototype,e),n&&wO(t,n),t}function $O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function U5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&By(t,e)}function W5(t,e){return e&&(K5(e)==="object"||typeof e=="function")?e:z5(t)}function By(t,e){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(t,e)}function K5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PO=function(){return!!t})()}var G5=function(t){U5(e,t);function e(n){H5(this,e);var o;return o=C5(this,e,[n]),$O(o,"props",void 0),o.props=new Ry(n==null?void 0:n.props),o}return q5(e,null,[{key:"controlType",get:function(){return"radio"}}]),e}(L);$O(G5,"controlFieldType",m.VARCHAR);function X5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ay(t,e,n){return e=Oi(e),Q5(t,EO()?Reflect.construct(e,n||[],Oi(t).constructor):e.apply(t,n))}function ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oi(t){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oi(t)}function Dy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xy(t,e)}function Q5(t,e){return e&&(J5(e)==="object"||typeof e=="function")?e:X5(t)}function xy(t,e){return xy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xy(t,e)}function J5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EO=function(){return!!t})()}var Z5=function(t){Dy(e,t);function e(n){ky(this,e);var o;o=Ay(this,e,[n]),ce(o,"defaultValue",[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ce(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Kt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),Y5=function(t){Dy(e,t);function e(n){ky(this,e);var o;o=Ay(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:p.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Kt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),wi=function(t){Dy(e,t);function e(n){ky(this,e);var o;o=Ay(this,e,[n]),ce(o,"rangeMin",void 0),ce(o,"rangeMax",void 0),ce(o,"numberType",void 0),ce(o,"percentageFormat",void 0),ce(o,"micrometer",void 0),ce(o,"precision",void 0),ce(o,"showUpperCase",void 0),ce(o,"isShowUnit",void 0),ce(o,"unitPosition",void 0),ce(o,"unit",void 0),ce(o,"defaultValue",void 0),ce(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;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:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Ei.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new Io(n==null?void 0:n.regularRules),o}return e}(D);ce(wi,"Rules",Z5),ce(wi,"RuntimeRules",Y5);function e6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t6(t,e,n){return e=Xt(e),i6(t,TO()?Reflect.construct(e,n||[],Xt(t).constructor):e.apply(t,n))}function n6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o6(t,e,n){return e&&SO(t.prototype,e),n&&SO(t,n),t}function $i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Pi=Reflect.get:Pi=function(r,i,u){var c=u6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Pi(t,e,n||t)}function Xt(t){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xt(t)}function r6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ly(t,e)}function i6(t,e){return e&&(c6(e)==="object"||typeof e=="function")?e:e6(t)}function Ly(t,e){return Ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ly(t,e)}function u6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Xt(t),t!==null););return t}function c6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TO=function(){return!!t})()}var Ei=function(t){r6(e,t);function e(n){n6(this,e);var o;return o=t6(this,e,[n]),$i(o,"props",void 0),o.props=new wi(n==null?void 0:n.props),o}return o6(e,[{key:"toDataBindModel",value:function(o){var r=Pi(Xt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),e}(x);$i(Ei,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),$i(Ei,"controlFieldType",m.DECIMAL),$i(Ei,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_UNIT,f.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:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function l6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a6(t,e,n){return e=Si(e),s6(t,BO()?Reflect.construct(e,n||[],Si(t).constructor):e.apply(t,n))}function f6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _6(t,e,n){return e&&RO(t.prototype,e),n&&RO(t,n),t}function IO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Si(t){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(t)}function y6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fy(t,e)}function s6(t,e){return e&&(p6(e)==="object"||typeof e=="function")?e:l6(t)}function Fy(t,e){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(t,e)}function p6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BO=function(){return!!t})()}var d6=function(t){y6(e,t);function e(n){f6(this,e);var o;return o=a6(this,e,[n]),IO(o,"props",void 0),o.props=new wi(n==null?void 0:n.props),o}return _6(e,null,[{key:"controlType",get:function(){return"number"}}]),e}(L);IO(d6,"controlFieldType",m.DECIMAL);function v6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h6(t,e,n){return e=Ti(e),g6(t,AO()?Reflect.construct(e,n||[],Ti(t).constructor):e.apply(t,n))}function b6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ti(t){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(t)}function m6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jy(t,e)}function g6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:v6(t)}function jy(t,e){return jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jy(t,e)}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AO=function(){return!!t})()}var kO=function(t){m6(e,t);function e(n){b6(this,e);var o,r;o=h6(this,e,[n]),bt(o,"dateType",void 0),bt(o,"dateFormat",void 0),bt(o,"commonTimeSetting",void 0),bt(o,"setValueType",void 0),bt(o,"defaultValue",void 0),bt(o,"limitDateList",void 0),bt(o,"allowDateRange",void 0),bt(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:rt.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Vy.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var d;o.limitDateList=(d=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(g){return new o_(g)}))!==null&&d!==void 0?d:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var O;return o.filterWeekend=(O=n==null?void 0:n.filterWeekend)!==null&&O!==void 0?O:!1,o}return e}(D);function w6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $6(t,e,n){return e=Qt(e),T6(t,xO()?Reflect.construct(e,n||[],Qt(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E6(t,e,n){return e&&DO(t.prototype,e),n&&DO(t,n),t}function My(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ri(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ri=Reflect.get:Ri=function(r,i,u){var c=R6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ri(t,e,n||t)}function Qt(t){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qt(t)}function S6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ny(t,e)}function T6(t,e){return e&&(I6(e)==="object"||typeof e=="function")?e:w6(t)}function Ny(t,e){return Ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ny(t,e)}function R6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Qt(t),t!==null););return t}function I6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xO=function(){return!!t})()}var Vy=function(t){S6(e,t);function e(n){P6(this,e);var o;return o=$6(this,e,[n]),My(o,"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return E6(e,[{key:"toDataBindModel",value:function(o){var r=Ri(Qt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),e}(x);My(Vy,"controlFieldType",m.TIMESTAMP),My(Vy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function B6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A6(t,e,n){return e=Ii(e),L6(t,jO()?Reflect.construct(e,n||[],Ii(t).constructor):e.apply(t,n))}function k6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function D6(t,e,n){return e&&LO(t.prototype,e),n&&LO(t,n),t}function FO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ii(t){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(t)}function x6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zy(t,e)}function L6(t,e){return e&&(F6(e)==="object"||typeof e=="function")?e:B6(t)}function zy(t,e){return zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zy(t,e)}function F6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jO=function(){return!!t})()}var j6=function(t){x6(e,t);function e(n){k6(this,e);var o;return o=A6(this,e,[n]),FO(o,"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return D6(e,null,[{key:"controlType",get:function(){return"date-picker"}}]),e}(L);FO(j6,"controlFieldType",m.TIMESTAMP);function M6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MO(t,e,n){return e=Bi(e),N6(t,zO()?Reflect.construct(e,n||[],Bi(t).constructor):e.apply(t,n))}function NO(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bi(t){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(t)}function VO(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cy(t,e)}function N6(t,e){return e&&(V6(e)==="object"||typeof e=="function")?e:M6(t)}function Cy(t,e){return Cy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cy(t,e)}function V6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zO=function(){return!!t})()}var z6=function(t){VO(e,t);function e(n){NO(this,e);var o;return o=MO(this,e,[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 e}(z),Hy=function(t){VO(e,t);function e(n){NO(this,e);var o,r;o=MO(this,e,[n]),Se(o,"dataBind",void 0),Se(o,"rangeMin",void 0),Se(o,"rangeMax",void 0),Se(o,"placeholderStart",void 0),Se(o,"placeholderEnd",void 0),Se(o,"dateFormat",void 0),Se(o,"commonTimeSetting",void 0),Se(o,"dateType",void 0),Se(o,"setValueType",void 0),Se(o,"defaultValue",void 0),Se(o,"limitDateList",void 0),o.dataBind=new mk(n==null?void 0:n.dataBind),o.defaultValue=new gk(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:rt.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Wy.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(g){return new o_(g)}))!==null&&O!==void 0?O:[],o}return e}(D);Se(Hy,"RuntimeRules",z6);function C6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H6(t,e,n){return e=Jt(e),K6(t,HO()?Reflect.construct(e,n||[],Jt(t).constructor):e.apply(t,n))}function q6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function U6(t,e,n){return e&&CO(t.prototype,e),n&&CO(t,n),t}function qy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ai(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ai=Reflect.get:Ai=function(r,i,u){var c=G6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ai(t,e,n||t)}function Jt(t){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jt(t)}function W6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uy(t,e)}function K6(t,e){return e&&(X6(e)==="object"||typeof e=="function")?e:C6(t)}function Uy(t,e){return Uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uy(t,e)}function G6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Jt(t),t!==null););return t}function X6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HO=function(){return!!t})()}var Wy=function(t){W6(e,t);function e(n){q6(this,e);var o;return o=H6(this,e,[n]),qy(o,"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return U6(e,[{key:"toDataBindModel",value:function(o){var r=Ai(Jt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),e}(x);qy(Wy,"controlFieldType",m.TIMESCOPE),qy(Wy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Q6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J6(t,e,n){return e=ki(e),t4(t,WO()?Reflect.construct(e,n||[],ki(t).constructor):e.apply(t,n))}function Z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Y6(t,e,n){return e&&qO(t.prototype,e),n&&qO(t,n),t}function UO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ki(t){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ki(t)}function e4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ky(t,e)}function t4(t,e){return e&&(n4(e)==="object"||typeof e=="function")?e:Q6(t)}function Ky(t,e){return Ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ky(t,e)}function n4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WO=function(){return!!t})()}var o4=function(t){e4(e,t);function e(n){Z6(this,e);var o;return o=J6(this,e,[n]),UO(o,"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return Y6(e,null,[{key:"controlType",get:function(){return"date-range"}}]),e}(L);UO(o4,"controlFieldType",m.TIMESCOPE);function r4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gy(t,e,n){return e=Di(e),i4(t,KO()?Reflect.construct(e,n||[],Di(t).constructor):e.apply(t,n))}function Xy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Di(t){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(t)}function Qy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jy(t,e)}function i4(t,e){return e&&(u4(e)==="object"||typeof e=="function")?e:r4(t)}function Jy(t,e){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(t,e)}function u4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KO=function(){return!!t})()}var c4=function(t){Qy(e,t);function e(n){Xy(this,e);var o;return o=Gy(this,e,[n]),xe(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),xe(o,"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),xe(o,"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),l4=function(t){Qy(e,t);function e(n){Xy(this,e);var o;return o=Gy(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(z),xi=function(t){Qy(e,t);function e(n){Xy(this,e);var o;o=Gy(this,e,[n]),xe(o,"maxLength",void 0),xe(o,"minLength",void 0),xe(o,"defaultValue",void 0),xe(o,"lineEllipsis",void 0),xe(o,"autoSize",void 0),xe(o,"maxRows",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ji.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:4;var _;return o.autoSize=(_=n==null?void 0:n.autoSize)!==null&&_!==void 0?_:!1,o.maxRows=n==null?void 0:n.maxRows,o}return e}(D);xe(xi,"Rules",c4),xe(xi,"RuntimeRules",l4);function a4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f4(t,e,n){return e=Fi(e),p4(t,XO()?Reflect.construct(e,n||[],Fi(t).constructor):e.apply(t,n))}function _4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function GO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y4(t,e,n){return e&&GO(t.prototype,e),n&&GO(t,n),t}function Li(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fi(t){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fi(t)}function s4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zy(t,e)}function p4(t,e){return e&&(d4(e)==="object"||typeof e=="function")?e:a4(t)}function Zy(t,e){return Zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zy(t,e)}function d4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XO=function(){return!!t})()}var ji=function(t){s4(e,t);function e(n){_4(this,e);var o;return o=f4(this,e,[n]),Li(o,"props",void 0),o.props=new xi(n==null?void 0:n.props),o}return y4(e,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),e}(x);Li(ji,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Li(ji,"controlFieldType",m.TEXT),Li(ji,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function v4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h4(t,e,n){return e=Mi(e),O4(t,ZO()?Reflect.construct(e,n||[],Mi(t).constructor):e.apply(t,n))}function b4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QO(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function m4(t,e,n){return e&&QO(t.prototype,e),n&&QO(t,n),t}function JO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mi(t){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(t)}function g4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yy(t,e)}function O4(t,e){return e&&(w4(e)==="object"||typeof e=="function")?e:v4(t)}function Yy(t,e){return Yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yy(t,e)}function w4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZO=function(){return!!t})()}var $4=function(t){g4(e,t);function e(n){b4(this,e);var o;return o=h4(this,e,[n]),JO(o,"props",void 0),o.props=new xi(n==null?void 0:n.props),o}return m4(e,null,[{key:"controlType",get:function(){return"textarea"}}]),e}(L);JO($4,"controlFieldType",m.TEXT);function P4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function es(t,e,n){return e=Ni(e),E4(t,YO()?Reflect.construct(e,n||[],Ni(t).constructor):e.apply(t,n))}function ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ni(t){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ni(t)}function ns(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&os(t,e)}function E4(t,e){return e&&(S4(e)==="object"||typeof e=="function")?e:P4(t)}function os(t,e){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(t,e)}function S4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YO=function(){return!!t})()}var T4=function(t){ns(e,t);function e(n){ts(this,e);var o;return o=es(this,e,[n]),mt(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),mt(o,"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),mt(o,"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(J),R4=function(t){ns(e,t);function e(n){ts(this,e);var o;return o=es(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(z),Vi=function(t){ns(e,t);function e(n){ts(this,e);var o;o=es(this,e,[n]),mt(o,"maxLength",void 0),mt(o,"minLength",void 0),mt(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Hi.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return e}(D);mt(Vi,"Rules",T4),mt(Vi,"RuntimeRules",R4);function I4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B4(t,e,n){return e=Ci(e),x4(t,tw()?Reflect.construct(e,n||[],Ci(t).constructor):e.apply(t,n))}function A4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ew(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function k4(t,e,n){return e&&ew(t.prototype,e),n&&ew(t,n),t}function zi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function D4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rs(t,e)}function x4(t,e){return e&&(L4(e)==="object"||typeof e=="function")?e:I4(t)}function rs(t,e){return rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rs(t,e)}function L4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tw=function(){return!!t})()}var Hi=function(t){D4(e,t);function e(n){A4(this,e);var o;return o=B4(this,e,[n]),zi(o,"props",void 0),o.props=new Vi(n==null?void 0:n.props),o}return k4(e,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),e}(x);zi(Hi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),zi(Hi,"controlFieldType",m.TEXT),zi(Hi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.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 F4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j4(t,e,n){return e=qi(e),z4(t,rw()?Reflect.construct(e,n||[],qi(t).constructor):e.apply(t,n))}function M4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function N4(t,e,n){return e&&nw(t.prototype,e),n&&nw(t,n),t}function ow(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qi(t){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(t)}function V4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&is(t,e)}function z4(t,e){return e&&(C4(e)==="object"||typeof e=="function")?e:F4(t)}function is(t,e){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(t,e)}function C4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rw=function(){return!!t})()}var H4=function(t){V4(e,t);function e(n){M4(this,e);var o;return o=j4(this,e,[n]),ow(o,"props",void 0),o.props=new Vi(n==null?void 0:n.props),o}return N4(e,null,[{key:"controlType",get:function(){return"rich-text"}}]),e}(L);ow(H4,"controlFieldType",m.TEXT);function q4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iw(t,e,n){return e=Ui(e),U4(t,lw()?Reflect.construct(e,n||[],Ui(t).constructor):e.apply(t,n))}function uw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function cw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&us(t,e)}function U4(t,e){return e&&(W4(e)==="object"||typeof e=="function")?e:q4(t)}function us(t,e){return us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},us(t,e)}function W4(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lw=function(){return!!t})()}var K4=function(t){cw(e,t);function e(n){uw(this,e);var o;return o=iw(this,e,[n]),$e(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(zt),cs=function(t){cw(e,t);function e(n){uw(this,e);var o;o=iw(this,e,[n]),$e(o,"options",void 0),$e(o,"defaultShowOptions",void 0),$e(o,"optionConfig",void 0),$e(o,"defaultValue",void 0),$e(o,"datasourceBind",void 0),$e(o,"multistageFilling",void 0),$e(o,"allowCopyOptions",void 0),$e(o,"openMultistageFilling",void 0),$e(o,"viewFormModelType",void 0),$e(o,"canViewForm",void 0),$e(o,"formBind",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:fs.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 _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new se(O))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(D);$e(cs,"Rules",K4);function G4(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X4(t,e,n){return e=Wi(e),Y4(t,fw()?Reflect.construct(e,n||[],Wi(t).constructor):e.apply(t,n))}function Q4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function J4(t,e,n){return e&&aw(t.prototype,e),n&&aw(t,n),t}function ls(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wi(t){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(t)}function Z4(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&as(t,e)}function Y4(t,e){return e&&(e7(e)==="object"||typeof e=="function")?e:G4(t)}function as(t,e){return as=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},as(t,e)}function e7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fw=function(){return!!t})()}var fs=function(t){Z4(e,t);function e(n){Q4(this,e);var o;return o=X4(this,e,[n]),ls(o,"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return J4(e,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),e}(x);ls(fs,"controlFieldType",m.VARCHAR),ls(fs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.DEFAULT_SHOW_OPTIONS,f.IS_SHOW_CAPTION_TIP,f.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function t7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n7(t,e,n){return e=Ki(e),u7(t,sw()?Reflect.construct(e,n||[],Ki(t).constructor):e.apply(t,n))}function o7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _w(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function r7(t,e,n){return e&&_w(t.prototype,e),n&&_w(t,n),t}function yw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ki(t){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(t)}function i7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_s(t,e)}function u7(t,e){return e&&(c7(e)==="object"||typeof e=="function")?e:t7(t)}function _s(t,e){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(t,e)}function c7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sw=function(){return!!t})()}var l7=function(t){i7(e,t);function e(n){o7(this,e);var o;return o=n7(this,e,[n]),yw(o,"props",void 0),o.props=new cs(n==null?void 0:n.props),o}return r7(e,null,[{key:"controlType",get:function(){return"select"}}]),e}(L);yw(l7,"controlFieldType",m.VARCHAR);function a7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ys(t,e,n){return e=Gi(e),f7(t,pw()?Reflect.construct(e,n||[],Gi(t).constructor):e.apply(t,n))}function ss(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gi(t){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(t)}function ps(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ds(t,e)}function f7(t,e){return e&&(_7(e)==="object"||typeof e=="function")?e:a7(t)}function ds(t,e){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(t,e)}function _7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pw=function(){return!!t})()}var y7=function(t){ps(e,t);function e(n){ss(this,e);var o;return o=ys(this,e,[n]),Pe(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(zt),s7=function(t){ps(e,t);function e(n){ss(this,e);var o;return o=ys(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Xi=function(t){ps(e,t);function e(n){ss(this,e);var o;o=ys(this,e,[n]),Pe(o,"options",void 0),Pe(o,"defaultShowOptions",void 0),Pe(o,"optionConfig",void 0),Pe(o,"defaultValue",void 0),Pe(o,"datasourceBind",void 0),Pe(o,"multistageFilling",void 0),Pe(o,"openMultistageFilling",void 0),Pe(o,"viewFormModelType",void 0),Pe(o,"canViewForm",void 0),Pe(o,"formBind",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:bs.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 _;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(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(b))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(D);Pe(Xi,"Rules",y7),Pe(Xi,"RuntimeRules",s7);function p7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d7(t,e,n){return e=Qi(e),m7(t,vw()?Reflect.construct(e,n||[],Qi(t).constructor):e.apply(t,n))}function v7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h7(t,e,n){return e&&dw(t.prototype,e),n&&dw(t,n),t}function vs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qi(t){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(t)}function b7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hs(t,e)}function m7(t,e){return e&&(g7(e)==="object"||typeof e=="function")?e:p7(t)}function hs(t,e){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(t,e)}function g7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vw=function(){return!!t})()}var bs=function(t){b7(e,t);function e(n){v7(this,e);var o;return o=d7(this,e,[n]),vs(o,"props",void 0),o.props=new Xi(n==null?void 0:n.props),o}return h7(e,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),e}(x);vs(bs,"controlFieldType",m.ARRAY),vs(bs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.DEFAULT_SHOW_OPTIONS,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function O7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w7(t,e,n){return e=Ji(e),S7(t,mw()?Reflect.construct(e,n||[],Ji(t).constructor):e.apply(t,n))}function $7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function P7(t,e,n){return e&&hw(t.prototype,e),n&&hw(t,n),t}function bw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ji(t){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(t)}function E7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ms(t,e)}function S7(t,e){return e&&(T7(e)==="object"||typeof e=="function")?e:O7(t)}function ms(t,e){return ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ms(t,e)}function T7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mw=function(){return!!t})()}var R7=function(t){E7(e,t);function e(n){$7(this,e);var o;return o=w7(this,e,[n]),bw(o,"props",void 0),o.props=new Xi(n==null?void 0:n.props),o}return P7(e,null,[{key:"controlType",get:function(){return"select-multiple"}}]),e}(L);bw(R7,"controlFieldType",m.ARRAY);function I7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gw(t,e,n){return e=Zi(e),B7(t,$w()?Reflect.construct(e,n||[],Zi(t).constructor):e.apply(t,n))}function Ow(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zi(t){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(t)}function ww(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gs(t,e)}function B7(t,e){return e&&(A7(e)==="object"||typeof e=="function")?e:I7(t)}function gs(t,e){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(t,e)}function A7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($w=function(){return!!t})()}var k7=function(t){ww(e,t);function e(n){Ow(this,e);var o;return o=gw(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Os=function(t){ww(e,t);function e(n){Ow(this,e);var o;o=gw(this,e,[n]),tt(o,"showType",void 0),tt(o,"range",void 0),tt(o,"rangeOptions",void 0),tt(o,"multiple",void 0),tt(o,"defaultValueType",void 0),tt(o,"defaultValue",void 0),tt(o,"multistageFilling",void 0),tt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Ps.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";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(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(b))})),o}return e}(D);tt(Os,"RuntimeRules",k7);function D7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x7(t,e,n){return e=Yi(e),M7(t,Ew()?Reflect.construct(e,n||[],Yi(t).constructor):e.apply(t,n))}function L7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function F7(t,e,n){return e&&Pw(t.prototype,e),n&&Pw(t,n),t}function ws(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yi(t){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(t)}function j7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$s(t,e)}function M7(t,e){return e&&(N7(e)==="object"||typeof e=="function")?e:D7(t)}function $s(t,e){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(t,e)}function N7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ew(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ew=function(){return!!t})()}var Ps=function(t){j7(e,t);function e(n){L7(this,e);var o;return o=x7(this,e,[n]),ws(o,"props",void 0),o.props=new Os(n==null?void 0:n.props),o}return F7(e,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),e}(x);ws(Ps,"controlFieldType",m.EMPLOYEES),ws(Ps,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.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 V7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z7(t,e,n){return e=eu(e),U7(t,Rw()?Reflect.construct(e,n||[],eu(t).constructor):e.apply(t,n))}function C7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function H7(t,e,n){return e&&Sw(t.prototype,e),n&&Sw(t,n),t}function Tw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function eu(t){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eu(t)}function q7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Es(t,e)}function U7(t,e){return e&&(W7(e)==="object"||typeof e=="function")?e:V7(t)}function Es(t,e){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(t,e)}function W7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rw=function(){return!!t})()}var K7=function(t){q7(e,t);function e(n){C7(this,e);var o;return o=z7(this,e,[n]),Tw(o,"props",void 0),o.props=new Os(n==null?void 0:n.props),o}return H7(e,null,[{key:"controlType",get:function(){return"employee"}}]),e}(L);Tw(K7,"controlFieldType",m.EMPLOYEES);function G7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ss(t,e,n){return e=tu(e),X7(t,Iw()?Reflect.construct(e,n||[],tu(t).constructor):e.apply(t,n))}function Ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tu(t){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(t)}function Rs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Is(t,e)}function X7(t,e){return e&&(Q7(e)==="object"||typeof e=="function")?e:G7(t)}function Is(t,e){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(t,e)}function Q7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Iw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Iw=function(){return!!t})()}var J7=10485760,Z7=104857600,Y7=1048576e3,eV=function(t){Rs(e,t);function e(n){Ts(this,e);var o;return o=Ss(this,e,[n]),he(o,"maxSize",{type:"number",min:0,max:Y7,message:p.getMessage("attachmentMaxSize")}),o}return e}(J),tV=function(t){Rs(e,t);function e(n){Ts(this,e);var o;return o=Ss(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:p.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return e}(z),nu=function(t){Rs(e,t);function e(n){Ts(this,e);var o;o=Ss(this,e,[n]),he(o,"defaultValue",void 0),he(o,"showType",void 0),he(o,"resultShowType",void 0),he(o,"attachmentAccept",void 0),he(o,"maxLimit",void 0),he(o,"minLimit",void 0),he(o,"isShowWatermark",void 0),he(o,"watermarkFx",void 0),he(o,"maxSize",void 0),he(o,"forbidDownload",void 0),he(o,"accessControl",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:Z7;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:ao.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u4E0A\u4F20\u9644\u4EF6";var b;o.isShowWatermark=(b=n==null?void 0:n.isShowWatermark)!==null&&b!==void 0?b:!1;var O;o.watermarkFx=(O=n==null?void 0:n.watermarkFx)!==null&&O!==void 0?O:{};var g;o.forbidDownload=(g=n==null?void 0:n.forbidDownload)!==null&&g!==void 0?g:!1;var w;return o.accessControl=(w=n==null?void 0:n.accessControl)!==null&&w!==void 0?w:!1,o}return e}(D);he(nu,"Rules",eV),he(nu,"RuntimeRules",tV);function nV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oV(t,e,n){return e=ru(e),cV(t,Aw()?Reflect.construct(e,n||[],ru(t).constructor):e.apply(t,n))}function rV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iV(t,e,n){return e&&Bw(t.prototype,e),n&&Bw(t,n),t}function ou(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ru(t){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(t)}function uV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bs(t,e)}function cV(t,e){return e&&(lV(e)==="object"||typeof e=="function")?e:nV(t)}function Bs(t,e){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(t,e)}function lV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Aw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Aw=function(){return!!t})()}var ao=function(t){uV(e,t);function e(n){rV(this,e);var o;return o=oV(this,e,[n]),ou(o,"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return iV(e,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),e}(x);ou(ao,"controlEventKeys",["on_change"]),ou(ao,"controlFieldType",m.FILE),ou(ao,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.FORBID_DOWNLOAD,f.ACCESS_CONTROL]},{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 aV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fV(t,e,n){return e=iu(e),pV(t,xw()?Reflect.construct(e,n||[],iu(t).constructor):e.apply(t,n))}function _V(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yV(t,e,n){return e&&kw(t.prototype,e),n&&kw(t,n),t}function Dw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function iu(t){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(t)}function sV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&As(t,e)}function pV(t,e){return e&&(dV(e)==="object"||typeof e=="function")?e:aV(t)}function As(t,e){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(t,e)}function dV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xw=function(){return!!t})()}var vV=function(t){sV(e,t);function e(n){_V(this,e);var o;return o=fV(this,e,[n]),Dw(o,"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return yV(e,null,[{key:"controlType",get:function(){return"attachment"}}]),e}(L);Dw(vV,"controlFieldType",m.FILE);function hV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bV(t,e,n){return e=uu(e),wV(t,jw()?Reflect.construct(e,n||[],uu(t).constructor):e.apply(t,n))}function mV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gV(t,e,n){return e&&Lw(t.prototype,e),n&&Lw(t,n),t}function Fw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function OV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ks(t,e)}function wV(t,e){return e&&($V(e)==="object"||typeof e=="function")?e:hV(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ks(t,e)}function $V(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jw=function(){return!!t})()}var Mw=function(t){OV(e,t);function e(n){mV(this,e);var o,r,i;o=bV(this,e,[n]),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:e.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:"\u4E0A\u4F20\u56FE\u7247",o}return gV(e,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),e}(ao);Fw(Mw,"controlFieldType",m.IMAGE),Fw(Mw,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC,f.FORBID_DOWNLOAD,f.ONLY_ALLOW_TAKE_PHOTO,f.ACCESS_CONTROL],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function PV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ds(t,e,n){return e=cu(e),RV(t,Nw()?Reflect.construct(e,n||[],cu(t).constructor):e.apply(t,n))}function xs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cu(t){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(t)}function Ls(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fs(t,e)}function EV(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){le(t,r,n[r])})}return t}function SV(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function TV(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):SV(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function RV(t,e){return e&&(IV(e)==="object"||typeof e=="function")?e:PV(t)}function Fs(t,e){return Fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fs(t,e)}function IV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nw=function(){return!!t})()}var BV=function(t){Ls(e,t);function e(n){xs(this,e);var o;o=Ds(this,e,[n]),le(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}}),le(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:p.getMessage("numberRangeSetError")}),o}return e}(zt),AV=function(t){Ls(e,t);function e(n){xs(this,e);var o;o=Ds(this,e,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[TV(EV({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:p.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return e}(z),lu=function(t){Ls(e,t);function e(n){xs(this,e);var o;o=Ds(this,e,[n]),le(o,"rangeMin",void 0),le(o,"rangeMax",void 0),le(o,"showUpperCase",void 0),le(o,"submitSelectCurrency",void 0),le(o,"micrometer",void 0),le(o,"precision",void 0),le(o,"optionConfig",void 0),le(o,"dataBind",void 0),le(o,"datasourceBind",void 0),le(o,"defaultValue",void 0),le(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new hk(n==null?void 0:n.dataBind);var l;o.datasourceBind=new G((l=n==null?void 0:n.datasourceBind)!==null&&l!==void 0?l:{displayBoList:[new of({value:"name"})]});var _;o.defaultValue=new bk((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:lf.CNY}),o.options=Qe(n==null?void 0:n.options);var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:_u.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var O;return o.showUpperCase=(O=n==null?void 0:n.showUpperCase)!==null&&O!==void 0?O:!1,o}return e}(D);le(lu,"Rules",BV),le(lu,"RuntimeRules",AV);function kV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DV(t,e,n){return e=Zt(e),jV(t,zw()?Reflect.construct(e,n||[],Zt(t).constructor):e.apply(t,n))}function xV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function LV(t,e,n){return e&&Vw(t.prototype,e),n&&Vw(t,n),t}function au(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?fu=Reflect.get:fu=function(r,i,u){var c=MV(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},fu(t,e,n||t)}function Zt(t){return Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zt(t)}function FV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&js(t,e)}function jV(t,e){return e&&(NV(e)==="object"||typeof e=="function")?e:kV(t)}function js(t,e){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(t,e)}function MV(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Zt(t),t!==null););return t}function NV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zw=function(){return!!t})()}var _u=function(t){FV(e,t);function e(n){xV(this,e);var o;return o=DV(this,e,[n]),au(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return LV(e,[{key:"toDataBindModel",value:function(o){var r=fu(Zt(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),e}(x);au(_u,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),au(_u,"controlFieldType",m.MONEY),au(_u,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.SUBMIT_SELECT_CURRENCY,f.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function VV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zV(t,e,n){return e=yu(e),UV(t,qw()?Reflect.construct(e,n||[],yu(t).constructor):e.apply(t,n))}function CV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function HV(t,e,n){return e&&Cw(t.prototype,e),n&&Cw(t,n),t}function Hw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yu(t){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(t)}function qV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ms(t,e)}function UV(t,e){return e&&(WV(e)==="object"||typeof e=="function")?e:VV(t)}function Ms(t,e){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(t,e)}function WV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qw=function(){return!!t})()}var KV=function(t){qV(e,t);function e(n){CV(this,e);var o;return o=zV(this,e,[n]),Hw(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return HV(e,null,[{key:"controlType",get:function(){return"amount"}}]),e}(L);Hw(KV,"controlFieldType",m.MONEY);function GV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ns(t,e,n){return e=su(e),XV(t,Uw()?Reflect.construct(e,n||[],su(t).constructor):e.apply(t,n))}function Vs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function su(t){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(t)}function zs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cs(t,e)}function XV(t,e){return e&&(QV(e)==="object"||typeof e=="function")?e:GV(t)}function Cs(t,e){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(t,e)}function QV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Uw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uw=function(){return!!t})()}var JV=function(t){zs(e,t);function e(n){Vs(this,e);var o;return o=Ns(this,e,[n]),nt(o,"totalScore",[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}]),nt(o,"defaultValue",{type:"number",min:0,max:5,message:p.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return e}(J),ZV=function(t){zs(e,t);function e(n){Vs(this,e);var o;o=Ns(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return e}(z),pu=function(t){zs(e,t);function e(n){Vs(this,e);var o,r;o=Ns(this,e,[n]),nt(o,"totalScore",void 0),nt(o,"scoreType",void 0),nt(o,"isShowExplain",void 0),nt(o,"explain",void 0),nt(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:r_.STAR;var c;o.isShowExplain=(c=n==null?void 0:n.isShowExplain)!==null&&c!==void 0?c:!0;var a;o.explain=(a=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(y){return new i_(y)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new i_});var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:hu.controlName,o}return e}(D);nt(pu,"Rules",JV),nt(pu,"RuntimeRules",ZV);function Hs(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function YV(t){if(Array.isArray(t))return Hs(t)}function e9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t9(t,e,n){return e=Yt(e),c9(t,Kw()?Reflect.construct(e,n||[],Yt(t).constructor):e.apply(t,n))}function n9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ww(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o9(t,e,n){return e&&Ww(t.prototype,e),n&&Ww(t,n),t}function du(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vu=Reflect.get:vu=function(r,i,u){var c=l9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},vu(t,e,n||t)}function Yt(t){return Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yt(t)}function r9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qs(t,e)}function i9(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function u9(){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 c9(t,e){return e&&(f9(e)==="object"||typeof e=="function")?e:e9(t)}function qs(t,e){return qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qs(t,e)}function l9(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Yt(t),t!==null););return t}function a9(t){return YV(t)||i9(t)||_9(t)||u9()}function f9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _9(t,e){if(!!t){if(typeof t=="string")return Hs(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hs(t,e)}}function Kw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kw=function(){return!!t})()}var hu=function(t){r9(e,t);function e(n){n9(this,e);var o;return o=t9(this,e,[n]),du(o,"props",void 0),o.props=new pu(n==null?void 0:n.props),o}return o9(e,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,c=Array(u).fill(void 0).map(function(){return new i_});(i=this.props.explain).push.apply(i,a9(c))}}vu(Yt(e.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),e}(x);du(hu,"controlEventKeys",["on_change","on_click"]),du(hu,"controlFieldType",m.DECIMAL),du(hu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.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 y9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s9(t,e,n){return e=bu(e),h9(t,Qw()?Reflect.construct(e,n||[],bu(t).constructor):e.apply(t,n))}function p9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d9(t,e,n){return e&&Gw(t.prototype,e),n&&Gw(t,n),t}function Xw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bu(t){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(t)}function v9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Us(t,e)}function h9(t,e){return e&&(b9(e)==="object"||typeof e=="function")?e:y9(t)}function Us(t,e){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(t,e)}function b9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qw=function(){return!!t})()}var m9=function(t){v9(e,t);function e(n){p9(this,e);var o;return o=s9(this,e,[n]),Xw(o,"props",void 0),o.props=new pu(n==null?void 0:n.props),o}return d9(e,null,[{key:"controlType",get:function(){return"score"}}]),e}(L);Xw(m9,"controlFieldType",m.DECIMAL);function g9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jw(t,e,n){return e=gu(e),O9(t,e$()?Reflect.construct(e,n||[],gu(t).constructor):e.apply(t,n))}function Zw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gu(t){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(t)}function Yw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ws(t,e)}function O9(t,e){return e&&(w9(e)==="object"||typeof e=="function")?e:g9(t)}function Ws(t,e){return Ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ws(t,e)}function w9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function e$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e$=function(){return!!t})()}var $9=function(t){Yw(e,t);function e(n){Zw(this,e);var o;if(o=Jw(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return e}(z),Ks=function(t){Yw(e,t);function e(n){Zw(this,e);var o;o=Jw(this,e,[n]),mu(o,"defaultValueType",void 0),mu(o,"defaultValue",void 0),mu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Qs.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var u;o.addressType=(u=n==null?void 0:n.addressType)!==null&&u!==void 0?u:["province","city","district"];var c;o.defaultValue=new Ok((c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return e}(D);mu(Ks,"RuntimeRules",$9);function P9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E9(t,e,n){return e=Ou(e),I9(t,n$()?Reflect.construct(e,n||[],Ou(t).constructor):e.apply(t,n))}function S9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function t$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function T9(t,e,n){return e&&t$(t.prototype,e),n&&t$(t,n),t}function Gs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ou(t){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(t)}function R9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xs(t,e)}function I9(t,e){return e&&(B9(e)==="object"||typeof e=="function")?e:P9(t)}function Xs(t,e){return Xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xs(t,e)}function B9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function n$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(n$=function(){return!!t})()}var Qs=function(t){R9(e,t);function e(n){S9(this,e);var o;return o=E9(this,e,[n]),Gs(o,"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return T9(e,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),e}(x);Gs(Qs,"controlFieldType",m.ADDRESS),Gs(Qs,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function A9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k9(t,e,n){return e=wu(e),F9(t,i$()?Reflect.construct(e,n||[],wu(t).constructor):e.apply(t,n))}function D9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function x9(t,e,n){return e&&o$(t.prototype,e),n&&o$(t,n),t}function r$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function L9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Js(t,e)}function F9(t,e){return e&&(j9(e)==="object"||typeof e=="function")?e:A9(t)}function Js(t,e){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(t,e)}function j9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function i$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i$=function(){return!!t})()}var M9=function(t){L9(e,t);function e(n){D9(this,e);var o;return o=k9(this,e,[n]),r$(o,"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return x9(e,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),e}(L);r$(M9,"controlFieldType",m.ADDRESS);function N9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u$(t,e,n){return e=$u(e),V9(t,a$()?Reflect.construct(e,n||[],$u(t).constructor):e.apply(t,n))}function c$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $u(t){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$u(t)}function l$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zs(t,e)}function V9(t,e){return e&&(z9(e)==="object"||typeof e=="function")?e:N9(t)}function Zs(t,e){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(t,e)}function z9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function a$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a$=function(){return!!t})()}var C9=function(t){l$(e,t);function e(n){c$(this,e);var o;return o=u$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Ys=function(t){l$(e,t);function e(n){c$(this,e);var o;o=u$(this,e,[n]),Le(o,"showType",void 0),Le(o,"range",void 0),Le(o,"defaultValueType",void 0),Le(o,"multiple",void 0),Le(o,"rangeOptions",void 0),Le(o,"defaultValue",void 0),Le(o,"displayLevel",void 0),Le(o,"showSubDept",void 0),Le(o,"multistageFilling",void 0),Le(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Su.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!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 se(g))})),o}return e}(D);Le(Ys,"RuntimeRules",C9);function H9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q9(t,e,n){return e=en(e),G9(t,_$()?Reflect.construct(e,n||[],en(t).constructor):e.apply(t,n))}function U9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function W9(t,e,n){return e&&f$(t.prototype,e),n&&f$(t,n),t}function Pu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Eu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Eu=Reflect.get:Eu=function(r,i,u){var c=X9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Eu(t,e,n||t)}function en(t){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},en(t)}function K9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ep(t,e)}function G9(t,e){return e&&(Q9(e)==="object"||typeof e=="function")?e:H9(t)}function ep(t,e){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(t,e)}function X9(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=en(t),t!==null););return t}function Q9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_$=function(){return!!t})()}var Su=function(t){K9(e,t);function e(n){U9(this,e);var o;return o=q9(this,e,[n]),Pu(o,"props",void 0),o.props=new Ys(n==null?void 0:n.props),o}return W9(e,[{key:"toDataBindModel",value:function(o){var r=Eu(en(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),e}(x);Pu(Su,"controlName","\u90E8\u95E8"),Pu(Su,"controlFieldType",m.DEPARTMENTS),Pu(Su,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.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 J9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z9(t,e,n){return e=Tu(e),n8(t,p$()?Reflect.construct(e,n||[],Tu(t).constructor):e.apply(t,n))}function Y9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function e8(t,e,n){return e&&y$(t.prototype,e),n&&y$(t,n),t}function s$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tu(t){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(t)}function t8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tp(t,e)}function n8(t,e){return e&&(o8(e)==="object"||typeof e=="function")?e:J9(t)}function tp(t,e){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(t,e)}function o8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function p$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p$=function(){return!!t})()}var r8=function(t){t8(e,t);function e(n){Y9(this,e);var o;return o=Z9(this,e,[n]),s$(o,"props",void 0),o.props=new Ys(n==null?void 0:n.props),o}return e8(e,null,[{key:"controlType",get:function(){return"department"}}]),e}(L);s$(r8,"controlFieldType",m.DEPARTMENTS);function i8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u8(t,e,n){return e=Ru(e),f8(t,d$()?Reflect.construct(e,n||[],Ru(t).constructor):e.apply(t,n))}function c8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l8(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ru(t){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(t)}function a8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&np(t,e)}function f8(t,e){return e&&(_8(e)==="object"||typeof e=="function")?e:i8(t)}function np(t,e){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(t,e)}function _8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function d$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d$=function(){return!!t})()}var v$=function(t){a8(e,t);function e(n){c8(this,e);var o;o=u8(this,e,[n]),l8(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Au.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return e}(D);function y8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s8(t,e,n){return e=Bu(e),h8(t,b$()?Reflect.construct(e,n||[],Bu(t).constructor):e.apply(t,n))}function p8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d8(t,e,n){return e&&h$(t.prototype,e),n&&h$(t,n),t}function Iu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bu(t){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bu(t)}function v8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&op(t,e)}function h8(t,e){return e&&(b8(e)==="object"||typeof e=="function")?e:y8(t)}function op(t,e){return op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},op(t,e)}function b8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b$=function(){return!!t})()}var Au=function(t){v8(e,t);function e(n){p8(this,e);var o;return o=s8(this,e,[n]),Iu(o,"props",void 0),o.props=new v$(n==null?void 0:n.props),o}return d8(e,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),e}(x);Iu(Au,"controlEventKeys",["on_change"]),Iu(Au,"controlFieldType",m.AUTO_NUMBER),Iu(Au,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function m8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g8(t,e,n){return e=ku(e),P8(t,O$()?Reflect.construct(e,n||[],ku(t).constructor):e.apply(t,n))}function O8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w8(t,e,n){return e&&m$(t.prototype,e),n&&m$(t,n),t}function g$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ku(t){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(t)}function $8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rp(t,e)}function P8(t,e){return e&&(E8(e)==="object"||typeof e=="function")?e:m8(t)}function rp(t,e){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(t,e)}function E8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function O$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O$=function(){return!!t})()}var S8=function(t){$8(e,t);function e(n){O8(this,e);var o;return o=g8(this,e,[n]),g$(o,"props",void 0),o.props=new v$(n==null?void 0:n.props),o}return w8(e,null,[{key:"controlType",get:function(){return"auto-number"}}]),e}(L);g$(S8,"controlFieldType",m.AUTO_NUMBER);function T8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ip(t,e,n){return e=Du(e),R8(t,w$()?Reflect.construct(e,n||[],Du(t).constructor):e.apply(t,n))}function up(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Du(t){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Du(t)}function cp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lp(t,e)}function R8(t,e){return e&&(I8(e)==="object"||typeof e=="function")?e:T8(t)}function lp(t,e){return lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lp(t,e)}function I8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w$=function(){return!!t})()}var B8=function(t){cp(e,t);function e(n){up(this,e);var o;return o=ip(this,e,[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 e}(J),A8=function(t){cp(e,t);function e(n){up(this,e);var o;return o=ip(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return e}(z),xu=function(t){cp(e,t);function e(n){up(this,e);var o;o=ip(this,e,[n]),Ce(o,"precision",void 0),Ce(o,"micrometer",void 0),Ce(o,"showUpperCase",void 0),Ce(o,"scriptSrc",void 0),Ce(o,"scriptEcho",void 0),Ce(o,"dataBind",void 0),Ce(o,"defaultValue",void 0),Ce(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new wk(n==null?void 0:n.dataBind),o.defaultValue=new $k(n==null?void 0:n.defaultValue);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ju.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.scriptEcho=(l=n==null?void 0:n.scriptEcho)!==null&&l!==void 0?l:[];var _;o.scriptSrc=(_=n==null?void 0:n.scriptSrc)!==null&&_!==void 0?_:"";var y;return o.calcOnMounted=(y=n==null?void 0:n.calcOnMounted)!==null&&y!==void 0?y:!1,o}return e}(D);Ce(xu,"Rules",B8),Ce(xu,"RuntimeRules",A8);function k8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D8(t,e,n){return e=tn(e),j8(t,P$()?Reflect.construct(e,n||[],tn(t).constructor):e.apply(t,n))}function x8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function L8(t,e,n){return e&&$$(t.prototype,e),n&&$$(t,n),t}function Lu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Fu=Reflect.get:Fu=function(r,i,u){var c=M8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Fu(t,e,n||t)}function tn(t){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(t)}function F8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ap(t,e)}function j8(t,e){return e&&(N8(e)==="object"||typeof e=="function")?e:k8(t)}function ap(t,e){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(t,e)}function M8(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=tn(t),t!==null););return t}function N8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function P$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P$=function(){return!!t})()}var ju=function(t){F8(e,t);function e(n){x8(this,e);var o;return o=D8(this,e,[n]),Lu(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return L8(e,[{key:"toDataBindModel",value:function(o){var r=Fu(tn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),e}(x);Lu(ju,"controlEventKeys",["on_change"]),Lu(ju,"controlFieldType",m.CALC),Lu(ju,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function V8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z8(t,e,n){return e=Mu(e),U8(t,T$()?Reflect.construct(e,n||[],Mu(t).constructor):e.apply(t,n))}function C8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function H8(t,e,n){return e&&E$(t.prototype,e),n&&E$(t,n),t}function S$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mu(t){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(t)}function q8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fp(t,e)}function U8(t,e){return e&&(W8(e)==="object"||typeof e=="function")?e:V8(t)}function fp(t,e){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(t,e)}function W8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function T$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(T$=function(){return!!t})()}var K8=function(t){q8(e,t);function e(n){C8(this,e);var o;return o=z8(this,e,[n]),S$(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return H8(e,null,[{key:"controlType",get:function(){return"calc"}}]),e}(L);S$(K8,"controlFieldType",m.CALC);function G8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R$(t,e,n){return e=Nu(e),X8(t,A$()?Reflect.construct(e,n||[],Nu(t).constructor):e.apply(t,n))}function I$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(t)}function B$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_p(t,e)}function X8(t,e){return e&&(Q8(e)==="object"||typeof e=="function")?e:G8(t)}function _p(t,e){return _p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_p(t,e)}function Q8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function A$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A$=function(){return!!t})()}var J8=function(t){B$(e,t);function e(n){I$(this,e);var o;return o=R$(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var c=u.every(function(a){return!a});return c?Promise.reject(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return e}(z),yp=function(t){B$(e,t);function e(n){I$(this,e);var o;o=R$(this,e,[n]),nn(o,"rangeMin",void 0),nn(o,"rangeMax",void 0),nn(o,"placeholderStart",void 0),nn(o,"placeholderEnd",void 0),nn(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];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.placeholderStart=(c=n==null?void 0:n.placeholderStart)!==null&&c!==void 0?c:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:dp.controlName,o}return e}(D);nn(yp,"RuntimeRules",J8);function Z8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y8(t,e,n){return e=Vu(e),oz(t,D$()?Reflect.construct(e,n||[],Vu(t).constructor):e.apply(t,n))}function ez(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tz(t,e,n){return e&&k$(t.prototype,e),n&&k$(t,n),t}function sp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vu(t){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(t)}function nz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pp(t,e)}function oz(t,e){return e&&(rz(e)==="object"||typeof e=="function")?e:Z8(t)}function pp(t,e){return pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pp(t,e)}function rz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function D$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D$=function(){return!!t})()}var dp=function(t){nz(e,t);function e(n){ez(this,e);var o;return o=Y8(this,e,[n]),sp(o,"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return tz(e,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),e}(x);sp(dp,"controlFieldType",m.DECIMAL_RANGE),sp(dp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function iz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uz(t,e,n){return e=zu(e),fz(t,F$()?Reflect.construct(e,n||[],zu(t).constructor):e.apply(t,n))}function cz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lz(t,e,n){return e&&x$(t.prototype,e),n&&x$(t,n),t}function L$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function az(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vp(t,e)}function fz(t,e){return e&&(_z(e)==="object"||typeof e=="function")?e:iz(t)}function vp(t,e){return vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vp(t,e)}function _z(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function F$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(F$=function(){return!!t})()}var yz=function(t){az(e,t);function e(n){cz(this,e);var o;return o=uz(this,e,[n]),L$(o,"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return lz(e,null,[{key:"controlType",get:function(){return"search-number-range"}}]),e}(L);L$(yz,"controlFieldType",m.DECIMAL_RANGE);function sz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j$(t,e,n){return e=Cu(e),pz(t,V$()?Reflect.construct(e,n||[],Cu(t).constructor):e.apply(t,n))}function M$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(t)}function N$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hp(t,e)}function pz(t,e){return e&&(dz(e)==="object"||typeof e=="function")?e:sz(t)}function hp(t,e){return hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hp(t,e)}function dz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V$=function(){return!!t})()}var vz=function(t){N$(e,t);function e(n){M$(this,e);var o;return o=j$(this,e,[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 e}(z),bp=function(t){N$(e,t);function e(n){M$(this,e);var o,r;o=j$(this,e,[n]),Fe(o,"rangeMin",void 0),Fe(o,"rangeMax",void 0),Fe(o,"placeholderStart",void 0),Fe(o,"placeholderEnd",void 0),Fe(o,"dateType",void 0),Fe(o,"dateFormat",void 0),Fe(o,"commonTimeSetting",void 0),Fe(o,"setValueType",void 0),Fe(o,"defaultValue",void 0),Fe(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:rt.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 _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:"\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:Op.controlName;var g;return o.limitDateList=(g=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new o_(w)}))!==null&&g!==void 0?g:[],o}return e}(D);Fe(bp,"RuntimeRules",vz);function hz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bz(t,e,n){return e=Hu(e),wz(t,C$()?Reflect.construct(e,n||[],Hu(t).constructor):e.apply(t,n))}function mz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function z$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gz(t,e,n){return e&&z$(t.prototype,e),n&&z$(t,n),t}function mp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function Oz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gp(t,e)}function wz(t,e){return e&&($z(e)==="object"||typeof e=="function")?e:hz(t)}function gp(t,e){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(t,e)}function $z(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function C$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C$=function(){return!!t})()}var Op=function(t){Oz(e,t);function e(n){mz(this,e);var o;return o=bz(this,e,[n]),mp(o,"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return gz(e,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),e}(x);mp(Op,"controlFieldType",m.ARRAY),mp(Op,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Pz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ez(t,e,n){return e=qu(e),Iz(t,U$()?Reflect.construct(e,n||[],qu(t).constructor):e.apply(t,n))}function Sz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Tz(t,e,n){return e&&H$(t.prototype,e),n&&H$(t,n),t}function q$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qu(t){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(t)}function Rz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wp(t,e)}function Iz(t,e){return e&&(Bz(e)==="object"||typeof e=="function")?e:Pz(t)}function wp(t,e){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(t,e)}function Bz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function U$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(U$=function(){return!!t})()}var Az=function(t){Rz(e,t);function e(n){Sz(this,e);var o;return o=Ez(this,e,[n]),q$(o,"props",void 0),o.props=new bp(n==null?void 0:n.props),o}return Tz(e,null,[{key:"controlType",get:function(){return"search-date-range"}}]),e}(L);q$(Az,"controlFieldType",m.ARRAY);function kz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $p(t,e,n){return e=Uu(e),Dz(t,W$()?Reflect.construct(e,n||[],Uu(t).constructor):e.apply(t,n))}function Pp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function on(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uu(t){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(t)}function Ep(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sp(t,e)}function Dz(t,e){return e&&(xz(e)==="object"||typeof e=="function")?e:kz(t)}function Sp(t,e){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(t,e)}function xz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function W$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(W$=function(){return!!t})()}var Lz=function(t){Ep(e,t);function e(n){Pp(this,e);var o;return o=$p(this,e,[n]),o.dataBind={type:"any"},o}return e}(J),Fz=function(t){Ep(e,t);function e(n){Pp(this,e);var o;return o=$p(this,e,[n]),o[0]!==void 0&&(o[0].type="any"),o}return e}(z),Wu=function(t){Ep(e,t);function e(n){Pp(this,e);var o;o=$p(this,e,[n]),on(o,"controlExportName",void 0),on(o,"permissions",void 0),on(o,"defaultValue",void 0),on(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Xu.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var c;o.permissions=(c=n==null?void 0:n.permissions)!==null&&c!==void 0?c:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return e}(D);on(Wu,"Rules",Lz),on(Wu,"RuntimeRules",Fz);function jz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mz(t,e,n){return e=Gu(e),Cz(t,G$()?Reflect.construct(e,n||[],Gu(t).constructor):e.apply(t,n))}function Nz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vz(t,e,n){return e&&K$(t.prototype,e),n&&K$(t,n),t}function Ku(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gu(t){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(t)}function zz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tp(t,e)}function Cz(t,e){return e&&(Hz(e)==="object"||typeof e=="function")?e:jz(t)}function Tp(t,e){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(t,e)}function Hz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function G$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(G$=function(){return!!t})()}var Xu=function(t){zz(e,t);function e(n){Nz(this,e);var o;return o=Mz(this,e,[n]),Ku(o,"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return Vz(e,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),e}(x);Ku(Xu,"controlFieldType",m.ANY),Ku(Xu,"controlEventKeys",[]),Ku(Xu,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_HIDE_CAPTION,f.REQUIRED,f.IS_SHOW_CAPTION_TIP,f.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function qz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uz(t,e,n){return e=Qu(e),Xz(t,J$()?Reflect.construct(e,n||[],Qu(t).constructor):e.apply(t,n))}function Wz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Kz(t,e,n){return e&&X$(t.prototype,e),n&&X$(t,n),t}function Q$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function Gz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rp(t,e)}function Xz(t,e){return e&&(Qz(e)==="object"||typeof e=="function")?e:qz(t)}function Rp(t,e){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(t,e)}function Qz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function J$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(J$=function(){return!!t})()}var Jz=function(t){Gz(e,t);function e(n){Wz(this,e);var o;return o=Uz(this,e,[n]),Q$(o,"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return Kz(e,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),e}(L);Q$(Jz,"controlFieldType",m.ANY);function Zz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z$(t,e,n){return e=Ju(e),Yz(t,tP()?Reflect.construct(e,n||[],Ju(t).constructor):e.apply(t,n))}function Y$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ju(t){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(t)}function eP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ip(t,e)}function Yz(t,e){return e&&(eC(e)==="object"||typeof e=="function")?e:Zz(t)}function Ip(t,e){return Ip=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ip(t,e)}function eC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tP=function(){return!!t})()}var tC=function(t){eP(e,t);function e(n){Y$(this,e);var o;return o=Z$(this,e,[n]),ye(o,"listPageBind",[{type:"object",message:p.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}]}}]),ye(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(zt),Bp=function(t){eP(e,t);function e(n){Y$(this,e);var o;o=Z$(this,e,[n]),ye(o,"options",void 0),ye(o,"optionConfig",void 0),ye(o,"defaultValue",void 0),ye(o,"listPageBind",void 0),ye(o,"datasourceBind",void 0),ye(o,"multistageFilling",void 0),ye(o,"viewFormModelType",void 0),ye(o,"canViewForm",void 0),ye(o,"formBind",void 0),ye(o,"openMultistageFilling",void 0),ye(o,"showSelectedDetail",void 0),ye(o,"selectedContentConfig",void 0);var r;o.options=Qe((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new tf(n==null?void 0:n.listPageBind),o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ec.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.openMultistageFilling=(l=n==null?void 0:n.openMultistageFilling)!==null&&l!==void 0?l:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new se(b))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(D);ye(Bp,"Rules",tC);function nC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oC(t,e,n){return e=Yu(e),cC(t,oP()?Reflect.construct(e,n||[],Yu(t).constructor):e.apply(t,n))}function rC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iC(t,e,n){return e&&nP(t.prototype,e),n&&nP(t,n),t}function Zu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yu(t){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(t)}function uC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ap(t,e)}function cC(t,e){return e&&(lC(e)==="object"||typeof e=="function")?e:nC(t)}function Ap(t,e){return Ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ap(t,e)}function lC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oP=function(){return!!t})()}var ec=function(t){uC(e,t);function e(n){rC(this,e);var o;return o=oC(this,e,[n]),Zu(o,"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return iC(e,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),e}(x);Zu(ec,"controlFieldType",m.VARCHAR),Zu(ec,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),Zu(ec,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function aC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fC(t,e,n){return e=tc(e),pC(t,uP()?Reflect.construct(e,n||[],tc(t).constructor):e.apply(t,n))}function _C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yC(t,e,n){return e&&rP(t.prototype,e),n&&rP(t,n),t}function iP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tc(t){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(t)}function sC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kp(t,e)}function pC(t,e){return e&&(dC(e)==="object"||typeof e=="function")?e:aC(t)}function kp(t,e){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(t,e)}function dC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uP=function(){return!!t})()}var vC=function(t){sC(e,t);function e(n){_C(this,e);var o;return o=fC(this,e,[n]),iP(o,"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return yC(e,null,[{key:"controlType",get:function(){return"select-relation"}}]),e}(L);iP(vC,"controlFieldType",m.VARCHAR);function hC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bC(t,e,n){return e=nc(e),OC(t,cP()?Reflect.construct(e,n||[],nc(t).constructor):e.apply(t,n))}function mC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nc(t){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(t)}function gC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dp(t,e)}function OC(t,e){return e&&(wC(e)==="object"||typeof e=="function")?e:hC(t)}function Dp(t,e){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(t,e)}function wC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cP=function(){return!!t})()}var lP=function(t){gC(e,t);function e(n){return mC(this,e),bC(this,e,[n])}return e}(co);function $C(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PC(t,e,n){return e=oc(e),RC(t,_P()?Reflect.construct(e,n||[],oc(t).constructor):e.apply(t,n))}function EC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SC(t,e,n){return e&&aP(t.prototype,e),n&&aP(t,n),t}function fP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oc(t){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(t)}function TC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xp(t,e)}function RC(t,e){return e&&(IC(e)==="object"||typeof e=="function")?e:$C(t)}function xp(t,e){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(t,e)}function IC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_P=function(){return!!t})()}var BC=function(t){TC(e,t);function e(n){EC(this,e);var o;return o=PC(this,e,[n]),fP(o,"props",void 0),o.props=new lP(n==null?void 0:n.props),o}return SC(e,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),e}(lo);fP(BC,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED]},{key:"super-setting",visible:!0}]);function AC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kC(t,e,n){return e=rc(e),FC(t,pP()?Reflect.construct(e,n||[],rc(t).constructor):e.apply(t,n))}function DC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xC(t,e,n){return e&&yP(t.prototype,e),n&&yP(t,n),t}function sP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rc(t){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(t)}function LC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lp(t,e)}function FC(t,e){return e&&(jC(e)==="object"||typeof e=="function")?e:AC(t)}function Lp(t,e){return Lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lp(t,e)}function jC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pP=function(){return!!t})()}var MC=function(t){LC(e,t);function e(n){DC(this,e);var o;return o=kC(this,e,[n]),sP(o,"props",void 0),o.props=new lP(n==null?void 0:n.props),o}return xC(e,null,[{key:"controlType",get:function(){return"search-input"}}]),e}(L);sP(MC,"controlFieldType",m.VARCHAR);function NC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fp(t,e,n){return e=ic(e),VC(t,dP()?Reflect.construct(e,n||[],ic(t).constructor):e.apply(t,n))}function jp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ic(t){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(t)}function Mp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Np(t,e)}function VC(t,e){return e&&(zC(e)==="object"||typeof e=="function")?e:NC(t)}function Np(t,e){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(t,e)}function zC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dP=function(){return!!t})()}var CC=function(t){Mp(e,t);function e(n){jp(this,e);var o;return o=Fp(this,e,[n]),H(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Do.call(o,n,Et.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:p.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:p.getMessage("rootNodeIsRequired")}}}]),o}return e}(J),HC=function(t){Mp(e,t);function e(n){jp(this,e);var o;return o=Fp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),uc=function(t){Mp(e,t);function e(n){jp(this,e);var o,r;o=Fp(this,e,[n]),H(o,"placeholder",void 0),H(o,"multiple",void 0),H(o,"canSearch",void 0),H(o,"levelType",void 0),H(o,"optionalLevel",void 0),H(o,"containsSubNode",void 0),H(o,"defaultDisplay",void 0),H(o,"isShowIncludeSub",void 0),H(o,"isDefaultCheckSub",void 0),H(o,"isShowFilterItem",void 0),H(o,"defaultCollapse",void 0),H(o,"defaultCollapseLevel",void 0),H(o,"optionConfig","datasource"),H(o,"datasourceBind",void 0),H(o,"filterItemDatasourceBind",void 0),H(o,"multistageFilling",void 0),H(o,"defaultValue",void 0),H(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Et.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u9009\u62E9";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var l;o.levelType=(l=n==null?void 0:n.levelType)!==null&&l!==void 0?l:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var O;o.isDefaultCheckSub=(O=n==null?void 0:n.isDefaultCheckSub)!==null&&O!==void 0?O:!1;var g;o.defaultCollapse=(g=n==null?void 0:n.defaultCollapse)!==null&&g!==void 0?g:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new q0((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Et.controlCustomAttributes});var $;o.filterItemDatasourceBind=new q0(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:Et.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var T;o.multistageFilling=(T=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new se(A)}))!==null&&T!==void 0?T:[];var F;return o.defaultValue=(F=n==null?void 0:n.defaultValue)!==null&&F!==void 0?F:[],o}return e}(D);H(uc,"Rules",CC),H(uc,"RuntimeRules",HC);function qC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UC(t,e,n){return e=lc(e),XC(t,hP()?Reflect.construct(e,n||[],lc(t).constructor):e.apply(t,n))}function WC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KC(t,e,n){return e&&vP(t.prototype,e),n&&vP(t,n),t}function cc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lc(t){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(t)}function GC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vp(t,e)}function XC(t,e){return e&&(QC(e)==="object"||typeof e=="function")?e:qC(t)}function Vp(t,e){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(t,e)}function QC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hP=function(){return!!t})()}var Et=function(t){GC(e,t);function e(n){WC(this,e);var o;return o=UC(this,e,[n]),cc(o,"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return KC(e,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}]}}]),e}(x);cc(Et,"controlEventKeys",["on_change","on_click"]),cc(Et,"controlFieldType",m.ARRAY),cc(Et,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.CAN_SEARCH,f.DEFAULT_DISPLAY,f.CONTAINS_SUB_NODE,f.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function JC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZC(t,e,n){return e=ac(e),nH(t,gP()?Reflect.construct(e,n||[],ac(t).constructor):e.apply(t,n))}function YC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eH(t,e,n){return e&&bP(t.prototype,e),n&&bP(t,n),t}function mP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ac(t){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(t)}function tH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zp(t,e)}function nH(t,e){return e&&(oH(e)==="object"||typeof e=="function")?e:JC(t)}function zp(t,e){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(t,e)}function oH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gP=function(){return!!t})()}var rH=function(t){tH(e,t);function e(n){YC(this,e);var o;return o=ZC(this,e,[n]),mP(o,"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return eH(e,null,[{key:"controlType",get:function(){return"tree"}}]),e}(L);mP(rH,"controlFieldType",m.ARRAY);function iH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cp(t,e,n){return e=fc(e),uH(t,OP()?Reflect.construct(e,n||[],fc(t).constructor):e.apply(t,n))}function Hp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fc(t){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(t)}function qp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Up(t,e)}function uH(t,e){return e&&(cH(e)==="object"||typeof e=="function")?e:iH(t)}function Up(t,e){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(t,e)}function cH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OP=function(){return!!t})()}var lH=function(t){qp(e,t);function e(n){Hp(this,e);var o;return o=Cp(this,e,[n]),re(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),re(o,"externalScope",{type:"any"}),Do.call(o,n,fo.controlCustomAttributes),n.externalType===dt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return e}(J),aH=function(t){qp(e,t);function e(n){Hp(this,e);var o;return o=Cp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),_c=function(t){qp(e,t);function e(n){Hp(this,e);var o;o=Cp(this,e,[n]),re(o,"showType",void 0),re(o,"range",void 0),re(o,"rangeOptions",void 0),re(o,"multiple",void 0),re(o,"defaultValueType",void 0),re(o,"defaultValue",void 0),re(o,"multistageFilling",void 0),re(o,"datasourceBind",void 0),re(o,"datasourceType",void 0),re(o,"insideType",void 0),re(o,"externalType",void 0),re(o,"externalScope",void 0),re(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:fo.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var d;o.datasourceBind=new Ro((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:fo.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:c_.INTERNAL;var O;o.insideType=(O=n==null?void 0:n.insideType)!==null&&O!==void 0?O:l_.ADMIN;var g;o.externalType=(g=n==null?void 0:n.externalType)!==null&&g!==void 0?g:dt.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new se($))})),o}return e}(D);re(_c,"Rules",lH),re(_c,"RuntimeRules",aH);function fH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _H(t,e,n){return e=yc(e),dH(t,$P()?Reflect.construct(e,n||[],yc(t).constructor):e.apply(t,n))}function yH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sH(t,e,n){return e&&wP(t.prototype,e),n&&wP(t,n),t}function Wp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yc(t){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(t)}function pH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kp(t,e)}function dH(t,e){return e&&(vH(e)==="object"||typeof e=="function")?e:fH(t)}function Kp(t,e){return Kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kp(t,e)}function vH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($P=function(){return!!t})()}var fo=function(t){pH(e,t);function e(n){yH(this,e);var o;return o=_H(this,e,[n]),Wp(o,"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return sH(e,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}]}}]),e}(x);Wp(fo,"controlFieldType",m.EMPLOYEES),Wp(fo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.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 hH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bH(t,e,n){return e=sc(e),wH(t,SP()?Reflect.construct(e,n||[],sc(t).constructor):e.apply(t,n))}function mH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gH(t,e,n){return e&&PP(t.prototype,e),n&&PP(t,n),t}function EP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sc(t){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(t)}function OH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gp(t,e)}function wH(t,e){return e&&($H(e)==="object"||typeof e=="function")?e:hH(t)}function Gp(t,e){return Gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gp(t,e)}function $H(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SP=function(){return!!t})()}var PH=function(t){OH(e,t);function e(n){mH(this,e);var o;return o=bH(this,e,[n]),EP(o,"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return gH(e,null,[{key:"controlType",get:function(){return"employee2"}}]),e}(L);EP(PH,"controlFieldType",m.EMPLOYEES);function EH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TP(t,e,n){return e=pc(e),SH(t,BP()?Reflect.construct(e,n||[],pc(t).constructor):e.apply(t,n))}function RP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pc(t){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(t)}function IP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xp(t,e)}function SH(t,e){return e&&(TH(e)==="object"||typeof e=="function")?e:EH(t)}function Xp(t,e){return Xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xp(t,e)}function TH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BP=function(){return!!t})()}var RH=function(t){IP(e,t);function e(n){RP(this,e);var o;return o=TP(this,e,[n]),He(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(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,l,_){if(i.type==="public"&&Ka(l.value)&&l.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(a,l,_){if(i.type==="public"&&i.signatureType.includes("company")&&Ka(l.value)&&l.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},r},{})}}},o}return e}(J),Qp=function(t){IP(e,t);function e(n){RP(this,e);var o;o=TP(this,e,[n]),He(o,"buttonType",void 0),He(o,"content",void 0),He(o,"showType",void 0),He(o,"color",void 0),He(o,"icon",void 0),He(o,"command",""),He(o,"isLoading",!1),He(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:hc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u53D1\u8D77\u7B7E\u7F72";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;return o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2",o.signatureConfig=new yL(n==null?void 0:n.signatureConfig),o}return e}(D);He(Qp,"Rules",RH);function IH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BH(t,e,n){return e=vc(e),xH(t,kP()?Reflect.construct(e,n||[],vc(t).constructor):e.apply(t,n))}function AH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function kH(t,e,n){return e&&AP(t.prototype,e),n&&AP(t,n),t}function dc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vc(t){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(t)}function DH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jp(t,e)}function xH(t,e){return e&&(LH(e)==="object"||typeof e=="function")?e:IH(t)}function Jp(t,e){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(t,e)}function LH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kP=function(){return!!t})()}var hc=function(t){DH(e,t);function e(n){AH(this,e);var o;return o=BH(this,e,[n]),dc(o,"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return kH(e,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),e}(x);dc(hc,"controlEventKeys",["on_click","on_click_finish"]),dc(hc,"controlFieldType",m.VARCHAR),dc(hc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.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 FH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jH(t,e,n){return e=bc(e),zH(t,LP()?Reflect.construct(e,n||[],bc(t).constructor):e.apply(t,n))}function MH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NH(t,e,n){return e&&DP(t.prototype,e),n&&DP(t,n),t}function xP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bc(t){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(t)}function VH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zp(t,e)}function zH(t,e){return e&&(CH(e)==="object"||typeof e=="function")?e:FH(t)}function Zp(t,e){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(t,e)}function CH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LP=function(){return!!t})()}var HH=function(t){VH(e,t);function e(n){MH(this,e);var o;return o=jH(this,e,[n]),xP(o,"props",void 0),o.props=new Qp(n==null?void 0:n.props),o}return NH(e,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),e}(L);xP(HH,"controlFieldType",m.VARCHAR);function qH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yp(t,e,n){return e=mc(e),UH(t,FP()?Reflect.construct(e,n||[],mc(t).constructor):e.apply(t,n))}function ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mc(t){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(t)}function td(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nd(t,e)}function UH(t,e){return e&&(WH(e)==="object"||typeof e=="function")?e:qH(t)}function nd(t,e){return nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nd(t,e)}function WH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FP=function(){return!!t})()}var KH=function(t){td(e,t);function e(n){ed(this,e);var o;return o=Yp(this,e,[n]),ie(o,"content",{type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")}),ie(o,"canAdd",void 0),ie(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(p.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(p.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(p.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return e}(J),GH=function(t){td(e,t);function e(n){ed(this,e);var o;return o=Yp(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),gc=function(t){td(e,t);function e(n){ed(this,e);var o;o=Yp(this,e,[n]),ie(o,"content",void 0),ie(o,"canAdd",void 0),ie(o,"addLocal",void 0),ie(o,"addOnline",void 0),ie(o,"canDownload",void 0),ie(o,"canEdit",void 0),ie(o,"canExport",void 0),ie(o,"canDelete",void 0),ie(o,"wpsSetting",void 0),ie(o,"maxSize",void 0),ie(o,"defaultValue",void 0),ie(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:$c.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u65B0\u5EFA\u6587\u6863";var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var c;o.addLocal=(c=n==null?void 0:n.addLocal)!==null&&c!==void 0?c:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var l;o.canEdit=(l=n==null?void 0:n.canEdit)!==null&&l!==void 0?l:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:J7;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[],o.wpsSetting=new sL(n==null?void 0:n.wpsSetting);var g;return o.revisionsMode=(g=n==null?void 0:n.revisionsMode)!==null&&g!==void 0?g:!1,o}return e}(D);ie(gc,"Rules",KH),ie(gc,"RuntimeRules",GH);function XH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QH(t,e,n){return e=wc(e),eq(t,MP()?Reflect.construct(e,n||[],wc(t).constructor):e.apply(t,n))}function JH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ZH(t,e,n){return e&&jP(t.prototype,e),n&&jP(t,n),t}function Oc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wc(t){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(t)}function YH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&od(t,e)}function eq(t,e){return e&&(tq(e)==="object"||typeof e=="function")?e:XH(t)}function od(t,e){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(t,e)}function tq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MP=function(){return!!t})()}var $c=function(t){YH(e,t);function e(n){JH(this,e);var o;return o=QH(this,e,[n]),Oc(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return ZH(e,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),e}(x);Oc($c,"controlEventKeys",["on_change","on_wps_open"]),Oc($c,"controlFieldType",m.FILE),Oc($c,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP,f.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 nq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oq(t,e,n){return e=Pc(e),cq(t,zP()?Reflect.construct(e,n||[],Pc(t).constructor):e.apply(t,n))}function rq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iq(t,e,n){return e&&NP(t.prototype,e),n&&NP(t,n),t}function VP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pc(t){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(t)}function uq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rd(t,e)}function cq(t,e){return e&&(lq(e)==="object"||typeof e=="function")?e:nq(t)}function rd(t,e){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(t,e)}function lq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zP=function(){return!!t})()}var aq=function(t){uq(e,t);function e(n){rq(this,e);var o;return o=oq(this,e,[n]),VP(o,"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return iq(e,null,[{key:"controlType",get:function(){return"wps"}}]),e}(L);VP(aq,"controlFieldType",m.FILE);function fq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function id(t,e,n){return e=Ec(e),_q(t,CP()?Reflect.construct(e,n||[],Ec(t).constructor):e.apply(t,n))}function ud(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ec(t){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(t)}function cd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ld(t,e)}function _q(t,e){return e&&(yq(e)==="object"||typeof e=="function")?e:fq(t)}function ld(t,e){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(t,e)}function yq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CP=function(){return!!t})()}var sq=function(t){cd(e,t);function e(n){ud(this,e);var o;return o=id(this,e,[n]),Q(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Q(o,"businessScope",{type:"any"}),Do.call(o,n,un.controlCustomAttributes),n.businessType===dt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return e}(J),pq=function(t){cd(e,t);function e(n){ud(this,e);var o;return o=id(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Sc=function(t){cd(e,t);function e(n){ud(this,e);var o;o=id(this,e,[n]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"defaultValueType",void 0),Q(o,"multiple",void 0),Q(o,"rangeOptions",void 0),Q(o,"defaultValue",void 0),Q(o,"displayLevel",void 0),Q(o,"showSubDept",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"businessType",void 0),Q(o,"businessScope",void 0),Q(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:un.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var O;o.datasourceBind=new Ro((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:un.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:rr.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:dt.ALL;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 E;(E=o.multistageFilling)===null||E===void 0||E.push(new se(P))})),o}return e}(D);Q(Sc,"Rules",sq),Q(Sc,"RuntimeRules",pq);function dq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vq(t,e,n){return e=rn(e),gq(t,qP()?Reflect.construct(e,n||[],rn(t).constructor):e.apply(t,n))}function hq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bq(t,e,n){return e&&HP(t.prototype,e),n&&HP(t,n),t}function Tc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Rc=Reflect.get:Rc=function(r,i,u){var c=Oq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Rc(t,e,n||t)}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}function mq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ad(t,e)}function gq(t,e){return e&&(wq(e)==="object"||typeof e=="function")?e:dq(t)}function ad(t,e){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(t,e)}function Oq(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=rn(t),t!==null););return t}function wq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qP=function(){return!!t})()}var un=function(t){mq(e,t);function e(n){hq(this,e);var o;return o=vq(this,e,[n]),Tc(o,"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return bq(e,[{key:"toDataBindModel",value:function(o){var r=Rc(rn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{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}]}}]),e}(x);Tc(un,"controlName","\u90E8\u95E8"),Tc(un,"controlFieldType",m.DEPARTMENTS),Tc(un,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function $q(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pq(t,e,n){return e=Ic(e),Rq(t,KP()?Reflect.construct(e,n||[],Ic(t).constructor):e.apply(t,n))}function Eq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function UP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Sq(t,e,n){return e&&UP(t.prototype,e),n&&UP(t,n),t}function WP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ic(t){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(t)}function Tq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fd(t,e)}function Rq(t,e){return e&&(Iq(e)==="object"||typeof e=="function")?e:$q(t)}function fd(t,e){return fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fd(t,e)}function Iq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KP=function(){return!!t})()}var Bq=function(t){Tq(e,t);function e(n){Eq(this,e);var o;return o=Pq(this,e,[n]),WP(o,"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return Sq(e,null,[{key:"controlType",get:function(){return"department2"}}]),e}(L);WP(Bq,"controlFieldType",m.DEPARTMENTS);function Aq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _d(t,e,n){return e=Bc(e),kq(t,GP()?Reflect.construct(e,n||[],Bc(t).constructor):e.apply(t,n))}function yd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bc(t){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bc(t)}function sd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pd(t,e)}function kq(t,e){return e&&(Dq(e)==="object"||typeof e=="function")?e:Aq(t)}function pd(t,e){return pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pd(t,e)}function Dq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GP=function(){return!!t})()}var xq=function(t){sd(e,t);function e(n){yd(this,e);var o;return o=_d(this,e,[n]),C(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),C(o,"businessScope",{type:"any"}),Do.call(o,n,ln.controlCustomAttributes),n.businessType===dt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return e}(J),Lq=function(t){sd(e,t);function e(n){yd(this,e);var o;return o=_d(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(z),Ac=function(t){sd(e,t);function e(n){yd(this,e);var o;o=_d(this,e,[n]),C(o,"showType",void 0),C(o,"range",void 0),C(o,"defaultValueType",void 0),C(o,"multiple",void 0),C(o,"rangeOptions",void 0),C(o,"defaultValue",void 0),C(o,"displayLevel",void 0),C(o,"showSubDept",void 0),C(o,"multistageFilling",void 0),C(o,"datasourceBind",void 0),C(o,"listPageBind",void 0),C(o,"datasourceType",void 0),C(o,"businessType",void 0),C(o,"businessScope",void 0),C(o,"organizingFunction",void 0),C(o,"organizationView",void 0),C(o,"openMultistageFilling",void 0),C(o,"showSelectedDetail",void 0),C(o,"selectedContentConfig",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all",o.listPageBind=new tf(n==null?void 0:n.listPageBind);var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:ln.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var O;o.datasourceBind=new dk((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:ln.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:rr.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:dt.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var P;o.organizationView=(P=n==null?void 0:n.organizationView)!==null&&P!==void 0?P:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(F){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new se(F))})),o}return e}(D);C(Ac,"Rules",xq),C(Ac,"RuntimeRules",Lq);function Fq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jq(t,e,n){return e=cn(e),zq(t,QP()?Reflect.construct(e,n||[],cn(t).constructor):e.apply(t,n))}function Mq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Nq(t,e,n){return e&&XP(t.prototype,e),n&&XP(t,n),t}function kc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Dc=Reflect.get:Dc=function(r,i,u){var c=Cq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Dc(t,e,n||t)}function cn(t){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cn(t)}function Vq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dd(t,e)}function zq(t,e){return e&&(Hq(e)==="object"||typeof e=="function")?e:Fq(t)}function dd(t,e){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(t,e)}function Cq(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=cn(t),t!==null););return t}function Hq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QP=function(){return!!t})()}var ln=function(t){Vq(e,t);function e(n){Mq(this,e);var o;return o=jq(this,e,[n]),kc(o,"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return Nq(e,[{key:"toDataBindModel",value:function(o){var r=Dc(cn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{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}]}}]),e}(x);kc(ln,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),kc(ln,"controlFieldType",m.DEPARTMENTS),kc(ln,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.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 qq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uq(t,e,n){return e=xc(e),Xq(t,YP()?Reflect.construct(e,n||[],xc(t).constructor):e.apply(t,n))}function Wq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Kq(t,e,n){return e&&JP(t.prototype,e),n&&JP(t,n),t}function ZP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xc(t){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(t)}function Gq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vd(t,e)}function Xq(t,e){return e&&(Qq(e)==="object"||typeof e=="function")?e:qq(t)}function vd(t,e){return vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vd(t,e)}function Qq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YP=function(){return!!t})()}var Jq=function(t){Gq(e,t);function e(n){Wq(this,e);var o;return o=Uq(this,e,[n]),ZP(o,"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return Kq(e,null,[{key:"controlType",get:function(){return"organization-selection"}}]),e}(L);ZP(Jq,"controlFieldType",m.DEPARTMENTS);function Zq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hd(t,e,n){return e=Lc(e),Yq(t,eE()?Reflect.construct(e,n||[],Lc(t).constructor):e.apply(t,n))}function bd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lc(t){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(t)}function md(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gd(t,e)}function Yq(t,e){return e&&(eU(e)==="object"||typeof e=="function")?e:Zq(t)}function gd(t,e){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(t,e)}function eU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eE=function(){return!!t})()}var tU=function(t){md(e,t);function e(n){bd(this,e);var o;return o=hd(this,e,[n]),je(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),je(o,"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),je(o,"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Kt(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(J),nU=function(t){md(e,t);function e(n){bd(this,e);var o;return o=hd(this,e,[n]),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Kt(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(z),Fc=function(t){md(e,t);function e(n){bd(this,e);var o;o=hd(this,e,[n]),je(o,"maxLength",void 0),je(o,"minLength",void 0),je(o,"regularRules",void 0),je(o,"defaultValue",void 0),je(o,"encrypted",void 0),je(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Io(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Nc.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return e}(D);je(Fc,"Rules",tU),je(Fc,"RuntimeRules",nU);function oU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rU(t,e,n){return e=Mc(e),lU(t,nE()?Reflect.construct(e,n||[],Mc(t).constructor):e.apply(t,n))}function iU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uU(t,e,n){return e&&tE(t.prototype,e),n&&tE(t,n),t}function jc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mc(t){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mc(t)}function cU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Od(t,e)}function lU(t,e){return e&&(aU(e)==="object"||typeof e=="function")?e:oU(t)}function Od(t,e){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(t,e)}function aU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nE=function(){return!!t})()}var Nc=function(t){cU(e,t);function e(n){iU(this,e);var o;return o=rU(this,e,[n]),jc(o,"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return uU(e,null,[{key:"controlName",get:function(){return"\u654F\u611F\u4FE1\u606F"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"sensitiven-information"}}]),e}(x);jc(Nc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),jc(Nc,"controlFieldType",m.VARCHAR),jc(Nc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.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 fU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _U(t,e,n){return e=Vc(e),dU(t,iE()?Reflect.construct(e,n||[],Vc(t).constructor):e.apply(t,n))}function yU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sU(t,e,n){return e&&oE(t.prototype,e),n&&oE(t,n),t}function rE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vc(t){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(t)}function pU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wd(t,e)}function dU(t,e){return e&&(vU(e)==="object"||typeof e=="function")?e:fU(t)}function wd(t,e){return wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wd(t,e)}function vU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iE=function(){return!!t})()}var hU=function(t){pU(e,t);function e(n){yU(this,e);var o;return o=_U(this,e,[n]),rE(o,"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return sU(e,null,[{key:"controlType",get:function(){return"sensitiven-information"}}]),e}(L);rE(hU,"controlFieldType",m.VARCHAR);function bU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mU(t,e,n){return e=zc(e),PU(t,cE()?Reflect.construct(e,n||[],zc(t).constructor):e.apply(t,n))}function gU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OU(t,e,n){return e&&uE(t.prototype,e),n&&uE(t,n),t}function wU(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zc(t){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(t)}function $U(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$d(t,e)}function PU(t,e){return e&&(EU(e)==="object"||typeof e=="function")?e:bU(t)}function $d(t,e){return $d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$d(t,e)}function EU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cE=function(){return!!t})()}var SU=function(t){$U(e,t);function e(n){return gU(this,e),mU(this,e,[n])}return OU(e,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),e}(Y);wU(SU,"excludes",[s.GRID]);function TU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RU(t,e,n){return e=Cc(e),AU(t,aE()?Reflect.construct(e,n||[],Cc(t).constructor):e.apply(t,n))}function IU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cc(t){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(t)}function BU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pd(t,e)}function AU(t,e){return e&&(kU(e)==="object"||typeof e=="function")?e:TU(t)}function Pd(t,e){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(t,e)}function kU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aE=function(){return!!t})()}var DU=24,_o=function(t){BU(e,t);function e(n){IU(this,e);var o;o=RU(this,e,[n]),lE(o,"span",void 0),lE(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:DU;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return e}(Z);function xU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LU(t,e,n){return e=Hc(e),NU(t,_E()?Reflect.construct(e,n||[],Hc(t).constructor):e.apply(t,n))}function FU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function jU(t,e,n){return e&&fE(t.prototype,e),n&&fE(t,n),t}function Ed(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hc(t){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(t)}function MU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sd(t,e)}function NU(t,e){return e&&(VU(e)==="object"||typeof e=="function")?e:xU(t)}function Sd(t,e){return Sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sd(t,e)}function VU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_E=function(){return!!t})()}var yo=function(t){MU(e,t);function e(n){FU(this,e);var o;return o=LU(this,e,[n]),Ed(o,"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return jU(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),e}(Y);Ed(yo,"excludes",[s.COL,s.CARD_GROUP,s.SUBTABLE,s.SUBTABLE_COLUMN,s.GRID_LAYOUT_CONTAINER,s.DIVIDER]),Ed(yo,"childrenMaxLength",1);function zU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CU(t,e,n){return e=qc(e),KU(t,sE()?Reflect.construct(e,n||[],qc(t).constructor):e.apply(t,n))}function HU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qU(t,e,n){return e&&yE(t.prototype,e),n&&yE(t,n),t}function UU(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qc(t){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(t)}function WU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Td(t,e)}function KU(t,e){return e&&(GU(e)==="object"||typeof e=="function")?e:zU(t)}function Td(t,e){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(t,e)}function GU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sE=function(){return!!t})()}var XU=function(t){WU(e,t);function e(n){HU(this,e);var o;return o=CU(this,e,[n]),UU(o,"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return qU(e,null,[{key:"controlType",get:function(){return"col"}}]),e}(Pt),pE={Designer:yo,Runtime:XU,Property:_o};function QU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JU(t,e,n){return e=Uc(e),eW(t,vE()?Reflect.construct(e,n||[],Uc(t).constructor):e.apply(t,n))}function ZU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uc(t){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(t)}function YU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rd(t,e)}function eW(t,e){return e&&(tW(e)==="object"||typeof e=="function")?e:QU(t)}function Rd(t,e){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(t,e)}function tW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vE=function(){return!!t})()}var Id=function(t){YU(e,t);function e(n){ZU(this,e);var o;o=JU(this,e,[n]),dE(o,"layoutMode",void 0),dE(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return e}(Z);function nW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oW(t,e,n){return e=Wc(e),cW(t,bE()?Reflect.construct(e,n||[],Wc(t).constructor):e.apply(t,n))}function rW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iW(t,e,n){return e&&hE(t.prototype,e),n&&hE(t,n),t}function Bd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wc(t){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(t)}function uW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ad(t,e)}function cW(t,e){return e&&(lW(e)==="object"||typeof e=="function")?e:nW(t)}function Ad(t,e){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(t,e)}function lW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bE=function(){return!!t})()}var kd=function(t){uW(e,t);function e(n){rW(this,e);var o;return o=oW(this,e,[n]),Bd(o,"props",void 0),o.props=new Id(n==null?void 0:n.props),o}return iW(e,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);Bd(kd,"excludes",[s.ROW]),Bd(kd,"setting",[{key:"col-setting",visible:!0}]);function aW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fW(t,e,n){return e=Kc(e),dW(t,gE()?Reflect.construct(e,n||[],Kc(t).constructor):e.apply(t,n))}function _W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yW(t,e,n){return e&&mE(t.prototype,e),n&&mE(t,n),t}function sW(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kc(t){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(t)}function pW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dd(t,e)}function dW(t,e){return e&&(vW(e)==="object"||typeof e=="function")?e:aW(t)}function Dd(t,e){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(t,e)}function vW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gE=function(){return!!t})()}var hW=function(t){pW(e,t);function e(n){_W(this,e);var o;return o=fW(this,e,[n]),sW(o,"props",void 0),o.props=new Id(n==null?void 0:n.props),o}return yW(e,null,[{key:"controlType",get:function(){return"row"}}]),e}(Pt);function bW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mW(t,e,n){return e=Gc(e),$W(t,wE()?Reflect.construct(e,n||[],Gc(t).constructor):e.apply(t,n))}function gW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OW(t,e,n){return e&&OE(t.prototype,e),n&&OE(t,n),t}function xd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gc(t){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(t)}function wW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ld(t,e)}function $W(t,e){return e&&(PW(e)==="object"||typeof e=="function")?e:bW(t)}function Ld(t,e){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(t,e)}function PW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wE=function(){return!!t})()}var EW=4,Xc=function(t){wW(e,t);function e(n){return gW(this,e),mW(this,e,[n])}return OW(e,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"}}]),e}(kd);xd(Xc,"excludes",[s.GRID_ROW]),xd(Xc,"setting",[]),xd(Xc,"childrenMaxLength",EW);function SW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TW(t,e,n){return e=Qc(e),AW(t,PE()?Reflect.construct(e,n||[],Qc(t).constructor):e.apply(t,n))}function RW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function IW(t,e,n){return e&&$E(t.prototype,e),n&&$E(t,n),t}function Qc(t){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(t)}function BW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fd(t,e)}function AW(t,e){return e&&(kW(e)==="object"||typeof e=="function")?e:SW(t)}function Fd(t,e){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(t,e)}function kW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PE=function(){return!!t})()}var DW=function(t){BW(e,t);function e(n){return RW(this,e),TW(this,e,[n])}return IW(e,null,[{key:"controlType",get:function(){return"grid-row"}}]),e}(hW);function xW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LW(t,e,n){return e=Jc(e),MW(t,EE()?Reflect.construct(e,n||[],Jc(t).constructor):e.apply(t,n))}function FW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jc(t){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(t)}function jW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jd(t,e)}function MW(t,e){return e&&(NW(e)==="object"||typeof e=="function")?e:xW(t)}function jd(t,e){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(t,e)}function NW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EE=function(){return!!t})()}var VW=function(t){jW(e,t);function e(n){return FW(this,e),LW(this,e,[n])}return e}(Id),zW={Designer:Xc,Runtime:DW,Property:VW};function CW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SE(t,e,n){return e=Yc(e),HW(t,IE()?Reflect.construct(e,n||[],Yc(t).constructor):e.apply(t,n))}function TE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yc(t){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(t)}function RE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Md(t,e)}function HW(t,e){return e&&(qW(e)==="object"||typeof e=="function")?e:CW(t)}function Md(t,e){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(t,e)}function qW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IE=function(){return!!t})()}var UW=function(t){RE(e,t);function e(){TE(this,e);var n;return n=SE(this,e,arguments),Zc(n,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),n}return e}(Z.Rules),BE=function(t){RE(e,t);function e(n){TE(this,e);var o;o=SE(this,e,[n]),Zc(o,"caption",void 0),Zc(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"\u5206\u7EC4";var i;return o.collapse=(i=n==null?void 0:n.collapse)!==null&&i!==void 0?i:"none",o}return e}(Z);Zc(BE,"Rules",UW);function WW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KW(t,e,n){return e=el(e),JW(t,kE()?Reflect.construct(e,n||[],el(t).constructor):e.apply(t,n))}function GW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function XW(t,e,n){return e&&AE(t.prototype,e),n&&AE(t,n),t}function Nd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function el(t){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(t)}function QW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vd(t,e)}function JW(t,e){return e&&(ZW(e)==="object"||typeof e=="function")?e:WW(t)}function Vd(t,e){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(t,e)}function ZW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kE=function(){return!!t})()}var DE=function(t){QW(e,t);function e(n){GW(this,e);var o;return o=KW(this,e,[n]),Nd(o,"props",void 0),o.props=new BE(n==null?void 0:n.props),o}return XW(e,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),e}(Y);Nd(DE,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Nd(DE,"excludes",[s.CARD_GROUP]);function YW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xE(t,e,n){return e=tl(e),eK(t,jE()?Reflect.construct(e,n||[],tl(t).constructor):e.apply(t,n))}function LE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tl(t){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(t)}function FE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zd(t,e)}function eK(t,e){return e&&(tK(e)==="object"||typeof e=="function")?e:YW(t)}function zd(t,e){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(t,e)}function tK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jE=function(){return!!t})()}var nK=function(t){FE(e,t);function e(n){LE(this,e);var o;return o=xE(this,e,[n]),qe(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),qe(o,"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),qe(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(W),nl=function(t){FE(e,t);function e(n){LE(this,e);var o;o=xE(this,e,[n]),qe(o,"metaAutoWidth",void 0),qe(o,"caption",void 0),qe(o,"fixed",void 0),qe(o,"isShowCaptionTip",void 0),qe(o,"captionTip",void 0),qe(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new z0(n==null?void 0:n.metaAutoWidth),o}return e}(Z);qe(nl,"Rules",nK);function oK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rK(t,e,n){return e=ol(e),cK(t,ME()?Reflect.construct(e,n||[],ol(t).constructor):e.apply(t,n))}function iK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function St(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ol(t){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(t)}function uK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cd(t,e)}function cK(t,e){return e&&(lK(e)==="object"||typeof e=="function")?e:oK(t)}function Cd(t,e){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(t,e)}function lK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ME(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ME=function(){return!!t})()}var Me=function(t){uK(e,t);function e(n){iK(this,e);var o;return o=rK(this,e,[n]),St(o,"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return e}(Y);St(Me,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),St(Me,"controlType","subtable-column"),St(Me,"controlIcon","subtable-column"),St(Me,"childrenMaxLength",1),St(Me,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),St(Me,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",showItems:[f.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function aK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fK(t,e,n){return e=rl(e),sK(t,VE()?Reflect.construct(e,n||[],rl(t).constructor):e.apply(t,n))}function _K(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rl(t){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(t)}function yK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hd(t,e)}function sK(t,e){return e&&(pK(e)==="object"||typeof e=="function")?e:aK(t)}function Hd(t,e){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(t,e)}function pK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VE=function(){return!!t})()}var zE=function(t){yK(e,t);function e(n){_K(this,e);var o;return o=fK(this,e,[n]),NE(o,"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return e}(Pt);NE(zE,"controlType","subtable-column");var dK={Designer:Me,Runtime:zE,Property:nl};function vK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hK(t,e,n){return e=il(e),gK(t,CE()?Reflect.construct(e,n||[],il(t).constructor):e.apply(t,n))}function bK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(t)}function mK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qd(t,e)}function gK(t,e){return e&&(OK(e)==="object"||typeof e=="function")?e:vK(t)}function qd(t,e){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(t,e)}function OK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CE=function(){return!!t})()}var wK=function(t){mK(e,t);function e(n){return bK(this,e),hK(this,e,[n])}return e}(Z);function $K(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PK(t,e,n){return e=ul(e),TK(t,HE()?Reflect.construct(e,n||[],ul(t).constructor):e.apply(t,n))}function EK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(t)}function SK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ud(t,e)}function TK(t,e){return e&&(RK(e)==="object"||typeof e=="function")?e:$K(t)}function Ud(t,e){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(t,e)}function RK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HE=function(){return!!t})()}var an=function(t){SK(e,t);function e(n){EK(this,e);var o;return o=PK(this,e,[n]),Tt(o,"props",void 0),o.props=new wK(n==null?void 0:n.props),o}return e}(Y);Tt(an,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Tt(an,"controlType","subtable-row"),Tt(an,"controlIcon","subtable-row"),Tt(an,"childrenMaxLength",1),Tt(an,"excludes",[s.SUBTABLE,s.SUBTABLE_COLUMN,s.SUBTABLE_ROW,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Tt(an,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0}]);function IK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BK(t,e,n){return e=cl(e),DK(t,qE()?Reflect.construct(e,n||[],cl(t).constructor):e.apply(t,n))}function AK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cl(t){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(t)}function kK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wd(t,e)}function DK(t,e){return e&&(xK(e)==="object"||typeof e=="function")?e:IK(t)}function Wd(t,e){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(t,e)}function xK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qE=function(){return!!t})()}var UE=function(t){kK(e,t);function e(n){AK(this,e);var o;o=BK(this,e,[n]),Te(o,"widthType",void 0),Te(o,"width",void 0),Te(o,"caption",void 0),Te(o,"fieldCode",void 0),Te(o,"fieldType",void 0),Te(o,"fieldName",void 0),Te(o,"datasourceBind",void 0),Te(o,"fixed",void 0),Te(o,"textCleanFormart",void 0),Te(o,"decimalKeepPrecision",void 0),Te(o,"timestampDateType",void 0),Te(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";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.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:m.VARCHAR;var l;o.fieldName=(l=n==null?void 0:n.fieldName)!==null&&l!==void 0?l:"",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:rt.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return e}(Z);function LK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FK(t,e,n){return e=ll(e),NK(t,WE()?Reflect.construct(e,n||[],ll(t).constructor):e.apply(t,n))}function jK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ll(t){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(t)}function MK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kd(t,e)}function NK(t,e){return e&&(VK(e)==="object"||typeof e=="function")?e:LK(t)}function Kd(t,e){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(t,e)}function VK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WE=function(){return!!t})()}var fn=function(t){MK(e,t);function e(n){jK(this,e);var o;return o=FK(this,e,[n]),Rt(o,"props",void 0),o.props=new UE(n==null?void 0:n.props),o}return e}(Y);Rt(fn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Rt(fn,"controlType","gridtable-column"),Rt(fn,"controlIcon","gridtable-column"),Rt(fn,"childrenMaxLength",1),Rt(fn,"excludes",[s.GRID_TABLE,s.GRID_TABLE_COLUMN,s.ROW,s.COL,s.CARD_GROUP,s.DIVIDER,s.TEXT]),Rt(fn,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function zK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CK(t,e,n){return e=al(e),UK(t,GE()?Reflect.construct(e,n||[],al(t).constructor):e.apply(t,n))}function HK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function KE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function al(t){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(t)}function qK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gd(t,e)}function UK(t,e){return e&&(WK(e)==="object"||typeof e=="function")?e:zK(t)}function Gd(t,e){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(t,e)}function WK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GE=function(){return!!t})()}var KK=function(t){qK(e,t);function e(n){HK(this,e);var o;return o=CK(this,e,[n]),KE(o,"props",void 0),o.props=new UE(n==null?void 0:n.props),o}return e}(Pt);KE(KK,"controlType","gridtable-column");function GK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XK(t,e,n){return e=fl(e),ZK(t,QE()?Reflect.construct(e,n||[],fl(t).constructor):e.apply(t,n))}function QK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fl(t){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(t)}function JK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xd(t,e)}function ZK(t,e){return e&&(YK(e)==="object"||typeof e=="function")?e:GK(t)}function Xd(t,e){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(t,e)}function YK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QE=function(){return!!t})()}var eG=function(t){JK(e,t);function e(n){QK(this,e);var o;o=XK(this,e,[n]),XE(o,"childMinWidth",void 0),XE(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return e}(Z);function tG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nG(t,e,n){return e=_l(e),uG(t,ZE()?Reflect.construct(e,n||[],_l(t).constructor):e.apply(t,n))}function oG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rG(t,e,n){return e&&JE(t.prototype,e),n&&JE(t,n),t}function Qd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _l(t){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(t)}function iG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jd(t,e)}function uG(t,e){return e&&(cG(e)==="object"||typeof e=="function")?e:tG(t)}function Jd(t,e){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(t,e)}function cG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZE=function(){return!!t})()}var YE=function(t){iG(e,t);function e(n){oG(this,e);var o;return o=nG(this,e,[n]),Qd(o,"props",void 0),o.props=new eG(n==null?void 0:n.props),o}return rG(e,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"}}]),e}(Y);Qd(YE,"excludes",[s.GRID_LAYOUT_CONTAINER,s.CARD_GROUP,s.TAB]),Qd(YE,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function lG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aG(t,e,n){return e=yl(e),sG(t,eS()?Reflect.construct(e,n||[],yl(t).constructor):e.apply(t,n))}function fG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _G(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yl(t){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(t)}function yG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zd(t,e)}function sG(t,e){return e&&(pG(e)==="object"||typeof e=="function")?e:lG(t)}function Zd(t,e){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(t,e)}function pG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eS=function(){return!!t})()}var dG=function(t){yG(e,t);function e(n){fG(this,e);var o;o=aG(this,e,[n]),_G(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return e}(Z);function vG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tS(t,e,n){return e=sl(e),hG(t,rS()?Reflect.construct(e,n||[],sl(t).constructor):e.apply(t,n))}function nS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sl(t){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(t)}function oS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ev(t,e)}function hG(t,e){return e&&(bG(e)==="object"||typeof e=="function")?e:vG(t)}function ev(t,e){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(t,e)}function bG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rS=function(){return!!t})()}var mG=function(t){oS(e,t);function e(n){nS(this,e);var o;return o=tS(this,e,[n]),Yd(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),o}return e}(W),iS=function(t){oS(e,t);function e(n){nS(this,e);var o;o=tS(this,e,[n]),Yd(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:bl.controlName,o}return e}(Z);Yd(iS,"Rules",mG);function gG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OG(t,e,n){return e=pl(e),EG(t,cS()?Reflect.construct(e,n||[],pl(t).constructor):e.apply(t,n))}function wG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $G(t,e,n){return e&&uS(t.prototype,e),n&&uS(t,n),t}function tv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pl(t){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(t)}function PG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nv(t,e)}function EG(t,e){return e&&(SG(e)==="object"||typeof e=="function")?e:gG(t)}function nv(t,e){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(t,e)}function SG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cS=function(){return!!t})()}var dl=function(t){PG(e,t);function e(n){wG(this,e);var o;return o=OG(this,e,[n]),tv(o,"props",void 0),o.props=new iS(n==null?void 0:n.props),o}return $G(e,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),e}(Y);tv(dl,"excludes",[s.TAB]),tv(dl,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function TG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RG(t,e,n){return e=hl(e),kG(t,aS()?Reflect.construct(e,n||[],hl(t).constructor):e.apply(t,n))}function IG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BG(t,e,n){return e&&lS(t.prototype,e),n&&lS(t,n),t}function vl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hl(t){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(t)}function AG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ov(t,e)}function kG(t,e){return e&&(DG(e)==="object"||typeof e=="function")?e:TG(t)}function ov(t,e){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(t,e)}function DG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aS=function(){return!!t})()}var bl=function(t){AG(e,t);function e(n){IG(this,e);var o;o=RG(this,e,[n]),vl(o,"props",void 0),o.props=new dG(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new dl,new dl],o}return BG(e,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),e}(Y);vl(bl,"excludes",[s.TAB]),vl(bl,"controlEventKeys",["on_change_tab"]),vl(bl,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function xG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LG(t,e,n){return e=ml(e),MG(t,fS()?Reflect.construct(e,n||[],ml(t).constructor):e.apply(t,n))}function FG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ml(t){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(t)}function jG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rv(t,e)}function MG(t,e){return e&&(NG(e)==="object"||typeof e=="function")?e:xG(t)}function rv(t,e){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(t,e)}function NG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fS=function(){return!!t})()}var VG=function(t){jG(e,t);function e(n){return FG(this,e),LG(this,e,[n])}return e}(Z);function zG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CG(t,e,n){return e=gl(e),WG(t,sS()?Reflect.construct(e,n||[],gl(t).constructor):e.apply(t,n))}function HG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _S(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qG(t,e,n){return e&&_S(t.prototype,e),n&&_S(t,n),t}function yS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gl(t){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(t)}function UG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iv(t,e)}function WG(t,e){return e&&(KG(e)==="object"||typeof e=="function")?e:zG(t)}function iv(t,e){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(t,e)}function KG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sS=function(){return!!t})()}var GG=function(t){UG(e,t);function e(n){HG(this,e);var o;return o=CG(this,e,[n]),yS(o,"props",void 0),o.props=new VG({}),o.children=(n==null?void 0:n.children)||[new yo({props:new _o({span:12})}),new yo({props:new _o({span:12})})],o}return qG(e,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),e}(Y);yS(GG,"excludes",[s.GRID_ROW,s.ROW,s.GRID,s.SUBTABLE,s.TAB,s.TOOLBOX]);function XG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uv(t,e,n){return e=Ol(e),QG(t,pS()?Reflect.construct(e,n||[],Ol(t).constructor):e.apply(t,n))}function cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ol(t){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(t)}function lv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&av(t,e)}function QG(t,e){return e&&(JG(e)==="object"||typeof e=="function")?e:XG(t)}function av(t,e){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(t,e)}function JG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pS=function(){return!!t})()}var dS;(function(t){t[t.CLICK_ROW=1]="CLICK_ROW",t[t.CLICK_CELL=2]="CLICK_CELL"})(dS||(dS={}));var ZG=function(t){lv(e,t);function e(n){cv(this,e);var o;return o=uv(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),YG=function(t){lv(e,t);function e(n){cv(this,e);var o;if(o=uv(this,e,[n]),V(o,"triggerFieldCode",{type:"any"}),V(o,"datasourceBind",{type:"any"}),V(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),wf.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return e}(W),so=function(t){lv(e,t);function e(n){cv(this,e);var o,r,i;o=uv(this,e,[n]),V(o,"datasourceBind",void 0),V(o,"isLoading",void 0),V(o,"isShowSubList",void 0),V(o,"triggerType",void 0),V(o,"triggerFieldCode",void 0),V(o,"sublistPage",void 0),V(o,"isShowJoinRelation",void 0),V(o,"joinRelation",void 0),V(o,"showType",void 0),V(o,"showFullScreen",void 0),V(o,"isFixedHeader",void 0),V(o,"selectionType",void 0),V(o,"isShowSelection",void 0),V(o,"isAllLoaded",void 0),V(o,"countType",void 0),V(o,"countLimit",void 0),V(o,"rowStyleType",void 0),V(o,"rowStyleBgColor",void 0),V(o,"rowStyleRules",void 0),V(o,"rowStyleRulesScript",void 0),o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new _k(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new sk(n==null?void 0:n.joinRelation);var y;o.showType=(y=n==null?void 0:n.showType)!==null&&y!==void 0?y:"stretch";var d;o.showFullScreen=(d=n==null?void 0:n.showFullScreen)!==null&&d!==void 0?d:!1;var b;o.selectionType=(b=n==null?void 0:n.selectionType)!==null&&b!==void 0?b:"multiple";var O;o.isFixedHeader=(O=n==null?void 0:n.isFixedHeader)!==null&&O!==void 0?O:!1;var g;o.isShowSelection=(g=n==null?void 0:n.isShowSelection)!==null&&g!==void 0?g:!1;var w;o.isAllLoaded=(w=n==null?void 0:n.isAllLoaded)!==null&&w!==void 0?w:!0,o.countType=n==null?void 0:n.countType;var h;o.countLimit=(h=n==null?void 0:n.countLimit)!==null&&h!==void 0?h:1e5;var $;o.rowStyleType=($=n==null?void 0:n.rowStyleType)!==null&&$!==void 0?$:"none";var P;o.rowStyleBgColor=(P=n==null?void 0:n.rowStyleBgColor)!==null&&P!==void 0?P:"theme";var E;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(E=n==null||(r=n.rowStyleRules)===null||r===void 0?void 0:r.map(function(F){return new Tk(F)}))!==null&&E!==void 0?E:[]:[];var T;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(T=n==null||(i=n.rowStyleRulesScript)===null||i===void 0?void 0:i.map(function(F){return new Rk(F)}))!==null&&T!==void 0?T:[]:[],o}return e}(Z);V(so,"Rules",YG),V(so,"RuntimeRules",ZG);function eX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tX(t,e,n){return e=$l(e),iX(t,hS()?Reflect.construct(e,n||[],$l(t).constructor):e.apply(t,n))}function nX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oX(t,e,n){return e&&vS(t.prototype,e),n&&vS(t,n),t}function wl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $l(t){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(t)}function rX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fv(t,e)}function iX(t,e){return e&&(uX(e)==="object"||typeof e=="function")?e:eX(t)}function fv(t,e){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(t,e)}function uX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hS=function(){return!!t})()}var Pl=function(t){rX(e,t);function e(n){nX(this,e);var o;return o=tX(this,e,[n]),wl(o,"props",void 0),o.props=new so(n==null?void 0:n.props),o}return oX(e,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);wl(Pl,"excludes",[s.ROW]),wl(Pl,"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"]),wl(Pl,"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 cX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lX(t,e,n){return e=El(e),sX(t,mS()?Reflect.construct(e,n||[],El(t).constructor):e.apply(t,n))}function aX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function fX(t,e,n){return e&&bS(t.prototype,e),n&&bS(t,n),t}function _X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function El(t){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(t)}function yX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_v(t,e)}function sX(t,e){return e&&(pX(e)==="object"||typeof e=="function")?e:cX(t)}function _v(t,e){return _v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_v(t,e)}function pX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mS=function(){return!!t})()}var dX=function(t){yX(e,t);function e(n){aX(this,e);var o;return o=lX(this,e,[n]),_X(o,"props",void 0),o.props=new so(n==null?void 0:n.props),o}return fX(e,null,[{key:"controlType",get:function(){return"list-view"}}]),e}(Pt),vX={Designer:Pl,Runtime:dX,Property:so};function hX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gS(t,e,n){return e=Sl(e),bX(t,$S()?Reflect.construct(e,n||[],Sl(t).constructor):e.apply(t,n))}function OS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sl(t){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(t)}function wS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yv(t,e)}function bX(t,e){return e&&(mX(e)==="object"||typeof e=="function")?e:hX(t)}function yv(t,e){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(t,e)}function mX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $S(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($S=function(){return!!t})()}var gX=function(t){wS(e,t);function e(n){OS(this,e);var o;return o=gS(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),Tl=function(t){wS(e,t);function e(n){OS(this,e);var o;o=gS(this,e,[n]),gt(o,"save",void 0),gt(o,"cancel",void 0),gt(o,"saveAs",void 0),gt(o,"print",void 0),gt(o,"custom",void 0),gt(o,"isLoading",void 0),gt(o,"datasourceBind",void 0);var r;o.save=new ct((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var i;o.cancel=new ct((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var u;o.saveAs=new ct((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;o.print=new ct((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(_){return new ct(_)});var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o.datasourceBind=new G(n==null?void 0:n.datasourceBind),o}return e}(Z);gt(Tl,"RuntimeRules",gX);function OX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wX(t,e,n){return e=Rl(e),SX(t,SS()?Reflect.construct(e,n||[],Rl(t).constructor):e.apply(t,n))}function $X(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function PX(t,e,n){return e&&PS(t.prototype,e),n&&PS(t,n),t}function ES(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rl(t){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(t)}function EX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sv(t,e)}function SX(t,e){return e&&(TX(e)==="object"||typeof e=="function")?e:OX(t)}function sv(t,e){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(t,e)}function TX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SS=function(){return!!t})()}var TS=function(t){EX(e,t);function e(n){$X(this,e);var o;return o=wX(this,e,[n]),ES(o,"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return PX(e,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),e}(Y);ES(TS,"excludes",[]);function RX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IX(t,e,n){return e=Il(e),xX(t,IS()?Reflect.construct(e,n||[],Il(t).constructor):e.apply(t,n))}function BX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AX(t,e,n){return e&&RS(t.prototype,e),n&&RS(t,n),t}function kX(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Il(t){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(t)}function DX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pv(t,e)}function xX(t,e){return e&&(LX(e)==="object"||typeof e=="function")?e:RX(t)}function pv(t,e){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(t,e)}function LX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IS=function(){return!!t})()}var FX=function(t){DX(e,t);function e(n){BX(this,e);var o;return o=IX(this,e,[n]),kX(o,"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return AX(e,null,[{key:"controlType",get:function(){return"data-view"}}]),e}(Pt),jX={Designer:TS,Runtime:FX,Property:Tl};function MX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NX(t,e,n){return e=Bl(e),CX(t,BS()?Reflect.construct(e,n||[],Bl(t).constructor):e.apply(t,n))}function VX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bl(t){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(t)}function zX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vv(t,e)}function CX(t,e){return e&&(HX(e)==="object"||typeof e=="function")?e:MX(t)}function vv(t,e){return vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vv(t,e)}function HX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BS=function(){return!!t})()}var qX=function(t){zX(e,t);function e(n){VX(this,e);var o;o=NX(this,e,[n]),dv(o,"position",void 0),dv(o,"opacity",void 0),dv(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var u;return o.align=(u=n==null?void 0:n.align)!==null&&u!==void 0?u:"right",o}return e}(Z);function UX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WX(t,e,n){return e=Al(e),QX(t,kS()?Reflect.construct(e,n||[],Al(t).constructor):e.apply(t,n))}function KX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function GX(t,e,n){return e&&AS(t.prototype,e),n&&AS(t,n),t}function hv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Al(t){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(t)}function XX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bv(t,e)}function QX(t,e){return e&&(JX(e)==="object"||typeof e=="function")?e:UX(t)}function bv(t,e){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(t,e)}function JX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kS=function(){return!!t})()}var DS=function(t){XX(e,t);function e(n){KX(this,e);var o;o=WX(this,e,[n]),hv(o,"props",void 0);var r;return o.props=new qX((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return GX(e,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"}}]),e}(Y);hv(DS,"excludes",[]),hv(DS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function ZX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mv(t,e,n){return e=kl(e),YX(t,xS()?Reflect.construct(e,n||[],kl(t).constructor):e.apply(t,n))}function gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kl(t){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(t)}function Ov(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wv(t,e)}function YX(t,e){return e&&(eQ(e)==="object"||typeof e=="function")?e:ZX(t)}function wv(t,e){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(t,e)}function eQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xS=function(){return!!t})()}var tQ=function(t){Ov(e,t);function e(n){gv(this,e);var o;return o=mv(this,e,[n]),R(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),R(o,"limitRows",[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}]),R(o,"formKey",{type:"string",required:!1,message:p.getMessage("pleaseEnterForm")}),R(o,"maxHeight",{type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")}),R(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),R(o,"mobileRowCaption",{type:"string",required:!1,message:p.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return e}(W),nQ=function(t){Ov(e,t);function e(n){gv(this,e);var o;return o=mv(this,e,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:p.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return e}($t),$v=function(t){Ov(e,t);function e(n,o){gv(this,e);var r;r=mv(this,e,[n,o,e.mode]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"canExport",void 0),R(r,"canClear",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:Sv.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var c;r.defaultState=(c=o==null?void 0:o.defaultState)!==null&&c!==void 0?c:"default";var a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var l;r.openType=(l=o==null?void 0:o.openType)!==null&&l!==void 0?l:"default";var _;r.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var y;r.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:pL;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var O;r.limitRows=(O=o==null?void 0:o.limitRows)!==null&&O!==void 0?O:1;var g;r.maxRows=(g=o==null?void 0:o.maxRows)!==null&&g!==void 0?g:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new G(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var P;r.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!1;var E;r.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var T;r.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var F;r.canExport=(F=o==null?void 0:o.canExport)!==null&&F!==void 0?F:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var ue;r.serverPagination=(ue=o==null?void 0:o.serverPagination)!==null&&ue!==void 0?ue:!1;var I;r.isShowCaptionTip=(I=o==null?void 0:o.isShowCaptionTip)!==null&&I!==void 0?I:!1;var We;r.captionTip=(We=o==null?void 0:o.captionTip)!==null&&We!==void 0?We:"";var wo;r.mobileShowType=(wo=o==null?void 0:o.mobileShowType)!==null&&wo!==void 0?wo:"list";var Kn;r.mobileDefaultNum=(Kn=o==null?void 0:o.mobileDefaultNum)!==null&&Kn!==void 0?Kn:10;var xt;r.dataStorageDoc=(xt=o==null?void 0:o.dataStorageDoc)!==null&&xt!==void 0?xt:new ck;var Ke;r.fixedColumn=(Ke=o==null?void 0:o.fixedColumn)!==null&&Ke!==void 0?Ke:[];var f0;r.mobileRowCaption=(f0=o==null?void 0:o.mobileRowCaption)!==null&&f0!==void 0?f0:"\u660E\u7EC6";var _0;r.mobileIsTile=(_0=o==null?void 0:o.mobileIsTile)!==null&&_0!==void 0?_0:!1;var y0;r.isPaste=(y0=o==null?void 0:o.isPaste)!==null&&y0!==void 0?y0:!1;var s0;r.pageSize=(s0=o==null?void 0:o.pageSize)!==null&&s0!==void 0?s0:10;var p0;return r.pageSizeOptions=(p0=o==null?void 0:o.pageSizeOptions)!==null&&p0!==void 0?p0:[10,20,50,100],r}return e}(Df);R($v,"Rules",tQ),R($v,"RuntimeRules",nQ);function oQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rQ(t,e,n){return e=Dl(e),lQ(t,FS()?Reflect.construct(e,n||[],Dl(t).constructor):e.apply(t,n))}function iQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uQ(t,e,n){return e&&LS(t.prototype,e),n&&LS(t,n),t}function Pv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dl(t){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(t)}function cQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ev(t,e)}function lQ(t,e){return e&&(aQ(e)==="object"||typeof e=="function")?e:oQ(t)}function Ev(t,e){return Ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ev(t,e)}function aQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FS=function(){return!!t})()}var Sv=function(t){cQ(e,t);function e(n){iQ(this,e);var o,r,i;return o=rQ(this,e,[n]),Pv(o,"props",void 0),o.props=new $v(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new Me,new Me,new Me]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return uQ(e,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Me,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),e}(Ff);Pv(Sv,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Pv(Sv,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP,f.IS_PASTE,f.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 fQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _Q(t,e,n){return e=xl(e),pQ(t,jS()?Reflect.construct(e,n||[],xl(t).constructor):e.apply(t,n))}function yQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function po(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xl(t){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(t)}function sQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tv(t,e)}function pQ(t,e){return e&&(dQ(e)==="object"||typeof e=="function")?e:fQ(t)}function Tv(t,e){return Tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tv(t,e)}function dQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jS=function(){return!!t})()}var vQ=function(t){sQ(e,t);function e(n,o){yQ(this,e);var r;r=_Q(this,e,[n,o]),po(r,"isFixedHeader",void 0),po(r,"selectionType",void 0),po(r,"isShowToolbar",void 0),po(r,"isShowSelection",void 0),po(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var c;r.isShowSelection=(c=o==null?void 0:o.isShowSelection)!==null&&c!==void 0?c:!1;var a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var l;return r.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[10,20,50,100,500],r}return e}(Df);function hQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MS(t,e,n){return e=Ll(e),mQ(t,zS()?Reflect.construct(e,n||[],Ll(t).constructor):e.apply(t,n))}function NS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bQ(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ll(t){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(t)}function VS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rv(t,e)}function mQ(t,e){return e&&(gQ(e)==="object"||typeof e=="function")?e:hQ(t)}function Rv(t,e){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(t,e)}function gQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zS=function(){return!!t})()}var OQ=function(t){VS(e,t);function e(n){NS(this,e);var o;return o=MS(this,e,[n]),o.caption.required=!1,o}return e}(ze),Iv=function(t){VS(e,t);function e(n){NS(this,e);var o,r,i;o=MS(this,e,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:_n.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var l;o.autoWidth.minWidth=(l=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&l!==void 0?l:60;var _;o.autoWidth.flex=(_=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&_!==void 0?_:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return e}(q);bQ(Iv,"Rules",OQ);function wQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $Q(t,e,n){return e=Fl(e),SQ(t,CS()?Reflect.construct(e,n||[],Fl(t).constructor):e.apply(t,n))}function PQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fl(t){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(t)}function EQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bv(t,e)}function SQ(t,e){return e&&(TQ(e)==="object"||typeof e=="function")?e:wQ(t)}function Bv(t,e){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(t,e)}function TQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CS=function(){return!!t})()}var _n=function(t){EQ(e,t);function e(n){PQ(this,e);var o;return o=$Q(this,e,[n]),vo(o,"props",void 0),o.props=new Iv(n==null?void 0:n.props),o}return e}(te);vo(_n,"controlType","order-column"),vo(_n,"controlName","\u5E8F\u53F7"),vo(_n,"controlIcon","order-column"),vo(_n,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function RQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IQ(t,e,n){return e=jl(e),kQ(t,HS()?Reflect.construct(e,n||[],jl(t).constructor):e.apply(t,n))}function BQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Av(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jl(t){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(t)}function AQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kv(t,e)}function kQ(t,e){return e&&(DQ(e)==="object"||typeof e=="function")?e:RQ(t)}function kv(t,e){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(t,e)}function DQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HS=function(){return!!t})()}var qS=function(t){AQ(e,t);function e(n){BQ(this,e);var o;return o=IQ(this,e,[n]),Av(o,"props",void 0),o.props=new Iv(n==null?void 0:n.props),o}return e}(ne);Av(qS,"controlType","order-column"),Av(qS,"controlFieldType",m.DECIMAL);function xQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LQ(t,e,n){return e=Ml(e),MQ(t,WS()?Reflect.construct(e,n||[],Ml(t).constructor):e.apply(t,n))}function FQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function US(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ml(t){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(t)}function jQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dv(t,e)}function MQ(t,e){return e&&(NQ(e)==="object"||typeof e=="function")?e:xQ(t)}function Dv(t,e){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(t,e)}function NQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WS=function(){return!!t})()}var KS=function(t){jQ(e,t);function e(n){FQ(this,e);var o,r;o=LQ(this,e,[n]),US(o,"showType",void 0),US(o,"limit",void 0);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right",o.widthType="auto";var u;o.autoWidth.minWidth=(u=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&u!==void 0?u:84;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:yn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var l;return o.limit=(l=n==null?void 0:n.limit)!==null&&l!==void 0?l:3,o}return e}(q);function VQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GS(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function zQ(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){GS(i,o,r,u,c,"next",a)}function c(a){GS(i,o,r,u,c,"throw",a)}u(void 0)})}}function CQ(t,e,n){return e=It(e),WQ(t,QS()?Reflect.construct(e,n||[],It(t).constructor):e.apply(t,n))}function HQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qQ(t,e,n){return e&&XS(t.prototype,e),n&&XS(t,n),t}function ho(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bo(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?bo=Reflect.get:bo=function(r,i,u){var c=KQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},bo(t,e,n||t)}function It(t){return It=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},It(t)}function UQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xv(t,e)}function WQ(t,e){return e&&(GQ(e)==="object"||typeof e=="function")?e:VQ(t)}function xv(t,e){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(t,e)}function KQ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=It(t),t!==null););return t}function GQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QS=function(){return!!t})()}function XQ(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[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(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var yn=function(t){UQ(e,t);function e(n){HQ(this,e);var o;return o=CQ(this,e,[n]),ho(o,"props",void 0),o.props=new KS(n==null?void 0:n.props),o}return qQ(e,[{key:"toDataBindModel",value:function(){var o=bo(It(e.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===ti.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return bo(It(e.prototype),"validate",i)};return zQ(function(){return XQ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}]),e}(te);ho(yn,"controlType","operation-column"),ho(yn,"controlName","\u64CD\u4F5C"),ho(yn,"controlIcon","operation-column"),ho(yn,"setting",[{key:"caption",showItems:[f.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 QQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JQ(t,e,n){return e=Nl(e),eJ(t,JS()?Reflect.construct(e,n||[],Nl(t).constructor):e.apply(t,n))}function ZQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nl(t){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nl(t)}function YQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fv(t,e)}function eJ(t,e){return e&&(tJ(e)==="object"||typeof e=="function")?e:QQ(t)}function Fv(t,e){return Fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fv(t,e)}function tJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JS=function(){return!!t})()}var ZS=function(t){YQ(e,t);function e(n){ZQ(this,e);var o;return o=JQ(this,e,[n]),Lv(o,"props",void 0),o.props=new KS(n==null?void 0:n.props),o}return e}(ne);Lv(ZS,"controlType","operation-column"),Lv(ZS,"controlFieldType",m.FILE);function nJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YS(t,e,n,o,r,i,u){try{var c=t[i](u),a=c.value}catch(l){n(l);return}c.done?e(a):Promise.resolve(a).then(o,r)}function oJ(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function u(a){YS(i,o,r,u,c,"next",a)}function c(a){YS(i,o,r,u,c,"throw",a)}u(void 0)})}}function rJ(t,e,n){return e=Bt(e),_J(t,tT()?Reflect.construct(e,n||[],Bt(t).constructor):e.apply(t,n))}function iJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uJ(t,e,n){return e&&eT(t.prototype,e),n&&eT(t,n),t}function Vl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mo(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?mo=Reflect.get:mo=function(r,i,u){var c=yJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},mo(t,e,n||t)}function Bt(t){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bt(t)}function cJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jv(t,e)}function lJ(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Vl(t,r,n[r])})}return t}function aJ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function fJ(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):aJ(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function _J(t,e){return e&&(sJ(e)==="object"||typeof e=="function")?e:nJ(t)}function jv(t,e){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(t,e)}function yJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Bt(t),t!==null););return t}function sJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tT=function(){return!!t})()}function pJ(t,e){var n,o,r,i,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[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(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,o=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){u.label=l[1];break}if(l[0]===6&&u.label<r[1]){u.label=r[1],r=l;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(l);break}r[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var dJ=function(t){cJ(e,t);function e(n){iJ(this,e);var o,r;return o=rJ(this,e,[n]),Vl(o,"props",void 0),Vl(o,"children",void 0),o.props=new vQ(o,n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new _n,new yn]),(n==null||(r=n.props)===null||r===void 0?void 0:r.footers)===void 0&&(o.props.footers=[]),o}return uJ(e,[{key:"toSchema",value:function(){var o=mo(Bt(e.prototype),"toSchema",this).call(this),r=this.children.map(function(i){return i.toSchema()});return fJ(lJ({},o),{children:r})}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return mo(Bt(e.prototype),"validate",i)};return oJ(function(){return pJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(u.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),e}(Ff);Vl(dJ,"setting",[{key:"list-fixed-header",visible:!0}]);function vJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nT(t,e,n){return e=zl(e),hJ(t,iT()?Reflect.construct(e,n||[],zl(t).constructor):e.apply(t,n))}function oT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zl(t){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(t)}function rT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mv(t,e)}function hJ(t,e){return e&&(bJ(e)==="object"||typeof e=="function")?e:vJ(t)}function Mv(t,e){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(t,e)}function bJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iT=function(){return!!t})()}var mJ=function(t){rT(e,t);function e(n){oT(this,e);var o;return o=nT(this,e,[n]),st.call(o,n),o}return e}(Rb),Nv=function(t){rT(e,t);function e(n){oT(this,e);var o;o=nT(this,e,[n]),Ot(o,"optionConfig",void 0),Ot(o,"datasourceBind",void 0),Ot(o,"showLinkOperation",void 0),Ot(o,"linkOperationOption",void 0),Ot(o,"options",void 0),Ot(o,"lineEllipsis",void 0),Ot(o,"displayPlaintext",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:pn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.options=Qe((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var l;return o.displayPlaintext=(l=n==null?void 0:n.displayPlaintext)!==null&&l!==void 0?l:!1,o}return e}(q);Ot(Nv,"Rules",mJ);function gJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OJ(t,e,n){return e=Cl(e),PJ(t,uT()?Reflect.construct(e,n||[],Cl(t).constructor):e.apply(t,n))}function wJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cl(t){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(t)}function $J(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vv(t,e)}function PJ(t,e){return e&&(EJ(e)==="object"||typeof e=="function")?e:gJ(t)}function Vv(t,e){return Vv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vv(t,e)}function EJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uT=function(){return!!t})()}var pn=function(t){$J(e,t);function e(n){wJ(this,e);var o;return o=OJ(this,e,[n]),sn(o,"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return e}(te);sn(pn,"controlType","varchar-column"),sn(pn,"controlName","\u77ED\u6587\u672C"),sn(pn,"controlIcon","varchar-column"),sn(pn,"controlFieldType",m.VARCHAR),sn(pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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},{key:"column-display-plaintext",visible:!0}]);function SJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TJ(t,e,n){return e=Hl(e),BJ(t,cT()?Reflect.construct(e,n||[],Hl(t).constructor):e.apply(t,n))}function RJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hl(t){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(t)}function IJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cv(t,e)}function BJ(t,e){return e&&(AJ(e)==="object"||typeof e=="function")?e:SJ(t)}function Cv(t,e){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(t,e)}function AJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cT=function(){return!!t})()}var lT=function(t){IJ(e,t);function e(n){RJ(this,e);var o;return o=TJ(this,e,[n]),zv(o,"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return e}(ne);zv(lT,"controlType","varchar-column"),zv(lT,"controlFieldType",m.VARCHAR);function kJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aT(t,e,n){return e=ql(e),DJ(t,yT()?Reflect.construct(e,n||[],ql(t).constructor):e.apply(t,n))}function fT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function go(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ql(t){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(t)}function _T(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hv(t,e)}function DJ(t,e){return e&&(xJ(e)==="object"||typeof e=="function")?e:kJ(t)}function Hv(t,e){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(t,e)}function xJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yT=function(){return!!t})()}var LJ=function(t){_T(e,t);function e(n){fT(this,e);var o;return o=aT(this,e,[n]),st.call(o,n),o}return e}(ze),qv=function(t){_T(e,t);function e(n){fT(this,e);var o;o=aT(this,e,[n]),go(o,"escapeHTML",void 0),go(o,"showLinkOperation",void 0),go(o,"linkOperationOption",void 0),go(o,"lineEllipsis",void 0);var r;o.escapeHTML=(r=n==null?void 0:n.escapeHTML)!==null&&r!==void 0?r:!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(q);go(qv,"Rules",LJ);function FJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jJ(t,e,n){return e=vn(e),zJ(t,pT()?Reflect.construct(e,n||[],vn(t).constructor):e.apply(t,n))}function MJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NJ(t,e,n){return e&&sT(t.prototype,e),n&&sT(t,n),t}function dn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ul(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ul=Reflect.get:Ul=function(r,i,u){var c=CJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ul(t,e,n||t)}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function VJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uv(t,e)}function zJ(t,e){return e&&(HJ(e)==="object"||typeof e=="function")?e:FJ(t)}function Uv(t,e){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(t,e)}function CJ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=vn(t),t!==null););return t}function HJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pT=function(){return!!t})()}var hn=function(t){VJ(e,t);function e(n){MJ(this,e);var o;return o=jJ(this,e,[n]),dn(o,"props",void 0),o.props=new qv(n==null?void 0:n.props),o}return NJ(e,[{key:"toDataBindModel",value:function(o){var r=Ul(vn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),e}(te);dn(hn,"controlType","text-column"),dn(hn,"controlName","\u957F\u6587\u672C"),dn(hn,"controlIcon","text-column"),dn(hn,"controlFieldType",m.TEXT),dn(hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 qJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UJ(t,e,n){return e=Wl(e),GJ(t,dT()?Reflect.construct(e,n||[],Wl(t).constructor):e.apply(t,n))}function WJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wl(t){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(t)}function KJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kv(t,e)}function GJ(t,e){return e&&(XJ(e)==="object"||typeof e=="function")?e:qJ(t)}function Kv(t,e){return Kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kv(t,e)}function XJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dT=function(){return!!t})()}var vT=function(t){KJ(e,t);function e(n){WJ(this,e);var o;return o=UJ(this,e,[n]),Wv(o,"props",void 0),o.props=new qv(n==null?void 0:n.props),o}return e}(ne);Wv(vT,"controlType","text-column"),Wv(vT,"controlFieldType",m.TEXT);function QJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hT(t,e,n){return e=Kl(e),JJ(t,gT()?Reflect.construct(e,n||[],Kl(t).constructor):e.apply(t,n))}function bT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kl(t){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(t)}function mT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gv(t,e)}function JJ(t,e){return e&&(ZJ(e)==="object"||typeof e=="function")?e:QJ(t)}function Gv(t,e){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(t,e)}function ZJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gT=function(){return!!t})()}var YJ=function(t){mT(e,t);function e(n){bT(this,e);var o;return o=hT(this,e,[n]),st.call(o,n),o}return e}(ze),Xv=function(t){mT(e,t);function e(n){bT(this,e);var o;o=hT(this,e,[n]),ot(o,"optionConfig",void 0),ot(o,"datasourceBind",void 0),ot(o,"showLinkOperation",void 0),ot(o,"linkOperationOption",void 0),ot(o,"options",void 0),ot(o,"precision",void 0),ot(o,"micrometer",void 0),ot(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:gn.controlName;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.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var l;o.options=Qe((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(q);ot(Xv,"Rules",YJ);function eZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tZ(t,e,n){return e=mn(e),iZ(t,wT()?Reflect.construct(e,n||[],mn(t).constructor):e.apply(t,n))}function nZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oZ(t,e,n){return e&&OT(t.prototype,e),n&&OT(t,n),t}function bn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Gl=Reflect.get:Gl=function(r,i,u){var c=uZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Gl(t,e,n||t)}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(t)}function rZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qv(t,e)}function iZ(t,e){return e&&(cZ(e)==="object"||typeof e=="function")?e:eZ(t)}function Qv(t,e){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(t,e)}function uZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=mn(t),t!==null););return t}function cZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wT=function(){return!!t})()}var gn=function(t){rZ(e,t);function e(n){nZ(this,e);var o;return o=tZ(this,e,[n]),bn(o,"props",void 0),o.props=new Xv(n==null?void 0:n.props),o}return oZ(e,[{key:"toDataBindModel",value:function(o){var r=Gl(mn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),e}(te);bn(gn,"controlType","decimal-column"),bn(gn,"controlName","\u6570\u503C"),bn(gn,"controlIcon","decimal-column"),bn(gn,"controlFieldType",m.DECIMAL),bn(gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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:[f.MICROMETER,f.PRECISION,f.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function lZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aZ(t,e,n){return e=Xl(e),yZ(t,$T()?Reflect.construct(e,n||[],Xl(t).constructor):e.apply(t,n))}function fZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xl(t){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(t)}function _Z(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zv(t,e)}function yZ(t,e){return e&&(sZ(e)==="object"||typeof e=="function")?e:lZ(t)}function Zv(t,e){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(t,e)}function sZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $T(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($T=function(){return!!t})()}var PT=function(t){_Z(e,t);function e(n){fZ(this,e);var o;return o=aZ(this,e,[n]),Jv(o,"props",void 0),o.props=new Xv(n==null?void 0:n.props),o}return e}(ne);Jv(PT,"controlType","decimal-column"),Jv(PT,"controlFieldType",m.DECIMAL);function pZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ET(t,e,n){return e=Jl(e),dZ(t,RT()?Reflect.construct(e,n||[],Jl(t).constructor):e.apply(t,n))}function ST(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jl(t){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(t)}function TT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yv(t,e)}function dZ(t,e){return e&&(vZ(e)==="object"||typeof e=="function")?e:pZ(t)}function Yv(t,e){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(t,e)}function vZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RT=function(){return!!t})()}var hZ=function(t){TT(e,t);function e(n){ST(this,e);var o;return o=ET(this,e,[n]),st.call(o,n),o}return e}(ze),eh=function(t){TT(e,t);function e(n){ST(this,e);var o;o=ET(this,e,[n]),Ql(o,"dateType",void 0),Ql(o,"showLinkOperation",void 0),Ql(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:rt.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:$n.controlName,o}return e}(q);Ql(eh,"Rules",hZ);function bZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mZ(t,e,n){return e=wn(e),$Z(t,BT()?Reflect.construct(e,n||[],wn(t).constructor):e.apply(t,n))}function gZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OZ(t,e,n){return e&&IT(t.prototype,e),n&&IT(t,n),t}function On(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Zl=Reflect.get:Zl=function(r,i,u){var c=PZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Zl(t,e,n||t)}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function wZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&th(t,e)}function $Z(t,e){return e&&(EZ(e)==="object"||typeof e=="function")?e:bZ(t)}function th(t,e){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(t,e)}function PZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=wn(t),t!==null););return t}function EZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BT=function(){return!!t})()}var $n=function(t){wZ(e,t);function e(n){gZ(this,e);var o;return o=mZ(this,e,[n]),On(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return OZ(e,[{key:"toDataBindModel",value:function(o){var r=Zl(wn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);On($n,"controlType","timescope-column"),On($n,"controlName","\u65E5\u671F\u533A\u95F4"),On($n,"controlIcon","timescope-column"),On($n,"controlFieldType",m.TIMESCOPE),On($n,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 SZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TZ(t,e,n){return e=Yl(e),BZ(t,AT()?Reflect.construct(e,n||[],Yl(t).constructor):e.apply(t,n))}function RZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yl(t){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(t)}function IZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oh(t,e)}function BZ(t,e){return e&&(AZ(e)==="object"||typeof e=="function")?e:SZ(t)}function oh(t,e){return oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oh(t,e)}function AZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AT=function(){return!!t})()}var kT=function(t){IZ(e,t);function e(n){RZ(this,e);var o;return o=TZ(this,e,[n]),nh(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return e}(ne);nh(kT,"controlType","timescope-column"),nh(kT,"controlFieldType",m.TIMESCOPE);function kZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DT(t,e,n){return e=ta(e),DZ(t,FT()?Reflect.construct(e,n||[],ta(t).constructor):e.apply(t,n))}function xT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ta(t){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(t)}function LT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rh(t,e)}function DZ(t,e){return e&&(xZ(e)==="object"||typeof e=="function")?e:kZ(t)}function rh(t,e){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(t,e)}function xZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FT=function(){return!!t})()}var LZ=function(t){LT(e,t);function e(n){xT(this,e);var o;return o=DT(this,e,[n]),st.call(o,n),o}return e}(ze),ih=function(t){LT(e,t);function e(n){xT(this,e);var o;o=DT(this,e,[n]),ea(o,"dateType",void 0),ea(o,"showLinkOperation",void 0),ea(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:rt.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Sn.controlName,o}return e}(q);ea(ih,"Rules",LZ);function FZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jZ(t,e,n){return e=En(e),zZ(t,MT()?Reflect.construct(e,n||[],En(t).constructor):e.apply(t,n))}function MZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NZ(t,e,n){return e&&jT(t.prototype,e),n&&jT(t,n),t}function Pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function na(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?na=Reflect.get:na=function(r,i,u){var c=CZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},na(t,e,n||t)}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function VZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uh(t,e)}function zZ(t,e){return e&&(HZ(e)==="object"||typeof e=="function")?e:FZ(t)}function uh(t,e){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(t,e)}function CZ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=En(t),t!==null););return t}function HZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MT=function(){return!!t})()}var Sn=function(t){VZ(e,t);function e(n){MZ(this,e);var o;return o=jZ(this,e,[n]),Pn(o,"props",void 0),o.props=new ih(n==null?void 0:n.props),o}return NZ(e,[{key:"toDataBindModel",value:function(o){var r=na(En(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);Pn(Sn,"controlType","timestamp-column"),Pn(Sn,"controlName","\u65E5\u671F"),Pn(Sn,"controlIcon","timestamp-column"),Pn(Sn,"controlFieldType",m.TIMESTAMP),Pn(Sn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 qZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UZ(t,e,n){return e=oa(e),GZ(t,NT()?Reflect.construct(e,n||[],oa(t).constructor):e.apply(t,n))}function WZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ch(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oa(t){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(t)}function KZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lh(t,e)}function GZ(t,e){return e&&(XZ(e)==="object"||typeof e=="function")?e:qZ(t)}function lh(t,e){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(t,e)}function XZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NT=function(){return!!t})()}var VT=function(t){KZ(e,t);function e(n){WZ(this,e);var o;return o=UZ(this,e,[n]),ch(o,"props",void 0),o.props=new ih(n==null?void 0:n.props),o}return e}(ne);ch(VT,"controlType","timestamp-column"),ch(VT,"controlFieldType",m.TIMESTAMP);function QZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zT(t,e,n){return e=ra(e),JZ(t,qT()?Reflect.construct(e,n||[],ra(t).constructor):e.apply(t,n))}function CT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ra(t){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(t)}function HT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ah(t,e)}function JZ(t,e){return e&&(ZZ(e)==="object"||typeof e=="function")?e:QZ(t)}function ah(t,e){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(t,e)}function ZZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qT=function(){return!!t})()}var YZ=function(t){HT(e,t);function e(n){CT(this,e);var o;return o=zT(this,e,[n]),st.call(o,n),o}return e}(Rb),fh=function(t){HT(e,t);function e(n){CT(this,e);var o;o=zT(this,e,[n]),Tn(o,"optionConfig",void 0),Tn(o,"datasourceBind",void 0),Tn(o,"showLinkOperation",void 0),Tn(o,"linkOperationOption",void 0),Tn(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:In.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var c;return o.options=Qe((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return e}(q);Tn(fh,"Rules",YZ);function eY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tY(t,e,n){return e=ia(e),rY(t,UT()?Reflect.construct(e,n||[],ia(t).constructor):e.apply(t,n))}function nY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ia(t){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(t)}function oY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_h(t,e)}function rY(t,e){return e&&(iY(e)==="object"||typeof e=="function")?e:eY(t)}function _h(t,e){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(t,e)}function iY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UT=function(){return!!t})()}var In=function(t){oY(e,t);function e(n){nY(this,e);var o;return o=tY(this,e,[n]),Rn(o,"props",void 0),o.props=new fh(n==null?void 0:n.props),o}return e}(te);Rn(In,"controlType","array-column"),Rn(In,"controlName","\u6570\u7EC4"),Rn(In,"controlIcon","array-column"),Rn(In,"controlFieldType",m.ARRAY),Rn(In,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 uY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cY(t,e,n){return e=ua(e),fY(t,WT()?Reflect.construct(e,n||[],ua(t).constructor):e.apply(t,n))}function lY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ua(t){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(t)}function aY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sh(t,e)}function fY(t,e){return e&&(_Y(e)==="object"||typeof e=="function")?e:uY(t)}function sh(t,e){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(t,e)}function _Y(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WT=function(){return!!t})()}var KT=function(t){aY(e,t);function e(n){lY(this,e);var o;return o=cY(this,e,[n]),yh(o,"props",void 0),o.props=new fh(n==null?void 0:n.props),o}return e}(ne);yh(KT,"controlType","array-column"),yh(KT,"controlFieldType",m.ARRAY);function yY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sY(t,e,n){return e=ca(e),hY(t,GT()?Reflect.construct(e,n||[],ca(t).constructor):e.apply(t,n))}function pY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dY(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ca(t){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(t)}function vY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ph(t,e)}function hY(t,e){return e&&(bY(e)==="object"||typeof e=="function")?e:yY(t)}function ph(t,e){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(t,e)}function bY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GT=function(){return!!t})()}var XT=function(t){vY(e,t);function e(n){pY(this,e);var o;o=sY(this,e,[n]),dY(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:kn.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return e}(q);function mY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gY(t,e,n){return e=An(e),PY(t,JT()?Reflect.construct(e,n||[],An(t).constructor):e.apply(t,n))}function OY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wY(t,e,n){return e&&QT(t.prototype,e),n&&QT(t,n),t}function Bn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function la(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?la=Reflect.get:la=function(r,i,u){var c=EY(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},la(t,e,n||t)}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function $Y(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dh(t,e)}function PY(t,e){return e&&(SY(e)==="object"||typeof e=="function")?e:mY(t)}function dh(t,e){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(t,e)}function EY(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=An(t),t!==null););return t}function SY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JT=function(){return!!t})()}var kn=function(t){$Y(e,t);function e(n){OY(this,e);var o;return o=gY(this,e,[n]),Bn(o,"props",void 0),o.props=new XT(n==null?void 0:n.props),o}return wY(e,[{key:"toDataBindModel",value:function(o){var r=la(An(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),e}(te);Bn(kn,"controlType","department-column"),Bn(kn,"controlName","\u90E8\u95E8"),Bn(kn,"controlIcon","department-column"),Bn(kn,"controlFieldType",m.DEPARTMENTS),Bn(kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 TY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RY(t,e,n){return e=aa(e),AY(t,ZT()?Reflect.construct(e,n||[],aa(t).constructor):e.apply(t,n))}function IY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function aa(t){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(t)}function BY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hh(t,e)}function AY(t,e){return e&&(kY(e)==="object"||typeof e=="function")?e:TY(t)}function hh(t,e){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(t,e)}function kY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZT=function(){return!!t})()}var YT=function(t){BY(e,t);function e(n){IY(this,e);var o;return o=RY(this,e,[n]),vh(o,"props",void 0),o.props=new XT(n==null?void 0:n.props),o}return e}(ne);vh(YT,"controlType","department-column"),vh(YT,"controlFieldType",m.DEPARTMENTS);function DY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eR(t,e,n){return e=fa(e),xY(t,oR()?Reflect.construct(e,n||[],fa(t).constructor):e.apply(t,n))}function tR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fa(t){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(t)}function nR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mh(t,e)}function xY(t,e){return e&&(LY(e)==="object"||typeof e=="function")?e:DY(t)}function mh(t,e){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(t,e)}function LY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oR=function(){return!!t})()}var FY=function(t){nR(e,t);function e(n){tR(this,e);var o;return o=eR(this,e,[n]),st.call(o,n),o}return e}(ze),gh=function(t){nR(e,t);function e(n){tR(this,e);var o;o=eR(this,e,[n]),bh(o,"showLinkOperation",void 0),bh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:xn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(q);bh(gh,"Rules",FY);function jY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MY(t,e,n){return e=_a(e),zY(t,rR()?Reflect.construct(e,n||[],_a(t).constructor):e.apply(t,n))}function NY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _a(t){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(t)}function VY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oh(t,e)}function zY(t,e){return e&&(CY(e)==="object"||typeof e=="function")?e:jY(t)}function Oh(t,e){return Oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oh(t,e)}function CY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rR=function(){return!!t})()}var xn=function(t){VY(e,t);function e(n){NY(this,e);var o;return o=MY(this,e,[n]),Dn(o,"props",void 0),o.props=new gh(n==null?void 0:n.props),o}return e}(te);Dn(xn,"controlType","auto-number-column"),Dn(xn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Dn(xn,"controlIcon","auto-number-column"),Dn(xn,"controlFieldType",m.AUTO_NUMBER),Dn(xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 HY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qY(t,e,n){return e=ya(e),KY(t,iR()?Reflect.construct(e,n||[],ya(t).constructor):e.apply(t,n))}function UY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ya(t){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(t)}function WY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$h(t,e)}function KY(t,e){return e&&(GY(e)==="object"||typeof e=="function")?e:HY(t)}function $h(t,e){return $h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$h(t,e)}function GY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iR=function(){return!!t})()}var uR=function(t){WY(e,t);function e(n){UY(this,e);var o;return o=qY(this,e,[n]),wh(o,"props",void 0),o.props=new gh(n==null?void 0:n.props),o}return e}(ne);wh(uR,"controlType","auto-number-column"),wh(uR,"controlFieldType",m.AUTO_NUMBER);function XY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QY(t,e,n){return e=sa(e),YY(t,cR()?Reflect.construct(e,n||[],sa(t).constructor):e.apply(t,n))}function JY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sa(t){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(t)}function ZY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ph(t,e)}function YY(t,e){return e&&(eee(e)==="object"||typeof e=="function")?e:XY(t)}function Ph(t,e){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(t,e)}function eee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cR=function(){return!!t})()}var lR=function(t){ZY(e,t);function e(n){JY(this,e);var o;o=QY(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Fn.controlName,o}return e}(q);function tee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nee(t,e,n){return e=pa(e),iee(t,aR()?Reflect.construct(e,n||[],pa(t).constructor):e.apply(t,n))}function oee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pa(t){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(t)}function ree(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eh(t,e)}function iee(t,e){return e&&(uee(e)==="object"||typeof e=="function")?e:tee(t)}function Eh(t,e){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(t,e)}function uee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aR=function(){return!!t})()}var Fn=function(t){ree(e,t);function e(n){oee(this,e);var o;return o=nee(this,e,[n]),Ln(o,"props",void 0),o.props=new lR(n==null?void 0:n.props),o}return e}(te);Ln(Fn,"controlType","file-column"),Ln(Fn,"controlName","\u9644\u4EF6"),Ln(Fn,"controlIcon","file-column"),Ln(Fn,"controlFieldType",m.FILE),Ln(Fn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 cee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lee(t,e,n){return e=da(e),_ee(t,fR()?Reflect.construct(e,n||[],da(t).constructor):e.apply(t,n))}function aee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function da(t){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(t)}function fee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Th(t,e)}function _ee(t,e){return e&&(yee(e)==="object"||typeof e=="function")?e:cee(t)}function Th(t,e){return Th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Th(t,e)}function yee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fR=function(){return!!t})()}var _R=function(t){fee(e,t);function e(n){aee(this,e);var o;return o=lee(this,e,[n]),Sh(o,"props",void 0),o.props=new lR(n==null?void 0:n.props),o}return e}(ne);Sh(_R,"controlType","file-column"),Sh(_R,"controlFieldType",m.FILE);function see(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pee(t,e,n){return e=va(e),hee(t,yR()?Reflect.construct(e,n||[],va(t).constructor):e.apply(t,n))}function dee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function va(t){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(t)}function vee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rh(t,e)}function hee(t,e){return e&&(bee(e)==="object"||typeof e=="function")?e:see(t)}function Rh(t,e){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(t,e)}function bee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yR=function(){return!!t})()}var sR=function(t){vee(e,t);function e(n){dee(this,e);var o;o=pee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Mn.controlName,o}return e}(q);function mee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gee(t,e,n){return e=ha(e),$ee(t,pR()?Reflect.construct(e,n||[],ha(t).constructor):e.apply(t,n))}function Oee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ha(t){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(t)}function wee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ih(t,e)}function $ee(t,e){return e&&(Pee(e)==="object"||typeof e=="function")?e:mee(t)}function Ih(t,e){return Ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ih(t,e)}function Pee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pR=function(){return!!t})()}var Mn=function(t){wee(e,t);function e(n){Oee(this,e);var o;return o=gee(this,e,[n]),jn(o,"props",void 0),o.props=new sR(n==null?void 0:n.props),o}return e}(te);jn(Mn,"controlType","image-column"),jn(Mn,"controlName","\u56FE\u7247"),jn(Mn,"controlIcon","image-column"),jn(Mn,"controlFieldType",m.IMAGE),jn(Mn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 Eee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function See(t,e,n){return e=ba(e),Iee(t,dR()?Reflect.construct(e,n||[],ba(t).constructor):e.apply(t,n))}function Tee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ba(t){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(t)}function Ree(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ah(t,e)}function Iee(t,e){return e&&(Bee(e)==="object"||typeof e=="function")?e:Eee(t)}function Ah(t,e){return Ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ah(t,e)}function Bee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dR=function(){return!!t})()}var vR=function(t){Ree(e,t);function e(n){Tee(this,e);var o;return o=See(this,e,[n]),Bh(o,"props",void 0),o.props=new sR(n==null?void 0:n.props),o}return e}(ne);Bh(vR,"controlType","image-column"),Bh(vR,"controlFieldType",m.IMAGE);function Aee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kee(t,e,n){return e=ma(e),Lee(t,hR()?Reflect.construct(e,n||[],ma(t).constructor):e.apply(t,n))}function Dee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ma(t){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(t)}function xee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kh(t,e)}function Lee(t,e){return e&&(Fee(e)==="object"||typeof e=="function")?e:Aee(t)}function kh(t,e){return kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kh(t,e)}function Fee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hR=function(){return!!t})()}var bR=function(t){xee(e,t);function e(n){Dee(this,e);var o;o=kee(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Vn.controlName,o}return e}(q);function jee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mee(t,e,n){return e=ga(e),zee(t,mR()?Reflect.construct(e,n||[],ga(t).constructor):e.apply(t,n))}function Nee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ga(t){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(t)}function Vee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dh(t,e)}function zee(t,e){return e&&(Cee(e)==="object"||typeof e=="function")?e:jee(t)}function Dh(t,e){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(t,e)}function Cee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mR=function(){return!!t})()}var Vn=function(t){Vee(e,t);function e(n){Nee(this,e);var o;return o=Mee(this,e,[n]),Nn(o,"props",void 0),o.props=new bR(n==null?void 0:n.props),o}return e}(te);Nn(Vn,"controlType","people-column"),Nn(Vn,"controlName","\u4EBA\u5458"),Nn(Vn,"controlIcon","people-column"),Nn(Vn,"controlFieldType",m.EMPLOYEES),Nn(Vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 Hee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qee(t,e,n){return e=Oa(e),Kee(t,gR()?Reflect.construct(e,n||[],Oa(t).constructor):e.apply(t,n))}function Uee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oa(t){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(t)}function Wee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lh(t,e)}function Kee(t,e){return e&&(Gee(e)==="object"||typeof e=="function")?e:Hee(t)}function Lh(t,e){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(t,e)}function Gee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gR=function(){return!!t})()}var OR=function(t){Wee(e,t);function e(n){Uee(this,e);var o;return o=qee(this,e,[n]),xh(o,"props",void 0),o.props=new bR(n==null?void 0:n.props),o}return e}(ne);xh(OR,"controlType","people-column"),xh(OR,"controlFieldType",m.EMPLOYEES);function Xee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wR(t,e,n){return e=wa(e),Qee(t,ER()?Reflect.construct(e,n||[],wa(t).constructor):e.apply(t,n))}function $R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wa(t){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(t)}function PR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jh(t,e)}function Qee(t,e){return e&&(Jee(e)==="object"||typeof e=="function")?e:Xee(t)}function jh(t,e){return jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jh(t,e)}function Jee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ER(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ER=function(){return!!t})()}var Zee=function(t){PR(e,t);function e(n){$R(this,e);var o;return o=wR(this,e,[n]),st.call(o,n),o}return e}(ze),Mh=function(t){PR(e,t);function e(n){$R(this,e);var o;o=wR(this,e,[n]),Fh(o,"showLinkOperation",void 0),Fh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Cn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption),o}return e}(q);Fh(Mh,"Rules",Zee);function Yee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ete(t,e,n){return e=$a(e),ote(t,SR()?Reflect.construct(e,n||[],$a(t).constructor):e.apply(t,n))}function tte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $a(t){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(t)}function nte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nh(t,e)}function ote(t,e){return e&&(rte(e)==="object"||typeof e=="function")?e:Yee(t)}function Nh(t,e){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(t,e)}function rte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SR=function(){return!!t})()}var Cn=function(t){nte(e,t);function e(n){tte(this,e);var o;return o=ete(this,e,[n]),zn(o,"props",void 0),o.props=new Mh(n==null?void 0:n.props),o}return e}(te);zn(Cn,"controlType","location-column"),zn(Cn,"controlName","\u5730\u5740"),zn(Cn,"controlIcon","location-column"),zn(Cn,"controlFieldType",m.ADDRESS),zn(Cn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 ite(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ute(t,e,n){return e=Pa(e),ate(t,TR()?Reflect.construct(e,n||[],Pa(t).constructor):e.apply(t,n))}function cte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pa(t){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(t)}function lte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zh(t,e)}function ate(t,e){return e&&(fte(e)==="object"||typeof e=="function")?e:ite(t)}function zh(t,e){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(t,e)}function fte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TR=function(){return!!t})()}var RR=function(t){lte(e,t);function e(n){cte(this,e);var o;return o=ute(this,e,[n]),Vh(o,"props",void 0),o.props=new Mh(n==null?void 0:n.props),o}return e}(ne);Vh(RR,"controlType","location-column"),Vh(RR,"controlFieldType",m.ADDRESS);function _te(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IR(t,e,n){return e=Sa(e),yte(t,kR()?Reflect.construct(e,n||[],Sa(t).constructor):e.apply(t,n))}function BR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sa(t){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sa(t)}function AR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ch(t,e)}function yte(t,e){return e&&(ste(e)==="object"||typeof e=="function")?e:_te(t)}function Ch(t,e){return Ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ch(t,e)}function ste(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kR=function(){return!!t})()}var pte=function(t){AR(e,t);function e(n){BR(this,e);var o;return o=IR(this,e,[n]),Ea(o,"sortFieldCode",{type:"string",message:p.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return e}(ze),Hh=function(t){AR(e,t);function e(n){BR(this,e);var o;o=IR(this,e,[n]),Ea(o,"fieldCodeList",void 0),Ea(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:At.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return e}(q);Ea(Hh,"Rules",pte);function dte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vte(t,e,n){return e=Hn(e),Ote(t,xR()?Reflect.construct(e,n||[],Hn(t).constructor):e.apply(t,n))}function hte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bte(t,e,n){return e&&DR(t.prototype,e),n&&DR(t,n),t}function Ue(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ta(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ta=Reflect.get:Ta=function(r,i,u){var c=wte(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ta(t,e,n||t)}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function mte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qh(t,e)}function gte(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ote(t,e){return e&&($te(e)==="object"||typeof e=="function")?e:dte(t)}function qh(t,e){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(t,e)}function wte(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Hn(t),t!==null););return t}function $te(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xR=function(){return!!t})()}var Pte=1,At=function(e){mte(n,e);function n(o){hte(this,n);var r;r=vte(this,n,[o]),Ue(r,"excludes",void 0),Ue(r,"childrenMaxLength",void 0),Ue(r,"props",void 0),Ue(r,"children",void 0);var i=gte(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Hh(o==null?void 0:o.props),Ge(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=it(u),r.childrenMaxLength=c,r}return bte(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(r){var i=Ta(Hn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(te);Ue(At,"controlType","custom-column"),Ue(At,"controlName","\u81EA\u5B9A\u4E49"),Ue(At,"controlIcon","custom-column"),Ue(At,"excludes",[]),Ue(At,"childrenMaxLength",Pte),Ue(At,"setting",[{key:"caption",showItems:[f.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 Ete(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ste(t,e,n){return e=Ra(e),Ite(t,LR()?Reflect.construct(e,n||[],Ra(t).constructor):e.apply(t,n))}function Tte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ra(t){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(t)}function Rte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wh(t,e)}function Ite(t,e){return e&&(Bte(e)==="object"||typeof e=="function")?e:Ete(t)}function Wh(t,e){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(t,e)}function Bte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LR=function(){return!!t})()}var Ate=function(t){Rte(e,t);function e(n){Tte(this,e);var o;return o=Ste(this,e,[n]),Uh(o,"props",void 0),Uh(o,"children",void 0),o.props=new Hh(n==null?void 0:n.props),Ge(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(ne);Uh(Ate,"controlType","custom-column");function kte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dte(t,e,n){return e=Ia(e),jte(t,FR()?Reflect.construct(e,n||[],Ia(t).constructor):e.apply(t,n))}function xte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lte(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ia(t){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(t)}function Fte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kh(t,e)}function jte(t,e){return e&&(Mte(e)==="object"||typeof e=="function")?e:kte(t)}function Kh(t,e){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(t,e)}function Mte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FR=function(){return!!t})()}var jR=function(t){Fte(e,t);function e(n){xte(this,e);var o;o=Dte(this,e,[n]),Lte(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:kt.controlName;var i;return o.datasourceBind=new Ro((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:kt.controlCustomAttributes}),o}return e}(q);function Nte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vte(t,e,n){return e=Ba(e),qte(t,NR()?Reflect.construct(e,n||[],Ba(t).constructor):e.apply(t,n))}function zte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function MR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Cte(t,e,n){return e&&MR(t.prototype,e),n&&MR(t,n),t}function qn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ba(t){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(t)}function Hte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gh(t,e)}function qte(t,e){return e&&(Ute(e)==="object"||typeof e=="function")?e:Nte(t)}function Gh(t,e){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(t,e)}function Ute(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NR=function(){return!!t})()}var kt=function(t){Hte(e,t);function e(n){zte(this,e);var o;return o=Vte(this,e,[n]),qn(o,"props",void 0),o.props=new jR(n==null?void 0:n.props),o}return Cte(e,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(te);qn(kt,"controlType","employee-column"),qn(kt,"controlName","\u4EBA\u5458"),qn(kt,"controlIcon","employee-column"),qn(kt,"controlFieldType",m.EMPLOYEES),qn(kt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 Wte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kte(t,e,n){return e=Aa(e),Qte(t,VR()?Reflect.construct(e,n||[],Aa(t).constructor):e.apply(t,n))}function Gte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Aa(t){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(t)}function Xte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qh(t,e)}function Qte(t,e){return e&&(Jte(e)==="object"||typeof e=="function")?e:Wte(t)}function Qh(t,e){return Qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qh(t,e)}function Jte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VR=function(){return!!t})()}var zR=function(t){Xte(e,t);function e(n){Gte(this,e);var o;return o=Kte(this,e,[n]),Xh(o,"props",void 0),o.props=new jR(n==null?void 0:n.props),o}return e}(ne);Xh(zR,"controlType","employee-column"),Xh(zR,"controlFieldType",m.EMPLOYEES);function Zte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yte(t,e,n){return e=ka(e),nne(t,CR()?Reflect.construct(e,n||[],ka(t).constructor):e.apply(t,n))}function ene(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ka(t){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(t)}function tne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zh(t,e)}function nne(t,e){return e&&(one(e)==="object"||typeof e=="function")?e:Zte(t)}function Zh(t,e){return Zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zh(t,e)}function one(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CR=function(){return!!t})()}var HR=function(t){tne(e,t);function e(n){ene(this,e);var o;o=Yte(this,e,[n]),Jh(o,"lineEllipsis",void 0),Jh(o,"showLinkOperation",void 0),Jh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Un.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xe(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return e}(q);function rne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ine(t,e,n){return e=Da(e),lne(t,qR()?Reflect.construct(e,n||[],Da(t).constructor):e.apply(t,n))}function une(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Da(t){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(t)}function cne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yh(t,e)}function lne(t,e){return e&&(ane(e)==="object"||typeof e=="function")?e:rne(t)}function Yh(t,e){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(t,e)}function ane(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qR=function(){return!!t})()}var Un=function(t){cne(e,t);function e(n){une(this,e);var o;return o=ine(this,e,[n]),Dt(o,"props",void 0),Dt(o,"children",void 0),o.props=new HR(n==null?void 0:n.props),o}return e}(te);Dt(Un,"controlType","approval-status-column"),Dt(Un,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Dt(Un,"controlIcon","approval-status-column"),Dt(Un,"excludes",[]),Dt(Un,"setting",[{key:"caption",showItems:[f.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 fne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _ne(t,e,n){return e=xa(e),pne(t,UR()?Reflect.construct(e,n||[],xa(t).constructor):e.apply(t,n))}function yne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xa(t){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(t)}function sne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t0(t,e)}function pne(t,e){return e&&(dne(e)==="object"||typeof e=="function")?e:fne(t)}function t0(t,e){return t0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t0(t,e)}function dne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UR=function(){return!!t})()}var vne=function(t){sne(e,t);function e(n){yne(this,e);var o;return o=_ne(this,e,[n]),e0(o,"props",void 0),e0(o,"children",void 0),o.props=new HR(n==null?void 0:n.props),o}return e}(ne);e0(vne,"controlType","approval-status-column");function hne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WR(t,e,n){return e=La(e),bne(t,XR()?Reflect.construct(e,n||[],La(t).constructor):e.apply(t,n))}function KR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function La(t){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(t)}function GR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n0(t,e)}function bne(t,e){return e&&(mne(e)==="object"||typeof e=="function")?e:hne(t)}function n0(t,e){return n0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},n0(t,e)}function mne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XR=function(){return!!t})()}var gne=function(t){GR(e,t);function e(n){KR(this,e);var o;return o=WR(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}($t),o0=function(t){GR(e,t);function e(n){KR(this,e);var o;o=WR(this,e,[n]),Ne(o,"search",void 0),Ne(o,"cancel",void 0),Ne(o,"searchType",void 0),Ne(o,"labelPosition",void 0),Ne(o,"viewType",void 0),Ne(o,"isLoading",void 0),Ne(o,"custom",void 0),Ne(o,"queryTypeMap",void 0),Ne(o,"childMinWidth",void 0),Ne(o,"colGap",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new ct((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new ct((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(O){return new ct(O)});var y;o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[];var d;o.childMinWidth=(d=n==null?void 0:n.childMinWidth)!==null&&d!==void 0?d:230;var b;return o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24,o}return e}(Uf);Ne(o0,"RuntimeRules",gne);function One(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wne(t,e,n){return e=Fa(e),Ene(t,QR()?Reflect.construct(e,n||[],Fa(t).constructor):e.apply(t,n))}function $ne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fa(t){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(t)}function Pne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i0(t,e)}function Ene(t,e){return e&&(Sne(e)==="object"||typeof e=="function")?e:One(t)}function i0(t,e){return i0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i0(t,e)}function Sne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QR=function(){return!!t})()}var JR=function(t){Pne(e,t);function e(n){$ne(this,e);var o;return o=wne(this,e,[n]),r0(o,"props",void 0),o.props=new o0(n==null?void 0:n.props),o}return e}(vx);r0(JR,"controlType","simple-search"),r0(JR,"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:[f.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Tne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rne(t,e,n){return e=ja(e),Ane(t,ZR()?Reflect.construct(e,n||[],ja(t).constructor):e.apply(t,n))}function Ine(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ja(t){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(t)}function Bne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c0(t,e)}function Ane(t,e){return e&&(kne(e)==="object"||typeof e=="function")?e:Tne(t)}function c0(t,e){return c0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c0(t,e)}function kne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZR=function(){return!!t})()}var Dne=function(t){Bne(e,t);function e(n){Ine(this,e);var o;o=Rne(this,e,[n]),u0(o,"props",void 0),u0(o,"children",void 0),o.props=new o0(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return e}($x);u0(Dne,"controlType","simple-search");const xne=(t,e)=>{const n=Array.isArray(t),o=n?t:[t];Wne(e==null?void 0:e.events),Vne(o),zne(o);const r=Nne(o),i=Cne(r,e);let u=Mt(U(i,c=>Mne(c,e)));return n?u:u[0]},Lne=[s.DIVIDER,s.TEXT,s.TITLE,s.LINK,s.BUTTON,"list-btn-export-list","list-btn-export-record"],Fne=["subtable","grid-table"],jne=["simple-search"];function Mne(t,e){var r,i,u,c,a,l;let n=t;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Lne.includes(n.type)?n.controlType="base":n.controlType="form",Fne.includes(n.type)&&(n.controlType="list"),jne.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,t.props.lable_position&&(t.props.labelPosition=t.props.lable_position),t.props.select_mode&&(t.props.optionsFormat=t.props.select_mode),t.props.value&&(t.props.defaultValue=t.props.value),fe((r=t==null?void 0:t.props)==null?void 0:r.caption)&&(n.props.caption=t.props.caption.zh),fe((i=t==null?void 0:t.props)==null?void 0:i.placeholder)&&(n.props.placeholder=t.props.placeholder.zh),fe((u=t==null?void 0:t.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=t.props.placeholder_end.zh),t.type==="department-search"&&(n.type="department",t.props.value.length&&(n.props.default_value=t.props.value),n.props.showType=t.props.show_tree?"tree":"default",n.props.rangeOptions=t.props.department_list),t.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=t.props.value),t.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=t.attachment_format)==null?void 0:c.split(","),n.props.showType=t.props.show_type==="title"?"default":"table"),t.type==="image"&&(n.props.attachmentAccept=(a=t.attachment_format)==null?void 0:a.split(",")),t.type==="date-pick"&&(n.type="date-picker"),t.type==="rich-text"&&(fe(t.props.value)?n.props.defaultValue=t.props.value.zh:n.props.defaultValue=t.props.value),["link","text","button"].includes(t.type)&&(fe(t.props.value)?n.props.content=t.props.value.zh:n.props.content=t.props.value),t.type==="text"&&t.props.showState==="iconText"&&(n.props.showState="image"),t.type==="user-search"&&(n.type="employee",n.props.defaultValue=t.props.value),t.type==="address"&&(n.props.addressType=t.props.address_type_value),n.type==="subtable"){const _=n.props.entry_type||n.props.entryType;n.props.openType=_==="subpage"?"modal":"default",((l=n.children[0])==null?void 0:l.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((y,d)=>{const b=new dK.Designer;b.props.caption=fe(y.field_name)?y.field_name.zh:y.field_name;const O=b.toSchema();O.id=y.header_id;const g=n.children[0].children[d].children[0];return g&&(O.children=[g]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(t.type)&&(t.props.options.map(_=>{_.label=fe(_.text)?_.text.zh:_.text,_.id=_.id||_.opt_id||_.optId||_.data_id}),n=t),t.type==="grid-row"){const _=24/n.children.length;n.children=n.children.map(y=>{const d=new pE.Designer;d.props.span=_;const b=d.toSchema();return b.children.push(y),b})}if(t.type==="grid-layout-row"&&(n.type="row"),t.type==="grid-layout-col"&&(n.type="col"),t.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),t.type==="tabs-pane"&&(n.type="tab-pane"),t.type==="calc"){const _=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],d={};_&&(YR(n,e),d.result=_.props.data_bind,n.id=_.id,n.props=_.props,n.props.script_src=_.props.script_src,n.props.script_echo=_.props.script_echo,n.props.precision=_.props.precision,n.props.micrometer=_.props.is_show_money,n.props.showUpperCase=_.props.is_show_chn),y&&(d.unit=y.props.data_bind,n.props.default_value={unit:y.props.value}),n.props.dataBind=d,delete n.children}if(t.type==="amount-currency"){n.type="amount",n.controlType="form";const _=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1],d={},b={};_&&(YR(n,e),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=jt(_.props.range_min),n.props.range_max=jt(_.props.range_max),b.amount=jt(_.props.value),n.props.required=_.props.required,n.props.is_hide=_.props.is_hide,n.props.default_state=_.props.default_state,n.props.caption=fe(_.props.caption)?_.props.caption.zh:_.props.caption,n.props.is_hide_caption=_.props.is_hide_caption,n.props.showUpperCase=_.props.is_show_chn),y&&(d.currency=y.props.data_bind,b.currency=y.props.value,n.props.datasourceBind=y.props.datasource_bind,n.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=d,n.props.defaultValue=b,delete n.children}if(t.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],y=n==null?void 0:n.children[1];n.props.placeholderStart=fe(t.props.placeholder)?t.props.placeholder.zh:t.props.placeholder,n.props.caption=fe(t.props.caption)?t.props.caption.zh:t.props.caption;const d={};_&&(d.min=_.props.data_bind),y&&(d.max=y.props.data_bind),n.props.dataBind=d,delete n.children}return t.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(t.type)&&(n.props.defaultValue=fe(t.props.value)?t.props.value.zh:t.props.value),t.type==="number"&&(n.props.range_min=jt(t.props.range_min),n.props.range_max=jt(t.props.range_max),n.props.defaultValue=jt(t.props.value)),t.type==="list-page-btn-custom-button"&&(t.type="button"),t.type==="button"&&t.props.button_type==="dashed"&&(n.props.buttonType="default"),Kne(n,e==null?void 0:e.control_events),n}function YR(t,e){if(!e)return;const{displayBoList:n=[],behaviors:o=[]}=e,r=t.id,i=t.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(l=>l===r),a=u.hide_controls.findIndex(l=>l===r);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function Nne(t){if(!Array.isArray(t)||!t.find(r=>r.type==="grid"))return t;const o=new jX.Designer().toSchema();return o.children=t,[o]}function Vne(t){t.forEach(e=>{e.children&&Une(e.children)})}function zne(t){t.forEach(e=>{var o,r;if(!(e&&e.children))return;const n=e.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function Cne(t,e){var b,O,g,w,h,$,P,E;if(!(Array.isArray(t)&&t.length===1))return t;const n=t[0];if(n.type!=="list-page")return t;const{props:o,children:r}=n,[i,u,c]=r;Hne(i),c.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,qne(c,u);const a=(g=(O=o==null?void 0:o.source_config)==null?void 0:O.data_code)!=null?g:e==null?void 0:e.dataCode,l=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,_=(P=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?P:[],y=new vX.Designer;y.props.datasourceBind=new G({dataCode:a,svcCode:l,orders:FA(_)}),y.props.isShowSubList=o.is_show_sublist,y.props.triggerType=o.timing_type,y.props.triggerFieldCode=o.ctrl_field_code,(E=o==null?void 0:o.sublist_page)==null||E.sublists.forEach(T=>{T.title=fe(T.title)?T.title.zh:T.title}),y.props.sublistPage=o.sublist_page;const d=y.toSchema();return d.children.push(i,c),[d]}function Hne(t){t.type="simple-search",t.control_type="search-view",t.children.forEach(e=>{var o,r;const n=fe(e.placeholder)?e.placeholder.zh:e.placeholder;e.type==="number-range"&&(e.type="search-number-range",e.placeholderStart=n,e.placeholderEnd=n),e.type==="date-pick"&&(e.type="search-date-range",e.placeholderStart=n,e.placeholderEnd=n,e.dateType=(r=(o=e.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(e.type==="automatic-number"||e.type==="auto-number")&&(e.type="search-input",e.props.defaultValue="")})}function qne(t,e){t.children=e.children.filter(n=>n.type!=="list-page-btn-custom-head"),t.type="grid-table",t.props.sublist_page&&(t.props.sublist_page.form_bind={data_code:t.props.sublist_page.data_code,form_key:t.props.sublist_page.form_key}),Array.isArray(t.props.headers)&&(t.props.headers=t.props.headers.map(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:fe(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=fe(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new G({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function Une(t){var n;let e=null;for(let o=0;o<t.length;o++){const r=t[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){e=r.children[0];continue}e&&(e.children.push(r),t.splice(o,1),o--)}}}function Wne(t){!t||(t.did_mount=t.did_mount.map(e=>e.name),t.will_submit=t.will_submit.map(e=>e.name),t.did_submit=t.did_submit.map(e=>e.name))}function Kne(t,e){var o;if(!e||!t.props.events)return;const n=Object.keys(t.props.events);!n.length||(n.forEach(r=>{!t.props.events[r].length||(e[t.id]||(e[t.id]={}),e[t.id][r]||(e[t.id][r]=[]),e[t.id][r].push(...t.props.events[r].map(i=>i.name)))}),(o=e[t.id])!=null&&o.on_blur&&(e[t.id].on_change||(e[t.id].on_change=[]),e[t.id].on_change.push(...e[t.id].on_blur)))}const Gne=(t,e)=>{const n=Array.isArray(t);let r=Mt(U(n?t:[t],i=>Xne(i)));return n?r:r[0]};function Xne(t,e){return t.type===s.LIST_VIEW&&t.children.find(o=>o.type===s.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new Ae({dataCode:t.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),t}const Qne=(t,e)=>{const n=Array.isArray(t);let r=Mt(U(n?t:[t],i=>Jne(i)));return n?r:r[0]};function Jne(t,e){return[s.BUTTON,s.CREATE_FORM_LIST_BUTTON,s.BATCH_SUBMISSION_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.EXPORT_LIST_BUTTON,s.FORM_SELECT_BUTTON,s.LIST_SELECT_BUTTON].includes(t.type)&&(t.props.button_type==="default"&&(t.props.button_type="secondary"),t.props.button_type==="danger"&&(t.props.button_type="secondary",t.props.color="danger"),t.props.icon||(t.props.icon="iconfenlei2")),t.type===s.IMPORT_RECORD_LIST_BUTTON&&(t.props.icon="iconshangchuan3"),t.type===s.EXPORT_LIST_BUTTON&&(t.props.icon="iconxiazai1"),t}const Zne=(t,e)=>{const n=Array.isArray(t);let r=Mt(U(n?t:[t],i=>Yne(i)));return n?r:r[0]};function Yne(t,e){if(t.props.icon){let n=t.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}t.props.icon=n}return t}const eoe=(t,e)=>{const n=Array.isArray(t);let r=Mt(U(n?t:[t],i=>noe(i)));return n?r:r[0]},toe=[s.ROW,s.TAB,s.SUBTABLE,s.GRID_ROW,s.CARD_GROUP];function noe(t,e){return t.type===s.TAB_PANE&&(t.children=t.children.map(n=>{if(toe.includes(n.type))return n;const o=new zW.Designer,r=new pE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),t}const ooe=(t,e)=>{const n=Array.isArray(t);let r=Mt(U(n?t:[t],i=>roe(i)));return n?r:r[0]};function roe(t,e){return t.type===s.GRID_TABLE&&t.props.headers.forEach(n=>{n.type===s.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),t}const ioe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>uoe(i));return n?r:r[0]};function uoe(t,e){return t.type===s.SUBTABLE&&(t.props.default_rows=t.props.limit_rows),t}const coe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>loe(i));return n?r:r[0]};function wt(t,e){t.field_code&&(t.field_type=e)}function loe(t,e){var o;const n={[s.TITLE]:m.AUTO_NUMBER,[s.ADDRESS]:m.ADDRESS,[s.ATTACHMENT]:m.FILE,[s.AUTO_NUMBER]:m.AUTO_NUMBER,[s.CHECKBOX]:m.ARRAY,[s.DATE_PICKER]:m.TIMESTAMP,[s.DEPARTMENT]:m.DEPARTMENTS,[s.DEPARTMENT2]:m.DEPARTMENTS,[s.EMPLOYEE]:m.EMPLOYEES,[s.EMPLOYEE2]:m.EMPLOYEES,[s.IMAGE]:m.IMAGE,[s.INPUT]:m.VARCHAR,[s.NUMBER]:m.DECIMAL,[s.RADIO]:m.VARCHAR,[s.RICH_TEXT]:m.TEXT,[s.SCORE]:m.DECIMAL,[s.SELECT]:m.VARCHAR,[s.SELECT_MULTIPLE]:m.ARRAY,[s.SELECT_RELATION]:m.VARCHAR,[s.TEXTAREA]:m.TEXT,[s.TREE]:m.ARRAY,[s.SEARCH_DATE_RANGE]:m.ARRAY,[s.SEARCH_INPUT]:m.VARCHAR,[s.SEARCH_NUMBER_RANGE]:m.ARRAY};return n.hasOwnProperty(t.type)&&wt(t.props.data_bind,n[t.type]),t.type===s.AMOUNT&&(wt(t.props.data_bind.amount,m.DECIMAL),wt(t.props.data_bind.currency,m.VARCHAR)),t.type===s.CALC&&(wt(t.props.data_bind.result,m.DECIMAL),wt(t.props.data_bind.unit,m.VARCHAR)),t.type===s.DATE_RANGE&&(wt(t.props.data_bind.min,m.TIMESTAMP),wt(t.props.data_bind.max,m.TIMESTAMP)),t.type===s.VUE_FORM_ITEM&&wt(t.props.data_bind,(o=t.field_type)!=null?o:m.ANY),t}const aoe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>foe(i));return n?r:r[0]};function foe(t,e){return t.type===s.GRID_TABLE&&t.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===s.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),t}const _oe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>yoe(i));return n?r:r[0]};function yoe(t,e){return t.type===s.SIMPLE_SEARCH&&t.children.length&&(t.props.query_type_map||(t.props.query_type_map=[]),t.children.forEach(n=>{var o,r;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&t.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),t}const soe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>poe(i));return n?r:r[0]};function poe(t,e){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===s.SUBTABLE&&t.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const doe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>voe(i));return n?r:r[0]};function voe(t,e){return[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===s.SUBTABLE&&t.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const hoe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>boe(i));return n?r:r[0]};function boe(t,e){return t.type===s.TITLE&&t.props.config.push(Ye.ShowTitle),t.type===s.GRID_TABLE&&t.props.headers.map(n=>{var o,r,i,u,c,a,l,_,y,d,b,O,g,w,h,$,P,E,T,F,A,ue;if(n.type===s.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(o=n==null?void 0:n.children)!=null?o:[],delete n.props.custom,((r=n.props)==null?void 0:r.check)!==void 0){const I=new _y.Designer;Object.defineProperty(I,"id",{value:"listPageCheckBtnId"}),I.props.code="view",I.props.icon="iconliulan1",I.props.command="view",I.props.content=(i=n.props)==null?void 0:i.check.content,I.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,I.props.openType=(c=n.props)==null?void 0:c.check.open_type,I.props.formKey=(a=n.props)==null?void 0:a.check.form_key,(l=n.props)!=null&&l.check.is_show&&n.children.push(I.toSchema()),(_=n.props)==null||delete _.check}if(((y=n.props)==null?void 0:y.edit)!==void 0){const I=new _y.Designer;Object.defineProperty(I,"id",{value:"listPageEditBtnId"}),I.props.code="edit",I.props.icon="iconbianji1",I.props.command="edit",I.props.content=(d=n.props)==null?void 0:d.edit.content,I.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,I.props.openType=(O=n.props)==null?void 0:O.edit.open_type,I.props.formKey=(g=n.props)==null?void 0:g.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(I.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const I=new _y.Designer;Object.defineProperty(I,"id",{value:"listPageDeleteBtnId"}),I.props.code="delete",I.props.icon="iconlajitong",I.props.command="delete",I.props.content=(P=n.props)==null?void 0:P.delete.content,I.props.priorityProcess=(E=n.props)==null?void 0:E.delete.priority_process,I.props.openType=(T=n.props)==null?void 0:T.delete.open_type,I.props.formKey=(F=n.props)==null?void 0:F.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=n.props)!=null&&A.delete.is_show&&n.children.push(I.toSchema()),(ue=n.props)==null||delete ue.delete}}}),[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===s.SUBTABLE&&t.props.headers.forEach(n=>{[s.SELECT,s.SELECT_RELATION,s.SELECT_MULTIPLE,s.RADIO,s.CHECKBOX,s.TREE,s.DEPARTMENT2,s.EMPLOYEE2,s.DEPARTMENT,s.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}const moe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>goe(i,e));return n?r:r[0]};function goe(t,e){t.type===s.SUBTABLE&&t.props.headers.map(o=>{var i;o.props.meta_auto_width=new z0,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;const r=(i=o.children)==null?void 0:i[0];r&&r.type===s.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[s.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}],[s.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}],[s.LIST_VIEW]:[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}],[s.SIMPLE_SEARCH]:[{key:"col-gap",value:24},{key:"child-min-width",value:230}],[s.IMPORT_RECORD_LIST_BUTTON]:[{key:"template-type",value:"system"}]};return t.type in n&&n[t.type].forEach(o=>{t.props[o.key]===void 0&&(t.props[o.key]=o.value)}),t.type===s.GRID_TABLE&&t.props.headers.forEach(o=>{o.type===s.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new Ya)}),t.type===s.CALC&&t.props.calc_on_mounted===void 0&&(t.props.calc_on_mounted=!0),Ooe(e),t}function Ooe(t){if(!(!t||!t.listeners)){if(Object.keys(t.listeners).forEach(e=>{let n,o,r;t.listeners[e].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(l0()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),t.listeners[e].splice(r,1)):o.event_key="on_click")}),!t.listeners.form_submit)t.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[woe()]}];else if(t.listeners.form_submit&&t.listeners.form_submit&&t.listeners.form_submit[0]&&t.listeners.form_submit[0].cases&&t.listeners.form_submit[0].cases[0]&&t.listeners.form_submit[0].cases[0].handlers){let e=!1;t.listeners.form_submit[0].cases[0].handlers.forEach(n=>{n.method==="actionOperate"&&(e=!0)}),e||t.listeners.form_submit[0].cases[0].handlers.push(l0())}}}function woe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[l0()]}}function l0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const $oe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>Poe(i,e));return n?r:r[0]};function Poe(t,e){if(t.type===s.LIST_VIEW){if(t.props.is_show_selection===!1){const n=[s.BATCH_SUBMISSION_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT,s.BATCH_DELETE_LIST_BUTTON];t.children.forEach(o=>{o.type===s.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(t.props.is_show_selection=!0,o.props.is_show_selection=!0)})}t.props.caption===""&&(t.props.caption=e==null?void 0:e.formName),t.props.is_all_loaded===void 0&&(t.props.is_all_loaded=!0)}return t.type===s.TEXTAREA&&t.props.auto_size===void 0&&(t.props.auto_size=!1),t.type===s.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t.type===s.TREE&&t.props.default_display===void 0&&(t.props.default_display=!1),t.type===s.GRID_TABLE&&t.props.is_show_toolbar===void 0&&(t.props.is_show_toolbar=!0),t.type===s.NUMBER&&t.props.regular_rules===void 0&&(t.props.regular_rules=new Io),t}const Eoe=(t,e)=>{const n=Array.isArray(t);let r=U(n?t:[t],i=>Soe(i));return n?r:r[0]};function Soe(t,e){return[s.LIST_PAGE_BTN_BATCH_PRINT_RECORD,s.EXPORT_LIST_BUTTON,s.EXPORT_RECORD_LIST_BUTTON,s.CREATE_FORM_LIST_BUTTON,s.IMPORT_RECORD_LIST_BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.BATCH_DELETE_LIST_BUTTON,s.BUTTON,s.SUBMISSION_RECORD_LIST_BUTTON,s.LIST_PAGE_BTN_BATCH_PRINT].includes(t.type)&&(t.control_type="base"),t.type===s.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t}const Toe=(t,e)=>{const n=Array.isArray(t),o=n?t:[t],r={};let i=U(o,u=>{const c=Roe(u);return r[u.id]=u,c});return Ioe(r,e),n?i:i[0]};function Roe(t,e){if(t.type===s.ORGANIZATION_SELECTION){const n=t.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label="\u4E1A\u52A1\u7C7B\u578B"),r.value==="org_pattern_code"&&(r.label="\u7EC4\u7EC7\u5F62\u6001")})}return t.type===s.LIST_SELECT_BUTTON&&t.props.disable_filling===void 0&&(t.props.disable_filling=!1),t}function Ioe(t,e){var n,o;if((e==null?void 0:e.formType)===1&&(e==null?void 0:e.events)!==void 0){const r=(o=(n=e==null?void 0:e.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(e.events.did_init=r,e.events.did_mount=[]),e.events.did_init===void 0&&(e.events.did_init=[])}}var eI={"v1.0":xne,"v2.0":Gne,"v2.1":Qne,"v2.2":Zne,"v2.3":eoe,"v2.4":ooe,"v2.5":ioe,"v2.6":coe,"v2.7":aoe,"v2.8":_oe,"v2.9":soe,"v2.10":doe,"v3.0":hoe,"v3.1":moe,"v3.2":$oe,"v3.3":Eoe,"v3.4":Toe,"v3.5":()=>{}};const tI=(t,e)=>{const n=nI(t),o=nI(e),r=n.pop(),i=o.pop(),u=iI(n,o);return u!==0?u:r&&i?iI(r.split("."),i.split(".")):r||i?r?-1:1:0},Ma=(t,e,n)=>{Doe(n);const o=tI(t,e);return uI[n].includes(o)},Boe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,nI=t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");const e=t.match(Boe);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},oI=t=>t==="*"||t==="x"||t==="X",rI=t=>{const e=parseInt(t,10);return isNaN(e)?t:e},Aoe=(t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],koe=(t,e)=>{if(oI(t)||oI(e))return 0;const[n,o]=Aoe(rI(t),rI(e));return n>o?1:n<o?-1:0},iI=(t,e)=>{for(let n=0;n<Math.max(t.length,e.length);n++){const o=koe(t[n]||"0",e[n]||"0");if(o!==0)return o}return 0},uI={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},cI=Object.keys(uI),Doe=t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(cI.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${cI.join("|")}`)};function a0(t){return t.replace(/^v/,"")}const Wn=Object.keys(eI).map(t=>a0(t)).sort(tI),Oo=Wn[Wn.length-1];class xoe{constructor(e,n=Oo){this.schemaVersion=e,this.toVersion=n,Ma(n,Oo,">")?Jn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${Oo}`):(!Wn.includes(a0(n))||!Wn.includes(a0(e)))&&Jn(`Version Builder: Please give me a valid version number, The valid version is: ${Wn.join(",")}, But give me a ${e}`)}dataCleaner(e,n){if(Ma(this.toVersion,this.schemaVersion,"="))return e;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var y;const a=(y=c[u+1])!=null?y:this.toVersion;Po(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=eI[i];let _=r;if(typeof l=="function"){const d=l(r,n);d&&(_=d)}return _},e);return Po(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Wn.filter(e=>Ma(e,this.schemaVersion,">=")&&Ma(e,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(e=>"v"+e)}get version(){return Oo}static get version(){return Oo}}Lt.VersionBuilder=xoe,Object.defineProperty(Lt,"__esModule",{value:!0})});
1
+ (function(De,Kn){typeof exports=="object"&&typeof module!="undefined"?Kn(exports):typeof define=="function"&&define.amd?define(["exports"],Kn):(De=typeof globalThis!="undefined"?globalThis:De||self,Kn(De.modelDrivenUpgrade={}))})(this,function(De){"use strict";var Kn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",JR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ZR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",YR="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",t3="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",e3="{caption}\u5FC5\u586B",n3="\u8BF7\u8F93\u5165\u6807\u9898",o3="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",r3="\u8BF7\u8F93\u5165\u884C\u6807\u9898",i3="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",u3="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",c3="\u8BF7\u7ED1\u5B9A\u8868\u5355",l3="\u8BF7\u7ED1\u5B9A\u5217\u8868",a3="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",f3="\u8BF7\u8F93\u5165\u663E\u793A\u503C",_3="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",y3="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",s3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",p3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",d3="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",v3="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",h3="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",b3="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",g3="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",m3="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",O3="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",w3="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",$3="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",P3="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",E3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",S3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",T3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",R3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",I3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",B3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",A3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",k3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",D3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",x3="\u8BF7\u9009\u62E9\u7701",L3="\u8BF7\u9009\u62E9\u5E02",F3="\u8BF7\u9009\u62E9\u533A",j3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",M3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",N3="\u8BF7\u8F93\u5165\u5217\u5BBD",V3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",z3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",C3="\u8BF7\u9009\u62E9\u63A7\u4EF6",H3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",q3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",U3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",W3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",K3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",G3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",X3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Q3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",J3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Z3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Y3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",tI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",oI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",rI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",iI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",uI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",lI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",aI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",fI="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",_I="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",yI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",sI="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",pI="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",dI="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",vI={isNotNumber:Kn,isNotString:JR,isNotObject:ZR,isNotArray:YR,isNotBoolean:t3,runtimeRequired:e3,pleaseEnterCaption:n3,pleaseEnterCaptionTip:o3,pleaseEnterRowCaption:r3,pleaseEnterPlaceholder:i3,pleaseEnterFieldCode:u3,pleaseEnterForm:c3,pleaseEnterList:l3,pleaseEnterProcess:a3,pleaseEnterLabel:f3,pleaseEnterValue:_3,bizKeyNotBindFiled:y3,pleaseSelectOneField:s3,pleaseEnterNumberRange:p3,pleaseEnterAValueGreaterThanMin:d3,pleaseEnterAValueLessThanMax:v3,numberRangeSetError:h3,stringRangeError:b3,attachmentMaxSize:g3,pleaseEnterTotalScoreSetting:m3,theTotalScoreMustNotBeLessThan1:O3,scoreDefaultValueRange:w3,attachmentLimitError:$3,PleaseReselectTheOptionalQuantity:P3,TheMaximumLengthIsGreaterThanTheMinimumLength:E3,TheMinimumLengthIsGreaterThanTheMaximumLength:S3,PleaseSelectTheCorrectOptionSettings:T3,optionIdIsRepeat:R3,optionIsRequired:I3,pleaseEnterDataCode:B3,pleaseEnterValueFieldCode:A3,pleaseEnterSvcCode:k3,pleaseBindAtLeastOneDisplayValue:D3,pleaseSelectProvince:x3,pleaseSelectCity:L3,pleaseSelectDistrict:F3,limitRowsCannotBeLessThan0:j3,TheNumberOfRowsCannotBeLessThanMinRows:M3,pleaseEnterColumnWidth:N3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:V3,pleaseCompleteAllRulesAndConditions:z3,pleaseSelectControl:C3,pleaseSelectAtLeastOneColumn:H3,pleaseSelectFillBackMode:q3,pleaseSelectDashboard:U3,rootNodeIsRequired:W3,theViewNameCannotBeEmpty:K3,pleaseSelectOcrType:G3,pleaseSelectAtLeastOneFieldToFillIn:X3,pleaseChooseAtLeastOne:Q3,pleaseEnterButtonContent:J3,pleaseEnterDataCodeInDataSetting:Z3,pleaseEnterValueFieldCodeInDataSetting:Y3,pleaseEnterSvcCodeInDataSetting:tI,pleaseBindAtLeastOneDisplayValueInDataSetting:eI,rootNodeIsRequiredInDataSetting:nI,pleaseEnterMaxHeight:oI,pleaseEnter:rI,pleaseEnterWatermark:iI,pleaseEnterFileName:uI,pleaseUploadAtLeastOnePrintTemplate:cI,pleaseAssignBusiness:lI,pleaseAssignExternal:aI,pleaseEnterAliasCode:fI,pleaseSelectDataCode:_I,pleaseSelectSvcCode:yI,pleaseSelectJoinFieldCode:sI,pleaseSelectMainFieldCode:pI,pleaseSelectSortFieldCode:dI},hI="Please enter a number",bI="Please enter a string",gI="Please enter an object",mI="Please enter an array",OI="Please enter a boolean",wI="{caption} Required",$I="Please enter the title",PI="Please enter the bubble prompt",EI="Please enter the row title",SI="Please enter the prompt text",TI="Please bind data items",RI="Please bind the form",II="Please bind the list",BI="Please bind the process",AI="Please enter the displayed value",kI="Please enter the stored value",DI="The document number is not bound to the data item",xI="Please select at least one display field",LI="Please enter a value greater than or equal to {min} and less than or equal to {max}",FI="Please enter a value greater than or equal to {min}",jI="Please enter a value less than or equal to {max}",MI="The value range is set incorrectly",NI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",VI="The attachment size must be between 0MB and 1000MB",zI="Please fill in the total score setting",CI="The total score cannot be less than 1",HI="The default value must be between {min} and {max}",qI="The number of attachments uploaded must be between {min} and {max}",UI="Please re-select the optional quantity",WI="The maximum length of the control must be greater than the minimum length",KI="The minimum length of the control must be less than the maximum length",GI="Please select the correct option setting",XI="Option ID cannot be repeated",QI="Please enter at least one option",JI="Please bind the data source",ZI="Please bind the stored value",YI="Please bind the service",tB="At least one display value must be bound",eB="Please select a province",nB="Please select a city",oB="Please select a district",rB="The minimum number of lines to fill in cannot be less than 0",iB="The number of rows cannot be less than {min} rows",uB="Please enter the column width",cB="Please set the logical relationship of all rule conditions",lB="Please complete all rules and conditions",aB="please select control",fB="Please select the dashboard",_B="View name cannot be empty",yB="Please select recognition type",sB="Please select at least one field to fill in",pB="Please select at least one",dB="Please enter the button title",vB="Please bind the business model in the data settings",hB="Please bind storage values in data settings",bB="Please bind the service in the data settings",gB="Please bind at least one display value in the data settings",mB="Please select the root node in the data settings",OB="Please enter the maximum height",wB="The input content cannot be empty",$B="Watermark cannot be empty",PB="File name cannot be empty",EB="Please upload at least one printing template!\uFF01",SB="Please select a specific business department",TB="Please select a specified external organization",RB="Please enter a sub table alias",IB="Please select the associated table to set the business model",BB="Please select the association table to set the binding service",AB="Select associated sub table fields",kB="Please select the associated main table field",DB="Please select the sort field",xB={isNotNumber:hI,isNotString:bI,isNotObject:gI,isNotArray:mI,isNotBoolean:OI,runtimeRequired:wI,pleaseEnterCaption:$I,pleaseEnterCaptionTip:PI,pleaseEnterRowCaption:EI,pleaseEnterPlaceholder:SI,pleaseEnterFieldCode:TI,pleaseEnterForm:RI,pleaseEnterList:II,pleaseEnterProcess:BI,pleaseEnterLabel:AI,pleaseEnterValue:kI,bizKeyNotBindFiled:DI,pleaseSelectOneField:xI,pleaseEnterNumberRange:LI,pleaseEnterAValueGreaterThanMin:FI,pleaseEnterAValueLessThanMax:jI,numberRangeSetError:MI,stringRangeError:NI,attachmentMaxSize:VI,pleaseEnterTotalScoreSetting:zI,theTotalScoreMustNotBeLessThan1:CI,scoreDefaultValueRange:HI,attachmentLimitError:qI,PleaseReselectTheOptionalQuantity:UI,TheMaximumLengthIsGreaterThanTheMinimumLength:WI,TheMinimumLengthIsGreaterThanTheMaximumLength:KI,PleaseSelectTheCorrectOptionSettings:GI,optionIdIsRepeat:XI,optionIsRequired:QI,pleaseEnterDataCode:JI,pleaseEnterValueFieldCode:ZI,pleaseEnterSvcCode:YI,pleaseBindAtLeastOneDisplayValue:tB,pleaseSelectProvince:eB,pleaseSelectCity:nB,pleaseSelectDistrict:oB,limitRowsCannotBeLessThan0:rB,TheNumberOfRowsCannotBeLessThanMinRows:iB,pleaseEnterColumnWidth:uB,pleaseSetTheLogicalRelationshipOfAllRuleConditions:cB,pleaseCompleteAllRulesAndConditions:lB,pleaseSelectControl:aB,pleaseSelectDashboard:fB,theViewNameCannotBeEmpty:_B,pleaseSelectOcrType:yB,pleaseSelectAtLeastOneFieldToFillIn:sB,pleaseChooseAtLeastOne:pB,pleaseEnterButtonContent:dB,pleaseEnterDataCodeInDataSetting:vB,pleaseEnterValueFieldCodeInDataSetting:hB,pleaseEnterSvcCodeInDataSetting:bB,pleaseBindAtLeastOneDisplayValueInDataSetting:gB,rootNodeIsRequiredInDataSetting:mB,pleaseEnterMaxHeight:OB,pleaseEnter:wB,pleaseEnterWatermark:$B,pleaseEnterFileName:PB,pleaseUploadAtLeastOnePrintTemplate:EB,pleaseAssignBusiness:SB,pleaseAssignExternal:TB,pleaseEnterAliasCode:RB,pleaseSelectDataCode:IB,pleaseSelectSvcCode:BB,pleaseSelectJoinFieldCode:AB,pleaseSelectMainFieldCode:kB,pleaseSelectSortFieldCode:DB},LB="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FB="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jB="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MB="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",NB="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VB="{caption}\u5FC5\u9808",zB="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",CB="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",HB="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qB="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UB="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",WB="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KB="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",GB="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XB="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",QB="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JB="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ZB="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",YB="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",t1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",e1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",o1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",r1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",i1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",u1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",c1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",l1="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",a1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",f1="\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",_1="\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",y1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",s1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",p1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",d1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",v1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",h1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",b1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",g1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",m1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",O1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",w1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",P1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",E1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",S1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",T1="please select control",R1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",I1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",B1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",A1="\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",k1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",D1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",F1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",j1="\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",M1="\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",V1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",z1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",C1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",H1="\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",q1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",U1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",W1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",K1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",G1="\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",X1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Q1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",J1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Z1={isNotNumber:LB,isNotString:FB,isNotObject:jB,isNotArray:MB,isNotBoolean:NB,runtimeRequired:VB,pleaseEnterCaption:zB,pleaseEnterCaptionTip:CB,pleaseEnterRowCaption:HB,pleaseEnterPlaceholder:qB,pleaseEnterFieldCode:UB,pleaseEnterForm:WB,pleaseEnterList:KB,pleaseEnterProcess:GB,pleaseEnterLabel:XB,pleaseEnterValue:QB,bizKeyNotBindFiled:JB,pleaseSelectOneField:ZB,pleaseEnterNumberRange:YB,pleaseEnterAValueGreaterThanMin:t1,pleaseEnterAValueLessThanMax:e1,numberRangeSetError:n1,stringRangeError:o1,attachmentMaxSize:r1,pleaseEnterTotalScoreSetting:i1,theTotalScoreMustNotBeLessThan1:u1,scoreDefaultValueRange:c1,attachmentLimitError:l1,PleaseReselectTheOptionalQuantity:a1,TheMaximumLengthIsGreaterThanTheMinimumLength:f1,TheMinimumLengthIsGreaterThanTheMaximumLength:_1,PleaseSelectTheCorrectOptionSettings:y1,optionIdIsRepeat:s1,optionIsRequired:p1,pleaseEnterDataCode:d1,pleaseEnterValueFieldCode:v1,pleaseEnterSvcCode:h1,pleaseBindAtLeastOneDisplayValue:b1,pleaseSelectProvince:g1,pleaseSelectCity:m1,pleaseSelectDistrict:O1,limitRowsCannotBeLessThan0:w1,TheNumberOfRowsCannotBeLessThanMinRows:$1,pleaseEnterColumnWidth:P1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:E1,pleaseCompleteAllRulesAndConditions:S1,pleaseSelectControl:T1,pleaseSelectDashboard:R1,theViewNameCannotBeEmpty:I1,pleaseSelectOcrType:B1,pleaseSelectAtLeastOneFieldToFillIn:A1,pleaseChooseAtLeastOne:k1,pleaseEnterButtonContent:D1,pleaseEnterDataCodeInDataSetting:x1,pleaseEnterValueFieldCodeInDataSetting:L1,pleaseEnterSvcCodeInDataSetting:F1,pleaseBindAtLeastOneDisplayValueInDataSetting:j1,rootNodeIsRequiredInDataSetting:M1,pleaseEnterMaxHeight:N1,pleaseEnter:V1,pleaseEnterWatermark:z1,pleaseEnterFileName:C1,pleaseUploadAtLeastOnePrintTemplate:H1,pleaseAssignBusiness:q1,pleaseAssignExternal:U1,pleaseEnterAliasCode:W1,pleaseSelectDataCode:K1,pleaseSelectSvcCode:G1,pleaseSelectJoinFieldCode:X1,pleaseSelectMainFieldCode:Q1,pleaseSelectSortFieldCode:J1},Y1={zhCN:vI,enUS:xB,jaJP:Z1},tA="zh-CN";function bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $o=function(e){return e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e}({}),y=function(e){return 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.OPERATION_BUTTON="operation-button",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.SENSITIVEN_INFORMATION="sensitiven-information",e}({}),g=function(e){return e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field",e}({}),at;at={},bt(at,"array","array-column"),bt(at,"auto_number","auto-number-column"),bt(at,"decimal","decimal-column"),bt(at,"department","department-column"),bt(at,"file","file-column"),bt(at,"image","image-column"),bt(at,"location","location-column"),bt(at,"people","employee-column"),bt(at,"text","text-column"),bt(at,"timescope","timescope-column"),bt(at,"timestamp","timestamp-column"),bt(at,"varchar","varchar-column"),bt(at,"relation","varchar-column");var xe=function(e){return e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e}({}),_0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",eA=_0+"0123456789";function Rt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var o=n===0?_0:eA,r=Math.random()*o.length;t+=o[parseInt(String(r),10)]}return t}function Na(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function nA(e){if(Array.isArray(e))return Na(e)}function oA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y0(e,t,n){return t=Gn(t),cA(e,za()?Reflect.construct(t,n||[],Gn(e).constructor):t.apply(e,n))}function s0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Po(e,t,n){return za()?Po=Reflect.construct:Po=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Xn(l,u.prototype),l},Po.apply(null,arguments)}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(e)}function p0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xn(e,t)}function rA(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function iA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uA(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function cA(e,t){return t&&(lA(t)==="object"||typeof t=="function")?t:oA(e)}function Xn(e,t){return Xn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xn(e,t)}function d0(e){return nA(e)||iA(e)||aA(e)||uA()}function lA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aA(e,t){if(!!e){if(typeof e=="string")return Na(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Na(e,t)}}function Va(e){var t=typeof Map=="function"?new Map:void 0;return Va=function(o){if(o===null||!rA(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Po(o,arguments,Gn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Xn(r,o)},Va(e)}function za(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(za=function(){return!!e})()}var Ca=console;function Ha(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=Ca).warn.apply(o,["\u{1F9D0} Driven Warning:"+t[0]].concat(d0(r)))}function Eo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t.slice(1);(o=Ca).log.apply(o,["\u{1F680} Driven Log:"+t[0]].concat(d0(r)))}function fA(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var qa=function(e){p0(t,e);function t(n){s0(this,t);var o;return o=y0(this,t,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?fA(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return t}(Va(Error)),_A=function(e){p0(t,e);function t(n){s0(this,t);var o;return o=y0(this,t,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return t}(qa);function Qn(e){throw new qa(e)}function v0(e){throw new _A(e)}function yA(e){Ca.error(new qa(e))}var sA=Object.prototype.toString;function h0(e,t){return sA.call(e)==="[object "+t+"]"}function pA(e){return h0(e,"String")}function dA(e){return h0(e,"Promise")}var vA=function(){function e(t){var n,o;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((o=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&o!==void 0?o:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var o=this.getMessageData();dA(o)?o.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):this.messages[this.localeInMessageKey]=o},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,o){var r=this.getMessage(t);return r?this.formatMessage(r,o):this.formatMessage(n,o)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),o=n.reduce(function(r,i,u,c){if(r!==void 0){var a=r[i];if(!(u===c.length-1&&!pA(a)))return a}},this.message);return this._messageCache.set(t,o),o},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(o,r){var i=n[r];return i!==void 0?String(i):o}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var o=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(o)?window.okI18nPreImport:(n={},n[o]=window.okI18nPreImport,n)}},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 hA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bA(e,t,n){return t&&b0(e.prototype,t),n&&b0(e,n),e}function gA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(){function e(){hA(this,e)}return bA(e,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",o)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tA;return new vA({locale:n,messages:Y1})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();gA(p,"$i18n",p.resetI18n());function mA(e,t,n){var o=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),r=!1;return o.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Ha("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],n)&&(l[u]=n,r=!0),l[u]}},e),r}var OA=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ua={exports:{}};(function(e){(function(t){var n=function(h,$,T){if(!l($)||s($)||d($)||b($)||a($))return $;var P,S=0,F=0;if(_($))for(P=[],F=$.length;S<F;S++)P.push(n(h,$[S],T));else{P={};for(var A in $)Object.prototype.hasOwnProperty.call($,A)&&(P[h(A,T)]=n(h,$[A],T))}return P},o=function(h,$){$=$||{};var T=$.separator||"_",P=$.split||/(?=[A-Z])/;return h.split(P).join(T)},r=function(h){return m(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function($,T){return T?T.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var $=r(h);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(h,$){return o(h,$).toLowerCase()},c=Object.prototype.toString,a=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},_=function(h){return c.call(h)=="[object Array]"},s=function(h){return c.call(h)=="[object Date]"},d=function(h){return c.call(h)=="[object RegExp]"},b=function(h){return c.call(h)=="[object Boolean]"},m=function(h){return h=h-0,h===h},O=function(h,$){var T=$&&"process"in $?$.process:$;return typeof T!="function"?h:function(P,S){return T(P,h,S)}},w={camelize:r,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,$){return n(O(r,$),h)},decamelizeKeys:function(h,$){return n(O(u,$),h,$)},pascalizeKeys:function(h,$){return n(O(i,$),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(OA)})(Ua);var g0={};Object.defineProperty(g0,"__esModule",{value:!0});function Wa(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Wa(t));{const t={};for(const n in e){const o=e[n];t[n]=typeof o!="object"||o===null?o:Wa(o)}return t}}var wA=g0.default=Wa;function $A(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oe(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":$A(e))==="object"?wA(e):e}function ft(e){return m0(e)&&"zh"in e}function m0(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ka(e){return Array.isArray(e)}function Le(e){return isNaN(parseFloat(e))?"":Number(e)}function PA(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function U(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=U(o.children,t)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=U(o.footers,t)),t(r)})),n}function EA(e){return Ua.exports.camelizeKeys(e)}function Fe(e){return Ua.exports.decamelizeKeys(e)}function Ga(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function SA(e){if(Array.isArray(e))return Ga(e)}function O0(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function TA(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){O0(i,o,r,u,c,"next",a)}function c(a){O0(i,o,r,u,c,"throw",a)}u(void 0)})}}function RA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IA(e,t,n){return t&&w0(e.prototype,t),n&&w0(e,n),e}function $0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function BA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function AA(){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 Xa(e){return SA(e)||BA(e)||kA(e)||AA()}function kA(e,t){if(!!e){if(typeof e=="string")return Ga(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ga(e,t)}}function DA(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var xA=function(){function e(){RA(this,e),$0(this,"_events",new Map),$0(this,"debug",!1)}return IA(e,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];return TA(function(){var u,c,a,l,_,s,d,b,m,O,w,h;return DA(this,function($){switch($.label){case 0:if(u=this._events.get(n),c=[],!u)return[3,10];a=u.slice(),l=!0,_=!1,s=void 0,$.label=1;case 1:$.trys.push([1,8,9,10]),d=a[Symbol.iterator](),$.label=2;case 2:if(l=(b=d.next()).done)return[3,7];if(m=b.value,!u.includes(m))return[3,6];$.label=3;case 3:return $.trys.push([3,5,,6]),this.debug&&Eo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Xa(r))),[4,m.apply(null,Xa(r))];case 4:return O=$.sent(),this.debug&&Eo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Xa(r),[O])),c.push(O),O===!1?[3,7]:[3,6];case 5:return w=$.sent(),yA(String(w)+":"+String(w.stack)),[3,6];case 6:return l=!0,[3,2];case 7:return[3,10];case 8:return h=$.sent(),_=!0,s=h,[3,10];case 9:try{!l&&d.return!=null&&d.return()}finally{if(_)throw s}return[7];case 10:return[2,c]}})}).call(this)}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function LA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function FA(e,t,n){return t&&P0(e.prototype,t),n&&P0(e,n),e}function jA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MA=[{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"}],NA=function(){function e(){LA(this,e)}return FA(e,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return e.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(e.events.filter(function(u){return r.includes(u.key)}));var i=n.customEvents.map(function(u){var c=u.key;return{key:c,code:u.key,name:u.name}});return o=o.concat(i),o}}]),e}();jA(NA,"events",MA);function Qa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function VA(e){if(Array.isArray(e))return Qa(e)}function zA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function CA(){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 E0(e){return VA(e)||zA(e)||HA(e)||CA()}function HA(e,t){if(!!e){if(typeof e=="string")return Qa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qa(e,t)}}function Ja(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function S0(e,t,n){n!=="Runtime"&&(e.parent=t,Ja(e,"parent"))}function qA(e,t,n){e.forEach(function(o){S0(o,t,n)})}var T0=Symbol("targetKey");function R0(e){var t;return(t=e[T0])!==null&&t!==void 0?t:e}function I0(e,t,n){return qA(e,t,n),new Proxy(e,{get:function(r,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===T0?r:(l=Reflect).get.apply(l,[r,i].concat(E0(c)))},set:function(r,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 _;if(Ka(e)&&i==="length"&&u===e.length)return!0;var s=(_=Reflect).set.apply(_,[r,i,u].concat(E0(a)));return m0(u)&&S0(u,t,n),s}})}function Gt(e,t,n,o,r){var i=o!=null?o:e,u=I0(R0(n!=null?n:[]),i,r);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=I0(R0(a),i,r)},enumerable:!0})}function UA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WA(e,t,n){return t&&B0(e.prototype,t),n&&B0(e,n),e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A0=[],So=function(){function e(t){UA(this,e),re(this,"registeredControlTypes",new Set),re(this,"controlConfigMap",new Map),re(this,"_controls",[]),re(this,"_type",void 0),this._type=t,this._initControls(t)}return WA(e,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Qn("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(Ha("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===$o.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===$o.FORM}},{key:"isListControl",value:function(n){return n.controlType===$o.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===$o.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(_){return r.createControl(_,o)});if(n.children&&(n.children=n.children.map(function(_){return r.createControl(_,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(_){return r.createControl(_,o)})),i.footers&&(i.footers=i.footers.map(function(_){var s;return _&&(s=r.createControl(_,o)),s}))}var u=this.getControlFormType(n.type);if(u){var c=n;if(typeof o=="function"){var a=o(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 Qn("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,o){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return o}}),Ja(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,o){o._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=o._controlParentIdMap,c=o.instanceMap;if(!(!u||!c)){var a=u[i],l=c[i];if(!(!a&&!l)){var _=l.findIndex(function(b){return b==n}),s=c[a]||[],d;return s.length!==l.length?d=s[0]:d=s[_],d}}}}),Ja(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),e.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=e.staticControlsRuntimeRules.get(n),i=[];if(r){var u=new r(o);i=Array.from(u)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,u=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&Qn("".concat(n," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.Designer.controlType===r.controlType});return c>-1&&(Ha("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=o,this}}]),e}();re(So,"staticControlsRuntimeRules",new Map),re(So,"staticControls",A0),re(So,"staticRegisteredTypes",new Set(A0.map(function(e){return e.Designer.controlType}))),re(So,"staticRegisteredConfigs",new Map);function KA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function It(e,t,n){return t=To(t),GA(e,k0()?Reflect.construct(t,n||[],To(e).constructor):t.apply(e,n))}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},To(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&&Za(e,t)}function GA(e,t){return t&&(XA(t)==="object"||typeof t=="function")?t:KA(e)}function Za(e,t){return Za=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Za(e,t)}function XA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(k0=function(){return!!e})()}var At=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=t==null?void 0:t.aliasCode},Ya=function e(t){E(this,e),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var o;this.flex=(o=t==null?void 0:t.flex)!==null&&o!==void 0?o:1},tf=function(e){Bt(t,e);function t(n){E(this,t);var o;o=It(this,t,[n]),v(o,"width",void 0),v(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return t}(Ya),D0=function e(t){E(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new tf(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new tf(t==null?void 0:t.mobile):new tf({width:130,minWidth:180})},QA=function e(t){E(this,e),v(this,"type",void 0),v(this,"customOptions",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=t==null?void 0:t.customOptions)!==null&&o!==void 0?o:[]},je=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(this,"appId",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:""},JA=function(e){Bt(t,e);function t(n){E(this,t);var o;o=It(this,t,[n]),v(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return t}(je),x0=function e(t){E(this,e),v(this,"fieldCode",void 0),v(this,"dataCode",void 0);var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:""},ef=function e(t){E(this,e);var n;v(this,"appId",void 0),v(this,"formKey",void 0),v(this,"headers",void 0);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new x0(u)}))!==null&&i!==void 0?i:[]},ZA=function e(t){E(this,e),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:g.VARCHAR},YA=function(e){Bt(t,e);function t(n){E(this,t);var o;o=It(this,t,[n]),v(o,"title",void 0),v(o,"svcCode",void 0),v(o,"isOpenFilter",void 0),v(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var u;o.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var c;return o.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],o}return t}(je),tk=function e(t){E(this,e);var n,o;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new je(t==null?void 0:t.formBind);var r;this.displayFields=(r=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(u){return new ZA(u)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=t==null||(o=t.sublists)===null||o===void 0?void 0:o.map(function(u){return new YA(u)}))!==null&&i!==void 0?i:[]},ek=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(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},Jn=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"displayBos",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=t==null?void 0:t.displayBos)!==null&&r!==void 0?r:[]},nf=function e(t){var n=this;E(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r: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=n.children)===null||a===void 0||a.push(l)}else{var _,s=new Ro(c);(_=n.children)===null||_===void 0||_.push(s)}}))},Ro=function e(t){E(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=t==null?void 0:t.symbol)!==null&&r!==void 0?r:"";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 ek(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Jn(t==null?void 0:t.rightVariableBo)},nk=function e(t){E(this,e),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(this,"relationFields",void 0);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new G(t==null?void 0:t.datasourceBind);var o;this.relationFields=(o=t==null?void 0:t.relationFields)!==null&&o!==void 0?o:[]},st=function e(t){E(this,e),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(this,"propName",void 0);var n;this.controlId=(n=t==null?void 0:t.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=t==null?void 0:t.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=t==null?void 0:t.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},of=function e(t){E(this,e),v(this,"type",void 0),v(this,"value",void 0),v(this,"fieldType",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"",this.fieldType=t==null?void 0:t.fieldType},ok=function e(t){E(this,e),v(this,"columnName",void 0),v(this,"desc",void 0);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=t.desc)!==null&&o!==void 0?o:!1};function rf(e){var t,n,o,r;this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new nf(c):new Ro(c)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new nf(c):new Ro(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(o=e.orders)===null||o===void 0?void 0:o.map(function(c){return new ok(c)}))!==null&&u!==void 0?u:[]}var G=function e(t){var n=this;E(this,e),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";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(_){var s;(s=n.displayBoList)===null||s===void 0||s.push(new of(_))}));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:"",rf.call(this,t)},uf=function e(t){E(this,e),v(this,"dataCode",void 0),v(this,"displayBoList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=t==null?void 0:t.displayBoList)!==null&&o!==void 0?o:[]},Xt=function e(t){E(this,e),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var n;this.code=(n=t==null?void 0:t.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=t==null?void 0:t.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=t==null?void 0:t.command)!==null&&r!==void 0?r:"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 _;this.openType=(_=t==null?void 0:t.openType)!==null&&_!==void 0?_:"modal";var s;this.priorityProcess=(s=t==null?void 0:t.priorityProcess)!==null&&s!==void 0?s:!0},L0=function e(t){E(this,e);var n;v(this,"name",void 0),v(this,"key",void 0),v(this,"value",void 0);var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var r;this.key=(r=t==null?void 0:t.key)!==null&&r!==void 0?r:"";var i;this.value=(i=t==null||(n=t.value)===null||n===void 0?void 0:n.map(function(u){return new of(u)}))!==null&&i!==void 0?i:[]},Io=function(e){Bt(t,e);function t(n){E(this,t);var o,r;o=It(this,t,[n]),v(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(u){return new L0(u)}))!==null&&i!==void 0?i:[],o}return t}(G),rk=function(e){Bt(t,e);function t(n){E(this,t);var o,r;o=It(this,t,[n]),v(o,"attributes",void 0),v(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new L0(c)}))!==null&&i!==void 0?i:[];var u;return o.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",o}return t}(G),F0=function(e){Bt(t,e);function t(n){E(this,t);var o;o=It(this,t,[n]),v(o,"rootNode",void 0),v(o,"filterCode",void 0),o.rootNode=new Jn(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return t}(Io),j0=function e(t){E(this,e);var n;v(this,"dataCode",void 0),v(this,"appId",void 0),v(this,"fillList",void 0);var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=t==null||(n=t.fillList)===null||n===void 0?void 0:n.map(function(u){return new st(u)}))!==null&&i!==void 0?i:[]},M0=function(e){Bt(t,e);function t(n){E(this,t);var o;return o=It(this,t,[n]),v(o,"filters",void 0),v(o,"viewFilters",void 0),v(o,"orders",void 0),rf.call(o,n),o}return t}(j0),N0=function(e){Bt(t,e);function t(n){E(this,t);var o;o=It(this,t,[n]),v(o,"mode",void 0),v(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return t}(j0),Bo=function e(t){E(this,e),v(this,"stencilName",void 0),v(this,"expression",void 0),v(this,"errMessage",void 0);var n;this.stencilName=(n=t==null?void 0:t.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=t==null?void 0:t.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=t==null?void 0:t.errMessage)!==null&&r!==void 0?r:""},ik=function e(t){E(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt(8);var o;this.label=(o=t==null?void 0:t.label)!==null&&o!==void 0?o:"";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:this.label};function Qt(e){var t;return(t=e==null?void 0:e.map(function(n){return new ik(n)}))!==null&&t!==void 0?t:[]}var cf=function e(){E(this,e)},uk=function(e){Bt(t,e);function t(n){E(this,t);var o;return o=It(this,t),v(o,"amount",void 0),v(o,"currency",void 0),o.amount=new At(n==null?void 0:n.amount),o.currency=new At(n==null?void 0:n.currency),o}return t}(cf),ck=function e(t){E(this,e),v(this,"amount",void 0),v(this,"currency",void 0);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=t==null?void 0:t.currency)!==null&&o!==void 0?o:"CNY"},lk=function(e){Bt(t,e);function t(n){E(this,t);var o;return o=It(this,t),v(o,"min",void 0),v(o,"max",void 0),o.min=new At(n==null?void 0:n.min),o.max=new At(n==null?void 0:n.max),o}return t}(cf),ak=function e(t){E(this,e),v(this,"min",void 0),v(this,"max",void 0);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var o;this.max=(o=t==null?void 0:t.max)!==null&&o!==void 0?o:""},fk=function e(t){E(this,e),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=t==null?void 0:t.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=t==null?void 0:t.district)!==null&&r!==void 0?r:"";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:""},_k=function(e){Bt(t,e);function t(n){E(this,t);var o;return o=It(this,t),v(o,"result",void 0),v(o,"unit",void 0),o.result=new At(n==null?void 0:n.result),o.unit=new At(n==null?void 0:n.unit),o}return t}(cf),yk=function e(t){E(this,e),v(this,"result",void 0),v(this,"unit",void 0);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=t==null?void 0:t.unit)!==null&&o!==void 0?o:""},sk=function(e){return 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",e}({}),f=function(e){return 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.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.CAPTION_SIZE="captionSize",e.CAPTION_COLOR="captionColor",e.IS_CAPTION_ITALIC="isCaptionItalic",e.ONLY_ALLOW_TAKE_PHOTO="onlyAllowTakePhoto",e.FORBID_DOWNLOAD="forbidDownload",e.ACCESS_CONTROL="accessControl",e}({}),pk=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT",e}({}),ie=function e(t){E(this,e),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";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},dk=function e(t){E(this,e);var n;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt(8);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=t==null||(n=t.headers)===null||n===void 0?void 0:n.map(function(u){return new x0(u)}))!==null&&i!==void 0?i:[],rf.call(this,t)},vk=function e(t){E(this,e),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var o;this.height=(o=t==null?void 0:t.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=t==null?void 0:t.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},hk=function e(t){E(this,e),v(this,"optCode",void 0),v(this,"optType",void 0);var n;this.optCode=(n=t==null?void 0:t.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=t==null?void 0:t.optType)!==null&&o!==void 0?o:""},bk=function e(t){E(this,e);var n;v(this,"id",void 0),v(this,"name",void 0),v(this,"color",void 0),v(this,"filters",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Rt();var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(n=t.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new nf(c):new Ro(c)}))!==null&&u!==void 0?u:[]},gk=function e(t){E(this,e),v(this,"id",void 0),v(this,"script",void 0),v(this,"color",void 0);var n;this.id=(n=t.id)!==null&&n!==void 0?n:Rt();var o;this.script=(o=t.script)!==null&&o!==void 0?o:"";var r;this.color=(r=t.color)!==null&&r!==void 0?r:"theme"};function mk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ok(e,t,n){return t=Zn(t),Pk(e,ff()?Reflect.construct(t,n||[],Zn(e).constructor):t.apply(e,n))}function lf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ao(e,t,n){return ff()?Ao=Reflect.construct:Ao=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&Yn(l,u.prototype),l},Ao.apply(null,arguments)}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(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&&Yn(e,t)}function $k(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Pk(e,t){return t&&(Ek(t)==="object"||typeof t=="function")?t:mk(e)}function Yn(e,t){return Yn=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yn(e,t)}function Ek(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function af(e){var t=typeof Map=="function"?new Map:void 0;return af=function(o){if(o===null||!$k(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Ao(o,arguments,Zn(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Yn(r,o)},af(e)}function ff(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ff=function(){return!!e})()}var W=function e(t){lf(this,e),ue(this,"isHide",{type:"boolean"})},me=function(e){wk(t,e);function t(n){return lf(this,t),Ok(this,t)}return t}(af(Array)),X=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";lf(this,e),ue(this,"isHide",void 0),ue(this,"className",void 0),ue(this,"style",void 0),ue(this,"caption",void 0);var o;this.isHide=(o=t==null?void 0:t.isHide)!==null&&o!==void 0?o:!1,this.style=new vk(t==null?void 0:t.style);var r;this.caption=(r=t==null?void 0:t.caption)!==null&&r!==void 0?r:n};ue(X,"mode",void 0),ue(X,"Rules",W),ue(X,"RuntimeRules",me);function Vt(){return Vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Vt.apply(this,arguments)}function Sk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_f(e)}function ko(e,t){return ko=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ko(e,t)}function Tk(){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 Do(e,t,n){return Tk()?Do=Reflect.construct:Do=function(r,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(r,c),l=new a;return u&&ko(l,u.prototype),l},Do.apply(null,arguments)}function Rk(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function yf(e){var t=typeof Map=="function"?new Map:void 0;return yf=function(o){if(o===null||!Rk(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Do(o,arguments,_f(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ko(r,o)},yf(e)}var Ik=/%[sdj%]/g,V0=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(V0=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(t,n)});function sf(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function gt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=1,r=t[0],i=t.length;if(typeof r=="function")return r.apply(null,t.slice(1));if(typeof r=="string"){var u=String(r).replace(Ik,function(c){if(c==="%%")return"%";if(o>=i)return c;switch(c){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(a){return"[Circular]"}break;default:return c}});return u}return r}function Bk(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function K(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Bk(t)&&typeof e=="string"&&!e)}function Ak(e,t,n){var o=[],r=0,i=e.length;function u(c){o.push.apply(o,c),r++,r===i&&n(o)}e.forEach(function(c){t(c,u)})}function z0(e,t,n){var o=0,r=e.length;function i(u){if(u&&u.length){n(u);return}var c=o;o=o+1,c<r?t(e[c],i):n([])}i([])}function kk(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var C0=function(e){Sk(t,e);function t(n,o){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return t}(yf(Error));function Dk(e,t,n,o){if(t.first){var r=new Promise(function(s,d){var b=function(w){return o(w),w.length?d(new C0(w,sf(w))):s()},m=kk(e);z0(m,n,b)});return r.catch(function(s){return s}),r}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,a=0,l=[],_=new Promise(function(s,d){var b=function(O){if(l.push.apply(l,O),a++,a===c)return o(l),l.length?d(new C0(l,sf(l))):s()};u.length||(o(l),s()),u.forEach(function(m){var O=e[m];i.indexOf(m)!==-1?z0(O,n,b):Ak(O,n,b)})});return _.catch(function(s){return s}),_}function H0(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 q0(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];typeof o=="object"&&typeof e[n]=="object"?e[n]=Vt(Vt({},e[n]),o):e[n]=o}}return e}function U0(e,t,n,o,r,i){e.required&&(!n.hasOwnProperty(e.field)||K(t,i||e.type))&&o.push(gt(r.messages.required,e.fullField))}function xk(e,t,n,o,r){(/^\s+$/.test(t)||t==="")&&o.push(gt(r.messages.whitespace,e.fullField))}var pf={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},to={integer:function(t){return to.number(t)&&parseInt(t,10)===t},float:function(t){return to.number(t)&&!to.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){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"&&!to.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(pf.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(pf.url)},hex:function(t){return typeof t=="string"&&!!t.match(pf.hex)}};function Lk(e,t,n,o,r){if(e.required&&t===void 0){U0(e,t,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?to[u](t)||o.push(gt(r.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&o.push(gt(r.messages.types[u],e.fullField,e.type))}function Fk(e,t,n,o,r){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,_=null,s=typeof t=="number",d=typeof t=="string",b=Array.isArray(t);if(s?_="number":d?_="string":b&&(_="array"),!_)return!1;b&&(l=t.length),d&&(l=t.replace(a,"_").length),i?l!==e.len&&o.push(gt(r.messages[_].len,e.fullField,e.len)):u&&!c&&l<e.min?o.push(gt(r.messages[_].min,e.fullField,e.min)):c&&!u&&l>e.max?o.push(gt(r.messages[_].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&o.push(gt(r.messages[_].range,e.fullField,e.min,e.max))}var Me="enum";function jk(e,t,n,o,r){e[Me]=Array.isArray(e[Me])?e[Me]:[],e[Me].indexOf(t)===-1&&o.push(gt(r.messages[Me],e.fullField,e[Me].join(", ")))}function Mk(e,t,n,o,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(gt(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||o.push(gt(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:U0,whitespace:xk,type:Lk,range:Fk,enum:jk,pattern:Mk};function Nk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t,"string")&&!e.required)return n();k.required(e,t,o,i,r,"string"),K(t,"string")||(k.type(e,t,o,i,r),k.range(e,t,o,i,r),k.pattern(e,t,o,i,r),e.whitespace===!0&&k.whitespace(e,t,o,i,r))}n(i)}function Vk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}function zk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Ck(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}function Hk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),K(t)||k.type(e,t,o,i,r)}n(i)}function qk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Uk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Wk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();k.required(e,t,o,i,r,"array"),t!=null&&(k.type(e,t,o,i,r),k.range(e,t,o,i,r))}n(i)}function Kk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k.type(e,t,o,i,r)}n(i)}var Gk="enum";function Xk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r),t!==void 0&&k[Gk](e,t,o,i,r)}n(i)}function Qk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t,"string")&&!e.required)return n();k.required(e,t,o,i,r),K(t,"string")||k.pattern(e,t,o,i,r)}n(i)}function Jk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t,"date")&&!e.required)return n();if(k.required(e,t,o,i,r),!K(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),k.type(e,c,o,i,r),c&&k.range(e,c.getTime(),o,i,r)}}n(i)}function Zk(e,t,n,o,r){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,o,i,r,u),n(i)}function df(e,t,n,o,r){var i=e.type,u=[],c=e.required||!e.required&&o.hasOwnProperty(e.field);if(c){if(K(t,i)&&!e.required)return n();k.required(e,t,o,u,r,i),K(t,i)||k.type(e,t,o,u,r)}n(u)}function Yk(e,t,n,o,r){var i=[],u=e.required||!e.required&&o.hasOwnProperty(e.field);if(u){if(K(t)&&!e.required)return n();k.required(e,t,o,i,r)}n(i)}var eo={string:Nk,method:Vk,number:zk,boolean:Ck,regexp:Hk,integer:qk,float:Uk,array:Wk,object:Kk,enum:Xk,pattern:Qk,date:Jk,url:df,hex:df,email:df,required:Zk,any:Yk};function vf(){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 hf=vf();function ce(e){this.rules=null,this._messages=hf,this.define(e)}ce.prototype={messages:function(t){return t&&(this._messages=q0(vf(),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 n,o;for(n in t)t.hasOwnProperty(n)&&(o=t[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(t,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=t,u=n,c=o;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(O){var w,h=[],$={};function T(P){if(Array.isArray(P)){var S;h=(S=h).concat.apply(S,P)}else h.push(P)}for(w=0;w<O.length;w++)T(O[w]);h.length?$=sf(h):(h=null,$=null),c(h,$)}if(u.messages){var l=this.messages();l===hf&&(l=vf()),q0(l,u.messages),u.messages=l}else u.messages=this.messages();var _,s,d={},b=u.keys||Object.keys(this.rules);b.forEach(function(O){_=r.rules[O],s=i[O],_.forEach(function(w){var h=w;typeof h.transform=="function"&&(i===t&&(i=Vt({},i)),s=i[O]=h.transform(s)),typeof h=="function"?h={validator:h}:h=Vt({},h),h.validator=r.getValidationMethod(h),h.field=O,h.fullField=h.fullField||O,h.type=r.getType(h),h.validator&&(d[O]=d[O]||[],d[O].push({rule:h,value:s,source:i,field:O}))})});var m={};return Dk(d,u,function(O,w){var h=O.rule,$=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");$=$&&(h.required||!h.required&&O.value),h.field=O.field;function T(F,A){return Vt(Vt({},A),{},{fullField:h.fullField+"."+F})}function P(F){F===void 0&&(F=[]);var A=F;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&ce.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(H0(h)),u.first&&A.length)return m[h.field]=1,w(A);if(!$)w(A);else{if(h.required&&!O.value)return h.message!==void 0?A=[].concat(h.message).map(H0(h)):u.error&&(A=[u.error(h,gt(u.messages.required,h.field))]),w(A);var ut={};if(h.defaultField)for(var I in O.value)O.value.hasOwnProperty(I)&&(ut[I]=h.defaultField);ut=Vt(Vt({},ut),O.rule.fields);for(var Wt in ut)if(ut.hasOwnProperty(Wt)){var wo=Array.isArray(ut[Wt])?ut[Wt]:[ut[Wt]];ut[Wt]=wo.map(T.bind(null,Wt))}var Wn=new ce(ut);Wn.messages(u.messages),O.rule.options&&(O.rule.options.messages=u.messages,O.rule.options.error=u.error),Wn.validate(O.value,O.rule.options||u,function(ke){var Kt=[];A&&A.length&&Kt.push.apply(Kt,A),ke&&ke.length&&Kt.push.apply(Kt,ke),w(Kt.length?Kt:null)})}}var S;h.asyncValidator?S=h.asyncValidator(h,O.value,P,O.source,u):h.validator&&(S=h.validator(h,O.value,P,O.source,u),S===!0?P():S===!1?P(h.message||h.field+" fails"):S instanceof Array?P(S):S instanceof Error&&P(S.message)),S&&S.then&&S.then(function(){return P()},function(F){return P(F)})},function(O){a(O)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!eo.hasOwnProperty(t.type))throw new Error(gt("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?eo.required:eo[this.getType(t)]||!1}},ce.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");eo[t]=n},ce.warning=V0,ce.messages=hf,ce.validators=eo;var t2={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 e2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ce(e);return n.messages(Object.assign(t2,t)),n}var n2=new xA;function bf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function o2(e){if(Array.isArray(e))return e}function r2(e){if(Array.isArray(e))return bf(e)}function W0(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function K0(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){W0(i,o,r,u,c,"next",a)}function c(a){W0(i,o,r,u,c,"throw",a)}u(void 0)})}}function i2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G0(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u2(e,t,n){return t&&G0(e.prototype,t),n&&G0(e,n),e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X0(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Q0(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function c2(){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 l2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function J0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){M(e,r,n[r])})}return e}function a2(e){return o2(e)||Q0(e)||Z0(e)||c2()}function gf(e){return r2(e)||Q0(e)||Z0(e)||l2()}function f2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z0(e,t){if(!!e){if(typeof e=="string")return bf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bf(e,t)}}function Y0(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var N=function(){function t(n){var o=this;i2(this,t),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",eb),M(this,"removeSetting",tb),this._callControlHooks("preInstance",n);var r=X0(this,t)?this.constructor:void 0,i=r.controlName,u=r.controlIcon,c=r.controlType,a=r.controlFieldType,l=r.controlEventKeys,_=r.controlCustomEvents,s=r.name,d=r.setting;i&&u&&c||v0("The ".concat(s," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:Rt(10),this.name=i,this.icon=u;var m;this.type=(m=n==null?void 0:n.type)!==null&&m!==void 0?m:c,this.props=new X(n==null?void 0:n.props,(X0(this,t)?this.constructor:void 0).controlName);var O;this.controlType=(O=n==null?void 0:n.controlType)!==null&&O!==void 0?O:"base",this.setting=oe(d);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=oe(l),this.customEvents=oe(_),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return u2(t,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var u,c=a2(r),a=c[0],l=c.slice(1);return(u=n2).emit.apply(u,[a,this].concat(gf(l)))}},{key:"preUpdate",value:function(o,r){this._callControlHooks("preUpdateProps",o,r)}},{key:"postUpdate",value:function(o,r){this._callControlHooks("postUpdateProps",o,r)}},{key:"updateProps",value:function(o,r){this.preUpdate(o,r),mA(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){return K0(function(){var o,r,i;return Y0(this,function(u){switch(u.label){case 0:return o=J0({},this.rules),[4,this._callControlHooks("preValidate",o)];case 1:return r=u.sent(),i=r[r.length-1],[2,i===!1?void 0:i]}})}).call(this)}},{key:"validate",value:function(o,r){return K0(function(){var i,u,c,a;return Y0(this,function(l){switch(l.label){case 0:return[4,this.preValidate()];case 1:i=l.sent(),u=i!==void 0?i:J0({},this.rules),Array.isArray(r)&&r.forEach(function(_){u.hasOwnProperty(_)&&delete u[_]}),c=e2(u,o),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,c.validate(this.props)];case 3:return l.sent(),[2,!0];case 4:throw a=l.sent(),a.control||(a.control=this),a;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,_=c.optionConfig,s=c.caption,d=c.required,b=c.maxLength,m=c.options,O=c.encrypted,w=c.encryptedMode;if(!(!r&&!a&&!l)){var h={parentId:o,fieldType:r,controlId:i,caption:s,type:u,props:{}};switch(a&&(h.dataBind=a),_){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=m;break}return d!==void 0&&(h.required=d),b!==void 0&&(h.maxLength=b),O!==void 0&&(h.encrypted=O),w!==void 0&&(h.encryptedMode=w),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:oe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,gf(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),t}();M(N,"mode","Designer"),M(N,"controlName","\u63A7\u4EF6"),M(N,"controlIcon","icon"),M(N,"controlType","control"),M(N,"controlFieldType",void 0),M(N,"controlEventKeys",[]),M(N,"controlCustomEvents",[]),M(N,"setting",[]),M(N,"__is_control__",!0),M(N,"removeSettingItem",tb),M(N,"updateSettingItem",eb);function tb(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(o){var r,i=typeof o!="string",u=(r=t.setting)===null||r===void 0?void 0:r.findIndex(function(l){return l.key===(i?o.key:o)});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!o.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 eb(e,t){var n=this,o=typeof e=="string"?[e]:e;o.forEach(function(r){var i=n.setting.find(function(l){return l.key===r});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":f2(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,gf(t.showItems))}}}})}function _2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function y2(e,t,n){return t&&nb(e.prototype,t),n&&nb(e,n),e}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s2(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Jt=function(){function t(n){_2(this,t),mt(this,"id",void 0),mt(this,"type",void 0),mt(this,"controlType",void 0),mt(this,"props",void 0),mt(this,"fieldType",void 0),mt(this,"customEvents",[]),mt(this,"pageStatus",void 0),mt(this,"parent",null);var o=s2(this,t)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,u=o.name,c=o.controlCustomEvents;r||v0("The ".concat(u," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Rt(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:r,this.props=new X(n==null?void 0:n.props),this.customEvents=c;var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base";var s;this.fieldType=(s=n==null?void 0:n.fieldType)!==null&&s!==void 0?s:i;var d;this.pageStatus=(d=n==null?void 0:n.pageStatus)!==null&&d!==void 0?d:pk.UNKNOWN}return y2(t,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),t}();mt(Jt,"mode","Runtime"),mt(Jt,"controlType","control"),mt(Jt,"controlFieldType",void 0),mt(Jt,"__is_control__",!0),mt(Jt,"controlCustomEvents",[]);function mf(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(p.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(c){return c.value}),u=PA(i);i.length!==u.length?r(p.getMessage("optionIdIsRepeat")):r()},message:p.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(p.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function xo(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(r,i,u){i.length===0&&u(p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function p2(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function d2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lo(e,t,n){return t=jo(t),v2(e,ob()?Reflect.construct(t,n||[],jo(e).constructor):t.apply(e,n))}function Fo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jo(e)}function Mo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Of(e,t)}function v2(e,t){return t&&(h2(t)==="object"||typeof t=="function")?t:d2(e)}function Of(e,t){return Of=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Of(e,t)}function h2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ob(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ob=function(){return!!e})()}var J=function(e){Mo(t,e);function t(n){Fo(this,t);var o;o=Lo(this,t,[n]),j(o,"dataBind",{}),j(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),j(o,"isHideCaption",{type:"boolean"}),j(o,"labelPosition",{type:"enum",enum:["top","left"]}),j(o,"defaultState",{type:"enum",enum:["default","readonly"]}),j(o,"required",{type:"boolean"}),j(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(p2(n.dataBind))o.dataBind={type:"object",required:!0,fields:oe(r),message:p.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:oe(r),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),z=function(e){Mo(t,e);function t(n){Fo(this,t);var o;o=Lo(this,t,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return t}(me),D=function(e){Mo(t,e);function t(n){Fo(this,t);var o;o=Lo(this,t,[n]),j(o,"caption",void 0),j(o,"captionSize",void 0),j(o,"captionColor",void 0),j(o,"isCaptionItalic",void 0),j(o,"isHideCaption",void 0),j(o,"isShowCaptionTip",void 0),j(o,"captionTip",void 0),j(o,"labelPosition",void 0),j(o,"dataBind",void 0),j(o,"defaultValue",void 0),j(o,"placeholder",void 0),j(o,"defaultState",void 0),j(o,"required",void 0),j(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.captionSize=(i=n==null?void 0:n.captionSize)!==null&&i!==void 0?i:"";var u;o.captionColor=(u=n==null?void 0:n.captionColor)!==null&&u!==void 0?u:"";var c;o.isCaptionItalic=(c=n==null?void 0:n.isCaptionItalic)!==null&&c!==void 0?c:!1;var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var _;o.captionTip=(_=n==null?void 0:n.captionTip)!==null&&_!==void 0?_:"";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var d;o.labelPosition=(d=n==null?void 0:n.labelPosition)!==null&&d!==void 0?d:"top";var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"";var m;o.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var O;o.requiredMessage=(O=n==null?void 0:n.requiredMessage)!==null&&O!==void 0?O:"",o.dataBind=new At(n==null?void 0:n.dataBind);var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o}return t}(X);j(D,"Rules",J),j(D,"RuntimeRules",z);var Ne=function(e){Mo(t,e);function t(n){Fo(this,t);var o;return o=Lo(this,t,[n]),j(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),j(o,"options",[{type:"array",message:p.getMessage("isNotArray")}]),j(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),mf.call(o,n),o}return t}(J);function b2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g2(e,t,n){return t=Vo(t),w2(e,rb()?Reflect.construct(t,n||[],Vo(e).constructor):t.apply(e,n))}function m2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function No(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vo(e)}function O2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wf(e,t)}function w2(e,t){return t&&($2(t)==="object"||typeof t=="function")?t:b2(e)}function wf(e,t){return wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wf(e,t)}function $2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rb=function(){return!!e})()}var x=function(e){O2(t,e);function t(n){m2(this,t);var o;return o=g2(this,t,[n]),No(o,"controlType","form"),No(o,"props",void 0),o.props=new D(n==null?void 0:n.props),o}return t}(N);No(x,"controlEventKeys",["on_change","on_focus","on_blur"]),No(x,"controlCustomAttributes",void 0);function P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E2(e,t,n){return t=zo(t),R2(e,ib()?Reflect.construct(t,n||[],zo(e).constructor):t.apply(e,n))}function S2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zo(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&&Pf(e,t)}function R2(e,t){return t&&(I2(t)==="object"||typeof t=="function")?t:P2(e)}function Pf(e,t){return Pf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pf(e,t)}function I2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ib(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ib=function(){return!!e})()}var L=function(e){T2(t,e);function t(n){S2(this,t);var o;return o=E2(this,t,[n]),$f(o,"controlType","form"),$f(o,"props",void 0),$f(o,"value",void 0),o.props=new D(n==null?void 0:n.props),o}return t}(Jt);function B2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A2(e,t,n){return t=Co(t),x2(e,ub()?Reflect.construct(t,n||[],Co(e).constructor):t.apply(e,n))}function k2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Co(e)}function D2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ef(e,t)}function x2(e,t){return t&&(L2(t)==="object"||typeof t=="function")?t:B2(e)}function Ef(e,t){return Ef=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ef(e,t)}function L2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ub(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ub=function(){return!!e})()}var Z=function(e){D2(t,e);function t(n){return k2(this,t),A2(this,t,[n])}return t}(X);function Sf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function F2(e){if(Array.isArray(e))return Sf(e)}function j2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cb(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function M2(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){cb(i,o,r,u,c,"next",a)}function c(a){cb(i,o,r,u,c,"throw",a)}u(void 0)})}}function N2(e,t,n){return t=ae(t),X2(e,fb()?Reflect.construct(t,n||[],ae(e).constructor):t.apply(e,n))}function V2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function z2(e,t,n){return t&&lb(e.prototype,t),n&&lb(e,n),e}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ve=Reflect.get:Ve=function(r,i,u){var c=Q2(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ve(e,t,n||e)}function ae(e){return ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ae(e)}function C2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tf(e,t)}function H2(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function q2(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function U2(){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 W2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){le(e,r,n[r])})}return e}function K2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function G2(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):K2(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function X2(e,t){return t&&(J2(t)==="object"||typeof t=="function")?t:j2(e)}function Tf(e,t){return Tf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tf(e,t)}function Q2(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ae(e),e!==null););return e}function ab(e){return F2(e)||q2(e)||Z2(e)||U2()}function J2(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z2(e,t){if(!!e){if(typeof e=="string")return Sf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sf(e,t)}}function fb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fb=function(){return!!e})()}function Y2(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var tD=1e4,Y=function(t){C2(n,t);function n(o){V2(this,n);var r;r=N2(this,n,[o]),le(r,"controlType","layout"),le(r,"children",void 0),le(r,"excludes",void 0),le(r,"childrenMaxLength",void 0),le(r,"props",void 0);var i=H2(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Z(o==null?void 0:o.props),Gt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=oe(u),r.childrenMaxLength=c,r}return z2(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var u=this,c=this,a=function(){return Ve(ae(n.prototype),"validate",u)};return M2(function(){return Y2(this,function(l){switch(l.label){case 0:return[4,a().call(c,r,i)];case 1:return l.sent(),[4,Promise.all(this.children.map(function(_){return _.validate(r,i)}))];case 2:return l.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=Ve(ae(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(c,a){var l=a.toDataBindModel(r);if(Array.isArray(l)){var _=l.filter(function(s){return!!s});return ab(c).concat(ab(_))}return l&&c.push(l),c},u)}},{key:"toSchema",value:function(){var r=Ve(ae(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var c=u.toSchema();return c});return G2(W2({},r),{children:i})}}]),n}(N);le(Y,"excludes",!1),le(Y,"childrenMaxLength",tD);function eD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nD(e,t,n){return t=Ho(t),iD(e,_b()?Reflect.construct(t,n||[],Ho(e).constructor):t.apply(e,n))}function oD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ho(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&&If(e,t)}function iD(e,t){return t&&(uD(t)==="object"||typeof t=="function")?t:eD(e)}function If(e,t){return If=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},If(e,t)}function uD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_b=function(){return!!e})()}var Oe=function(e){rD(t,e);function t(n){oD(this,t);var o;return o=nD(this,t,[n]),Rf(o,"controlType","layout"),Rf(o,"children",void 0),Rf(o,"props",void 0),o.props=new Z(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Jt);function cD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lD(e,t,n){return t=qo(t),_D(e,yb()?Reflect.construct(t,n||[],qo(e).constructor):t.apply(e,n))}function aD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qo(e)}function fD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bf(e,t)}function _D(e,t){return t&&(yD(t)==="object"||typeof t=="function")?t:cD(e)}function Bf(e,t){return Bf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bf(e,t)}function yD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yb=function(){return!!e})()}var Af=function(e){fD(t,e);function t(n,o,r){aD(this,t);var i;i=lD(this,t,[o]),ze(i,"headers",void 0),ze(i,"footers",void 0),ze(i,"pageIndex",void 0),ze(i,"pageSize",void 0),ze(i,"pageSizeOptions",void 0),ze(i,"totalCount",void 0),Gt(i,"headers",o==null?void 0:o.headers,n,r),Gt(i,"footers",o==null?void 0:o.footers,n);var u;i.pageIndex=(u=o==null?void 0:o.pageIndex)!==null&&u!==void 0?u:1;var c;i.pageSize=(c=o==null?void 0:o.pageSize)!==null&&c!==void 0?c:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var l;return i.totalCount=(l=o==null?void 0:o.totalCount)!==null&&l!==void 0?l:0,i}return t}(X);function kf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function sD(e){if(Array.isArray(e))return kf(e)}function pD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sb(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function dD(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){sb(i,o,r,u,c,"next",a)}function c(a){sb(i,o,r,u,c,"throw",a)}u(void 0)})}}function vD(e,t,n){return t=fe(t),$D(e,bb()?Reflect.construct(t,n||[],fe(e).constructor):t.apply(e,n))}function hD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bD(e,t,n){return t&&pb(e.prototype,t),n&&pb(e,n),e}function Uo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ce(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ce=Reflect.get:Ce=function(r,i,u){var c=PD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ce(e,t,n||e)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(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&&Df(e,t)}function mD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function OD(){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 db(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Uo(e,r,n[r])})}return e}function wD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function vb(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wD(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function $D(e,t){return t&&(ED(t)==="object"||typeof t=="function")?t:pD(e)}function Df(e,t){return Df=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Df(e,t)}function PD(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fe(e),e!==null););return e}function hb(e){return sD(e)||mD(e)||SD(e)||OD()}function ED(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SD(e,t){if(!!e){if(typeof e=="string")return kf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kf(e,t)}}function bb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bb=function(){return!!e})()}function TD(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var xf=function(e){gD(t,e);function t(n){hD(this,t);var o;return o=vD(this,t,[n]),Uo(o,"controlType","list"),Uo(o,"props",void 0),o.props=new Af(o,n==null?void 0:n.props,"Designer"),o}return bD(t,[{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return Ce(fe(t.prototype),"validate",i)};return dD(function(){return TD(this,function(a){switch(a.label){case 0:return[4,c().call(u,o)];case 1:return a.sent(),[4,Promise.all(this.props.headers.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var o=Ce(fe(t.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(u,c){var a=c.toDataBindModel(i);if(Array.isArray(a)){var l=a.filter(function(_){return!!_});return hb(u).concat(hb(l))}return a&&u.push(a),u},r)}},{key:"toSchema",value:function(){var o,r,i=Ce(fe(t.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()}),c=(r=this.props)===null||r===void 0||(o=r.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return vb(db({},i),{props:vb(db({},this.props),{headers:u,footers:c})})}}]),t}(N);Uo(xf,"controlFieldType",g.LIST);function RD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lf(e,t,n){return t=Wo(t),ID(e,gb()?Reflect.construct(t,n||[],Wo(e).constructor):t.apply(e,n))}function Ff(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wo(e)}function jf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mf(e,t)}function ID(e,t){return t&&(BD(t)==="object"||typeof t=="function")?t:RD(e)}function Mf(e,t){return Mf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mf(e,t)}function BD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gb=function(){return!!e})()}var zt=function(e){jf(t,e);function t(n){Ff(this,t);var o;return o=Lf(this,t,[n]),tt(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),tt(o,"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return t}(W),q=function(e){jf(t,e);function t(n){Ff(this,t);var o;o=Lf(this,t,[n]),tt(o,"widthType",void 0),tt(o,"width",void 0),tt(o,"caption",void 0),tt(o,"dataBind",void 0),tt(o,"autoWidth",void 0),tt(o,"fixed",void 0),tt(o,"sort",void 0),tt(o,"align",void 0),tt(o,"colSpan",void 0),tt(o,"autoHeight",void 0),tt(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";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:"none",o.autoWidth=new Ya(n==null?void 0:n.autoWidth),o.dataBind=new At(n==null?void 0:n.dataBind);var c;o.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return t}(X);tt(q,"Rules",zt);var mb=function(e){jf(t,e);function t(n){Ff(this,t);var o;return o=Lf(this,t,[n]),tt(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),tt(o,"options",[{type:"array",message:p.getMessage("isNotArray")}]),tt(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),mf.call(o,n),o}return t}(zt);function AD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kD(e,t,n){return t=He(t),ND(e,wb()?Reflect.construct(t,n||[],He(e).constructor):t.apply(e,n))}function DD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ob(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xD(e,t,n){return t&&Ob(e.prototype,t),n&&Ob(e,n),e}function Ko(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Go(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Go=Reflect.get:Go=function(r,i,u){var c=VD(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Go(e,t,n||e)}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function LD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nf(e,t)}function FD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Ko(e,r,n[r])})}return e}function jD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function MD(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jD(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function ND(e,t){return t&&(zD(t)==="object"||typeof t=="function")?t:AD(e)}function Nf(e,t){return Nf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nf(e,t)}function VD(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=He(e),e!==null););return e}function zD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wb=function(){return!!e})()}var et=function(e){LD(t,e);function t(n){DD(this,t);var o;return o=kD(this,t,[n]),Ko(o,"controlType","column"),Ko(o,"props",void 0),Ko(o,"children",void 0),o.props=new q(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return xD(t,[{key:"toSchema",value:function(){var o=Go(He(t.prototype),"toSchema",this).call(this);return MD(FD({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),t}(N);function CD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HD(e,t,n){return t=Xo(t),WD(e,$b()?Reflect.construct(t,n||[],Xo(e).constructor):t.apply(e,n))}function qD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xo(e)}function UD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zf(e,t)}function WD(e,t){return t&&(KD(t)==="object"||typeof t=="function")?t:CD(e)}function zf(e,t){return zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zf(e,t)}function KD(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($b=function(){return!!e})()}var nt=function(e){UD(t,e);function t(n){qD(this,t);var o;return o=HD(this,t,[n]),Vf(o,"controlType","column"),Vf(o,"props",void 0),Vf(o,"children",void 0),o.props=new q(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(Jt);function GD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XD(e,t,n){return t=Qo(t),YD(e,Pb()?Reflect.construct(t,n||[],Qo(e).constructor):t.apply(e,n))}function QD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qo(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&&Cf(e,t)}function YD(e,t){return t&&(tx(t)==="object"||typeof t=="function")?t:GD(e)}function Cf(e,t){return Cf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cf(e,t)}function tx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pb=function(){return!!e})()}var Hf=function(e){ZD(t,e);function t(n){QD(this,t);var o;return o=XD(this,t,[n]),JD(o,"dataBind",void 0),o.dataBind=new At(n==null?void 0:n.dataBind),o}return t}(Z);function ex(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nx(e,t,n){return t=Jo(t),ix(e,Sb()?Reflect.construct(t,n||[],Jo(e).constructor):t.apply(e,n))}function ox(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jo(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&&qf(e,t)}function ix(e,t){return t&&(ux(t)==="object"||typeof t=="function")?t:ex(e)}function qf(e,t){return qf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qf(e,t)}function ux(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sb=function(){return!!e})()}var cx=function(e){rx(t,e);function t(n){ox(this,t);var o;return o=nx(this,t,[n]),Eb(o,"controlType","search"),Eb(o,"props",void 0),o.props=new Hf(n==null?void 0:n.props),o}return t}(Y);function lx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ax(e,t,n){return t=Zo(t),yx(e,Rb()?Reflect.construct(t,n||[],Zo(e).constructor):t.apply(e,n))}function fx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zo(e)}function _x(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uf(e,t)}function yx(e,t){return t&&(sx(t)==="object"||typeof t=="function")?t:lx(e)}function Uf(e,t){return Uf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uf(e,t)}function sx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Rb=function(){return!!e})()}var px=function(e){_x(t,e);function t(n){fx(this,t);var o;return o=ax(this,t,[n]),Tb(o,"controlType","search"),Tb(o,"props",void 0),o.props=new Hf(n==null?void 0:n.props),o}return t}(Oe);function _e(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function dx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vx(e,t,n){return t=Yo(t),gx(e,Ib()?Reflect.construct(t,n||[],Yo(e).constructor):t.apply(e,n))}function hx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yo(e)}function bx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wf(e,t)}function gx(e,t){return t&&(mx(t)==="object"||typeof t=="function")?t:dx(e)}function Wf(e,t){return Wf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wf(e,t)}function mx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ib(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ib=function(){return!!e})()}var Ox=function(e){bx(t,e);function t(n){hx(this,t);var o;o=vx(this,t,[n]),qe(o,"content",void 0),qe(o,"fontSize",void 0),qe(o,"color",void 0),qe(o,"icon",void 0),qe(o,"align",void 0),qe(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:"page-hint";var c;o.showState=(c=n==null?void 0:n.showState)!==null&&c!==void 0?c:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"",o}return t}(X);function wx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $x(e,t,n){return t=tr(t),Tx(e,kb()?Reflect.construct(t,n||[],tr(e).constructor):t.apply(e,n))}function Px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ex(e,t,n){return t&&Bb(e.prototype,t),n&&Bb(e,n),e}function Ab(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tr(e)}function Sx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kf(e,t)}function Tx(e,t){return t&&(Rx(t)==="object"||typeof t=="function")?t:wx(e)}function Kf(e,t){return Kf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kf(e,t)}function Rx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kb=function(){return!!e})()}var Ix=function(e){Sx(t,e);function t(n){Px(this,t);var o;return o=$x(this,t,[n]),Ab(o,"props",void 0),o.props=new Ox(n==null?void 0:n.props),o}return Ex(t,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),t}(N);Ab(Ix,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Bx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ax(e,t,n){return t=er(t),xx(e,Db()?Reflect.construct(t,n||[],er(e).constructor):t.apply(e,n))}function kx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},er(e)}function Dx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xf(e,t)}function xx(e,t){return t&&(Lx(t)==="object"||typeof t=="function")?t:Bx(e)}function Xf(e,t){return Xf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xf(e,t)}function Lx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Db(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Db=function(){return!!e})()}var Fx=function(e){Dx(t,e);function t(n){kx(this,t);var o;o=Ax(this,t,[n]),Gf(o,"content",void 0),Gf(o,"url",void 0),Gf(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var u;return o.openMode=(u=n==null?void 0:n.openMode)!==null&&u!==void 0?u:"new",o}return t}(D);function jx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mx(e,t,n){return t=nr(t),Cx(e,Lb()?Reflect.construct(t,n||[],nr(e).constructor):t.apply(e,n))}function Nx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Vx(e,t,n){return t&&xb(e.prototype,t),n&&xb(e,n),e}function Qf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nr(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&&Jf(e,t)}function Cx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:jx(e)}function Jf(e,t){return Jf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jf(e,t)}function Hx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lb=function(){return!!e})()}var Fb=function(e){zx(t,e);function t(n){Nx(this,t);var o;return o=Mx(this,t,[n]),Qf(o,"props",void 0),o.props=new Fx(n==null?void 0:n.props),o}return Vx(t,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),t}(N);Qf(Fb,"controlEventKeys",["on_click"]),Qf(Fb,"setting",[{key:"data-bind",visible:!0},{key:"content",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function qx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ux(e,t,n){return t=or(t),Gx(e,jb()?Reflect.construct(t,n||[],or(e).constructor):t.apply(e,n))}function Wx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function or(e){return or=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},or(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&&Zf(e,t)}function Gx(e,t){return t&&(Xx(t)==="object"||typeof t=="function")?t:qx(e)}function Zf(e,t){return Zf=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zf(e,t)}function Xx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jb=function(){return!!e})()}var Ot=function(e){Kx(t,e);function t(n){Wx(this,t);var o;o=Ux(this,t,[n]),Zt(o,"content",void 0),Zt(o,"buttonType",void 0),Zt(o,"showType",void 0),Zt(o,"color",void 0),Zt(o,"icon",void 0),Zt(o,"defaultState",void 0),Zt(o,"command",void 0),Zt(o,"isLoading",void 0),Zt(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE";var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"text";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var d;return o.optObj=new hk((d=n==null?void 0:n.optObj)!==null&&d!==void 0?d:{}),o}return t}(X);function Qx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jx(e,t,n){return t=rr(t),eL(e,Nb()?Reflect.construct(t,n||[],rr(e).constructor):t.apply(e,n))}function Zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Yx(e,t,n){return t&&Mb(e.prototype,t),n&&Mb(e,n),e}function Yf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rr(e)}function tL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t_(e,t)}function eL(e,t){return t&&(nL(t)==="object"||typeof t=="function")?t:Qx(e)}function t_(e,t){return t_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t_(e,t)}function nL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nb=function(){return!!e})()}var pt=function(e){tL(t,e);function t(n){Zx(this,t);var o;return o=Jx(this,t,[n]),Yf(o,"props",void 0),o.props=new Ot(n==null?void 0:n.props),o}return Yx(t,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),t}(N);Yf(pt,"controlEventKeys",["on_click"]),Yf(pt,"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:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var we=function(e){return 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",e}({}),e_=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Rt(8),value:["",""]};ye(this,e),B(this,"dateConfigType",void 0),B(this,"dateLimitType",void 0),B(this,"id",void 0),B(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},oL=function(e){return e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile",e}({}),n_=function e(t){ye(this,e),B(this,"id",void 0),B(this,"text",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt();var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},rL=function(e){return 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",e}({}),Vb=function e(t){ye(this,e),B(this,"type",void 0),B(this,"person",void 0),B(this,"signatureType",void 0),B(this,"telephone",void 0),B(this,"company",void 0),B(this,"remark",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"private";var o;this.person=new Jn((o=t==null?void 0:t.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=t==null?void 0:t.signatureType)!==null&&r!==void 0?r:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Jn((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 Jn((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:""},iL=function e(t){ye(this,e);var n;B(this,"fileControl",void 0),B(this,"undersignedList",void 0),B(this,"statusControl",void 0),B(this,"completeControl",void 0),B(this,"completeTimeControl",void 0);var o;this.fileControl=(o=t==null?void 0:t.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=t==null||(n=t.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new Vb(a)}))!==null&&r!==void 0?r:[new Vb];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:""},zb=function e(t){ye(this,e),B(this,"id",void 0),B(this,"appId",void 0),B(this,"dataCode",void 0),B(this,"svcCode",void 0),B(this,"name",void 0),B(this,"fieldList",void 0),B(this,"active",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Rt(8);var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";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},Cb=function e(t){ye(this,e),B(this,"active",void 0),B(this,"text",void 0);var n;this.active=(n=t==null?void 0:t.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=t==null?void 0:t.text)!==null&&o!==void 0?o:""},uL=function e(t){ye(this,e),B(this,"types",void 0),B(this,"history",void 0),B(this,"collaborativeRecord",void 0),B(this,"logicToDelete",void 0),B(this,"watermark",void 0),B(this,"autoRename",void 0);var n;this.types=(n=t==null?void 0:t.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=t==null?void 0:t.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=t==null?void 0:t.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Cb(t==null?void 0:t.watermark),this.autoRename=new Cb(t==null?void 0:t.autoRename)},cL=480;function Ue(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var lL=function e(t){ye(this,e),B(this,"fileId",void 0),B(this,"fileName",void 0),B(this,"ruleName",void 0),B(this,"isDefault",void 0),B(this,"rules",void 0);var n;this.fileId=(n=t==null?void 0:t.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=t==null?void 0:t.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=t==null?void 0:t.ruleName)!==null&&r!==void 0?r:"";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:[]},aL=function(e){return e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",e}({}),Hb=function(e){return e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS",e}({}),We=function(e){return e.ALL="all",e.ASSIGN="assign",e}({}),fL=function(e){return e.ALL="all",e.ADMIN="admin",e}({});function _L(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yL(e,t,n){return t=ir(t),dL(e,Ub()?Reflect.construct(t,n||[],ir(e).constructor):t.apply(e,n))}function sL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ir(e)}function pL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o_(e,t)}function dL(e,t){return t&&(vL(t)==="object"||typeof t=="function")?t:_L(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o_(e,t)}function vL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ub(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ub=function(){return!!e})()}var hL=function(e){pL(t,e);function t(n){sL(this,t);var o;o=yL(this,t,[n]),qb(o,"color",void 0),qb(o,"lineStyle",void 0);var r;o.color=(r=n==null?void 0:n.color)!==null&&r!==void 0?r:"#000";var i;return o.lineStyle=(i=n==null?void 0:n.lineStyle)!==null&&i!==void 0?i:rL.SOLID,o}return t}(X);function bL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gL(e,t,n){return t=ur(t),$L(e,Gb()?Reflect.construct(t,n||[],ur(e).constructor):t.apply(e,n))}function mL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wb(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function OL(e,t,n){return t&&Wb(e.prototype,t),n&&Wb(e,n),e}function Kb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ur(e){return ur=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ur(e)}function wL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $L(e,t){return t&&(PL(t)==="object"||typeof t=="function")?t:bL(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r_(e,t)}function PL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gb=function(){return!!e})()}var EL=function(e){wL(t,e);function t(n){mL(this,t);var o;return o=gL(this,t,[n]),Kb(o,"props",void 0),o.props=new hL(n==null?void 0:n.props),o}return OL(t,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),t}(N);Kb(EL,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]}]);function SL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xb(e,t,n){return t=cr(t),TL(e,Zb()?Reflect.construct(t,n||[],cr(e).constructor):t.apply(e,n))}function Qb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cr(e){return cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cr(e)}function Jb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i_(e,t)}function TL(e,t){return t&&(RL(t)==="object"||typeof t=="function")?t:SL(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},i_(e,t)}function RL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Zb=function(){return!!e})()}var IL=function(e){Jb(t,e);function t(n){Qb(this,t);var o;return o=Xb(this,t,[n]),se(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),se(o,"dataBind",{type:"any"}),se(o,"config",{type:"array"}),n.config.includes(we.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")}},message:p.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:p.getMessage("pleaseSelectOneField")}),o}return t}(W),Yb=function(e){Jb(t,e);function t(n){Qb(this,t);var o;o=Xb(this,t,[n]),se(o,"dataBind",void 0),se(o,"caption",void 0),se(o,"config",void 0),se(o,"position",void 0),o.dataBind=new At(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[we.ShowSubmitUser,we.ShowSubmitDept,we.ShowSubmitTime,we.ShowCurrentApprovar,we.ShowTitle];var i,u;o.caption=(u=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:no==null?void 0:no.controlName)!==null&&u!==void 0?u:"";var c;return o.position=(c=n==null?void 0:n.position)!==null&&c!==void 0?c:"top",o}return t}(X);se(Yb,"Rules",IL);function BL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AL(e,t,n){return t=lr(t),LL(e,eg()?Reflect.construct(t,n||[],lr(e).constructor):t.apply(e,n))}function kL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function DL(e,t,n){return t&&tg(e.prototype,t),n&&tg(e,n),e}function u_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lr(e)}function xL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function LL(e,t){return t&&(FL(t)==="object"||typeof t=="function")?t:BL(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c_(e,t)}function FL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eg=function(){return!!e})()}var no=function(e){xL(t,e);function t(n){kL(this,t);var o;return o=AL(this,t,[n]),u_(o,"props",void 0),o.props=new Yb(n==null?void 0:n.props),o}return DL(t,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),t}(N);u_(no,"controlFieldType",g.AUTO_NUMBER),u_(no,"setting",[{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function jL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ng(e,t,n){return t=fr(t),ML(e,ig()?Reflect.construct(t,n||[],fr(e).constructor):t.apply(e,n))}function og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ar(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(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&&l_(e,t)}function ML(e,t){return t&&(NL(t)==="object"||typeof t=="function")?t:jL(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l_(e,t)}function NL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ig(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ig=function(){return!!e})()}var VL=function(e){rg(t,e);function t(n){og(this,t);var o;return o=ng(this,t,[n]),ar(o,"formKey",{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return t}(W),ug=function(e){rg(t,e);function t(n){og(this,t);var o;o=ng(this,t,[n]),ar(o,"formKey",void 0),ar(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:yr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:yr.controlName;var u;o.formKey=(u=n==null?void 0:n.formKey)!==null&&u!==void 0?u:"";var c;return o.openType=(c=n==null?void 0:n.openType)!==null&&c!==void 0?c:"modal",o}return t}(Ot);ar(ug,"Rules",VL);function zL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CL(e,t,n){return t=_r(t),WL(e,lg()?Reflect.construct(t,n||[],_r(e).constructor):t.apply(e,n))}function HL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function qL(e,t,n){return t&&cg(e.prototype,t),n&&cg(e,n),e}function a_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(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&&f_(e,t)}function WL(e,t){return t&&(KL(t)==="object"||typeof t=="function")?t:zL(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f_(e,t)}function KL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lg=function(){return!!e})()}var yr=function(e){UL(t,e);function t(n){HL(this,t);var o;return o=CL(this,t,[n]),a_(o,"props",void 0),o.props=new ug(n==null?void 0:n.props),o}return qL(t,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"}}]),t}(pt);a_(yr,"controlEventKeys",["on_click","on_click_finish"]),a_(yr,"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 GL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ag(e,t,n){return t=sr(t),XL(e,yg()?Reflect.construct(t,n||[],sr(e).constructor):t.apply(e,n))}function fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sr(e)}function _g(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function XL(e,t){return t&&(QL(t)==="object"||typeof t=="function")?t:GL(e)}function __(e,t){return __=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},__(e,t)}function QL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yg=function(){return!!e})()}var JL=function(e){_g(t,e);function t(n){fg(this,t);var o;return o=ag(this,t,[n]),Ke(o,"processKey",[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}]),o}return t}(W),sg=function(e){_g(t,e);function t(n){fg(this,t);var o;o=ag(this,t,[n]),Ke(o,"processKey",void 0),Ke(o,"initiatorMode",void 0),Ke(o,"fieldCode",void 0),Ke(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:dr.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:dr.controlName;var u;o.initiatorMode=(u=n==null?void 0:n.initiatorMode)!==null&&u!==void 0?u:"currentInitiator";var c;o.processKey=(c=n==null?void 0:n.processKey)!==null&&c!==void 0?c:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;return o.employeeId=(l=n==null?void 0:n.employeeId)!==null&&l!==void 0?l:"",o}return t}(Ot);Ke(sg,"Rules",JL);function ZL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YL(e,t,n){return t=pr(t),oF(e,dg()?Reflect.construct(t,n||[],pr(e).constructor):t.apply(e,n))}function tF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function eF(e,t,n){return t&&pg(e.prototype,t),n&&pg(e,n),e}function y_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pr(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&&s_(e,t)}function oF(e,t){return t&&(rF(t)==="object"||typeof t=="function")?t:ZL(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},s_(e,t)}function rF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dg=function(){return!!e})()}var dr=function(e){nF(t,e);function t(n){tF(this,t);var o;return o=YL(this,t,[n]),y_(o,"props",void 0),o.props=new sg(n==null?void 0:n.props),o}return eF(t,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"}}]),t}(pt);y_(dr,"controlEventKeys",["on_click","on_click_finish"]),y_(dr,"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 iF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uF(e,t,n){return t=vr(t),aF(e,vg()?Reflect.construct(t,n||[],vr(e).constructor):t.apply(e,n))}function cF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e){return vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vr(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&&p_(e,t)}function aF(e,t){return t&&(fF(t)==="object"||typeof t=="function")?t:iF(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},p_(e,t)}function fF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vg=function(){return!!e})()}var _F=function(e){lF(t,e);function t(n){cF(this,t);var o;o=uF(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:br.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:br.controlIcon,o}return t}(Ot);function yF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sF(e,t,n){return t=hr(t),hF(e,bg()?Reflect.construct(t,n||[],hr(e).constructor):t.apply(e,n))}function pF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function dF(e,t,n){return t&&hg(e.prototype,t),n&&hg(e,n),e}function d_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(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&&v_(e,t)}function hF(e,t){return t&&(bF(t)==="object"||typeof t=="function")?t:yF(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},v_(e,t)}function bF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bg=function(){return!!e})()}var br=function(e){vF(t,e);function t(n){pF(this,t);var o;return o=sF(this,t,[n]),d_(o,"props",void 0),o.props=new _F(n==null?void 0:n.props),o}return dF(t,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"}}]),t}(pt);d_(br,"controlEventKeys",["on_click"]),d_(br,"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 gF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mF(e,t,n){return t=gr(t),$F(e,mg()?Reflect.construct(t,n||[],gr(e).constructor):t.apply(e,n))}function OF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gr(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&&h_(e,t)}function $F(e,t){return t&&(PF(t)==="object"||typeof t=="function")?t:gF(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h_(e,t)}function PF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mg=function(){return!!e})()}var EF=function(e){wF(t,e);function t(n){OF(this,t);var o,r;o=mF(this,t,[n]),gg(o,"templateList",void 0),gg(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Or.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Or.controlName;var c;o.templateType=(c=n==null?void 0:n.templateType)!==null&&c!==void 0?c:"system";var a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(l){return new zb(l)}))!==null&&a!==void 0?a:[new zb({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return t}(Ot);function SF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TF(e,t,n){return t=mr(t),AF(e,wg()?Reflect.construct(t,n||[],mr(e).constructor):t.apply(e,n))}function RF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Og(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IF(e,t,n){return t&&Og(e.prototype,t),n&&Og(e,n),e}function b_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mr(e)}function BF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g_(e,t)}function AF(e,t){return t&&(kF(t)==="object"||typeof t=="function")?t:SF(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},g_(e,t)}function kF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wg=function(){return!!e})()}var Or=function(e){BF(t,e);function t(n){RF(this,t);var o;return o=TF(this,t,[n]),b_(o,"props",void 0),o.props=new EF(n==null?void 0:n.props),o}return IF(t,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),t}(pt);b_(Or,"controlEventKeys",["on_click","on_click_finish"]),b_(Or,"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 DF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xF(e,t,n){return t=wr(t),jF(e,$g()?Reflect.construct(t,n||[],wr(e).constructor):t.apply(e,n))}function LF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wr(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&&m_(e,t)}function jF(e,t){return t&&(MF(t)==="object"||typeof t=="function")?t:DF(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m_(e,t)}function MF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($g=function(){return!!e})()}var NF=function(e){FF(t,e);function t(n){LF(this,t);var o;o=xF(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Pr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Pr.controlIcon,o}return t}(Ot);function VF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zF(e,t,n){return t=$r(t),UF(e,Eg()?Reflect.construct(t,n||[],$r(e).constructor):t.apply(e,n))}function CF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function HF(e,t,n){return t&&Pg(e.prototype,t),n&&Pg(e,n),e}function O_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$r(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&&w_(e,t)}function UF(e,t){return t&&(WF(t)==="object"||typeof t=="function")?t:VF(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},w_(e,t)}function WF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Eg=function(){return!!e})()}var Pr=function(e){qF(t,e);function t(n){CF(this,t);var o;return o=zF(this,t,[n]),O_(o,"props",void 0),o.props=new NF(n==null?void 0:n.props),o}return HF(t,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"}}]),t}(pt);O_(Pr,"controlEventKeys",["on_click"]),O_(Pr,"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 KF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GF(e,t,n){return t=Er(t),QF(e,Tg()?Reflect.construct(t,n||[],Er(e).constructor):t.apply(e,n))}function Sg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Er(e)}function XF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function QF(e,t){return t&&(JF(t)==="object"||typeof t=="function")?t:KF(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},P_(e,t)}function JF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tg=function(){return!!e})()}var ZF=function e(t){Sg(this,e),$_(this,"dataCode",void 0),this.dataCode=t.dataCode},YF=function(e){XF(t,e);function t(n){Sg(this,t);var o,r;o=GF(this,t,[n]),$_(o,"canImportList",void 0),$_(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Tr.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Tr.controlIcon;var c;o.canImportList=(c=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(l){return new ZF(l)}))!==null&&c!==void 0?c:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return t}(Ot);function tj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ej(e,t,n){return t=Sr(t),ij(e,Ig()?Reflect.construct(t,n||[],Sr(e).constructor):t.apply(e,n))}function nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oj(e,t,n){return t&&Rg(e.prototype,t),n&&Rg(e,n),e}function E_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sr(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&&S_(e,t)}function ij(e,t){return t&&(uj(t)==="object"||typeof t=="function")?t:tj(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S_(e,t)}function uj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ig(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ig=function(){return!!e})()}var Tr=function(e){rj(t,e);function t(n){nj(this,t);var o;return o=ej(this,t,[n]),E_(o,"props",void 0),o.props=new YF(n==null?void 0:n.props),o}return oj(t,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),t}(pt);E_(Tr,"controlEventKeys",["on_click","on_click_finish"]),E_(Tr,"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 Rr(){return{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}}}}}}function cj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bg(e,t,n){return t=Ir(t),lj(e,xg()?Reflect.construct(t,n||[],Ir(e).constructor):t.apply(e,n))}function Ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ir(e)}function kg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}function Dg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Yt(e,r,n[r])})}return e}function lj(e,t){return t&&(aj(t)==="object"||typeof t=="function")?t:cj(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},T_(e,t)}function aj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xg=function(){return!!e})()}var fj=function(e){kg(t,e);function t(n){Ag(this,t);var o;return o=Bg(this,t,[n]),Yt(o,"fillPayload",{type:"object",fields:Dg({},Rr())}),Yt(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}}),Yt(o,"fillBack",{type:"object",fields:Dg({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Rr())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return t}(W),Lg=function(e){kg(t,e);function t(n){Ag(this,t);var o;o=Bg(this,t,[n]),Yt(o,"fillPayload",void 0),Yt(o,"formBind",void 0),Yt(o,"fillBack",void 0),Yt(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Ar.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Ar.controlIcon;var u;return o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"create",o.fillPayload=new M0(n==null?void 0:n.fillPayload),o.formBind=new JA(n==null?void 0:n.formBind),o.fillBack=new N0(n==null?void 0:n.fillBack),o}return t}(Ot);Yt(Lg,"Rules",fj);function _j(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yj(e,t,n){return t=Br(t),vj(e,jg()?Reflect.construct(t,n||[],Br(e).constructor):t.apply(e,n))}function sj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pj(e,t,n){return t&&Fg(e.prototype,t),n&&Fg(e,n),e}function R_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Br(e)}function dj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function vj(e,t){return t&&(hj(t)==="object"||typeof t=="function")?t:_j(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I_(e,t)}function hj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jg=function(){return!!e})()}var Ar=function(e){dj(t,e);function t(n){sj(this,t);var o;return o=yj(this,t,[n]),R_(o,"props",void 0),o.props=new Lg(n==null?void 0:n.props),o}return pj(t,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),t}(pt);R_(Ar,"controlEventKeys",["on_click","on_click_finish"]),R_(Ar,"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:[f.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 Mg(e,t,n){return t=kr(t),gj(e,Cg()?Reflect.construct(t,n||[],kr(e).constructor):t.apply(e,n))}function Ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(e)}function Vg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function zg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){kt(e,r,n[r])})}return e}function gj(e,t){return t&&(mj(t)==="object"||typeof t=="function")?t:bj(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},B_(e,t)}function mj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cg=function(){return!!e})()}var Oj=function(e){Vg(t,e);function t(n){Ng(this,t);var o;return o=Mg(this,t,[n]),kt(o,"fillPayload",{type:"object",fields:zg({},Rr())}),kt(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}),kt(o,"fillBack",{type:"object",fields:zg({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Rr())}),o}return t}(W),Hg=function(e){Vg(t,e);function t(n){Ng(this,t);var o;o=Mg(this,t,[n]),kt(o,"fillPayload",void 0),kt(o,"listPageBind",void 0),kt(o,"disableFilling",void 0),kt(o,"fillBack",void 0),kt(o,"showSelectedDetail",void 0),kt(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:xr.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:xr.controlIcon,o.fillPayload=new M0(n==null?void 0:n.fillPayload),o.listPageBind=new ef(n==null?void 0:n.listPageBind),o.fillBack=new N0(n==null?void 0:n.fillBack);var u;o.showSelectedDetail=(u=n==null?void 0:n.showSelectedDetail)!==null&&u!==void 0?u:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig);var c;return o.disableFilling=(c=n==null?void 0:n.disableFilling)!==null&&c!==void 0?c:!0,o}return t}(Ot);kt(Hg,"Rules",Oj);function wj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $j(e,t,n){return t=Dr(t),Tj(e,Ug()?Reflect.construct(t,n||[],Dr(e).constructor):t.apply(e,n))}function Pj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ej(e,t,n){return t&&qg(e.prototype,t),n&&qg(e,n),e}function A_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dr(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&&k_(e,t)}function Tj(e,t){return t&&(Rj(t)==="object"||typeof t=="function")?t:wj(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k_(e,t)}function Rj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ug(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ug=function(){return!!e})()}var xr=function(e){Sj(t,e);function t(n){Pj(this,t);var o;return o=$j(this,t,[n]),A_(o,"props",void 0),o.props=new Hg(n==null?void 0:n.props),o}return Ej(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),t}(pt);A_(xr,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),A_(xr,"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:[f.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Ij(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D_(e,t,n){return t=Lr(t),Bj(e,Kg()?Reflect.construct(t,n||[],Lr(e).constructor):t.apply(e,n))}function x_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lr(e)}function L_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function Bj(e,t){return t&&(Aj(t)==="object"||typeof t=="function")?t:Ij(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F_(e,t)}function Aj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kg=function(){return!!e})()}var kj=function(e){L_(t,e);function t(n){return x_(this,t),D_(this,t,[n])}return t}(W),Dj=function(e){L_(t,e);function t(n){return x_(this,t),D_(this,t,[n])}return t}(me),j_=function(e){L_(t,e);function t(n){return x_(this,t),D_(this,t,[n])}return t}(X);Wg(j_,"Rules",kj),Wg(j_,"RuntimeRules",Dj);function xj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lj(e,t,n){return t=Fr(t),Nj(e,Qg()?Reflect.construct(t,n||[],Fr(e).constructor):t.apply(e,n))}function Fj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gg(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jj(e,t,n){return t&&Gg(e.prototype,t),n&&Gg(e,n),e}function Xg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(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&&M_(e,t)}function Nj(e,t){return t&&(Vj(t)==="object"||typeof t=="function")?t:xj(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M_(e,t)}function Vj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qg=function(){return!!e})()}var zj=function(e){Mj(t,e);function t(n){Fj(this,t);var o;return o=Lj(this,t,[n]),Xg(o,"props",void 0),o.props=new j_(n==null?void 0:n.props),o}return jj(t,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),t}(N);Xg(zj,"setting",[]);function Cj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jg(e,t,n){return t=jr(t),Hj(e,tm()?Reflect.construct(t,n||[],jr(e).constructor):t.apply(e,n))}function Zg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(e)}function Yg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:Cj(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N_(e,t)}function qj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tm=function(){return!!e})()}var Uj=function(e){Yg(t,e);function t(n){Zg(this,t);var o;return o=Jg(this,t,[n]),Et(o,"dashboardKey",{type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")}),Et(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Et(o,"isHideCaption",{type:"boolean"}),Et(o,"labelPosition",{type:"enum",enum:["top","left"]}),Et(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),em=function(e){Yg(t,e);function t(n){Zg(this,t);var o;o=Jg(this,t,[n]),Et(o,"dashboardKey",void 0),Et(o,"caption",void 0),Et(o,"isHideCaption",void 0),Et(o,"isShowCaptionTip",void 0),Et(o,"captionTip",void 0),Et(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";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;return o.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top",o}return t}(X);Et(em,"Rules",Uj);function Wj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kj(e,t,n){return t=Mr(t),Jj(e,rm()?Reflect.construct(t,n||[],Mr(e).constructor):t.apply(e,n))}function Gj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Xj(e,t,n){return t&&nm(e.prototype,t),n&&nm(e,n),e}function om(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(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&&V_(e,t)}function Jj(e,t){return t&&(Zj(t)==="object"||typeof t=="function")?t:Wj(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V_(e,t)}function Zj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rm=function(){return!!e})()}var Yj=function(e){Qj(t,e);function t(n){Gj(this,t);var o;return o=Kj(this,t,[n]),om(o,"props",void 0),o.props=new em(n==null?void 0:n.props),o}return Xj(t,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),t}(N);om(Yj,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function tM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function im(e,t,n){return t=Nr(t),eM(e,lm()?Reflect.construct(t,n||[],Nr(e).constructor):t.apply(e,n))}function um(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nr(e)}function cm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function eM(e,t){return t&&(nM(t)==="object"||typeof t=="function")?t:tM(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},z_(e,t)}function nM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lm=function(){return!!e})()}var oM=function(e){cm(t,e);function t(n){um(this,t);var o;return o=im(this,t,[n]),oo(o,"showType",{type:"enum",enum:["select","tabs"]}),oo(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:p.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return t}(W),am=function(e){cm(t,e);function t(n){um(this,t);var o,r;o=im(this,t,[n]),oo(o,"showType",void 0),oo(o,"viewList",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"select";var u;return o.viewList=(u=n==null||(r=n.viewList)===null||r===void 0?void 0:r.map(function(c){return new dk(c)}))!==null&&u!==void 0?u:[],o}return t}(X);oo(am,"Rules",oM);function rM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iM(e,t,n){return t=Vr(t),aM(e,ym()?Reflect.construct(t,n||[],Vr(e).constructor):t.apply(e,n))}function uM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cM(e,t,n){return t&&fm(e.prototype,t),n&&fm(e,n),e}function _m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vr(e)}function lM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function aM(e,t){return t&&(fM(t)==="object"||typeof t=="function")?t:rM(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C_(e,t)}function fM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ym(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ym=function(){return!!e})()}var _M=function(e){lM(t,e);function t(n){uM(this,t);var o;return o=iM(this,t,[n]),_m(o,"props",void 0),o.props=new am(n==null?void 0:n.props),o}return cM(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),t}(N);_m(_M,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function yM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sm(e,t,n){return t=zr(t),sM(e,vm()?Reflect.construct(t,n||[],zr(e).constructor):t.apply(e,n))}function pm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(e)}function dm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sM(e,t){return t&&(pM(t)==="object"||typeof t=="function")?t:yM(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H_(e,t)}function pM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vm=function(){return!!e})()}var dM=function(e){dm(t,e);function t(n){pm(this,t);var o;return o=sm(this,t,[n]),dt(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),dt(o,"isHideCaption",{type:"boolean"}),dt(o,"labelPosition",{type:"enum",enum:["top","left"]}),dt(o,"ocrType",{type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")}),dt(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),dt(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),hm=function(e){dm(t,e);function t(n){pm(this,t);var o,r;o=sm(this,t,[n]),dt(o,"caption",void 0),dt(o,"isHideCaption",void 0),dt(o,"isShowCaptionTip",void 0),dt(o,"captionTip",void 0),dt(o,"labelPosition",void 0),dt(o,"ocrType",void 0),dt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ro.controlName;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.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:ro.controlName;var s;o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:ro.controlIcon;var d;o.ocrType=(d=n==null?void 0:n.ocrType)!==null&&d!==void 0?d:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(m){return new st(m)}))!==null&&b!==void 0?b:[],o}return t}(Ot);dt(hm,"Rules",dM);function vM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hM(e,t,n){return t=Cr(t),OM(e,gm()?Reflect.construct(t,n||[],Cr(e).constructor):t.apply(e,n))}function bM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gM(e,t,n){return t&&bm(e.prototype,t),n&&bm(e,n),e}function q_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(e)}function mM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function OM(e,t){return t&&(wM(t)==="object"||typeof t=="function")?t:vM(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U_(e,t)}function wM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gm=function(){return!!e})()}var ro=function(e){mM(t,e);function t(n){bM(this,t);var o;return o=hM(this,t,[n]),q_(o,"props",void 0),o.props=new hm(n==null?void 0:n.props),o}return gM(t,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),t}(pt);q_(ro,"controlEventKeys",["on_click","on_click_finish"]),q_(ro,"setting",[{key:"caption",showItems:[f.CAPTION,f.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:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{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 mm(e,t,n){return t=Hr(t),PM(e,$m()?Reflect.construct(t,n||[],Hr(e).constructor):t.apply(e,n))}function Om(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(e)}function wm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function PM(e,t){return t&&(EM(t)==="object"||typeof t=="function")?t:$M(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},W_(e,t)}function EM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($m=function(){return!!e})()}var SM=function(e){wm(t,e);function t(n){Om(this,t);var o;return o=mm(this,t,[n]),vt(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),vt(o,"isHideCaption",{type:"boolean"}),vt(o,"labelPosition",{type:"enum",enum:["top","left"]}),vt(o,"invoiceCheck",{type:"boolean"}),vt(o,"fillList",{type:"array",validator:function(i,u,c){var a=u.every(function(l){return!l.controlId});if(a){c(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}c()}}),vt(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),Pm=function(e){wm(t,e);function t(n){Om(this,t);var o,r;o=mm(this,t,[n]),vt(o,"caption",void 0),vt(o,"isHideCaption",void 0),vt(o,"isShowCaptionTip",void 0),vt(o,"captionTip",void 0),vt(o,"labelPosition",void 0),vt(o,"invoiceCheck",void 0),vt(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:io.controlName;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.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:io.controlName;var s;o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:io.controlIcon;var d;o.invoiceCheck=(d=n==null?void 0:n.invoiceCheck)!==null&&d!==void 0?d:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(m){return new st(m)}))!==null&&b!==void 0?b:[],o}return t}(Ot);vt(Pm,"Rules",SM);function TM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RM(e,t,n){return t=qr(t),kM(e,Sm()?Reflect.construct(t,n||[],qr(e).constructor):t.apply(e,n))}function IM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Em(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function BM(e,t,n){return t&&Em(e.prototype,t),n&&Em(e,n),e}function K_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(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&&G_(e,t)}function kM(e,t){return t&&(DM(t)==="object"||typeof t=="function")?t:TM(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},G_(e,t)}function DM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sm=function(){return!!e})()}var io=function(e){AM(t,e);function t(n){IM(this,t);var o;return o=RM(this,t,[n]),K_(o,"props",void 0),o.props=new Pm(n==null?void 0:n.props),o}return BM(t,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),t}(pt);K_(io,"controlEventKeys",["on_click","on_click_finish"]),K_(io,"setting",[{key:"caption",showItems:[f.CAPTION,f.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:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function xM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tm(e,t,n){return t=Wr(t),LM(e,Bm()?Reflect.construct(t,n||[],Wr(e).constructor):t.apply(e,n))}function Rm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wr(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&&X_(e,t)}function LM(e,t){return t&&(FM(t)==="object"||typeof t=="function")?t:xM(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X_(e,t)}function FM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Bm=function(){return!!e})()}var jM=function(e){Im(t,e);function t(){Rm(this,t);var n;return n=Tm(this,t,arguments),Ur(n,"printTemplates",{type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return t}(W),Am=function(e){Im(t,e);function t(n){Rm(this,t);var o,r;o=Tm(this,t,[n]),Ur(o,"printTemplates",void 0),Ur(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Gr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Gr.controlName;var c;o.printTemplates=(c=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(l){return new lL(l)}))!==null&&c!==void 0?c:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return t}(Ot);Ur(Am,"Rules",jM);function MM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NM(e,t,n){return t=Kr(t),HM(e,Dm()?Reflect.construct(t,n||[],Kr(e).constructor):t.apply(e,n))}function VM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function km(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function zM(e,t,n){return t&&km(e.prototype,t),n&&km(e,n),e}function Q_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kr(e)}function CM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function HM(e,t){return t&&(qM(t)==="object"||typeof t=="function")?t:MM(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},J_(e,t)}function qM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Dm=function(){return!!e})()}var Gr=function(e){CM(t,e);function t(n){VM(this,t);var o;return o=NM(this,t,[n]),Q_(o,"props",void 0),o.props=new Am(n==null?void 0:n.props),o}return zM(t,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"}}]),t}(pt);Q_(Gr,"controlEventKeys",["on_click","on_click_finish"]),Q_(Gr,"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 UM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WM(e,t,n){return t=Xr(t),XM(e,xm()?Reflect.construct(t,n||[],Xr(e).constructor):t.apply(e,n))}function KM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(e)}function GM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function XM(e,t){return t&&(QM(t)==="object"||typeof t=="function")?t:UM(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Z_(e,t)}function QM(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xm=function(){return!!e})()}var JM=function(e){GM(t,e);function t(n){KM(this,t);var o;o=WM(this,t,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Jr.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Jr.controlIcon,o}return t}(Ot);function ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YM(e,t,n){return t=Qr(t),oN(e,Fm()?Reflect.construct(t,n||[],Qr(e).constructor):t.apply(e,n))}function tN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function eN(e,t,n){return t&&Lm(e.prototype,t),n&&Lm(e,n),e}function Y_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qr(e)}function nN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oN(e,t){return t&&(rN(t)==="object"||typeof t=="function")?t:ZM(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ty(e,t)}function rN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fm=function(){return!!e})()}var Jr=function(e){nN(t,e);function t(n){tN(this,t);var o;return o=YM(this,t,[n]),Y_(o,"props",void 0),o.props=new JM(n==null?void 0:n.props),o}return eN(t,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"}}]),t}(pt);Y_(Jr,"controlEventKeys",["on_click"]),Y_(Jr,"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 iN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jm(e,t,n){return t=Zr(t),uN(e,Vm()?Reflect.construct(t,n||[],Zr(e).constructor):t.apply(e,n))}function Mm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(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&&ey(e,t)}function uN(e,t){return t&&(cN(t)==="object"||typeof t=="function")?t:iN(e)}function ey(e,t){return ey=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ey(e,t)}function cN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vm=function(){return!!e})()}var lN=function(e){Nm(t,e);function t(n){Mm(this,t);var o;return o=jm(this,t,[n]),_t(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return t}(W),Yr=function(e){Nm(t,e);function t(n){Mm(this,t);var o;o=jm(this,t,[n]),_t(o,"content",void 0),_t(o,"code",void 0),_t(o,"command",void 0),_t(o,"color",void 0),_t(o,"icon",void 0),_t(o,"formKey",void 0),_t(o,"openType",void 0),_t(o,"needConfirm",void 0),_t(o,"confirmMessage",void 0),_t(o,"options",void 0),_t(o,"defaultState",void 0),_t(o,"priorityProcess",void 0),_t(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:"\u6309\u94AE",o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"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 c;o.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return t}(X);_t(Yr,"Rules",lN);function aN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fN(e,t,n){return t=ti(t),pN(e,Cm()?Reflect.construct(t,n||[],ti(e).constructor):t.apply(e,n))}function _N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yN(e,t,n){return t&&zm(e.prototype,t),n&&zm(e,n),e}function ny(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(e)}function sN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pN(e,t){return t&&(dN(t)==="object"||typeof t=="function")?t:aN(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},oy(e,t)}function dN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cm=function(){return!!e})()}var ei=function(e){sN(t,e);function t(n){_N(this,t);var o;return o=fN(this,t,[n]),ny(o,"props",void 0),o.props=new Yr(n==null?void 0:n.props),o}return yN(t,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),t}(N);ny(ei,"controlEventKeys",["on_click"]),ny(ei,"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:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function vN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hN(e,t,n){return t=ni(t),wN(e,qm()?Reflect.construct(t,n||[],ni(e).constructor):t.apply(e,n))}function bN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function gN(e,t,n){return t&&Hm(e.prototype,t),n&&Hm(e,n),e}function mN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(e)}function ON(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function wN(e,t){return t&&($N(t)==="object"||typeof t=="function")?t:vN(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ry(e,t)}function $N(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qm=function(){return!!e})()}var PN=function(e){ON(t,e);function t(n){bN(this,t);var o;return o=hN(this,t,[n]),mN(o,"props",void 0),o.props=new Yr(n==null?void 0:n.props),o}return gN(t,null,[{key:"controlType",get:function(){return"operation-button"}}]),t}(Jt),iy={Designer:ei,Runtime:PN,Property:Yr};function EN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SN(e,t,n){return t=oi(t),IN(e,Um()?Reflect.construct(t,n||[],oi(e).constructor):t.apply(e,n))}function TN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(e)}function RN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function IN(e,t){return t&&(BN(t)==="object"||typeof t=="function")?t:EN(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uy(e,t)}function BN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Um(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Um=function(){return!!e})()}var AN=function(e){RN(t,e);function t(n){TN(this,t);var o;o=SN(this,t,[n]),pe(o,"content",void 0),pe(o,"buttonType",void 0),pe(o,"showType",void 0),pe(o,"color",void 0),pe(o,"icon",void 0),pe(o,"defaultState",void 0),pe(o,"command",void 0),pe(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:ii.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ii.controlIcon;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:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var l;o.isHide=(l=n==null?void 0:n.isHide)!==null&&l!==void 0?l:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var s;o.command=(s=n==null?void 0:n.command)!==null&&s!==void 0?s:"custom";var d;return o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,o}return t}(X);function kN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DN(e,t,n){return t=ri(t),jN(e,Km()?Reflect.construct(t,n||[],ri(e).constructor):t.apply(e,n))}function xN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LN(e,t,n){return t&&Wm(e.prototype,t),n&&Wm(e,n),e}function cy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(e)}function FN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ly(e,t)}function jN(e,t){return t&&(MN(t)==="object"||typeof t=="function")?t:kN(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ly(e,t)}function MN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Km(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Km=function(){return!!e})()}var ii=function(e){FN(t,e);function t(n){xN(this,t);var o;return o=DN(this,t,[n]),cy(o,"props",void 0),o.props=new AN(n==null?void 0:n.props),o}return LN(t,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"}}]),t}(N);cy(ii,"controlEventKeys",["on_click"]),cy(ii,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function NN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ay(e,t,n){return t=ui(t),VN(e,Gm()?Reflect.construct(t,n||[],ui(e).constructor):t.apply(e,n))}function fy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(e)}function _y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yy(e,t)}function VN(e,t){return t&&(zN(t)==="object"||typeof t=="function")?t:NN(e)}function yy(e,t){return yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yy(e,t)}function zN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gm=function(){return!!e})()}var CN=function(e){_y(t,e);function t(n){fy(this,t);var o;return o=ay(this,t,[n]),Dt(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Dt(o,"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Dt(o,"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Ue(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(J),HN=function(e){_y(t,e);function t(n){fy(this,t);var o;return o=ay(this,t,[n]),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ue(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(z),uo=function(e){_y(t,e);function t(n){fy(this,t);var o;o=ay(this,t,[n]),Dt(o,"maxLength",void 0),Dt(o,"minLength",void 0),Dt(o,"regularRules",void 0),Dt(o,"defaultValue",void 0),Dt(o,"encrypted",void 0),Dt(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Bo(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:co.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return t}(D);Dt(uo,"Rules",CN),Dt(uo,"RuntimeRules",HN);function qN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UN(e,t,n){return t=li(t),XN(e,Qm()?Reflect.construct(t,n||[],li(e).constructor):t.apply(e,n))}function WN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KN(e,t,n){return t&&Xm(e.prototype,t),n&&Xm(e,n),e}function ci(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(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&&sy(e,t)}function XN(e,t){return t&&(QN(t)==="object"||typeof t=="function")?t:qN(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sy(e,t)}function QN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Qm=function(){return!!e})()}var co=function(e){GN(t,e);function t(n){WN(this,t);var o;return o=UN(this,t,[n]),ci(o,"props",void 0),o.props=new uo(n==null?void 0:n.props),o}return KN(t,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),t}(x);ci(co,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ci(co,"controlFieldType",g.VARCHAR),ci(co,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.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 JN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZN(e,t,n){return t=ai(t),n5(e,Ym()?Reflect.construct(t,n||[],ai(e).constructor):t.apply(e,n))}function YN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jm(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function t5(e,t,n){return t&&Jm(e.prototype,t),n&&Jm(e,n),e}function Zm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(e)}function e5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function n5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:JN(e)}function py(e,t){return py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},py(e,t)}function o5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ym(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ym=function(){return!!e})()}var r5=function(e){e5(t,e);function t(n){YN(this,t);var o;return o=ZN(this,t,[n]),Zm(o,"props",void 0),o.props=new uo(n==null?void 0:n.props),o}return t5(t,null,[{key:"controlType",get:function(){return"input"}}]),t}(L);Zm(r5,"controlFieldType",g.VARCHAR);function i5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dy(e,t,n){return t=fi(t),u5(e,tO()?Reflect.construct(t,n||[],fi(e).constructor):t.apply(e,n))}function vy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(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&&by(e,t)}function u5(e,t){return t&&(c5(t)==="object"||typeof t=="function")?t:i5(e)}function by(e,t){return by=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},by(e,t)}function c5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tO=function(){return!!e})()}var l5=function(e){hy(t,e);function t(n){vy(this,t);var o;o=dy(this,t,[n]),ot(o,"limitMax",{type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(u){return u==="unlimited"?void 0:u};return o.limitMax.min=i(n.limitMin),o}return t}(Ne),a5=function(e){hy(t,e);function t(n){vy(this,t);var o;return o=dy(this,t,[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 t}(z),_i=function(e){hy(t,e);function t(n){vy(this,t);var o;o=dy(this,t,[n]),ot(o,"checkboxMode",void 0),ot(o,"options",void 0),ot(o,"optionsOrder",void 0),ot(o,"limitMax",void 0),ot(o,"limitMin",void 0),ot(o,"otherOption",void 0),ot(o,"optionConfig",void 0),ot(o,"optionsFormat",void 0),ot(o,"defaultShowOptions",void 0),ot(o,"datasourceBind",void 0),ot(o,"multistageFilling",void 0),ot(o,"interreaction",void 0),ot(o,"defaultValue",void 0),ot(o,"openMultistageFilling",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.optionsOrder=(c=n==null?void 0:n.optionsOrder)!==null&&c!==void 0?c:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.limitMin=(l=n==null?void 0:n.limitMin)!==null&&l!==void 0?l:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var s;o.interreaction=(s=n==null?void 0:n.interreaction)!==null&&s!==void 0?s:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:pi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var m;o.optionsFormat=(m=n==null?void 0:n.optionsFormat)!==null&&m!==void 0?m:"horizontal";var O;o.defaultShowOptions=(O=n==null?void 0:n.defaultShowOptions)!==null&&O!==void 0?O:!0;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var $;($=o.multistageFilling)===null||$===void 0||$.push(new st(h))})),o}return t}(D);ot(_i,"Rules",l5),ot(_i,"RuntimeRules",a5);function f5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _5(e,t,n){return t=si(t),d5(e,nO()?Reflect.construct(t,n||[],si(e).constructor):t.apply(e,n))}function y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s5(e,t,n){return t&&eO(e.prototype,t),n&&eO(e,n),e}function yi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(e)}function p5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gy(e,t)}function d5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:f5(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gy(e,t)}function v5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(nO=function(){return!!e})()}var pi=function(e){p5(t,e);function t(n){y5(this,t);var o;return o=_5(this,t,[n]),yi(o,"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return s5(t,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),t}(x);yi(pi,"controlEventKeys",["on_change","on_click"]),yi(pi,"controlFieldType",g.ARRAY),yi(pi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function h5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b5(e,t,n){return t=di(t),w5(e,iO()?Reflect.construct(t,n||[],di(e).constructor):t.apply(e,n))}function g5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m5(e,t,n){return t&&oO(e.prototype,t),n&&oO(e,n),e}function rO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(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&&my(e,t)}function w5(e,t){return t&&($5(t)==="object"||typeof t=="function")?t:h5(e)}function my(e,t){return my=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},my(e,t)}function $5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iO=function(){return!!e})()}var P5=function(e){O5(t,e);function t(n){g5(this,t);var o;return o=b5(this,t,[n]),rO(o,"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return m5(t,null,[{key:"controlType",get:function(){return"checkbox"}}]),t}(L);rO(P5,"controlFieldType",g.ARRAY);function E5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uO(e,t,n){return t=vi(t),S5(e,aO()?Reflect.construct(t,n||[],vi(e).constructor):t.apply(e,n))}function cO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(e)}function lO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function S5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:E5(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oy(e,t)}function T5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aO=function(){return!!e})()}var R5=function(e){lO(t,e);function t(n){return cO(this,t),uO(this,t,[n])}return t}(Ne),wy=function(e){lO(t,e);function t(n){cO(this,t);var o;o=uO(this,t,[n]),wt(o,"radioMode",void 0),wt(o,"options",void 0),wt(o,"optionConfig",void 0),wt(o,"optionsFormat",void 0),wt(o,"defaultShowOptions",void 0),wt(o,"otherOption",void 0),wt(o,"optionsOrder",void 0),wt(o,"datasourceBind",void 0),wt(o,"multistageFilling",void 0),wt(o,"interreaction",void 0),wt(o,"defaultValue",void 0),wt(o,"openMultistageFilling",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom";var c;o.otherOption=(c=n==null?void 0:n.otherOption)!==null&&c!==void 0?c:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.defaultShowOptions=(l=n==null?void 0:n.defaultShowOptions)!==null&&l!==void 0?l:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var s;o.interreaction=(s=n==null?void 0:n.interreaction)!==null&&s!==void 0?s:[];var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:gi.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(O))})),o}return t}(D);wt(wy,"Rules",R5);function I5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B5(e,t,n){return t=bi(t),x5(e,_O()?Reflect.construct(t,n||[],bi(e).constructor):t.apply(e,n))}function A5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k5(e,t,n){return t&&fO(e.prototype,t),n&&fO(e,n),e}function hi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(e)}function D5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function x5(e,t){return t&&(L5(t)==="object"||typeof t=="function")?t:I5(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$y(e,t)}function L5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_O=function(){return!!e})()}var gi=function(e){D5(t,e);function t(n){A5(this,t);var o;return o=B5(this,t,[n]),hi(o,"props",void 0),o.props=new wy(n==null?void 0:n.props),o}return k5(t,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),t}(x);hi(gi,"controlEventKeys",["on_change","on_click"]),hi(gi,"controlFieldType",g.VARCHAR),hi(gi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function F5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j5(e,t,n){return t=mi(t),z5(e,pO()?Reflect.construct(t,n||[],mi(e).constructor):t.apply(e,n))}function M5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function N5(e,t,n){return t&&yO(e.prototype,t),n&&yO(e,n),e}function sO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(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&&Py(e,t)}function z5(e,t){return t&&(C5(t)==="object"||typeof t=="function")?t:F5(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Py(e,t)}function C5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pO=function(){return!!e})()}var H5=function(e){V5(t,e);function t(n){M5(this,t);var o;return o=j5(this,t,[n]),sO(o,"props",void 0),o.props=new wy(n==null?void 0:n.props),o}return N5(t,null,[{key:"controlType",get:function(){return"radio"}}]),t}(L);sO(H5,"controlFieldType",g.VARCHAR);function q5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ey(e,t,n){return t=Oi(t),U5(e,dO()?Reflect.construct(t,n||[],Oi(e).constructor):t.apply(e,n))}function Sy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oi(e)}function Ty(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U5(e,t){return t&&(W5(t)==="object"||typeof t=="function")?t:q5(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ry(e,t)}function W5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dO=function(){return!!e})()}var K5=function(e){Ty(t,e);function t(n){Sy(this,t);var o;o=Ey(this,t,[n]),ct(o,"defaultValue",[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ct(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Ue(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(J),G5=function(e){Ty(t,e);function t(n){Sy(this,t);var o;o=Ey(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:p.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ue(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(z),wi=function(e){Ty(t,e);function t(n){Sy(this,t);var o;o=Ey(this,t,[n]),ct(o,"rangeMin",void 0),ct(o,"rangeMax",void 0),ct(o,"numberType",void 0),ct(o,"percentageFormat",void 0),ct(o,"micrometer",void 0),ct(o,"precision",void 0),ct(o,"showUpperCase",void 0),ct(o,"isShowUnit",void 0),ct(o,"unitPosition",void 0),ct(o,"unit",void 0),ct(o,"defaultValue",void 0),ct(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.numberType=(u=n==null?void 0:n.numberType)!==null&&u!==void 0?u:"number";var c;o.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;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:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var s;o.isShowUnit=(s=n==null?void 0:n.isShowUnit)!==null&&s!==void 0?s:!1;var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Ei.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u8F93\u5165";var w;return o.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",o.regularRules=new Bo(n==null?void 0:n.regularRules),o}return t}(D);ct(wi,"Rules",K5),ct(wi,"RuntimeRules",G5);function X5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q5(e,t,n){return t=Ge(t),t6(e,hO()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function J5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Z5(e,t,n){return t&&vO(e.prototype,t),n&&vO(e,n),e}function $i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Pi=Reflect.get:Pi=function(r,i,u){var c=e6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Pi(e,t,n||e)}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function Y5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function t6(e,t){return t&&(n6(t)==="object"||typeof t=="function")?t:X5(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iy(e,t)}function e6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ge(e),e!==null););return e}function n6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hO=function(){return!!e})()}var Ei=function(e){Y5(t,e);function t(n){J5(this,t);var o;return o=Q5(this,t,[n]),$i(o,"props",void 0),o.props=new wi(n==null?void 0:n.props),o}return Z5(t,[{key:"toDataBindModel",value:function(o){var r=Pi(Ge(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),t}(x);$i(Ei,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),$i(Ei,"controlFieldType",g.DECIMAL),$i(Ei,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_UNIT,f.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:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function o6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r6(e,t,n){return t=Si(t),l6(e,mO()?Reflect.construct(t,n||[],Si(e).constructor):t.apply(e,n))}function i6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u6(e,t,n){return t&&bO(e.prototype,t),n&&bO(e,n),e}function gO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(e)}function c6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function l6(e,t){return t&&(a6(t)==="object"||typeof t=="function")?t:o6(e)}function By(e,t){return By=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},By(e,t)}function a6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mO=function(){return!!e})()}var f6=function(e){c6(t,e);function t(n){i6(this,t);var o;return o=r6(this,t,[n]),gO(o,"props",void 0),o.props=new wi(n==null?void 0:n.props),o}return u6(t,null,[{key:"controlType",get:function(){return"number"}}]),t}(L);gO(f6,"controlFieldType",g.DECIMAL);function _6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y6(e,t,n){return t=Ti(t),d6(e,OO()?Reflect.construct(t,n||[],Ti(e).constructor):t.apply(e,n))}function s6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(e)}function p6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}function d6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:_6(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ay(e,t)}function v6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OO=function(){return!!e})()}var wO=function(e){p6(t,e);function t(n){s6(this,t);var o,r;o=y6(this,t,[n]),de(o,"dateType",void 0),de(o,"dateFormat",void 0),de(o,"commonTimeSetting",void 0),de(o,"setValueType",void 0),de(o,"defaultValue",void 0),de(o,"limitDateList",void 0),de(o,"allowDateRange",void 0),de(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:xe.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:xy.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var d;o.limitDateList=(d=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(O){return new e_(O)}))!==null&&d!==void 0?d:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var m;return o.filterWeekend=(m=n==null?void 0:n.filterWeekend)!==null&&m!==void 0?m:!1,o}return t}(D);function h6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b6(e,t,n){return t=Xe(t),w6(e,PO()?Reflect.construct(t,n||[],Xe(e).constructor):t.apply(e,n))}function g6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $O(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m6(e,t,n){return t&&$O(e.prototype,t),n&&$O(e,n),e}function ky(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ri(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ri=Reflect.get:Ri=function(r,i,u){var c=$6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ri(e,t,n||e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function O6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function w6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:h6(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dy(e,t)}function $6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xe(e),e!==null););return e}function P6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PO=function(){return!!e})()}var xy=function(e){O6(t,e);function t(n){g6(this,t);var o;return o=b6(this,t,[n]),ky(o,"props",void 0),o.props=new wO(n==null?void 0:n.props),o}return m6(t,[{key:"toDataBindModel",value:function(o){var r=Ri(Xe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),t}(x);ky(xy,"controlFieldType",g.TIMESTAMP),ky(xy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function E6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S6(e,t,n){return t=Ii(t),B6(e,TO()?Reflect.construct(t,n||[],Ii(e).constructor):t.apply(e,n))}function T6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function R6(e,t,n){return t&&EO(e.prototype,t),n&&EO(e,n),e}function SO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(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&&Ly(e,t)}function B6(e,t){return t&&(A6(t)==="object"||typeof t=="function")?t:E6(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ly(e,t)}function A6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TO=function(){return!!e})()}var k6=function(e){I6(t,e);function t(n){T6(this,t);var o;return o=S6(this,t,[n]),SO(o,"props",void 0),o.props=new wO(n==null?void 0:n.props),o}return R6(t,null,[{key:"controlType",get:function(){return"date-picker"}}]),t}(L);SO(k6,"controlFieldType",g.TIMESTAMP);function D6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RO(e,t,n){return t=Bi(t),x6(e,AO()?Reflect.construct(t,n||[],Bi(e).constructor):t.apply(e,n))}function IO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(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&&Fy(e,t)}function x6(e,t){return t&&(L6(t)==="object"||typeof t=="function")?t:D6(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fy(e,t)}function L6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AO=function(){return!!e})()}var F6=function(e){BO(t,e);function t(n){IO(this,t);var o;return o=RO(this,t,[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 t}(z),jy=function(e){BO(t,e);function t(n){IO(this,t);var o,r;o=RO(this,t,[n]),St(o,"dataBind",void 0),St(o,"rangeMin",void 0),St(o,"rangeMax",void 0),St(o,"placeholderStart",void 0),St(o,"placeholderEnd",void 0),St(o,"dateFormat",void 0),St(o,"commonTimeSetting",void 0),St(o,"dateType",void 0),St(o,"setValueType",void 0),St(o,"defaultValue",void 0),St(o,"limitDateList",void 0),o.dataBind=new lk(n==null?void 0:n.dataBind),o.defaultValue=new ak(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:xe.DATE;var u;o.dateFormat=(u=n==null?void 0:n.dateFormat)!==null&&u!==void 0?u:"";var c;o.commonTimeSetting=(c=n==null?void 0:n.commonTimeSetting)!==null&&c!==void 0?c:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var l;o.rangeMin=(l=n==null?void 0:n.rangeMin)!==null&&l!==void 0?l:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var s;o.placeholderStart=(s=n==null?void 0:n.placeholderStart)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var d;o.placeholderEnd=(d=n==null?void 0:n.placeholderEnd)!==null&&d!==void 0?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Vy.controlName;var m;return o.limitDateList=(m=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(O){return new e_(O)}))!==null&&m!==void 0?m:[],o}return t}(D);St(jy,"RuntimeRules",F6);function j6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M6(e,t,n){return t=Qe(t),C6(e,DO()?Reflect.construct(t,n||[],Qe(e).constructor):t.apply(e,n))}function N6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function V6(e,t,n){return t&&kO(e.prototype,t),n&&kO(e,n),e}function My(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ai(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ai=Reflect.get:Ai=function(r,i,u){var c=H6(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ai(e,t,n||e)}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(e)}function z6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function C6(e,t){return t&&(q6(t)==="object"||typeof t=="function")?t:j6(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ny(e,t)}function H6(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qe(e),e!==null););return e}function q6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DO=function(){return!!e})()}var Vy=function(e){z6(t,e);function t(n){N6(this,t);var o;return o=M6(this,t,[n]),My(o,"props",void 0),o.props=new jy(n==null?void 0:n.props),o}return V6(t,[{key:"toDataBindModel",value:function(o){var r=Ai(Qe(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),t}(x);My(Vy,"controlFieldType",g.TIMESCOPE),My(Vy,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function U6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W6(e,t,n){return t=ki(t),Q6(e,FO()?Reflect.construct(t,n||[],ki(e).constructor):t.apply(e,n))}function K6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function G6(e,t,n){return t&&xO(e.prototype,t),n&&xO(e,n),e}function LO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ki(e)}function X6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zy(e,t)}function Q6(e,t){return t&&(J6(t)==="object"||typeof t=="function")?t:U6(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zy(e,t)}function J6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FO=function(){return!!e})()}var Z6=function(e){X6(t,e);function t(n){K6(this,t);var o;return o=W6(this,t,[n]),LO(o,"props",void 0),o.props=new jy(n==null?void 0:n.props),o}return G6(t,null,[{key:"controlType",get:function(){return"date-range"}}]),t}(L);LO(Z6,"controlFieldType",g.TIMESCOPE);function Y6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cy(e,t,n){return t=Di(t),t4(e,jO()?Reflect.construct(t,n||[],Di(e).constructor):t.apply(e,n))}function Hy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(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&&Uy(e,t)}function t4(e,t){return t&&(e4(t)==="object"||typeof t=="function")?t:Y6(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uy(e,t)}function e4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jO=function(){return!!e})()}var n4=function(e){qy(t,e);function t(n){Hy(this,t);var o;return o=Cy(this,t,[n]),xt(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),xt(o,"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),xt(o,"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return t}(J),o4=function(e){qy(t,e);function t(n){Hy(this,t);var o;return o=Cy(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return t}(z),xi=function(e){qy(t,e);function t(n){Hy(this,t);var o;o=Cy(this,t,[n]),xt(o,"maxLength",void 0),xt(o,"minLength",void 0),xt(o,"defaultValue",void 0),xt(o,"lineEllipsis",void 0),xt(o,"autoSize",void 0),xt(o,"maxRows",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ji.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:4;var _;return o.autoSize=(_=n==null?void 0:n.autoSize)!==null&&_!==void 0?_:!1,o.maxRows=n==null?void 0:n.maxRows,o}return t}(D);xt(xi,"Rules",n4),xt(xi,"RuntimeRules",o4);function r4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i4(e,t,n){return t=Fi(t),a4(e,NO()?Reflect.construct(t,n||[],Fi(e).constructor):t.apply(e,n))}function u4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c4(e,t,n){return t&&MO(e.prototype,t),n&&MO(e,n),e}function Li(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fi(e)}function l4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function a4(e,t){return t&&(f4(t)==="object"||typeof t=="function")?t:r4(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wy(e,t)}function f4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NO=function(){return!!e})()}var ji=function(e){l4(t,e);function t(n){u4(this,t);var o;return o=i4(this,t,[n]),Li(o,"props",void 0),o.props=new xi(n==null?void 0:n.props),o}return c4(t,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),t}(x);Li(ji,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Li(ji,"controlFieldType",g.TEXT),Li(ji,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function _4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t,n){return t=Mi(t),v4(e,CO()?Reflect.construct(t,n||[],Mi(e).constructor):t.apply(e,n))}function s4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p4(e,t,n){return t&&VO(e.prototype,t),n&&VO(e,n),e}function zO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(e)}function d4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ky(e,t)}function v4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:_4(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ky(e,t)}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CO=function(){return!!e})()}var b4=function(e){d4(t,e);function t(n){s4(this,t);var o;return o=y4(this,t,[n]),zO(o,"props",void 0),o.props=new xi(n==null?void 0:n.props),o}return p4(t,null,[{key:"controlType",get:function(){return"textarea"}}]),t}(L);zO(b4,"controlFieldType",g.TEXT);function g4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gy(e,t,n){return t=Ni(t),m4(e,HO()?Reflect.construct(t,n||[],Ni(e).constructor):t.apply(e,n))}function Xy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ni(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&&Jy(e,t)}function m4(e,t){return t&&(O4(t)==="object"||typeof t=="function")?t:g4(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jy(e,t)}function O4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HO=function(){return!!e})()}var w4=function(e){Qy(t,e);function t(n){Xy(this,t);var o;return o=Gy(this,t,[n]),ve(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ve(o,"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ve(o,"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return t}(J),$4=function(e){Qy(t,e);function t(n){Xy(this,t);var o;return o=Gy(this,t,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return t}(z),Vi=function(e){Qy(t,e);function t(n){Xy(this,t);var o;o=Gy(this,t,[n]),ve(o,"maxLength",void 0),ve(o,"minLength",void 0),ve(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Hi.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return t}(D);ve(Vi,"Rules",w4),ve(Vi,"RuntimeRules",$4);function P4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E4(e,t,n){return t=Ci(t),I4(e,UO()?Reflect.construct(t,n||[],Ci(e).constructor):t.apply(e,n))}function S4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function T4(e,t,n){return t&&qO(e.prototype,t),n&&qO(e,n),e}function zi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(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&&Zy(e,t)}function I4(e,t){return t&&(B4(t)==="object"||typeof t=="function")?t:P4(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zy(e,t)}function B4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(UO=function(){return!!e})()}var Hi=function(e){R4(t,e);function t(n){S4(this,t);var o;return o=E4(this,t,[n]),zi(o,"props",void 0),o.props=new Vi(n==null?void 0:n.props),o}return T4(t,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),t}(x);zi(Hi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),zi(Hi,"controlFieldType",g.TEXT),zi(Hi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.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 A4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k4(e,t,n){return t=qi(t),F4(e,GO()?Reflect.construct(t,n||[],qi(e).constructor):t.apply(e,n))}function D4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function x4(e,t,n){return t&&WO(e.prototype,t),n&&WO(e,n),e}function KO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(e)}function L4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yy(e,t)}function F4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:A4(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yy(e,t)}function j4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GO=function(){return!!e})()}var M4=function(e){L4(t,e);function t(n){D4(this,t);var o;return o=k4(this,t,[n]),KO(o,"props",void 0),o.props=new Vi(n==null?void 0:n.props),o}return x4(t,null,[{key:"controlType",get:function(){return"rich-text"}}]),t}(L);KO(M4,"controlFieldType",g.TEXT);function N4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t,n){return t=Ui(t),V4(e,ZO()?Reflect.construct(t,n||[],Ui(e).constructor):t.apply(e,n))}function QO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(e)}function JO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ts(e,t)}function V4(e,t){return t&&(z4(t)==="object"||typeof t=="function")?t:N4(e)}function ts(e,t){return ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ts(e,t)}function z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZO=function(){return!!e})()}var C4=function(e){JO(t,e);function t(n){QO(this,t);var o;return o=XO(this,t,[n]),$t(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ne),es=function(e){JO(t,e);function t(n){QO(this,t);var o;o=XO(this,t,[n]),$t(o,"options",void 0),$t(o,"defaultShowOptions",void 0),$t(o,"optionConfig",void 0),$t(o,"defaultValue",void 0),$t(o,"datasourceBind",void 0),$t(o,"multistageFilling",void 0),$t(o,"allowCopyOptions",void 0),$t(o,"openMultistageFilling",void 0),$t(o,"viewFormModelType",void 0),$t(o,"canViewForm",void 0),$t(o,"formBind",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:rs.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 _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new st(m))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new je(n==null?void 0:n.formBind),o}return t}(D);$t(es,"Rules",C4);function H4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q4(e,t,n){return t=Wi(t),G4(e,tw()?Reflect.construct(t,n||[],Wi(e).constructor):t.apply(e,n))}function U4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W4(e,t,n){return t&&YO(e.prototype,t),n&&YO(e,n),e}function ns(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(e)}function K4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&os(e,t)}function G4(e,t){return t&&(X4(t)==="object"||typeof t=="function")?t:H4(e)}function os(e,t){return os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},os(e,t)}function X4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tw=function(){return!!e})()}var rs=function(e){K4(t,e);function t(n){U4(this,t);var o;return o=q4(this,t,[n]),ns(o,"props",void 0),o.props=new es(n==null?void 0:n.props),o}return W4(t,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),t}(x);ns(rs,"controlFieldType",g.VARCHAR),ns(rs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.DEFAULT_SHOW_OPTIONS,f.IS_SHOW_CAPTION_TIP,f.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function Q4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J4(e,t,n){return t=Ki(t),e7(e,ow()?Reflect.construct(t,n||[],Ki(e).constructor):t.apply(e,n))}function Z4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ew(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Y4(e,t,n){return t&&ew(e.prototype,t),n&&ew(e,n),e}function nw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ki(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&&is(e,t)}function e7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:Q4(e)}function is(e,t){return is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},is(e,t)}function n7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ow=function(){return!!e})()}var o7=function(e){t7(t,e);function t(n){Z4(this,t);var o;return o=J4(this,t,[n]),nw(o,"props",void 0),o.props=new es(n==null?void 0:n.props),o}return Y4(t,null,[{key:"controlType",get:function(){return"select"}}]),t}(L);nw(o7,"controlFieldType",g.VARCHAR);function r7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function us(e,t,n){return t=Gi(t),i7(e,rw()?Reflect.construct(t,n||[],Gi(e).constructor):t.apply(e,n))}function cs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(e)}function ls(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&as(e,t)}function i7(e,t){return t&&(u7(t)==="object"||typeof t=="function")?t:r7(e)}function as(e,t){return as=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},as(e,t)}function u7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rw=function(){return!!e})()}var c7=function(e){ls(t,e);function t(n){cs(this,t);var o;return o=us(this,t,[n]),Pt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ne),l7=function(e){ls(t,e);function t(n){cs(this,t);var o;return o=us(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Xi=function(e){ls(t,e);function t(n){cs(this,t);var o;o=us(this,t,[n]),Pt(o,"options",void 0),Pt(o,"defaultShowOptions",void 0),Pt(o,"optionConfig",void 0),Pt(o,"defaultValue",void 0),Pt(o,"datasourceBind",void 0),Pt(o,"multistageFilling",void 0),Pt(o,"openMultistageFilling",void 0),Pt(o,"viewFormModelType",void 0),Pt(o,"canViewForm",void 0),Pt(o,"formBind",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{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 i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"custom",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ys.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 _;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(b){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new st(b))}));var s;o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new je(n==null?void 0:n.formBind),o}return t}(D);Pt(Xi,"Rules",c7),Pt(Xi,"RuntimeRules",l7);function a7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f7(e,t,n){return t=Qi(t),p7(e,uw()?Reflect.construct(t,n||[],Qi(e).constructor):t.apply(e,n))}function _7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function y7(e,t,n){return t&&iw(e.prototype,t),n&&iw(e,n),e}function fs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(e)}function s7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function p7(e,t){return t&&(d7(t)==="object"||typeof t=="function")?t:a7(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(e,t)}function d7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uw=function(){return!!e})()}var ys=function(e){s7(t,e);function t(n){_7(this,t);var o;return o=f7(this,t,[n]),fs(o,"props",void 0),o.props=new Xi(n==null?void 0:n.props),o}return y7(t,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),t}(x);fs(ys,"controlFieldType",g.ARRAY),fs(ys,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.DEFAULT_SHOW_OPTIONS,f.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function v7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h7(e,t,n){return t=Ji(t),O7(e,aw()?Reflect.construct(t,n||[],Ji(e).constructor):t.apply(e,n))}function b7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g7(e,t,n){return t&&cw(e.prototype,t),n&&cw(e,n),e}function lw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(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&&ss(e,t)}function O7(e,t){return t&&(w7(t)==="object"||typeof t=="function")?t:v7(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(e,t)}function w7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aw=function(){return!!e})()}var $7=function(e){m7(t,e);function t(n){b7(this,t);var o;return o=h7(this,t,[n]),lw(o,"props",void 0),o.props=new Xi(n==null?void 0:n.props),o}return g7(t,null,[{key:"controlType",get:function(){return"select-multiple"}}]),t}(L);lw($7,"controlFieldType",g.ARRAY);function P7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fw(e,t,n){return t=Zi(t),E7(e,sw()?Reflect.construct(t,n||[],Zi(e).constructor):t.apply(e,n))}function _w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(e)}function yw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ps(e,t)}function E7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:P7(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ps(e,t)}function S7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sw=function(){return!!e})()}var T7=function(e){yw(t,e);function t(n){_w(this,t);var o;return o=fw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),ds=function(e){yw(t,e);function t(n){_w(this,t);var o;o=fw(this,t,[n]),te(o,"showType",void 0),te(o,"range",void 0),te(o,"rangeOptions",void 0),te(o,"multiple",void 0),te(o,"defaultValueType",void 0),te(o,"defaultValue",void 0),te(o,"multistageFilling",void 0),te(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:bs.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";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(b){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new st(b))})),o}return t}(D);te(ds,"RuntimeRules",T7);function R7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I7(e,t,n){return t=Yi(t),D7(e,dw()?Reflect.construct(t,n||[],Yi(e).constructor):t.apply(e,n))}function B7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function A7(e,t,n){return t&&pw(e.prototype,t),n&&pw(e,n),e}function vs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(e)}function k7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function D7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:R7(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hs(e,t)}function x7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dw=function(){return!!e})()}var bs=function(e){k7(t,e);function t(n){B7(this,t);var o;return o=I7(this,t,[n]),vs(o,"props",void 0),o.props=new ds(n==null?void 0:n.props),o}return A7(t,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),t}(x);vs(bs,"controlFieldType",g.EMPLOYEES),vs(bs,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.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 L7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F7(e,t,n){return t=tu(t),V7(e,bw()?Reflect.construct(t,n||[],tu(e).constructor):t.apply(e,n))}function j7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function M7(e,t,n){return t&&vw(e.prototype,t),n&&vw(e,n),e}function hw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(e)}function N7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gs(e,t)}function V7(e,t){return t&&(z7(t)==="object"||typeof t=="function")?t:L7(e)}function gs(e,t){return gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gs(e,t)}function z7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bw=function(){return!!e})()}var C7=function(e){N7(t,e);function t(n){j7(this,t);var o;return o=F7(this,t,[n]),hw(o,"props",void 0),o.props=new ds(n==null?void 0:n.props),o}return M7(t,null,[{key:"controlType",get:function(){return"employee"}}]),t}(L);hw(C7,"controlFieldType",g.EMPLOYEES);function H7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ms(e,t,n){return t=eu(t),q7(e,gw()?Reflect.construct(t,n||[],eu(e).constructor):t.apply(e,n))}function Os(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eu(e)}function ws(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$s(e,t)}function q7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:H7(e)}function $s(e,t){return $s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$s(e,t)}function U7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gw=function(){return!!e})()}var W7=10485760,K7=104857600,G7=1048576e3,X7=function(e){ws(t,e);function t(n){Os(this,t);var o;return o=ms(this,t,[n]),ht(o,"maxSize",{type:"number",min:0,max:G7,message:p.getMessage("attachmentMaxSize")}),o}return t}(J),Q7=function(e){ws(t,e);function t(n){Os(this,t);var o;return o=ms(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:p.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return t}(z),lo=function(e){ws(t,e);function t(n){Os(this,t);var o;o=ms(this,t,[n]),ht(o,"defaultValue",void 0),ht(o,"showType",void 0),ht(o,"resultShowType",void 0),ht(o,"attachmentAccept",void 0),ht(o,"maxLimit",void 0),ht(o,"minLimit",void 0),ht(o,"isShowWatermark",void 0),ht(o,"watermarkFx",void 0),ht(o,"maxSize",void 0),ht(o,"forbidDownload",void 0),ht(o,"accessControl",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.resultShowType=(u=n==null?void 0:n.resultShowType)!==null&&u!==void 0?u:"simple";var c;o.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var l;o.minLimit=(l=n==null?void 0:n.minLimit)!==null&&l!==void 0?l:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:K7;var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:ao.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u4E0A\u4F20\u9644\u4EF6";var b;o.isShowWatermark=(b=n==null?void 0:n.isShowWatermark)!==null&&b!==void 0?b:!1;var m;o.watermarkFx=(m=n==null?void 0:n.watermarkFx)!==null&&m!==void 0?m:{};var O;o.forbidDownload=(O=n==null?void 0:n.forbidDownload)!==null&&O!==void 0?O:!1;var w;return o.accessControl=(w=n==null?void 0:n.accessControl)!==null&&w!==void 0?w:!1,o}return t}(D);ht(lo,"Rules",X7),ht(lo,"RuntimeRules",Q7);function J7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z7(e,t,n){return t=ou(t),n9(e,Ow()?Reflect.construct(t,n||[],ou(e).constructor):t.apply(e,n))}function Y7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function t9(e,t,n){return t&&mw(e.prototype,t),n&&mw(e,n),e}function nu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(e)}function e9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function n9(e,t){return t&&(o9(t)==="object"||typeof t=="function")?t:J7(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ps(e,t)}function o9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ow=function(){return!!e})()}var ao=function(e){e9(t,e);function t(n){Y7(this,t);var o;return o=Z7(this,t,[n]),nu(o,"props",void 0),o.props=new lo(n==null?void 0:n.props),o}return t9(t,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),t}(x);nu(ao,"controlEventKeys",["on_change"]),nu(ao,"controlFieldType",g.FILE),nu(ao,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.FORBID_DOWNLOAD,f.ACCESS_CONTROL]},{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 r9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i9(e,t,n){return t=ru(t),a9(e,Pw()?Reflect.construct(t,n||[],ru(e).constructor):t.apply(e,n))}function u9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ww(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c9(e,t,n){return t&&ww(e.prototype,t),n&&ww(e,n),e}function $w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(e)}function l9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Es(e,t)}function a9(e,t){return t&&(f9(t)==="object"||typeof t=="function")?t:r9(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Es(e,t)}function f9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Pw=function(){return!!e})()}var _9=function(e){l9(t,e);function t(n){u9(this,t);var o;return o=i9(this,t,[n]),$w(o,"props",void 0),o.props=new lo(n==null?void 0:n.props),o}return c9(t,null,[{key:"controlType",get:function(){return"attachment"}}]),t}(L);$w(_9,"controlFieldType",g.FILE);function y9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s9(e,t,n){return t=iu(t),h9(e,Ew()?Reflect.construct(t,n||[],iu(e).constructor):t.apply(e,n))}function p9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(e)}function v9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ss(e,t)}function h9(e,t){return t&&(b9(t)==="object"||typeof t=="function")?t:y9(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ss(e,t)}function b9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ew(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ew=function(){return!!e})()}var g9=function(e){v9(t,e);function t(n){p9(this,t);var o;o=s9(this,t,[n]),d9(o,"onlyAllowTakePhoto",void 0);var r;return o.onlyAllowTakePhoto=(r=n==null?void 0:n.onlyAllowTakePhoto)!==null&&r!==void 0?r:!1,o}return t}(lo);function m9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O9(e,t,n){return t=uu(t),E9(e,Tw()?Reflect.construct(t,n||[],uu(e).constructor):t.apply(e,n))}function w9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $9(e,t,n){return t&&Sw(e.prototype,t),n&&Sw(e,n),e}function Ts(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(e)}function P9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rs(e,t)}function E9(e,t){return t&&(S9(t)==="object"||typeof t=="function")?t:m9(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rs(e,t)}function S9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tw=function(){return!!e})()}var Rw=function(e){P9(t,e);function t(n){w9(this,t);var o,r,i;o=O9(this,t,[n]),Ts(o,"props",void 0),o.props=new g9(n==null?void 0:n.props),o.props.showType="image";var u;o.props.caption=(u=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&u!==void 0?u:t.controlName;var c;return o.props.placeholder=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&c!==void 0?c:"\u4E0A\u4F20\u56FE\u7247",o}return $9(t,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),t}(ao);Ts(Rw,"controlFieldType",g.IMAGE),Ts(Rw,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.FORBID_DOWNLOAD,f.ONLY_ALLOW_TAKE_PHOTO,f.ACCESS_CONTROL,f.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function T9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Is(e,t,n){return t=cu(t),A9(e,Iw()?Reflect.construct(t,n||[],cu(e).constructor):t.apply(e,n))}function Bs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(e)}function As(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ks(e,t)}function R9(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){lt(e,r,n[r])})}return e}function I9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function B9(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):I9(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function A9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:T9(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ks(e,t)}function k9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Iw=function(){return!!e})()}var D9=function(e){As(t,e);function t(n){Bs(this,t);var o;o=Is(this,t,[n]),lt(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}}),lt(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:p.getMessage("numberRangeSetError")}),o}return t}(Ne),x9=function(e){As(t,e);function t(n){Bs(this,t);var o;o=Is(this,t,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[B9(R9({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:p.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return t}(z),lu=function(e){As(t,e);function t(n){Bs(this,t);var o;o=Is(this,t,[n]),lt(o,"rangeMin",void 0),lt(o,"rangeMax",void 0),lt(o,"showUpperCase",void 0),lt(o,"submitSelectCurrency",void 0),lt(o,"micrometer",void 0),lt(o,"precision",void 0),lt(o,"optionConfig",void 0),lt(o,"dataBind",void 0),lt(o,"datasourceBind",void 0),lt(o,"defaultValue",void 0),lt(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource";var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new uk(n==null?void 0:n.dataBind);var l;o.datasourceBind=new G((l=n==null?void 0:n.datasourceBind)!==null&&l!==void 0?l:{displayBoList:[new of({value:"name"})]});var _;o.defaultValue=new ck((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:sk.CNY}),o.options=Qt(n==null?void 0:n.options);var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:_u.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var b;o.submitSelectCurrency=(b=n==null?void 0:n.submitSelectCurrency)!==null&&b!==void 0?b:!1;var m;return o.showUpperCase=(m=n==null?void 0:n.showUpperCase)!==null&&m!==void 0?m:!1,o}return t}(D);lt(lu,"Rules",D9),lt(lu,"RuntimeRules",x9);function L9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F9(e,t,n){return t=Je(t),V9(e,Aw()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function j9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function M9(e,t,n){return t&&Bw(e.prototype,t),n&&Bw(e,n),e}function au(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?fu=Reflect.get:fu=function(r,i,u){var c=z9(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},fu(e,t,n||e)}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(e)}function N9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ds(e,t)}function V9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:L9(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ds(e,t)}function z9(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Je(e),e!==null););return e}function C9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Aw=function(){return!!e})()}var _u=function(e){N9(t,e);function t(n){j9(this,t);var o;return o=F9(this,t,[n]),au(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return M9(t,[{key:"toDataBindModel",value:function(o){var r=fu(Je(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),t}(x);au(_u,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),au(_u,"controlFieldType",g.MONEY),au(_u,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.SUBMIT_SELECT_CURRENCY,f.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function H9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q9(e,t,n){return t=yu(t),G9(e,xw()?Reflect.construct(t,n||[],yu(e).constructor):t.apply(e,n))}function U9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W9(e,t,n){return t&&kw(e.prototype,t),n&&kw(e,n),e}function Dw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(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&&xs(e,t)}function G9(e,t){return t&&(X9(t)==="object"||typeof t=="function")?t:H9(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xs(e,t)}function X9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xw=function(){return!!e})()}var Q9=function(e){K9(t,e);function t(n){U9(this,t);var o;return o=q9(this,t,[n]),Dw(o,"props",void 0),o.props=new lu(n==null?void 0:n.props),o}return W9(t,null,[{key:"controlType",get:function(){return"amount"}}]),t}(L);Dw(Q9,"controlFieldType",g.MONEY);function J9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ls(e,t,n){return t=su(t),Z9(e,Lw()?Reflect.construct(t,n||[],su(e).constructor):t.apply(e,n))}function Fs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(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&&Ms(e,t)}function Z9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:J9(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(e,t)}function Y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lw=function(){return!!e})()}var t8=function(e){js(t,e);function t(n){Fs(this,t);var o;return o=Ls(this,t,[n]),ee(o,"totalScore",[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}]),ee(o,"defaultValue",{type:"number",min:0,max:5,message:p.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return t}(J),e8=function(e){js(t,e);function t(n){Fs(this,t);var o;o=Ls(this,t,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return t}(z),pu=function(e){js(t,e);function t(n){Fs(this,t);var o,r;o=Ls(this,t,[n]),ee(o,"totalScore",void 0),ee(o,"scoreType",void 0),ee(o,"isShowExplain",void 0),ee(o,"explain",void 0),ee(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var u;o.scoreType=(u=n==null?void 0:n.scoreType)!==null&&u!==void 0?u:oL.STAR;var c;o.isShowExplain=(c=n==null?void 0:n.isShowExplain)!==null&&c!==void 0?c:!0;var a;o.explain=(a=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(s){return new n_(s)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new n_});var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:hu.controlName,o}return t}(D);ee(pu,"Rules",t8),ee(pu,"RuntimeRules",e8);function Ns(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function n8(e){if(Array.isArray(e))return Ns(e)}function o8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r8(e,t,n){return t=Ze(t),f8(e,jw()?Reflect.construct(t,n||[],Ze(e).constructor):t.apply(e,n))}function i8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u8(e,t,n){return t&&Fw(e.prototype,t),n&&Fw(e,n),e}function du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?vu=Reflect.get:vu=function(r,i,u){var c=_8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},vu(e,t,n||e)}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(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&&Vs(e,t)}function l8(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function a8(){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 f8(e,t){return t&&(s8(t)==="object"||typeof t=="function")?t:o8(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vs(e,t)}function _8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ze(e),e!==null););return e}function y8(e){return n8(e)||l8(e)||p8(e)||a8()}function s8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p8(e,t){if(!!e){if(typeof e=="string")return Ns(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ns(e,t)}}function jw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jw=function(){return!!e})()}var hu=function(e){c8(t,e);function t(n){i8(this,t);var o;return o=r8(this,t,[n]),du(o,"props",void 0),o.props=new pu(n==null?void 0:n.props),o}return u8(t,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,u=r-this.props.explain.length,c=Array(u).fill(void 0).map(function(){return new n_});(i=this.props.explain).push.apply(i,y8(c))}}vu(Ze(t.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),t}(x);du(hu,"controlEventKeys",["on_change","on_click"]),du(hu,"controlFieldType",g.DECIMAL),du(hu,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.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 d8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v8(e,t,n){return t=bu(t),m8(e,Vw()?Reflect.construct(t,n||[],bu(e).constructor):t.apply(e,n))}function h8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b8(e,t,n){return t&&Mw(e.prototype,t),n&&Mw(e,n),e}function Nw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(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&&zs(e,t)}function m8(e,t){return t&&(O8(t)==="object"||typeof t=="function")?t:d8(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zs(e,t)}function O8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vw=function(){return!!e})()}var w8=function(e){g8(t,e);function t(n){h8(this,t);var o;return o=v8(this,t,[n]),Nw(o,"props",void 0),o.props=new pu(n==null?void 0:n.props),o}return b8(t,null,[{key:"controlType",get:function(){return"score"}}]),t}(L);Nw(w8,"controlFieldType",g.DECIMAL);function $8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zw(e,t,n){return t=mu(t),P8(e,qw()?Reflect.construct(t,n||[],mu(e).constructor):t.apply(e,n))}function Cw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(e)}function Hw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function P8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:$8(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(e,t)}function E8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qw=function(){return!!e})()}var S8=function(e){Hw(t,e);function t(n){Cw(this,t);var o;if(o=zw(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return t}(z),Hs=function(e){Hw(t,e);function t(n){Cw(this,t);var o;o=zw(this,t,[n]),gu(o,"defaultValueType",void 0),gu(o,"defaultValue",void 0),gu(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ws.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var u;o.addressType=(u=n==null?void 0:n.addressType)!==null&&u!==void 0?u:["province","city","district"];var c;o.defaultValue=new fk((c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return t}(D);gu(Hs,"RuntimeRules",S8);function T8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R8(e,t,n){return t=Ou(t),k8(e,Ww()?Reflect.construct(t,n||[],Ou(e).constructor):t.apply(e,n))}function I8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function B8(e,t,n){return t&&Uw(e.prototype,t),n&&Uw(e,n),e}function qs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function A8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function k8(e,t){return t&&(D8(t)==="object"||typeof t=="function")?t:T8(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(e,t)}function D8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ww=function(){return!!e})()}var Ws=function(e){A8(t,e);function t(n){I8(this,t);var o;return o=R8(this,t,[n]),qs(o,"props",void 0),o.props=new Hs(n==null?void 0:n.props),o}return B8(t,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),t}(x);qs(Ws,"controlFieldType",g.ADDRESS),qs(Ws,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function x8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L8(e,t,n){return t=wu(t),N8(e,Xw()?Reflect.construct(t,n||[],wu(e).constructor):t.apply(e,n))}function F8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kw(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function j8(e,t,n){return t&&Kw(e.prototype,t),n&&Kw(e,n),e}function Gw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(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&&Ks(e,t)}function N8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:x8(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(e,t)}function V8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xw=function(){return!!e})()}var z8=function(e){M8(t,e);function t(n){F8(this,t);var o;return o=L8(this,t,[n]),Gw(o,"props",void 0),o.props=new Hs(n==null?void 0:n.props),o}return j8(t,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),t}(L);Gw(z8,"controlFieldType",g.ADDRESS);function C8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qw(e,t,n){return t=$u(t),H8(e,Yw()?Reflect.construct(t,n||[],$u(e).constructor):t.apply(e,n))}function Jw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$u(e)}function Zw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gs(e,t)}function H8(e,t){return t&&(q8(t)==="object"||typeof t=="function")?t:C8(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gs(e,t)}function q8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Yw=function(){return!!e})()}var U8=function(e){Zw(t,e);function t(n){Jw(this,t);var o;return o=Qw(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Xs=function(e){Zw(t,e);function t(n){Jw(this,t);var o;o=Qw(this,t,[n]),Lt(o,"showType",void 0),Lt(o,"range",void 0),Lt(o,"defaultValueType",void 0),Lt(o,"multiple",void 0),Lt(o,"rangeOptions",void 0),Lt(o,"defaultValue",void 0),Lt(o,"displayLevel",void 0),Lt(o,"showSubDept",void 0),Lt(o,"multistageFilling",void 0),Lt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Su.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new st(O))})),o}return t}(D);Lt(Xs,"RuntimeRules",U8);function W8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K8(e,t,n){return t=Ye(t),J8(e,e$()?Reflect.construct(t,n||[],Ye(e).constructor):t.apply(e,n))}function G8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function X8(e,t,n){return t&&t$(e.prototype,t),n&&t$(e,n),e}function Pu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Eu=Reflect.get:Eu=function(r,i,u){var c=Z8(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Eu(e,t,n||e)}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(e)}function Q8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function J8(e,t){return t&&(Y8(t)==="object"||typeof t=="function")?t:W8(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(e,t)}function Z8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ye(e),e!==null););return e}function Y8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(e$=function(){return!!e})()}var Su=function(e){Q8(t,e);function t(n){G8(this,t);var o;return o=K8(this,t,[n]),Pu(o,"props",void 0),o.props=new Xs(n==null?void 0:n.props),o}return X8(t,[{key:"toDataBindModel",value:function(o){var r=Eu(Ye(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),t}(x);Pu(Su,"controlName","\u90E8\u95E8"),Pu(Su,"controlFieldType",g.DEPARTMENTS),Pu(Su,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.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 tV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eV(e,t,n){return t=Tu(t),iV(e,r$()?Reflect.construct(t,n||[],Tu(e).constructor):t.apply(e,n))}function nV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oV(e,t,n){return t&&n$(e.prototype,t),n&&n$(e,n),e}function o$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(e)}function rV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function iV(e,t){return t&&(uV(t)==="object"||typeof t=="function")?t:tV(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Js(e,t)}function uV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(r$=function(){return!!e})()}var cV=function(e){rV(t,e);function t(n){nV(this,t);var o;return o=eV(this,t,[n]),o$(o,"props",void 0),o.props=new Xs(n==null?void 0:n.props),o}return oV(t,null,[{key:"controlType",get:function(){return"department"}}]),t}(L);o$(cV,"controlFieldType",g.DEPARTMENTS);function lV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aV(e,t,n){return t=Ru(t),sV(e,i$()?Reflect.construct(t,n||[],Ru(e).constructor):t.apply(e,n))}function fV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(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&&Zs(e,t)}function sV(e,t){return t&&(pV(t)==="object"||typeof t=="function")?t:lV(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zs(e,t)}function pV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(i$=function(){return!!e})()}var u$=function(e){yV(t,e);function t(n){fV(this,t);var o;o=aV(this,t,[n]),_V(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Au.controlName;var u;return o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return t}(D);function dV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vV(e,t,n){return t=Bu(t),mV(e,l$()?Reflect.construct(t,n||[],Bu(e).constructor):t.apply(e,n))}function hV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function bV(e,t,n){return t&&c$(e.prototype,t),n&&c$(e,n),e}function Iu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bu(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&&Ys(e,t)}function mV(e,t){return t&&(OV(t)==="object"||typeof t=="function")?t:dV(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ys(e,t)}function OV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l$=function(){return!!e})()}var Au=function(e){gV(t,e);function t(n){hV(this,t);var o;return o=vV(this,t,[n]),Iu(o,"props",void 0),o.props=new u$(n==null?void 0:n.props),o}return bV(t,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),t}(x);Iu(Au,"controlEventKeys",["on_change"]),Iu(Au,"controlFieldType",g.AUTO_NUMBER),Iu(Au,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function wV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $V(e,t,n){return t=ku(t),TV(e,_$()?Reflect.construct(t,n||[],ku(e).constructor):t.apply(e,n))}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function EV(e,t,n){return t&&a$(e.prototype,t),n&&a$(e,n),e}function f$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(e)}function SV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function TV(e,t){return t&&(RV(t)==="object"||typeof t=="function")?t:wV(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(e,t)}function RV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_$=function(){return!!e})()}var IV=function(e){SV(t,e);function t(n){PV(this,t);var o;return o=$V(this,t,[n]),f$(o,"props",void 0),o.props=new u$(n==null?void 0:n.props),o}return EV(t,null,[{key:"controlType",get:function(){return"auto-number"}}]),t}(L);f$(IV,"controlFieldType",g.AUTO_NUMBER);function BV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ep(e,t,n){return t=Du(t),AV(e,y$()?Reflect.construct(t,n||[],Du(e).constructor):t.apply(e,n))}function np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Du(e)}function op(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function AV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:BV(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(e,t)}function kV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(y$=function(){return!!e})()}var DV=function(e){op(t,e);function t(n){np(this,t);var o;return o=ep(this,t,[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 t}(J),xV=function(e){op(t,e);function t(n){np(this,t);var o;return o=ep(this,t,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return t}(z),xu=function(e){op(t,e);function t(n){np(this,t);var o;o=ep(this,t,[n]),Ct(o,"precision",void 0),Ct(o,"micrometer",void 0),Ct(o,"showUpperCase",void 0),Ct(o,"scriptSrc",void 0),Ct(o,"scriptEcho",void 0),Ct(o,"dataBind",void 0),Ct(o,"defaultValue",void 0),Ct(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var u;o.showUpperCase=(u=n==null?void 0:n.showUpperCase)!==null&&u!==void 0?u:!1,o.dataBind=new _k(n==null?void 0:n.dataBind),o.defaultValue=new yk(n==null?void 0:n.defaultValue);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ju.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.scriptEcho=(l=n==null?void 0:n.scriptEcho)!==null&&l!==void 0?l:[];var _;o.scriptSrc=(_=n==null?void 0:n.scriptSrc)!==null&&_!==void 0?_:"";var s;return o.calcOnMounted=(s=n==null?void 0:n.calcOnMounted)!==null&&s!==void 0?s:!1,o}return t}(D);Ct(xu,"Rules",DV),Ct(xu,"RuntimeRules",xV);function LV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FV(e,t,n){return t=tn(t),VV(e,p$()?Reflect.construct(t,n||[],tn(e).constructor):t.apply(e,n))}function jV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function MV(e,t,n){return t&&s$(e.prototype,t),n&&s$(e,n),e}function Lu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fu(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Fu=Reflect.get:Fu=function(r,i,u){var c=zV(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Fu(e,t,n||e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(e)}function NV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function VV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:LV(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ip(e,t)}function zV(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tn(e),e!==null););return e}function CV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(p$=function(){return!!e})()}var ju=function(e){NV(t,e);function t(n){jV(this,t);var o;return o=FV(this,t,[n]),Lu(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return MV(t,[{key:"toDataBindModel",value:function(o){var r=Fu(tn(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),t}(x);Lu(ju,"controlEventKeys",["on_change"]),Lu(ju,"controlFieldType",g.CALC),Lu(ju,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[f.SHOW_UPPER_CASE,f.MICROMETER,f.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function HV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qV(e,t,n){return t=Mu(t),GV(e,h$()?Reflect.construct(t,n||[],Mu(e).constructor):t.apply(e,n))}function UV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function WV(e,t,n){return t&&d$(e.prototype,t),n&&d$(e,n),e}function v$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(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&&up(e,t)}function GV(e,t){return t&&(XV(t)==="object"||typeof t=="function")?t:HV(e)}function up(e,t){return up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},up(e,t)}function XV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(h$=function(){return!!e})()}var QV=function(e){KV(t,e);function t(n){UV(this,t);var o;return o=qV(this,t,[n]),v$(o,"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return WV(t,null,[{key:"controlType",get:function(){return"calc"}}]),t}(L);v$(QV,"controlFieldType",g.CALC);function JV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b$(e,t,n){return t=Nu(t),ZV(e,O$()?Reflect.construct(t,n||[],Nu(e).constructor):t.apply(e,n))}function g$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(e)}function m$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cp(e,t)}function ZV(e,t){return t&&(YV(t)==="object"||typeof t=="function")?t:JV(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(e,t)}function YV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(O$=function(){return!!e})()}var tz=function(e){m$(t,e);function t(n){g$(this,t);var o;return o=b$(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,u){if(n.required){var c=u.every(function(a){return!a});return c?Promise.reject(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return t}(z),lp=function(e){m$(t,e);function t(n){g$(this,t);var o;o=b$(this,t,[n]),en(o,"rangeMin",void 0),en(o,"rangeMax",void 0),en(o,"placeholderStart",void 0),en(o,"placeholderEnd",void 0),en(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];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.placeholderStart=(c=n==null?void 0:n.placeholderStart)!==null&&c!==void 0?c:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:_p.controlName,o}return t}(D);en(lp,"RuntimeRules",tz);function ez(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nz(e,t,n){return t=Vu(t),uz(e,$$()?Reflect.construct(t,n||[],Vu(e).constructor):t.apply(e,n))}function oz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function rz(e,t,n){return t&&w$(e.prototype,t),n&&w$(e,n),e}function ap(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(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&&fp(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:ez(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(e,t)}function cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($$=function(){return!!e})()}var _p=function(e){iz(t,e);function t(n){oz(this,t);var o;return o=nz(this,t,[n]),ap(o,"props",void 0),o.props=new lp(n==null?void 0:n.props),o}return rz(t,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),t}(x);ap(_p,"controlFieldType",g.DECIMAL_RANGE),ap(_p,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function lz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function az(e,t,n){return t=zu(t),sz(e,S$()?Reflect.construct(t,n||[],zu(e).constructor):t.apply(e,n))}function fz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _z(e,t,n){return t&&P$(e.prototype,t),n&&P$(e,n),e}function E$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(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&&yp(e,t)}function sz(e,t){return t&&(pz(t)==="object"||typeof t=="function")?t:lz(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yp(e,t)}function pz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(S$=function(){return!!e})()}var dz=function(e){yz(t,e);function t(n){fz(this,t);var o;return o=az(this,t,[n]),E$(o,"props",void 0),o.props=new lp(n==null?void 0:n.props),o}return _z(t,null,[{key:"controlType",get:function(){return"search-number-range"}}]),t}(L);E$(dz,"controlFieldType",g.DECIMAL_RANGE);function vz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T$(e,t,n){return t=Cu(t),hz(e,B$()?Reflect.construct(t,n||[],Cu(e).constructor):t.apply(e,n))}function R$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(e)}function I$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function hz(e,t){return t&&(bz(t)==="object"||typeof t=="function")?t:vz(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sp(e,t)}function bz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(B$=function(){return!!e})()}var gz=function(e){I$(t,e);function t(n){R$(this,t);var o;return o=T$(this,t,[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 t}(z),pp=function(e){I$(t,e);function t(n){R$(this,t);var o,r;o=T$(this,t,[n]),Ft(o,"rangeMin",void 0),Ft(o,"rangeMax",void 0),Ft(o,"placeholderStart",void 0),Ft(o,"placeholderEnd",void 0),Ft(o,"dateType",void 0),Ft(o,"dateFormat",void 0),Ft(o,"commonTimeSetting",void 0),Ft(o,"setValueType",void 0),Ft(o,"defaultValue",void 0),Ft(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:xe.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 _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var s;o.rangeMax=(s=n==null?void 0:n.rangeMax)!==null&&s!==void 0?s:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:"\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u7ED3\u675F\u65E5\u671F";var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:hp.controlName;var O;return o.limitDateList=(O=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(w){return new e_(w)}))!==null&&O!==void 0?O:[],o}return t}(D);Ft(pp,"RuntimeRules",gz);function mz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oz(e,t,n){return t=Hu(t),Ez(e,k$()?Reflect.construct(t,n||[],Hu(e).constructor):t.apply(e,n))}function wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $z(e,t,n){return t&&A$(e.prototype,t),n&&A$(e,n),e}function dp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(e)}function Pz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function Ez(e,t){return t&&(Sz(t)==="object"||typeof t=="function")?t:mz(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vp(e,t)}function Sz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(k$=function(){return!!e})()}var hp=function(e){Pz(t,e);function t(n){wz(this,t);var o;return o=Oz(this,t,[n]),dp(o,"props",void 0),o.props=new pp(n==null?void 0:n.props),o}return $z(t,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),t}(x);dp(hp,"controlFieldType",g.ARRAY),dp(hp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],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:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Tz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rz(e,t,n){return t=qu(t),kz(e,L$()?Reflect.construct(t,n||[],qu(e).constructor):t.apply(e,n))}function Iz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Bz(e,t,n){return t&&D$(e.prototype,t),n&&D$(e,n),e}function x$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(e)}function Az(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function kz(e,t){return t&&(Dz(t)==="object"||typeof t=="function")?t:Tz(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bp(e,t)}function Dz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(L$=function(){return!!e})()}var xz=function(e){Az(t,e);function t(n){Iz(this,t);var o;return o=Rz(this,t,[n]),x$(o,"props",void 0),o.props=new pp(n==null?void 0:n.props),o}return Bz(t,null,[{key:"controlType",get:function(){return"search-date-range"}}]),t}(L);x$(xz,"controlFieldType",g.ARRAY);function Lz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gp(e,t,n){return t=Uu(t),Fz(e,F$()?Reflect.construct(t,n||[],Uu(e).constructor):t.apply(e,n))}function mp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(e)}function Op(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function Fz(e,t){return t&&(jz(t)==="object"||typeof t=="function")?t:Lz(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(e,t)}function jz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(F$=function(){return!!e})()}var Mz=function(e){Op(t,e);function t(n){mp(this,t);var o;return o=gp(this,t,[n]),o.dataBind={type:"any"},o}return t}(J),Nz=function(e){Op(t,e);function t(n){mp(this,t);var o;return o=gp(this,t,[n]),o[0]!==void 0&&(o[0].type="any"),o}return t}(z),Wu=function(e){Op(t,e);function t(n){mp(this,t);var o;o=gp(this,t,[n]),nn(o,"controlExportName",void 0),nn(o,"permissions",void 0),nn(o,"defaultValue",void 0),nn(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Xu.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var u;o.controlExportName=(u=n==null?void 0:n.controlExportName)!==null&&u!==void 0?u:"";var c;o.permissions=(c=n==null?void 0:n.permissions)!==null&&c!==void 0?c:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return t}(D);nn(Wu,"Rules",Mz),nn(Wu,"RuntimeRules",Nz);function Vz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zz(e,t,n){return t=Gu(t),Uz(e,M$()?Reflect.construct(t,n||[],Gu(e).constructor):t.apply(e,n))}function Cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Hz(e,t,n){return t&&j$(e.prototype,t),n&&j$(e,n),e}function Ku(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(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&&$p(e,t)}function Uz(e,t){return t&&(Wz(t)==="object"||typeof t=="function")?t:Vz(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$p(e,t)}function Wz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(M$=function(){return!!e})()}var Xu=function(e){qz(t,e);function t(n){Cz(this,t);var o;return o=zz(this,t,[n]),Ku(o,"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return Hz(t,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),t}(x);Ku(Xu,"controlFieldType",g.ANY),Ku(Xu,"controlEventKeys",[]),Ku(Xu,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_HIDE_CAPTION,f.REQUIRED,f.IS_SHOW_CAPTION_TIP,f.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function Kz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gz(e,t,n){return t=Qu(t),Zz(e,z$()?Reflect.construct(t,n||[],Qu(e).constructor):t.apply(e,n))}function Xz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Qz(e,t,n){return t&&N$(e.prototype,t),n&&N$(e,n),e}function V$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(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&&Pp(e,t)}function Zz(e,t){return t&&(Yz(t)==="object"||typeof t=="function")?t:Kz(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pp(e,t)}function Yz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(z$=function(){return!!e})()}var tC=function(e){Jz(t,e);function t(n){Xz(this,t);var o;return o=Gz(this,t,[n]),V$(o,"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return Qz(t,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),t}(L);V$(tC,"controlFieldType",g.ANY);function eC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C$(e,t,n){return t=Ju(t),nC(e,U$()?Reflect.construct(t,n||[],Ju(e).constructor):t.apply(e,n))}function H$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(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&&Ep(e,t)}function nC(e,t){return t&&(oC(t)==="object"||typeof t=="function")?t:eC(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ep(e,t)}function oC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(U$=function(){return!!e})()}var rC=function(e){q$(t,e);function t(n){H$(this,t);var o;return o=C$(this,t,[n]),yt(o,"listPageBind",[{type:"object",message:p.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}]}}]),yt(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return t}(Ne),Sp=function(e){q$(t,e);function t(n){H$(this,t);var o;o=C$(this,t,[n]),yt(o,"options",void 0),yt(o,"optionConfig",void 0),yt(o,"defaultValue",void 0),yt(o,"listPageBind",void 0),yt(o,"datasourceBind",void 0),yt(o,"multistageFilling",void 0),yt(o,"viewFormModelType",void 0),yt(o,"canViewForm",void 0),yt(o,"formBind",void 0),yt(o,"openMultistageFilling",void 0),yt(o,"showSelectedDetail",void 0),yt(o,"selectedContentConfig",void 0);var r;o.options=Qt((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new ef(n==null?void 0:n.listPageBind),o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:tc.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.openMultistageFilling=(l=n==null?void 0:n.openMultistageFilling)!==null&&l!==void 0?l:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new st(b))}));var s;o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1;var d;return o.viewFormModelType=(d=n==null?void 0:n.viewFormModelType)!==null&&d!==void 0?d:"window",o.formBind=new je(n==null?void 0:n.formBind),o}return t}(D);yt(Sp,"Rules",rC);function iC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uC(e,t,n){return t=Yu(t),fC(e,K$()?Reflect.construct(t,n||[],Yu(e).constructor):t.apply(e,n))}function cC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lC(e,t,n){return t&&W$(e.prototype,t),n&&W$(e,n),e}function Zu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(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&&Tp(e,t)}function fC(e,t){return t&&(_C(t)==="object"||typeof t=="function")?t:iC(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(e,t)}function _C(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(K$=function(){return!!e})()}var tc=function(e){aC(t,e);function t(n){cC(this,t);var o;return o=uC(this,t,[n]),Zu(o,"props",void 0),o.props=new Sp(n==null?void 0:n.props),o}return lC(t,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),t}(x);Zu(tc,"controlFieldType",g.VARCHAR),Zu(tc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[f.CAN_VIEW_FORM,f.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),Zu(tc,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function yC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sC(e,t,n){return t=ec(t),hC(e,Q$()?Reflect.construct(t,n||[],ec(e).constructor):t.apply(e,n))}function pC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function dC(e,t,n){return t&&G$(e.prototype,t),n&&G$(e,n),e}function X$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(e)}function vC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function hC(e,t){return t&&(bC(t)==="object"||typeof t=="function")?t:yC(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(e,t)}function bC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Q$=function(){return!!e})()}var gC=function(e){vC(t,e);function t(n){pC(this,t);var o;return o=sC(this,t,[n]),X$(o,"props",void 0),o.props=new Sp(n==null?void 0:n.props),o}return dC(t,null,[{key:"controlType",get:function(){return"select-relation"}}]),t}(L);X$(gC,"controlFieldType",g.VARCHAR);function mC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OC(e,t,n){return t=nc(t),PC(e,J$()?Reflect.construct(t,n||[],nc(e).constructor):t.apply(e,n))}function wC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nc(e)}function $C(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function PC(e,t){return t&&(EC(t)==="object"||typeof t=="function")?t:mC(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ip(e,t)}function EC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(J$=function(){return!!e})()}var Z$=function(e){$C(t,e);function t(n){return wC(this,t),OC(this,t,[n])}return t}(uo);function SC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TC(e,t,n){return t=oc(t),AC(e,eP()?Reflect.construct(t,n||[],oc(e).constructor):t.apply(e,n))}function RC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y$(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function IC(e,t,n){return t&&Y$(e.prototype,t),n&&Y$(e,n),e}function tP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(e)}function BC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function AC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:SC(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bp(e,t)}function kC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eP=function(){return!!e})()}var DC=function(e){BC(t,e);function t(n){RC(this,t);var o;return o=TC(this,t,[n]),tP(o,"props",void 0),o.props=new Z$(n==null?void 0:n.props),o}return IC(t,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),t}(co);tP(DC,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED]},{key:"super-setting",visible:!0}]);function xC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LC(e,t,n){return t=rc(t),NC(e,rP()?Reflect.construct(t,n||[],rc(e).constructor):t.apply(e,n))}function FC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function jC(e,t,n){return t&&nP(e.prototype,t),n&&nP(e,n),e}function oP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(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&&Ap(e,t)}function NC(e,t){return t&&(VC(t)==="object"||typeof t=="function")?t:xC(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ap(e,t)}function VC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rP=function(){return!!e})()}var zC=function(e){MC(t,e);function t(n){FC(this,t);var o;return o=LC(this,t,[n]),oP(o,"props",void 0),o.props=new Z$(n==null?void 0:n.props),o}return jC(t,null,[{key:"controlType",get:function(){return"search-input"}}]),t}(L);oP(zC,"controlFieldType",g.VARCHAR);function CC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kp(e,t,n){return t=ic(t),HC(e,iP()?Reflect.construct(t,n||[],ic(e).constructor):t.apply(e,n))}function Dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(e)}function xp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function HC(e,t){return t&&(qC(t)==="object"||typeof t=="function")?t:CC(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lp(e,t)}function qC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iP=function(){return!!e})()}var UC=function(e){xp(t,e);function t(n){Dp(this,t);var o;return o=kp(this,t,[n]),H(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),xo.call(o,n,$e.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:p.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:p.getMessage("rootNodeIsRequired")}}}]),o}return t}(J),WC=function(e){xp(t,e);function t(n){Dp(this,t);var o;return o=kp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),uc=function(e){xp(t,e);function t(n){Dp(this,t);var o,r;o=kp(this,t,[n]),H(o,"placeholder",void 0),H(o,"multiple",void 0),H(o,"canSearch",void 0),H(o,"levelType",void 0),H(o,"optionalLevel",void 0),H(o,"containsSubNode",void 0),H(o,"defaultDisplay",void 0),H(o,"isShowIncludeSub",void 0),H(o,"isDefaultCheckSub",void 0),H(o,"isShowFilterItem",void 0),H(o,"defaultCollapse",void 0),H(o,"defaultCollapseLevel",void 0),H(o,"optionConfig","datasource"),H(o,"datasourceBind",void 0),H(o,"filterItemDatasourceBind",void 0),H(o,"multistageFilling",void 0),H(o,"defaultValue",void 0),H(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$e.controlName;var u;o.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"\u8BF7\u9009\u62E9";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var l;o.levelType=(l=n==null?void 0:n.levelType)!==null&&l!==void 0?l:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var s;o.containsSubNode=(s=n==null?void 0:n.containsSubNode)!==null&&s!==void 0?s:!1;var d;o.isShowFilterItem=(d=n==null?void 0:n.isShowFilterItem)!==null&&d!==void 0?d:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var m;o.isDefaultCheckSub=(m=n==null?void 0:n.isDefaultCheckSub)!==null&&m!==void 0?m:!1;var O;o.defaultCollapse=(O=n==null?void 0:n.defaultCollapse)!==null&&O!==void 0?O:"all";var w;o.defaultCollapseLevel=(w=n==null?void 0:n.defaultCollapseLevel)!==null&&w!==void 0?w:1;var h;o.datasourceBind=new F0((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:$e.controlCustomAttributes});var $;o.filterItemDatasourceBind=new F0(($=n==null?void 0:n.filterItemDatasourceBind)!==null&&$!==void 0?$:{attributes:$e.controlCustomAttributes});var T;o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1;var P;o.defaultDisplay=(P=n==null?void 0:n.defaultDisplay)!==null&&P!==void 0?P:!1;var S;o.multistageFilling=(S=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(A){return new st(A)}))!==null&&S!==void 0?S:[];var F;return o.defaultValue=(F=n==null?void 0:n.defaultValue)!==null&&F!==void 0?F:[],o}return t}(D);H(uc,"Rules",UC),H(uc,"RuntimeRules",WC);function KC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GC(e,t,n){return t=lc(t),ZC(e,cP()?Reflect.construct(t,n||[],lc(e).constructor):t.apply(e,n))}function XC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function QC(e,t,n){return t&&uP(e.prototype,t),n&&uP(e,n),e}function cc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(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&&Fp(e,t)}function ZC(e,t){return t&&(YC(t)==="object"||typeof t=="function")?t:KC(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fp(e,t)}function YC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cP=function(){return!!e})()}var $e=function(e){JC(t,e);function t(n){XC(this,t);var o;return o=GC(this,t,[n]),cc(o,"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return QC(t,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}]}}]),t}(x);cc($e,"controlEventKeys",["on_change","on_click"]),cc($e,"controlFieldType",g.ARRAY),cc($e,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.CAN_SEARCH,f.DEFAULT_DISPLAY,f.CONTAINS_SUB_NODE,f.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function tH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eH(e,t,n){return t=ac(t),iH(e,fP()?Reflect.construct(t,n||[],ac(e).constructor):t.apply(e,n))}function nH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oH(e,t,n){return t&&lP(e.prototype,t),n&&lP(e,n),e}function aP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(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&&jp(e,t)}function iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:tH(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jp(e,t)}function uH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fP=function(){return!!e})()}var cH=function(e){rH(t,e);function t(n){nH(this,t);var o;return o=eH(this,t,[n]),aP(o,"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return oH(t,null,[{key:"controlType",get:function(){return"tree"}}]),t}(L);aP(cH,"controlFieldType",g.ARRAY);function lH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mp(e,t,n){return t=fc(t),aH(e,_P()?Reflect.construct(t,n||[],fc(e).constructor):t.apply(e,n))}function Np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(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&&zp(e,t)}function aH(e,t){return t&&(fH(t)==="object"||typeof t=="function")?t:lH(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(e,t)}function fH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_P=function(){return!!e})()}var _H=function(e){Vp(t,e);function t(n){Np(this,t);var o;return o=Mp(this,t,[n]),rt(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),rt(o,"externalScope",{type:"any"}),xo.call(o,n,fo.controlCustomAttributes),n.externalType===We.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return t}(J),yH=function(e){Vp(t,e);function t(n){Np(this,t);var o;return o=Mp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),_c=function(e){Vp(t,e);function t(n){Np(this,t);var o;o=Mp(this,t,[n]),rt(o,"showType",void 0),rt(o,"range",void 0),rt(o,"rangeOptions",void 0),rt(o,"multiple",void 0),rt(o,"defaultValueType",void 0),rt(o,"defaultValue",void 0),rt(o,"multistageFilling",void 0),rt(o,"datasourceBind",void 0),rt(o,"datasourceType",void 0),rt(o,"insideType",void 0),rt(o,"externalType",void 0),rt(o,"externalScope",void 0),rt(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var u;o.rangeOptions=(u=n==null?void 0:n.rangeOptions)!==null&&u!==void 0?u:[];var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:fo.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var d;o.datasourceBind=new Io((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:fo.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:aL.INTERNAL;var m;o.insideType=(m=n==null?void 0:n.insideType)!==null&&m!==void 0?m:fL.ADMIN;var O;o.externalType=(O=n==null?void 0:n.externalType)!==null&&O!==void 0?O:We.ALL;var w;o.externalScope=(w=n==null?void 0:n.externalScope)!==null&&w!==void 0?w:[];var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new st($))})),o}return t}(D);rt(_c,"Rules",_H),rt(_c,"RuntimeRules",yH);function sH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pH(e,t,n){return t=yc(t),bH(e,sP()?Reflect.construct(t,n||[],yc(e).constructor):t.apply(e,n))}function dH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vH(e,t,n){return t&&yP(e.prototype,t),n&&yP(e,n),e}function Cp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(e)}function hH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function bH(e,t){return t&&(gH(t)==="object"||typeof t=="function")?t:sH(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hp(e,t)}function gH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sP=function(){return!!e})()}var fo=function(e){hH(t,e);function t(n){dH(this,t);var o;return o=pH(this,t,[n]),Cp(o,"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return vH(t,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}]}}]),t}(x);Cp(fo,"controlFieldType",g.EMPLOYEES),Cp(fo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.MULTIPLE,f.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 mH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OH(e,t,n){return t=sc(t),EH(e,vP()?Reflect.construct(t,n||[],sc(e).constructor):t.apply(e,n))}function wH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function $H(e,t,n){return t&&pP(e.prototype,t),n&&pP(e,n),e}function dP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(e)}function PH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function EH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:mH(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(e,t)}function SH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vP=function(){return!!e})()}var TH=function(e){PH(t,e);function t(n){wH(this,t);var o;return o=OH(this,t,[n]),dP(o,"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return $H(t,null,[{key:"controlType",get:function(){return"employee2"}}]),t}(L);dP(TH,"controlFieldType",g.EMPLOYEES);function RH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hP(e,t,n){return t=pc(t),IH(e,mP()?Reflect.construct(t,n||[],pc(e).constructor):t.apply(e,n))}function bP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(e)}function gP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function IH(e,t){return t&&(BH(t)==="object"||typeof t=="function")?t:RH(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(e,t)}function BH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mP=function(){return!!e})()}var AH=function(e){gP(t,e);function t(n){bP(this,t);var o;return o=hP(this,t,[n]),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(r,i,u){return r[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,l,_){if(i.type==="public"&&Ka(l.value)&&l.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(a,l,_){if(i.type==="public"&&i.signatureType.includes("company")&&Ka(l.value)&&l.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},r},{})}}},o}return t}(J),Wp=function(e){gP(t,e);function t(n){bP(this,t);var o;o=hP(this,t,[n]),Ht(o,"buttonType",void 0),Ht(o,"content",void 0),Ht(o,"showType",void 0),Ht(o,"color",void 0),Ht(o,"icon",void 0),Ht(o,"command",""),Ht(o,"isLoading",!1),Ht(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:hc.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u53D1\u8D77\u7B7E\u7F72";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;return o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2",o.signatureConfig=new iL(n==null?void 0:n.signatureConfig),o}return t}(D);Ht(Wp,"Rules",AH);function kH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DH(e,t,n){return t=vc(t),jH(e,wP()?Reflect.construct(t,n||[],vc(e).constructor):t.apply(e,n))}function xH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function LH(e,t,n){return t&&OP(e.prototype,t),n&&OP(e,n),e}function dc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(e)}function FH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function jH(e,t){return t&&(MH(t)==="object"||typeof t=="function")?t:kH(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kp(e,t)}function MH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wP=function(){return!!e})()}var hc=function(e){FH(t,e);function t(n){xH(this,t);var o;return o=DH(this,t,[n]),dc(o,"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return LH(t,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),t}(x);dc(hc,"controlEventKeys",["on_click","on_click_finish"]),dc(hc,"controlFieldType",g.VARCHAR),dc(hc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.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 NH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VH(e,t,n){return t=bc(t),qH(e,EP()?Reflect.construct(t,n||[],bc(e).constructor):t.apply(e,n))}function zH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $P(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CH(e,t,n){return t&&$P(e.prototype,t),n&&$P(e,n),e}function PP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(e)}function HH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function qH(e,t){return t&&(UH(t)==="object"||typeof t=="function")?t:NH(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gp(e,t)}function UH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(EP=function(){return!!e})()}var WH=function(e){HH(t,e);function t(n){zH(this,t);var o;return o=VH(this,t,[n]),PP(o,"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return CH(t,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),t}(L);PP(WH,"controlFieldType",g.VARCHAR);function KH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xp(e,t,n){return t=gc(t),GH(e,SP()?Reflect.construct(t,n||[],gc(e).constructor):t.apply(e,n))}function Qp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gc(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&&Zp(e,t)}function GH(e,t){return t&&(XH(t)==="object"||typeof t=="function")?t:KH(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(e,t)}function XH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SP=function(){return!!e})()}var QH=function(e){Jp(t,e);function t(n){Qp(this,t);var o;return o=Xp(this,t,[n]),it(o,"content",{type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")}),it(o,"canAdd",void 0),it(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(p.getMessage("pleaseEnterWatermark"));return}c()}},autoRename:{type:"object",validator:function(i,u,c){if(u.active&&!u.text){c(p.getMessage("pleaseEnterFileName"));return}c()}}}}),o.canAdd={type:"boolean",validator:function(i,u,c){if(n.canAdd&&!n.addLocal&&!n.addOnline){c(p.getMessage("pleaseChooseAtLeastOne"));return}c()}},o}return t}(J),JH=function(e){Jp(t,e);function t(n){Qp(this,t);var o;return o=Xp(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),mc=function(e){Jp(t,e);function t(n){Qp(this,t);var o;o=Xp(this,t,[n]),it(o,"content",void 0),it(o,"canAdd",void 0),it(o,"addLocal",void 0),it(o,"addOnline",void 0),it(o,"canDownload",void 0),it(o,"canEdit",void 0),it(o,"canExport",void 0),it(o,"canDelete",void 0),it(o,"wpsSetting",void 0),it(o,"maxSize",void 0),it(o,"defaultValue",void 0),it(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:$c.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u65B0\u5EFA\u6587\u6863";var u;o.canAdd=(u=n==null?void 0:n.canAdd)!==null&&u!==void 0?u:!0;var c;o.addLocal=(c=n==null?void 0:n.addLocal)!==null&&c!==void 0?c:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var l;o.canEdit=(l=n==null?void 0:n.canEdit)!==null&&l!==void 0?l:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var s;o.canExport=(s=n==null?void 0:n.canExport)!==null&&s!==void 0?s:!0;var d;o.canDelete=(d=n==null?void 0:n.canDelete)!==null&&d!==void 0?d:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:W7;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[],o.wpsSetting=new uL(n==null?void 0:n.wpsSetting);var O;return o.revisionsMode=(O=n==null?void 0:n.revisionsMode)!==null&&O!==void 0?O:!1,o}return t}(D);it(mc,"Rules",QH),it(mc,"RuntimeRules",JH);function ZH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YH(e,t,n){return t=wc(t),oq(e,RP()?Reflect.construct(t,n||[],wc(e).constructor):t.apply(e,n))}function tq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function eq(e,t,n){return t&&TP(e.prototype,t),n&&TP(e,n),e}function Oc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function nq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function oq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:ZH(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yp(e,t)}function rq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RP=function(){return!!e})()}var $c=function(e){nq(t,e);function t(n){tq(this,t);var o;return o=YH(this,t,[n]),Oc(o,"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return eq(t,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),t}(x);Oc($c,"controlEventKeys",["on_change","on_wps_open"]),Oc($c,"controlFieldType",g.FILE),Oc($c,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_SHOW_CAPTION_TIP,f.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 iq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uq(e,t,n){return t=Pc(t),fq(e,AP()?Reflect.construct(t,n||[],Pc(e).constructor):t.apply(e,n))}function cq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lq(e,t,n){return t&&IP(e.prototype,t),n&&IP(e,n),e}function BP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(e)}function aq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&td(e,t)}function fq(e,t){return t&&(_q(t)==="object"||typeof t=="function")?t:iq(e)}function td(e,t){return td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},td(e,t)}function _q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AP=function(){return!!e})()}var yq=function(e){aq(t,e);function t(n){cq(this,t);var o;return o=uq(this,t,[n]),BP(o,"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return lq(t,null,[{key:"controlType",get:function(){return"wps"}}]),t}(L);BP(yq,"controlFieldType",g.FILE);function sq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ed(e,t,n){return t=Ec(t),pq(e,kP()?Reflect.construct(t,n||[],Ec(e).constructor):t.apply(e,n))}function nd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(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&&rd(e,t)}function pq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:sq(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(e,t)}function dq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kP=function(){return!!e})()}var vq=function(e){od(t,e);function t(n){nd(this,t);var o;return o=ed(this,t,[n]),Q(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Q(o,"businessScope",{type:"any"}),xo.call(o,n,rn.controlCustomAttributes),n.businessType===We.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return t}(J),hq=function(e){od(t,e);function t(n){nd(this,t);var o;return o=ed(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Sc=function(e){od(t,e);function t(n){nd(this,t);var o;o=ed(this,t,[n]),Q(o,"showType",void 0),Q(o,"range",void 0),Q(o,"defaultValueType",void 0),Q(o,"multiple",void 0),Q(o,"rangeOptions",void 0),Q(o,"defaultValue",void 0),Q(o,"displayLevel",void 0),Q(o,"showSubDept",void 0),Q(o,"multistageFilling",void 0),Q(o,"datasourceBind",void 0),Q(o,"datasourceType",void 0),Q(o,"businessType",void 0),Q(o,"businessScope",void 0),Q(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:rn.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u90E8\u95E8";var m;o.datasourceBind=new Io((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:rn.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:Hb.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:We.ALL;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(T){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new st(T))})),o}return t}(D);Q(Sc,"Rules",vq),Q(Sc,"RuntimeRules",hq);function bq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gq(e,t,n){return t=on(t),$q(e,xP()?Reflect.construct(t,n||[],on(e).constructor):t.apply(e,n))}function mq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Oq(e,t,n){return t&&DP(e.prototype,t),n&&DP(e,n),e}function Tc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Rc=Reflect.get:Rc=function(r,i,u){var c=Pq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Rc(e,t,n||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},on(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&&id(e,t)}function $q(e,t){return t&&(Eq(t)==="object"||typeof t=="function")?t:bq(e)}function id(e,t){return id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},id(e,t)}function Pq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function Eq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xP=function(){return!!e})()}var rn=function(e){wq(t,e);function t(n){mq(this,t);var o;return o=gq(this,t,[n]),Tc(o,"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return Oq(t,[{key:"toDataBindModel",value:function(o){var r=Rc(on(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{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}]}}]),t}(x);Tc(rn,"controlName","\u90E8\u95E8"),Tc(rn,"controlFieldType",g.DEPARTMENTS),Tc(rn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.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 Sq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tq(e,t,n){return t=Ic(t),Aq(e,jP()?Reflect.construct(t,n||[],Ic(e).constructor):t.apply(e,n))}function Rq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Iq(e,t,n){return t&&LP(e.prototype,t),n&&LP(e,n),e}function FP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(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&&ud(e,t)}function Aq(e,t){return t&&(kq(t)==="object"||typeof t=="function")?t:Sq(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ud(e,t)}function kq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jP=function(){return!!e})()}var Dq=function(e){Bq(t,e);function t(n){Rq(this,t);var o;return o=Tq(this,t,[n]),FP(o,"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return Iq(t,null,[{key:"controlType",get:function(){return"department2"}}]),t}(L);FP(Dq,"controlFieldType",g.DEPARTMENTS);function xq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cd(e,t,n){return t=Bc(t),Lq(e,MP()?Reflect.construct(t,n||[],Bc(e).constructor):t.apply(e,n))}function ld(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bc(e)}function ad(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function Lq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:xq(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fd(e,t)}function Fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MP=function(){return!!e})()}var jq=function(e){ad(t,e);function t(n){ld(this,t);var o;return o=cd(this,t,[n]),C(o,"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),C(o,"businessScope",{type:"any"}),xo.call(o,n,cn.controlCustomAttributes),n.businessType===We.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return t}(J),Mq=function(e){ad(t,e);function t(n){ld(this,t);var o;return o=cd(this,t,[n]),o[0]!==void 0&&(o[0].type="array"),o}return t}(z),Ac=function(e){ad(t,e);function t(n){ld(this,t);var o;o=cd(this,t,[n]),C(o,"showType",void 0),C(o,"range",void 0),C(o,"defaultValueType",void 0),C(o,"multiple",void 0),C(o,"rangeOptions",void 0),C(o,"defaultValue",void 0),C(o,"displayLevel",void 0),C(o,"showSubDept",void 0),C(o,"multistageFilling",void 0),C(o,"datasourceBind",void 0),C(o,"listPageBind",void 0),C(o,"datasourceType",void 0),C(o,"businessType",void 0),C(o,"businessScope",void 0),C(o,"organizingFunction",void 0),C(o,"organizationView",void 0),C(o,"openMultistageFilling",void 0),C(o,"showSelectedDetail",void 0),C(o,"selectedContentConfig",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all",o.listPageBind=new ef(n==null?void 0:n.listPageBind);var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:cn.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var m;o.datasourceBind=new rk((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:cn.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:Hb.INTERNAL;var w;o.businessScope=(w=n==null?void 0:n.businessScope)!==null&&w!==void 0?w:[];var h;o.businessType=(h=n==null?void 0:n.businessType)!==null&&h!==void 0?h:We.ALL;var $;o.organizingFunction=($=n==null?void 0:n.organizingFunction)!==null&&$!==void 0?$:void 0;var T;o.organizationView=(T=n==null?void 0:n.organizationView)!==null&&T!==void 0?T:void 0;var P;o.showSelectedDetail=(P=n==null?void 0:n.showSelectedDetail)!==null&&P!==void 0?P:!1,o.selectedContentConfig=new uf(n==null?void 0:n.selectedContentConfig);var S;return o.openMultistageFilling=(S=n==null?void 0:n.openMultistageFilling)!==null&&S!==void 0?S:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(F){var A;(A=o.multistageFilling)===null||A===void 0||A.push(new st(F))})),o}return t}(D);C(Ac,"Rules",jq),C(Ac,"RuntimeRules",Mq);function Nq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vq(e,t,n){return t=un(t),qq(e,VP()?Reflect.construct(t,n||[],un(e).constructor):t.apply(e,n))}function zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Cq(e,t,n){return t&&NP(e.prototype,t),n&&NP(e,n),e}function kc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dc(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Dc=Reflect.get:Dc=function(r,i,u){var c=Uq(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Dc(e,t,n||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(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&&_d(e,t)}function qq(e,t){return t&&(Wq(t)==="object"||typeof t=="function")?t:Nq(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_d(e,t)}function Uq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}function Wq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VP=function(){return!!e})()}var cn=function(e){Hq(t,e);function t(n){zq(this,t);var o;return o=Vq(this,t,[n]),kc(o,"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return Cq(t,[{key:"toDataBindModel",value:function(o){var r=Dc(un(t.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,u=i.displayLevel,c=i.showSubDept;r.props.displayLevel=u,r.props.showSubDept=c}return r}}],[{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}]}}]),t}(x);kc(cn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),kc(cn,"controlFieldType",g.DEPARTMENTS),kc(cn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.MULTIPLE,f.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 Kq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gq(e,t,n){return t=xc(t),Zq(e,HP()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}function Xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Qq(e,t,n){return t&&zP(e.prototype,t),n&&zP(e,n),e}function CP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(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&&yd(e,t)}function Zq(e,t){return t&&(Yq(t)==="object"||typeof t=="function")?t:Kq(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yd(e,t)}function Yq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(HP=function(){return!!e})()}var tU=function(e){Jq(t,e);function t(n){Xq(this,t);var o;return o=Gq(this,t,[n]),CP(o,"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return Qq(t,null,[{key:"controlType",get:function(){return"organization-selection"}}]),t}(L);CP(tU,"controlFieldType",g.DEPARTMENTS);function eU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sd(e,t,n){return t=Lc(t),nU(e,qP()?Reflect.construct(t,n||[],Lc(e).constructor):t.apply(e,n))}function pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(e)}function dd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function nU(e,t){return t&&(oU(t)==="object"||typeof t=="function")?t:eU(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vd(e,t)}function oU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qP=function(){return!!e})()}var rU=function(e){dd(t,e);function t(n){pd(this,t);var o;return o=sd(this,t,[n]),jt(o,"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),jt(o,"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),jt(o,"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=Ue(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return t}(J),iU=function(e){dd(t,e);function t(n){pd(this,t);var o;return o=sd(this,t,[n]),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:Ue(n.regularRules.expression),message:n.regularRules.errMessage}),o}return t}(z),Fc=function(e){dd(t,e);function t(n){pd(this,t);var o;o=sd(this,t,[n]),jt(o,"maxLength",void 0),jt(o,"minLength",void 0),jt(o,"regularRules",void 0),jt(o,"defaultValue",void 0),jt(o,"encrypted",void 0),jt(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new Bo(n==null?void 0:n.regularRules);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Nc.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var l;o.encrypted=(l=n==null?void 0:n.encrypted)!==null&&l!==void 0?l:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return t}(D);jt(Fc,"Rules",rU),jt(Fc,"RuntimeRules",iU);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,n){return t=Mc(t),_U(e,WP()?Reflect.construct(t,n||[],Mc(e).constructor):t.apply(e,n))}function lU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aU(e,t,n){return t&&UP(e.prototype,t),n&&UP(e,n),e}function jc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mc(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&&hd(e,t)}function _U(e,t){return t&&(yU(t)==="object"||typeof t=="function")?t:uU(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hd(e,t)}function yU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WP=function(){return!!e})()}var Nc=function(e){fU(t,e);function t(n){lU(this,t);var o;return o=cU(this,t,[n]),jc(o,"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return aU(t,null,[{key:"controlName",get:function(){return"\u654F\u611F\u4FE1\u606F"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"sensitiven-information"}}]),t}(x);jc(Nc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),jc(Nc,"controlFieldType",g.VARCHAR),jc(Nc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[f.CAPTION_SIZE,f.CAPTION_COLOR,f.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[f.REQUIRED,f.IS_HIDE,f.IS_HIDE_CAPTION,f.IS_SHOW_CAPTION_TIP,f.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 sU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pU(e,t,n){return t=Vc(t),bU(e,XP()?Reflect.construct(t,n||[],Vc(e).constructor):t.apply(e,n))}function dU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function vU(e,t,n){return t&&KP(e.prototype,t),n&&KP(e,n),e}function GP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(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&&bd(e,t)}function bU(e,t){return t&&(gU(t)==="object"||typeof t=="function")?t:sU(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bd(e,t)}function gU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XP=function(){return!!e})()}var mU=function(e){hU(t,e);function t(n){dU(this,t);var o;return o=pU(this,t,[n]),GP(o,"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return vU(t,null,[{key:"controlType",get:function(){return"sensitiven-information"}}]),t}(L);GP(mU,"controlFieldType",g.VARCHAR);function OU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wU(e,t,n){return t=zc(t),TU(e,JP()?Reflect.construct(t,n||[],zc(e).constructor):t.apply(e,n))}function $U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QP(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function PU(e,t,n){return t&&QP(e.prototype,t),n&&QP(e,n),e}function EU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(e)}function SU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function TU(e,t){return t&&(RU(t)==="object"||typeof t=="function")?t:OU(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(e,t)}function RU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JP=function(){return!!e})()}var IU=function(e){SU(t,e);function t(n){return $U(this,t),wU(this,t,[n])}return PU(t,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),t}(Y);EU(IU,"excludes",[y.GRID]);function BU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AU(e,t,n){return t=Cc(t),xU(e,YP()?Reflect.construct(t,n||[],Cc(e).constructor):t.apply(e,n))}function kU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(e)}function DU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function xU(e,t){return t&&(LU(t)==="object"||typeof t=="function")?t:BU(e)}function md(e,t){return md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},md(e,t)}function LU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YP=function(){return!!e})()}var FU=24,_o=function(e){DU(t,e);function t(n){kU(this,t);var o;o=AU(this,t,[n]),ZP(o,"span",void 0),ZP(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:FU;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return t}(Z);function jU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MU(e,t,n){return t=Hc(t),CU(e,eE()?Reflect.construct(t,n||[],Hc(e).constructor):t.apply(e,n))}function NU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function VU(e,t,n){return t&&tE(e.prototype,t),n&&tE(e,n),e}function Od(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(e)}function zU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function CU(e,t){return t&&(HU(t)==="object"||typeof t=="function")?t:jU(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wd(e,t)}function HU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eE=function(){return!!e})()}var yo=function(e){zU(t,e);function t(n){NU(this,t);var o;return o=MU(this,t,[n]),Od(o,"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return VU(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),t}(Y);Od(yo,"excludes",[y.COL,y.CARD_GROUP,y.SUBTABLE,y.SUBTABLE_COLUMN,y.GRID_LAYOUT_CONTAINER,y.DIVIDER]),Od(yo,"childrenMaxLength",1);function qU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UU(e,t,n){return t=qc(t),QU(e,oE()?Reflect.construct(t,n||[],qc(e).constructor):t.apply(e,n))}function WU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KU(e,t,n){return t&&nE(e.prototype,t),n&&nE(e,n),e}function GU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qc(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&&$d(e,t)}function QU(e,t){return t&&(JU(t)==="object"||typeof t=="function")?t:qU(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$d(e,t)}function JU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oE=function(){return!!e})()}var ZU=function(e){XU(t,e);function t(n){WU(this,t);var o;return o=UU(this,t,[n]),GU(o,"props",void 0),o.props=new _o(n==null?void 0:n.props),o}return KU(t,null,[{key:"controlType",get:function(){return"col"}}]),t}(Oe),rE={Designer:yo,Runtime:ZU,Property:_o};function YU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tW(e,t,n){return t=Uc(t),oW(e,uE()?Reflect.construct(t,n||[],Uc(e).constructor):t.apply(e,n))}function eW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(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&&Pd(e,t)}function oW(e,t){return t&&(rW(t)==="object"||typeof t=="function")?t:YU(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(e,t)}function rW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uE=function(){return!!e})()}var Ed=function(e){nW(t,e);function t(n){eW(this,t);var o;o=tW(this,t,[n]),iE(o,"layoutMode",void 0),iE(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return t}(Z);function iW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uW(e,t,n){return t=Wc(t),fW(e,lE()?Reflect.construct(t,n||[],Wc(e).constructor):t.apply(e,n))}function cW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function lW(e,t,n){return t&&cE(e.prototype,t),n&&cE(e,n),e}function Sd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(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&&Td(e,t)}function fW(e,t){return t&&(_W(t)==="object"||typeof t=="function")?t:iW(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(e,t)}function _W(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lE=function(){return!!e})()}var Rd=function(e){aW(t,e);function t(n){cW(this,t);var o;return o=uW(this,t,[n]),Sd(o,"props",void 0),o.props=new Ed(n==null?void 0:n.props),o}return lW(t,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(Y);Sd(Rd,"excludes",[y.ROW]),Sd(Rd,"setting",[{key:"col-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 sW(e,t,n){return t=Kc(t),bW(e,fE()?Reflect.construct(t,n||[],Kc(e).constructor):t.apply(e,n))}function pW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function dW(e,t,n){return t&&aE(e.prototype,t),n&&aE(e,n),e}function vW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(e)}function hW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bW(e,t){return t&&(gW(t)==="object"||typeof t=="function")?t:yW(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Id(e,t)}function gW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fE=function(){return!!e})()}var mW=function(e){hW(t,e);function t(n){pW(this,t);var o;return o=sW(this,t,[n]),vW(o,"props",void 0),o.props=new Ed(n==null?void 0:n.props),o}return dW(t,null,[{key:"controlType",get:function(){return"row"}}]),t}(Oe);function OW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wW(e,t,n){return t=Gc(t),SW(e,yE()?Reflect.construct(t,n||[],Gc(e).constructor):t.apply(e,n))}function $W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _E(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function PW(e,t,n){return t&&_E(e.prototype,t),n&&_E(e,n),e}function Bd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(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&&Ad(e,t)}function SW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:OW(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ad(e,t)}function TW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yE=function(){return!!e})()}var RW=4,Xc=function(e){EW(t,e);function t(n){return $W(this,t),wW(this,t,[n])}return PW(t,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"}}]),t}(Rd);Bd(Xc,"excludes",[y.GRID_ROW]),Bd(Xc,"setting",[]),Bd(Xc,"childrenMaxLength",RW);function IW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BW(e,t,n){return t=Qc(t),xW(e,pE()?Reflect.construct(t,n||[],Qc(e).constructor):t.apply(e,n))}function AW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function kW(e,t,n){return t&&sE(e.prototype,t),n&&sE(e,n),e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(e)}function DW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function xW(e,t){return t&&(LW(t)==="object"||typeof t=="function")?t:IW(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(e,t)}function LW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pE=function(){return!!e})()}var FW=function(e){DW(t,e);function t(n){return AW(this,t),BW(this,t,[n])}return kW(t,null,[{key:"controlType",get:function(){return"grid-row"}}]),t}(mW);function jW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MW(e,t,n){return t=Jc(t),zW(e,dE()?Reflect.construct(t,n||[],Jc(e).constructor):t.apply(e,n))}function NW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(e)}function VW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function zW(e,t){return t&&(CW(t)==="object"||typeof t=="function")?t:jW(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(e,t)}function CW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dE=function(){return!!e})()}var HW=function(e){VW(t,e);function t(n){return NW(this,t),MW(this,t,[n])}return t}(Ed),qW={Designer:Xc,Runtime:FW,Property:HW};function UW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vE(e,t,n){return t=Yc(t),WW(e,gE()?Reflect.construct(t,n||[],Yc(e).constructor):t.apply(e,n))}function hE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(e)}function bE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function WW(e,t){return t&&(KW(t)==="object"||typeof t=="function")?t:UW(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xd(e,t)}function KW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gE=function(){return!!e})()}var GW=function(e){bE(t,e);function t(){hE(this,t);var n;return n=vE(this,t,arguments),Zc(n,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),n}return t}(Z.Rules),mE=function(e){bE(t,e);function t(n){hE(this,t);var o;o=vE(this,t,[n]),Zc(o,"caption",void 0),Zc(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"\u5206\u7EC4";var i;return o.collapse=(i=n==null?void 0:n.collapse)!==null&&i!==void 0?i:"none",o}return t}(Z);Zc(mE,"Rules",GW);function XW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QW(e,t,n){return t=tl(t),tK(e,wE()?Reflect.construct(t,n||[],tl(e).constructor):t.apply(e,n))}function JW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ZW(e,t,n){return t&&OE(e.prototype,t),n&&OE(e,n),e}function Ld(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(e)}function YW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tK(e,t){return t&&(eK(t)==="object"||typeof t=="function")?t:XW(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fd(e,t)}function eK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(wE=function(){return!!e})()}var $E=function(e){YW(t,e);function t(n){JW(this,t);var o;return o=QW(this,t,[n]),Ld(o,"props",void 0),o.props=new mE(n==null?void 0:n.props),o}return ZW(t,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),t}(Y);Ld($E,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Ld($E,"excludes",[y.CARD_GROUP]);function nK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PE(e,t,n){return t=el(t),oK(e,TE()?Reflect.construct(t,n||[],el(e).constructor):t.apply(e,n))}function EE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(e)}function SE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function oK(e,t){return t&&(rK(t)==="object"||typeof t=="function")?t:nK(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jd(e,t)}function rK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TE=function(){return!!e})()}var iK=function(e){SE(t,e);function t(n){EE(this,t);var o;return o=PE(this,t,[n]),qt(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),qt(o,"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),qt(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return t}(W),nl=function(e){SE(t,e);function t(n){EE(this,t);var o;o=PE(this,t,[n]),qt(o,"metaAutoWidth",void 0),qt(o,"caption",void 0),qt(o,"fixed",void 0),qt(o,"isShowCaptionTip",void 0),qt(o,"captionTip",void 0),qt(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var u;o.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var c;o.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new D0(n==null?void 0:n.metaAutoWidth),o}return t}(Z);qt(nl,"Rules",iK);function uK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cK(e,t,n){return t=ol(t),fK(e,RE()?Reflect.construct(t,n||[],ol(e).constructor):t.apply(e,n))}function lK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ol(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&&Md(e,t)}function fK(e,t){return t&&(_K(t)==="object"||typeof t=="function")?t:uK(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(e,t)}function _K(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RE=function(){return!!e})()}var Mt=function(e){aK(t,e);function t(n){lK(this,t);var o;return o=cK(this,t,[n]),Pe(o,"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return t}(Y);Pe(Mt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Pe(Mt,"controlType","subtable-column"),Pe(Mt,"controlIcon","subtable-column"),Pe(Mt,"childrenMaxLength",1),Pe(Mt,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Pe(Mt,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",showItems:[f.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function yK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sK(e,t,n){return t=rl(t),vK(e,BE()?Reflect.construct(t,n||[],rl(e).constructor):t.apply(e,n))}function pK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(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&&Nd(e,t)}function vK(e,t){return t&&(hK(t)==="object"||typeof t=="function")?t:yK(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nd(e,t)}function hK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BE=function(){return!!e})()}var AE=function(e){dK(t,e);function t(n){pK(this,t);var o;return o=sK(this,t,[n]),IE(o,"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return t}(Oe);IE(AE,"controlType","subtable-column");var bK={Designer:Mt,Runtime:AE,Property:nl};function gK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mK(e,t,n){return t=il(t),$K(e,kE()?Reflect.construct(t,n||[],il(e).constructor):t.apply(e,n))}function OK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(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&&Vd(e,t)}function $K(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:gK(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vd(e,t)}function PK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kE=function(){return!!e})()}var EK=function(e){wK(t,e);function t(n){return OK(this,t),mK(this,t,[n])}return t}(Z);function SK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TK(e,t,n){return t=ul(t),BK(e,DE()?Reflect.construct(t,n||[],ul(e).constructor):t.apply(e,n))}function RK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function IK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function BK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:SK(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(e,t)}function AK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DE=function(){return!!e})()}var ln=function(e){IK(t,e);function t(n){RK(this,t);var o;return o=TK(this,t,[n]),Ee(o,"props",void 0),o.props=new EK(n==null?void 0:n.props),o}return t}(Y);Ee(ln,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Ee(ln,"controlType","subtable-row"),Ee(ln,"controlIcon","subtable-row"),Ee(ln,"childrenMaxLength",1),Ee(ln,"excludes",[y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Ee(ln,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0}]);function kK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DK(e,t,n){return t=cl(t),FK(e,xE()?Reflect.construct(t,n||[],cl(e).constructor):t.apply(e,n))}function xK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(e)}function LK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function FK(e,t){return t&&(jK(t)==="object"||typeof t=="function")?t:kK(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cd(e,t)}function jK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xE=function(){return!!e})()}var LE=function(e){LK(t,e);function t(n){xK(this,t);var o;o=DK(this,t,[n]),Tt(o,"widthType",void 0),Tt(o,"width",void 0),Tt(o,"caption",void 0),Tt(o,"fieldCode",void 0),Tt(o,"fieldType",void 0),Tt(o,"fieldName",void 0),Tt(o,"datasourceBind",void 0),Tt(o,"fixed",void 0),Tt(o,"textCleanFormart",void 0),Tt(o,"decimalKeepPrecision",void 0),Tt(o,"timestampDateType",void 0),Tt(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";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.fieldCode=(c=n==null?void 0:n.fieldCode)!==null&&c!==void 0?c:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:g.VARCHAR;var l;o.fieldName=(l=n==null?void 0:n.fieldName)!==null&&l!==void 0?l:"",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var s;o.decimalKeepPrecision=(s=n==null?void 0:n.decimalKeepPrecision)!==null&&s!==void 0?s:0;var d;o.timestampDateType=(d=n==null?void 0:n.timestampDateType)!==null&&d!==void 0?d:xe.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return t}(Z);function MK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NK(e,t,n){return t=ll(t),CK(e,FE()?Reflect.construct(t,n||[],ll(e).constructor):t.apply(e,n))}function VK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(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&&Hd(e,t)}function CK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:MK(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(FE=function(){return!!e})()}var an=function(e){zK(t,e);function t(n){VK(this,t);var o;return o=NK(this,t,[n]),Se(o,"props",void 0),o.props=new LE(n==null?void 0:n.props),o}return t}(Y);Se(an,"controlName","\u5217\u8868\u5355\u5143\u683C"),Se(an,"controlType","gridtable-column"),Se(an,"controlIcon","gridtable-column"),Se(an,"childrenMaxLength",1),Se(an,"excludes",[y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT]),Se(an,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function qK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UK(e,t,n){return t=al(t),GK(e,ME()?Reflect.construct(t,n||[],al(e).constructor):t.apply(e,n))}function WK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(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&&qd(e,t)}function GK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:qK(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(e,t)}function XK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ME(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ME=function(){return!!e})()}var QK=function(e){KK(t,e);function t(n){WK(this,t);var o;return o=UK(this,t,[n]),jE(o,"props",void 0),o.props=new LE(n==null?void 0:n.props),o}return t}(Oe);jE(QK,"controlType","gridtable-column");function JK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZK(e,t,n){return t=fl(t),eG(e,VE()?Reflect.construct(t,n||[],fl(e).constructor):t.apply(e,n))}function YK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(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&&Ud(e,t)}function eG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:JK(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(e,t)}function nG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VE=function(){return!!e})()}var oG=function(e){tG(t,e);function t(n){YK(this,t);var o;o=ZK(this,t,[n]),NE(o,"childMinWidth",void 0),NE(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return t}(Z);function rG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iG(e,t,n){return t=_l(t),aG(e,CE()?Reflect.construct(t,n||[],_l(e).constructor):t.apply(e,n))}function uG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function cG(e,t,n){return t&&zE(e.prototype,t),n&&zE(e,n),e}function Wd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(e)}function lG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function aG(e,t){return t&&(fG(t)==="object"||typeof t=="function")?t:rG(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(e,t)}function fG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(CE=function(){return!!e})()}var HE=function(e){lG(t,e);function t(n){uG(this,t);var o;return o=iG(this,t,[n]),Wd(o,"props",void 0),o.props=new oG(n==null?void 0:n.props),o}return cG(t,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"}}]),t}(Y);Wd(HE,"excludes",[y.GRID_LAYOUT_CONTAINER,y.CARD_GROUP,y.TAB]),Wd(HE,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function _G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(e,t,n){return t=yl(t),vG(e,qE()?Reflect.construct(t,n||[],yl(e).constructor):t.apply(e,n))}function sG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(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&&Gd(e,t)}function vG(e,t){return t&&(hG(t)==="object"||typeof t=="function")?t:_G(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gd(e,t)}function hG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qE=function(){return!!e})()}var bG=function(e){dG(t,e);function t(n){sG(this,t);var o;o=yG(this,t,[n]),pG(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return t}(Z);function gG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UE(e,t,n){return t=sl(t),mG(e,GE()?Reflect.construct(t,n||[],sl(e).constructor):t.apply(e,n))}function WE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(e)}function KE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:gG(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qd(e,t)}function OG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GE=function(){return!!e})()}var wG=function(e){KE(t,e);function t(n){WE(this,t);var o;return o=UE(this,t,[n]),Xd(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),o}return t}(W),XE=function(e){KE(t,e);function t(n){WE(this,t);var o;o=UE(this,t,[n]),Xd(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:bl.controlName,o}return t}(Z);Xd(XE,"Rules",wG);function $G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PG(e,t,n){return t=pl(t),RG(e,JE()?Reflect.construct(t,n||[],pl(e).constructor):t.apply(e,n))}function EG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function SG(e,t,n){return t&&QE(e.prototype,t),n&&QE(e,n),e}function Jd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(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&&Zd(e,t)}function RG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:$G(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zd(e,t)}function IG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JE=function(){return!!e})()}var dl=function(e){TG(t,e);function t(n){EG(this,t);var o;return o=PG(this,t,[n]),Jd(o,"props",void 0),o.props=new XE(n==null?void 0:n.props),o}return SG(t,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),t}(Y);Jd(dl,"excludes",[y.TAB]),Jd(dl,"setting",[{key:"caption",showItems:[f.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE]},{key:"super-setting",visible:!0}]);function BG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AG(e,t,n){return t=hl(t),LG(e,YE()?Reflect.construct(t,n||[],hl(e).constructor):t.apply(e,n))}function kG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZE(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function DG(e,t,n){return t&&ZE(e.prototype,t),n&&ZE(e,n),e}function vl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(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&&Yd(e,t)}function LG(e,t){return t&&(FG(t)==="object"||typeof t=="function")?t:BG(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(e,t)}function FG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YE=function(){return!!e})()}var bl=function(e){xG(t,e);function t(n){kG(this,t);var o;o=AG(this,t,[n]),vl(o,"props",void 0),o.props=new bG(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new dl,new dl],o}return DG(t,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),t}(Y);vl(bl,"excludes",[y.TAB]),vl(bl,"controlEventKeys",["on_change_tab"]),vl(bl,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function jG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MG(e,t,n){return t=gl(t),zG(e,tS()?Reflect.construct(t,n||[],gl(e).constructor):t.apply(e,n))}function NG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gl(e)}function VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function zG(e,t){return t&&(CG(t)==="object"||typeof t=="function")?t:jG(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(e,t)}function CG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tS=function(){return!!e})()}var HG=function(e){VG(t,e);function t(n){return NG(this,t),MG(this,t,[n])}return t}(Z);function qG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UG(e,t,n){return t=ml(t),XG(e,oS()?Reflect.construct(t,n||[],ml(e).constructor):t.apply(e,n))}function WG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KG(e,t,n){return t&&eS(e.prototype,t),n&&eS(e,n),e}function nS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(e)}function GG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function XG(e,t){return t&&(QG(t)==="object"||typeof t=="function")?t:qG(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ev(e,t)}function QG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oS=function(){return!!e})()}var JG=function(e){GG(t,e);function t(n){WG(this,t);var o;return o=UG(this,t,[n]),nS(o,"props",void 0),o.props=new HG({}),o.children=(n==null?void 0:n.children)||[new yo({props:new _o({span:12})}),new yo({props:new _o({span:12})})],o}return KG(t,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),t}(Y);nS(JG,"excludes",[y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX]);function ZG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nv(e,t,n){return t=Ol(t),YG(e,rS()?Reflect.construct(t,n||[],Ol(e).constructor):t.apply(e,n))}function ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(e)}function rv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function YG(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:ZG(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(e,t)}function tX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rS=function(){return!!e})()}var eX=function(e){rv(t,e);function t(n){ov(this,t);var o;return o=nv(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(me),nX=function(e){rv(t,e);function t(n){ov(this,t);var o;if(o=nv(this,t,[n]),V(o,"triggerFieldCode",{type:"any"}),V(o,"datasourceBind",{type:"any"}),V(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),mf.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return t}(W),so=function(e){rv(t,e);function t(n){ov(this,t);var o,r,i;o=nv(this,t,[n]),V(o,"datasourceBind",void 0),V(o,"isLoading",void 0),V(o,"isShowSubList",void 0),V(o,"triggerType",void 0),V(o,"triggerFieldCode",void 0),V(o,"sublistPage",void 0),V(o,"isShowJoinRelation",void 0),V(o,"joinRelation",void 0),V(o,"showType",void 0),V(o,"showFullScreen",void 0),V(o,"isFixedHeader",void 0),V(o,"selectionType",void 0),V(o,"isShowSelection",void 0),V(o,"isAllLoaded",void 0),V(o,"countType",void 0),V(o,"countLimit",void 0),V(o,"rowStyleType",void 0),V(o,"rowStyleBgColor",void 0),V(o,"rowStyleRules",void 0),V(o,"rowStyleRulesScript",void 0),o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new tk(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new nk(n==null?void 0:n.joinRelation);var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"stretch";var d;o.showFullScreen=(d=n==null?void 0:n.showFullScreen)!==null&&d!==void 0?d:!1;var b;o.selectionType=(b=n==null?void 0:n.selectionType)!==null&&b!==void 0?b:"multiple";var m;o.isFixedHeader=(m=n==null?void 0:n.isFixedHeader)!==null&&m!==void 0?m:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var w;o.isAllLoaded=(w=n==null?void 0:n.isAllLoaded)!==null&&w!==void 0?w:!0,o.countType=n==null?void 0:n.countType;var h;o.countLimit=(h=n==null?void 0:n.countLimit)!==null&&h!==void 0?h:1e5;var $;o.rowStyleType=($=n==null?void 0:n.rowStyleType)!==null&&$!==void 0?$:"none";var T;o.rowStyleBgColor=(T=n==null?void 0:n.rowStyleBgColor)!==null&&T!==void 0?T:"theme";var P;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?(P=n==null||(r=n.rowStyleRules)===null||r===void 0?void 0:r.map(function(F){return new bk(F)}))!==null&&P!==void 0?P:[]:[];var S;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(S=n==null||(i=n.rowStyleRulesScript)===null||i===void 0?void 0:i.map(function(F){return new gk(F)}))!==null&&S!==void 0?S:[]:[],o}return t}(Z);V(so,"Rules",nX),V(so,"RuntimeRules",eX);function oX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rX(e,t,n){return t=$l(t),lX(e,uS()?Reflect.construct(t,n||[],$l(e).constructor):t.apply(e,n))}function iX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uX(e,t,n){return t&&iS(e.prototype,t),n&&iS(e,n),e}function wl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(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&&uv(e,t)}function lX(e,t){return t&&(aX(t)==="object"||typeof t=="function")?t:oX(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(e,t)}function aX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uS=function(){return!!e})()}var Pl=function(e){cX(t,e);function t(n){iX(this,t);var o;return o=rX(this,t,[n]),wl(o,"props",void 0),o.props=new so(n==null?void 0:n.props),o}return uX(t,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),t}(Y);wl(Pl,"excludes",[y.ROW]),wl(Pl,"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"]),wl(Pl,"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 fX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _X(e,t,n){return t=El(t),vX(e,lS()?Reflect.construct(t,n||[],El(e).constructor):t.apply(e,n))}function yX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function sX(e,t,n){return t&&cS(e.prototype,t),n&&cS(e,n),e}function pX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},El(e)}function dX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vX(e,t){return t&&(hX(t)==="object"||typeof t=="function")?t:fX(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cv(e,t)}function hX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lS=function(){return!!e})()}var bX=function(e){dX(t,e);function t(n){yX(this,t);var o;return o=_X(this,t,[n]),pX(o,"props",void 0),o.props=new so(n==null?void 0:n.props),o}return sX(t,null,[{key:"controlType",get:function(){return"list-view"}}]),t}(Oe),gX={Designer:Pl,Runtime:bX,Property:so};function mX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aS(e,t,n){return t=Sl(t),OX(e,yS()?Reflect.construct(t,n||[],Sl(e).constructor):t.apply(e,n))}function fS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(e)}function _S(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lv(e,t)}function OX(e,t){return t&&(wX(t)==="object"||typeof t=="function")?t:mX(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lv(e,t)}function wX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yS=function(){return!!e})()}var $X=function(e){_S(t,e);function t(n){fS(this,t);var o;return o=aS(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(me),Tl=function(e){_S(t,e);function t(n){fS(this,t);var o;o=aS(this,t,[n]),he(o,"save",void 0),he(o,"cancel",void 0),he(o,"saveAs",void 0),he(o,"print",void 0),he(o,"custom",void 0),he(o,"isLoading",void 0),he(o,"datasourceBind",void 0);var r;o.save=new ie((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var i;o.cancel=new ie((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var u;o.saveAs=new ie((u=n==null?void 0:n.saveAs)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;o.print=new ie((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(_){return new ie(_)});var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o.datasourceBind=new G(n==null?void 0:n.datasourceBind),o}return t}(Z);he(Tl,"RuntimeRules",$X);function PX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EX(e,t,n){return t=Rl(t),IX(e,dS()?Reflect.construct(t,n||[],Rl(e).constructor):t.apply(e,n))}function SX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function TX(e,t,n){return t&&sS(e.prototype,t),n&&sS(e,n),e}function pS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(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&&av(e,t)}function IX(e,t){return t&&(BX(t)==="object"||typeof t=="function")?t:PX(e)}function av(e,t){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(e,t)}function BX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dS=function(){return!!e})()}var vS=function(e){RX(t,e);function t(n){SX(this,t);var o;return o=EX(this,t,[n]),pS(o,"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return TX(t,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),t}(Y);pS(vS,"excludes",[]);function AX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kX(e,t,n){return t=Il(t),jX(e,bS()?Reflect.construct(t,n||[],Il(e).constructor):t.apply(e,n))}function DX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xX(e,t,n){return t&&hS(e.prototype,t),n&&hS(e,n),e}function LX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(e)}function FX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function jX(e,t){return t&&(MX(t)==="object"||typeof t=="function")?t:AX(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(e,t)}function MX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bS=function(){return!!e})()}var NX=function(e){FX(t,e);function t(n){DX(this,t);var o;return o=kX(this,t,[n]),LX(o,"props",void 0),o.props=new Tl(n==null?void 0:n.props),o}return xX(t,null,[{key:"controlType",get:function(){return"data-view"}}]),t}(Oe),VX={Designer:vS,Runtime:NX,Property:Tl};function zX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CX(e,t,n){return t=Bl(t),UX(e,gS()?Reflect.construct(t,n||[],Bl(e).constructor):t.apply(e,n))}function HX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(e)}function qX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function UX(e,t){return t&&(WX(t)==="object"||typeof t=="function")?t:zX(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(e,t)}function WX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gS=function(){return!!e})()}var KX=function(e){qX(t,e);function t(n){HX(this,t);var o;o=CX(this,t,[n]),_v(o,"position",void 0),_v(o,"opacity",void 0),_v(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var u;return o.align=(u=n==null?void 0:n.align)!==null&&u!==void 0?u:"right",o}return t}(Z);function GX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XX(e,t,n){return t=Al(t),YX(e,OS()?Reflect.construct(t,n||[],Al(e).constructor):t.apply(e,n))}function QX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function JX(e,t,n){return t&&mS(e.prototype,t),n&&mS(e,n),e}function sv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(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&&pv(e,t)}function YX(e,t){return t&&(tQ(t)==="object"||typeof t=="function")?t:GX(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(e,t)}function tQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OS=function(){return!!e})()}var wS=function(e){ZX(t,e);function t(n){QX(this,t);var o;o=XX(this,t,[n]),sv(o,"props",void 0);var r;return o.props=new KX((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return JX(t,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"}}]),t}(Y);sv(wS,"excludes",[]),sv(wS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function eQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dv(e,t,n){return t=kl(t),nQ(e,$S()?Reflect.construct(t,n||[],kl(e).constructor):t.apply(e,n))}function vv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(e)}function hv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function nQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:eQ(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bv(e,t)}function oQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($S=function(){return!!e})()}var rQ=function(e){hv(t,e);function t(n){vv(this,t);var o;return o=dv(this,t,[n]),R(o,"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),R(o,"limitRows",[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}]),R(o,"formKey",{type:"string",required:!1,message:p.getMessage("pleaseEnterForm")}),R(o,"maxHeight",{type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")}),R(o,"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),R(o,"mobileRowCaption",{type:"string",required:!1,message:p.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return t}(W),iQ=function(e){hv(t,e);function t(n){vv(this,t);var o;return o=dv(this,t,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:p.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,u,c){u.length<n.limitRows&&c(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),c()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return t}(me),gv=function(e){hv(t,e);function t(n,o){vv(this,t);var r;r=dv(this,t,[n,o,t.mode]),R(r,"caption",void 0),R(r,"labelPosition",void 0),R(r,"isHideCaption",void 0),R(r,"isShowCaptionTip",void 0),R(r,"captionTip",void 0),R(r,"defaultState",void 0),R(r,"limitRows",void 0),R(r,"maxRows",void 0),R(r,"defaultRows",void 0),R(r,"datasourceBind",void 0),R(r,"printMode",void 0),R(r,"openType",void 0),R(r,"formKey",void 0),R(r,"useCustomHeight",void 0),R(r,"maxHeight",void 0),R(r,"canAdd",void 0),R(r,"canDelete",void 0),R(r,"canCheck",void 0),R(r,"canEdit",void 0),R(r,"canImport",void 0),R(r,"canExport",void 0),R(r,"canClear",void 0),R(r,"isPaste",void 0),R(r,"mobileShowType",void 0),R(r,"mobileDefaultNum",void 0),R(r,"dataStorageDoc",void 0),R(r,"serverPagination",void 0),R(r,"fixedColumn",void 0),R(r,"mobileRowCaption",void 0),R(r,"mobileIsTile",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:wv.controlName;var u;r.isHideCaption=(u=o==null?void 0:o.isHideCaption)!==null&&u!==void 0?u:!1;var c;r.defaultState=(c=o==null?void 0:o.defaultState)!==null&&c!==void 0?c:"default";var a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var l;r.openType=(l=o==null?void 0:o.openType)!==null&&l!==void 0?l:"default";var _;r.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var s;r.useCustomHeight=(s=o==null?void 0:o.useCustomHeight)!==null&&s!==void 0?s:!1;var d;r.maxHeight=(d=o==null?void 0:o.maxHeight)!==null&&d!==void 0?d:cL;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var m;r.limitRows=(m=o==null?void 0:o.limitRows)!==null&&m!==void 0?m:1;var O;r.maxRows=(O=o==null?void 0:o.maxRows)!==null&&O!==void 0?O:null;var w;r.defaultRows=(w=o==null?void 0:o.defaultRows)!==null&&w!==void 0?w:1,r.datasourceBind=new G(o==null?void 0:o.datasourceBind);var h;r.canAdd=(h=o==null?void 0:o.canAdd)!==null&&h!==void 0?h:!0;var $;r.canDelete=($=o==null?void 0:o.canDelete)!==null&&$!==void 0?$:!0;var T;r.canCheck=(T=o==null?void 0:o.canCheck)!==null&&T!==void 0?T:!1;var P;r.canEdit=(P=o==null?void 0:o.canEdit)!==null&&P!==void 0?P:!1;var S;r.canImport=(S=o==null?void 0:o.canImport)!==null&&S!==void 0?S:!1;var F;r.canExport=(F=o==null?void 0:o.canExport)!==null&&F!==void 0?F:!1;var A;r.canClear=(A=o==null?void 0:o.canClear)!==null&&A!==void 0?A:!0;var ut;r.serverPagination=(ut=o==null?void 0:o.serverPagination)!==null&&ut!==void 0?ut:!1;var I;r.isShowCaptionTip=(I=o==null?void 0:o.isShowCaptionTip)!==null&&I!==void 0?I:!1;var Wt;r.captionTip=(Wt=o==null?void 0:o.captionTip)!==null&&Wt!==void 0?Wt:"";var wo;r.mobileShowType=(wo=o==null?void 0:o.mobileShowType)!==null&&wo!==void 0?wo:"list";var Wn;r.mobileDefaultNum=(Wn=o==null?void 0:o.mobileDefaultNum)!==null&&Wn!==void 0?Wn:10;var ke;r.dataStorageDoc=(ke=o==null?void 0:o.dataStorageDoc)!==null&&ke!==void 0?ke:new QA;var Kt;r.fixedColumn=(Kt=o==null?void 0:o.fixedColumn)!==null&&Kt!==void 0?Kt:[];var u0;r.mobileRowCaption=(u0=o==null?void 0:o.mobileRowCaption)!==null&&u0!==void 0?u0:"\u660E\u7EC6";var c0;r.mobileIsTile=(c0=o==null?void 0:o.mobileIsTile)!==null&&c0!==void 0?c0:!1;var l0;r.isPaste=(l0=o==null?void 0:o.isPaste)!==null&&l0!==void 0?l0:!1;var a0;r.pageSize=(a0=o==null?void 0:o.pageSize)!==null&&a0!==void 0?a0:10;var f0;return r.pageSizeOptions=(f0=o==null?void 0:o.pageSizeOptions)!==null&&f0!==void 0?f0:[10,20,50,100],r}return t}(Af);R(gv,"Rules",rQ),R(gv,"RuntimeRules",iQ);function uQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cQ(e,t,n){return t=Dl(t),_Q(e,ES()?Reflect.construct(t,n||[],Dl(e).constructor):t.apply(e,n))}function lQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aQ(e,t,n){return t&&PS(e.prototype,t),n&&PS(e,n),e}function mv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(e)}function fQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function _Q(e,t){return t&&(yQ(t)==="object"||typeof t=="function")?t:uQ(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ov(e,t)}function yQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ES(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ES=function(){return!!e})()}var wv=function(e){fQ(t,e);function t(n){lQ(this,t);var o,r,i;return o=cQ(this,t,[n]),mv(o,"props",void 0),o.props=new gv(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new Mt,new Mt,new Mt]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return aQ(t,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new Mt,u=typeof o=="number"?o:r;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),t}(xf);mv(wv,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),mv(wv,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[f.CAPTION,f.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[f.IS_HIDE,f.IS_SHOW_CAPTION_TIP,f.IS_PASTE,f.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 sQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pQ(e,t,n){return t=xl(t),hQ(e,SS()?Reflect.construct(t,n||[],xl(e).constructor):t.apply(e,n))}function dQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(e)}function vQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function hQ(e,t){return t&&(bQ(t)==="object"||typeof t=="function")?t:sQ(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(e,t)}function bQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(SS=function(){return!!e})()}var gQ=function(e){vQ(t,e);function t(n,o){dQ(this,t);var r;r=pQ(this,t,[n,o]),po(r,"isFixedHeader",void 0),po(r,"selectionType",void 0),po(r,"isShowToolbar",void 0),po(r,"isShowSelection",void 0),po(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var u;r.isShowToolbar=(u=o==null?void 0:o.isShowToolbar)!==null&&u!==void 0?u:!0;var c;r.isShowSelection=(c=o==null?void 0:o.isShowSelection)!==null&&c!==void 0?c:!1;var a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var l;return r.pageSizeOptions=(l=o==null?void 0:o.pageSizeOptions)!==null&&l!==void 0?l:[10,20,50,100,500],r}return t}(Af);function mQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TS(e,t,n){return t=Ll(t),wQ(e,BS()?Reflect.construct(t,n||[],Ll(e).constructor):t.apply(e,n))}function RS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OQ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ll(e)}function IS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function wQ(e,t){return t&&($Q(t)==="object"||typeof t=="function")?t:mQ(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pv(e,t)}function $Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(BS=function(){return!!e})()}var PQ=function(e){IS(t,e);function t(n){RS(this,t);var o;return o=TS(this,t,[n]),o.caption.required=!1,o}return t}(zt),Ev=function(e){IS(t,e);function t(n){RS(this,t);var o,r,i;o=TS(this,t,[n]);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"left";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:fn.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var l;o.autoWidth.minWidth=(l=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&l!==void 0?l:60;var _;o.autoWidth.flex=(_=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&_!==void 0?_:.4;var s;return o.widthType=(s=n==null?void 0:n.widthType)!==null&&s!==void 0?s:"px",o}return t}(q);OQ(Ev,"Rules",PQ);function EQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SQ(e,t,n){return t=Fl(t),IQ(e,AS()?Reflect.construct(t,n||[],Fl(e).constructor):t.apply(e,n))}function TQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(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&&Sv(e,t)}function IQ(e,t){return t&&(BQ(t)==="object"||typeof t=="function")?t:EQ(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sv(e,t)}function BQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AS=function(){return!!e})()}var fn=function(e){RQ(t,e);function t(n){TQ(this,t);var o;return o=SQ(this,t,[n]),vo(o,"props",void 0),o.props=new Ev(n==null?void 0:n.props),o}return t}(et);vo(fn,"controlType","order-column"),vo(fn,"controlName","\u5E8F\u53F7"),vo(fn,"controlIcon","order-column"),vo(fn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function AQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kQ(e,t,n){return t=jl(t),LQ(e,kS()?Reflect.construct(t,n||[],jl(e).constructor):t.apply(e,n))}function DQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(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&&Rv(e,t)}function LQ(e,t){return t&&(FQ(t)==="object"||typeof t=="function")?t:AQ(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(e,t)}function FQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kS=function(){return!!e})()}var DS=function(e){xQ(t,e);function t(n){DQ(this,t);var o;return o=kQ(this,t,[n]),Tv(o,"props",void 0),o.props=new Ev(n==null?void 0:n.props),o}return t}(nt);Tv(DS,"controlType","order-column"),Tv(DS,"controlFieldType",g.DECIMAL);function jQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MQ(e,t,n){return t=Ml(t),zQ(e,LS()?Reflect.construct(t,n||[],Ml(e).constructor):t.apply(e,n))}function NQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(e)}function VQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function zQ(e,t){return t&&(CQ(t)==="object"||typeof t=="function")?t:jQ(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(e,t)}function CQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LS=function(){return!!e})()}var FS=function(e){VQ(t,e);function t(n){NQ(this,t);var o,r;o=MQ(this,t,[n]),xS(o,"showType",void 0),xS(o,"limit",void 0);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right",o.widthType="auto";var u;o.autoWidth.minWidth=(u=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&u!==void 0?u:84;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:_n.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var l;return o.limit=(l=n==null?void 0:n.limit)!==null&&l!==void 0?l:3,o}return t}(q);function HQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jS(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function qQ(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){jS(i,o,r,u,c,"next",a)}function c(a){jS(i,o,r,u,c,"throw",a)}u(void 0)})}}function UQ(e,t,n){return t=Te(t),XQ(e,NS()?Reflect.construct(t,n||[],Te(e).constructor):t.apply(e,n))}function WQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function KQ(e,t,n){return t&&MS(e.prototype,t),n&&MS(e,n),e}function ho(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bo(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?bo=Reflect.get:bo=function(r,i,u){var c=QQ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},bo(e,t,n||e)}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(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&&Bv(e,t)}function XQ(e,t){return t&&(JQ(t)==="object"||typeof t=="function")?t:HQ(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(e,t)}function QQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Te(e),e!==null););return e}function JQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NS=function(){return!!e})()}function ZQ(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var _n=function(e){GQ(t,e);function t(n){WQ(this,t);var o;return o=UQ(this,t,[n]),ho(o,"props",void 0),o.props=new FS(n==null?void 0:n.props),o}return KQ(t,[{key:"toDataBindModel",value:function(){var o=bo(Te(t.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===ei.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return bo(Te(t.prototype),"validate",i)};return qQ(function(){return ZQ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(this.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}}]),t}(et);ho(_n,"controlType","operation-column"),ho(_n,"controlName","\u64CD\u4F5C"),ho(_n,"controlIcon","operation-column"),ho(_n,"setting",[{key:"caption",showItems:[f.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 YQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tJ(e,t,n){return t=Nl(t),oJ(e,VS()?Reflect.construct(t,n||[],Nl(e).constructor):t.apply(e,n))}function eJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Av(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nl(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&&kv(e,t)}function oJ(e,t){return t&&(rJ(t)==="object"||typeof t=="function")?t:YQ(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kv(e,t)}function rJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VS=function(){return!!e})()}var zS=function(e){nJ(t,e);function t(n){eJ(this,t);var o;return o=tJ(this,t,[n]),Av(o,"props",void 0),o.props=new FS(n==null?void 0:n.props),o}return t}(nt);Av(zS,"controlType","operation-column"),Av(zS,"controlFieldType",g.FILE);function iJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CS(e,t,n,o,r,i,u){try{var c=e[i](u),a=c.value}catch(l){n(l);return}c.done?t(a):Promise.resolve(a).then(o,r)}function uJ(e){return function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function u(a){CS(i,o,r,u,c,"next",a)}function c(a){CS(i,o,r,u,c,"throw",a)}u(void 0)})}}function cJ(e,t,n){return t=Re(t),pJ(e,qS()?Reflect.construct(t,n||[],Re(e).constructor):t.apply(e,n))}function lJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HS(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function aJ(e,t,n){return t&&HS(e.prototype,t),n&&HS(e,n),e}function Vl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function go(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?go=Reflect.get:go=function(r,i,u){var c=dJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},go(e,t,n||e)}function Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(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&&Dv(e,t)}function _J(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Vl(e,r,n[r])})}return e}function yJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function sJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yJ(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function pJ(e,t){return t&&(vJ(t)==="object"||typeof t=="function")?t:iJ(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(e,t)}function dJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Re(e),e!==null););return e}function vJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qS=function(){return!!e})()}function hJ(e,t){var n,o,r,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(l){return function(_){return a([l,_])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(r=l[0]&2?o.return:l[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;switch(o=0,r&&(l=[l[0]&2,r.value]),l[0]){case 0:case 1:r=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1],r=l;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(l);break}r[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(_){l=[6,_],o=0}finally{n=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var bJ=function(e){fJ(t,e);function t(n){lJ(this,t);var o,r;return o=cJ(this,t,[n]),Vl(o,"props",void 0),Vl(o,"children",void 0),o.props=new gQ(o,n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new fn,new _n]),(n==null||(r=n.props)===null||r===void 0?void 0:r.footers)===void 0&&(o.props.footers=[]),o}return aJ(t,[{key:"toSchema",value:function(){var o=go(Re(t.prototype),"toSchema",this).call(this),r=this.children.map(function(i){return i.toSchema()});return sJ(_J({},o),{children:r})}},{key:"validate",value:function(o,r){var i=this,u=this,c=function(){return go(Re(t.prototype),"validate",i)};return uJ(function(){return hJ(this,function(a){switch(a.label){case 0:return[4,c().call(u,o,r)];case 1:return a.sent(),[4,Promise.all(this.children.map(function(l){return l.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})}).call(this)}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),t}(xf);Vl(bJ,"setting",[{key:"list-fixed-header",visible:!0}]);function gJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function US(e,t,n){return t=zl(t),mJ(e,GS()?Reflect.construct(t,n||[],zl(e).constructor):t.apply(e,n))}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(e)}function KS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function mJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:gJ(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(e,t)}function OJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GS=function(){return!!e})()}var wJ=function(e){KS(t,e);function t(n){WS(this,t);var o;return o=US(this,t,[n]),_e.call(o,n),o}return t}(mb),Lv=function(e){KS(t,e);function t(n){WS(this,t);var o;o=US(this,t,[n]),be(o,"optionConfig",void 0),be(o,"datasourceBind",void 0),be(o,"showLinkOperation",void 0),be(o,"linkOperationOption",void 0),be(o,"options",void 0),be(o,"lineEllipsis",void 0),be(o,"displayPlaintext",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:sn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.options=Qt((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{}]);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var l;return o.displayPlaintext=(l=n==null?void 0:n.displayPlaintext)!==null&&l!==void 0?l:!1,o}return t}(q);be(Lv,"Rules",wJ);function $J(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PJ(e,t,n){return t=Cl(t),TJ(e,XS()?Reflect.construct(t,n||[],Cl(e).constructor):t.apply(e,n))}function EJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cl(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&&Fv(e,t)}function TJ(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:$J(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fv(e,t)}function RJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XS=function(){return!!e})()}var sn=function(e){SJ(t,e);function t(n){EJ(this,t);var o;return o=PJ(this,t,[n]),yn(o,"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return t}(et);yn(sn,"controlType","varchar-column"),yn(sn,"controlName","\u77ED\u6587\u672C"),yn(sn,"controlIcon","varchar-column"),yn(sn,"controlFieldType",g.VARCHAR),yn(sn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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},{key:"column-display-plaintext",visible:!0}]);function IJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BJ(e,t,n){return t=Hl(t),DJ(e,QS()?Reflect.construct(t,n||[],Hl(e).constructor):t.apply(e,n))}function AJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(e)}function kJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function DJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:IJ(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(e,t)}function xJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QS=function(){return!!e})()}var JS=function(e){kJ(t,e);function t(n){AJ(this,t);var o;return o=BJ(this,t,[n]),jv(o,"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return t}(nt);jv(JS,"controlType","varchar-column"),jv(JS,"controlFieldType",g.VARCHAR);function LJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZS(e,t,n){return t=ql(t),FJ(e,eT()?Reflect.construct(t,n||[],ql(e).constructor):t.apply(e,n))}function YS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(e)}function tT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FJ(e,t){return t&&(jJ(t)==="object"||typeof t=="function")?t:LJ(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nv(e,t)}function jJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eT=function(){return!!e})()}var MJ=function(e){tT(t,e);function t(n){YS(this,t);var o;return o=ZS(this,t,[n]),_e.call(o,n),o}return t}(zt),Vv=function(e){tT(t,e);function t(n){YS(this,t);var o;o=ZS(this,t,[n]),mo(o,"escapeHTML",void 0),mo(o,"showLinkOperation",void 0),mo(o,"linkOperationOption",void 0),mo(o,"lineEllipsis",void 0);var r;o.escapeHTML=(r=n==null?void 0:n.escapeHTML)!==null&&r!==void 0?r:!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:vn.controlName;var u;o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(q);mo(Vv,"Rules",MJ);function NJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VJ(e,t,n){return t=dn(t),qJ(e,oT()?Reflect.construct(t,n||[],dn(e).constructor):t.apply(e,n))}function zJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CJ(e,t,n){return t&&nT(e.prototype,t),n&&nT(e,n),e}function pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ul=Reflect.get:Ul=function(r,i,u){var c=UJ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ul(e,t,n||e)}function dn(e){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dn(e)}function HJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function qJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:NJ(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zv(e,t)}function UJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dn(e),e!==null););return e}function WJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oT=function(){return!!e})()}var vn=function(e){HJ(t,e);function t(n){zJ(this,t);var o;return o=VJ(this,t,[n]),pn(o,"props",void 0),o.props=new Vv(n==null?void 0:n.props),o}return CJ(t,[{key:"toDataBindModel",value:function(o){var r=Ul(dn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),t}(et);pn(vn,"controlType","text-column"),pn(vn,"controlName","\u957F\u6587\u672C"),pn(vn,"controlIcon","text-column"),pn(vn,"controlFieldType",g.TEXT),pn(vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 KJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GJ(e,t,n){return t=Wl(t),JJ(e,rT()?Reflect.construct(t,n||[],Wl(e).constructor):t.apply(e,n))}function XJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(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&&Hv(e,t)}function JJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:KJ(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(e,t)}function ZJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rT=function(){return!!e})()}var iT=function(e){QJ(t,e);function t(n){XJ(this,t);var o;return o=GJ(this,t,[n]),Cv(o,"props",void 0),o.props=new Vv(n==null?void 0:n.props),o}return t}(nt);Cv(iT,"controlType","text-column"),Cv(iT,"controlFieldType",g.TEXT);function YJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uT(e,t,n){return t=Kl(t),tZ(e,aT()?Reflect.construct(t,n||[],Kl(e).constructor):t.apply(e,n))}function cT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(e)}function lT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function tZ(e,t){return t&&(eZ(t)==="object"||typeof t=="function")?t:YJ(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qv(e,t)}function eZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aT=function(){return!!e})()}var nZ=function(e){lT(t,e);function t(n){cT(this,t);var o;return o=uT(this,t,[n]),_e.call(o,n),o}return t}(zt),Uv=function(e){lT(t,e);function t(n){cT(this,t);var o;o=uT(this,t,[n]),ne(o,"optionConfig",void 0),ne(o,"datasourceBind",void 0),ne(o,"showLinkOperation",void 0),ne(o,"linkOperationOption",void 0),ne(o,"options",void 0),ne(o,"precision",void 0),ne(o,"micrometer",void 0),ne(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:gn.controlName;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.percentageFormat=(c=n==null?void 0:n.percentageFormat)!==null&&c!==void 0?c:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var l;o.options=Qt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(q);ne(Uv,"Rules",nZ);function oZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rZ(e,t,n){return t=bn(t),lZ(e,_T()?Reflect.construct(t,n||[],bn(e).constructor):t.apply(e,n))}function iZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function uZ(e,t,n){return t&&fT(e.prototype,t),n&&fT(e,n),e}function hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Gl=Reflect.get:Gl=function(r,i,u){var c=aZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Gl(e,t,n||e)}function bn(e){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(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&&Wv(e,t)}function lZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:oZ(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wv(e,t)}function aZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=bn(e),e!==null););return e}function fZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_T=function(){return!!e})()}var gn=function(e){cZ(t,e);function t(n){iZ(this,t);var o;return o=rZ(this,t,[n]),hn(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return uZ(t,[{key:"toDataBindModel",value:function(o){var r=Gl(bn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,u=i.precision,c=i.micrometer;u!==""&&(r.props.precision=u),r.props.micrometer=c}return r}}]),t}(et);hn(gn,"controlType","decimal-column"),hn(gn,"controlName","\u6570\u503C"),hn(gn,"controlIcon","decimal-column"),hn(gn,"controlFieldType",g.DECIMAL),hn(gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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:[f.MICROMETER,f.PRECISION,f.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function _Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yZ(e,t,n){return t=Xl(t),dZ(e,yT()?Reflect.construct(t,n||[],Xl(e).constructor):t.apply(e,n))}function sZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(e)}function pZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function dZ(e,t){return t&&(vZ(t)==="object"||typeof t=="function")?t:_Z(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(e,t)}function vZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yT=function(){return!!e})()}var sT=function(e){pZ(t,e);function t(n){sZ(this,t);var o;return o=yZ(this,t,[n]),Kv(o,"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return t}(nt);Kv(sT,"controlType","decimal-column"),Kv(sT,"controlFieldType",g.DECIMAL);function hZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pT(e,t,n){return t=Jl(t),bZ(e,hT()?Reflect.construct(t,n||[],Jl(e).constructor):t.apply(e,n))}function dT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ql(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(e)}function vT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bZ(e,t){return t&&(gZ(t)==="object"||typeof t=="function")?t:hZ(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xv(e,t)}function gZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(hT=function(){return!!e})()}var mZ=function(e){vT(t,e);function t(n){dT(this,t);var o;return o=pT(this,t,[n]),_e.call(o,n),o}return t}(zt),Qv=function(e){vT(t,e);function t(n){dT(this,t);var o;o=pT(this,t,[n]),Ql(o,"dateType",void 0),Ql(o,"showLinkOperation",void 0),Ql(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:xe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:wn.controlName,o}return t}(q);Ql(Qv,"Rules",mZ);function OZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wZ(e,t,n){return t=On(t),SZ(e,gT()?Reflect.construct(t,n||[],On(e).constructor):t.apply(e,n))}function $Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function PZ(e,t,n){return t&&bT(e.prototype,t),n&&bT(e,n),e}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Zl=Reflect.get:Zl=function(r,i,u){var c=TZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Zl(e,t,n||e)}function On(e){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(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&&Jv(e,t)}function SZ(e,t){return t&&(RZ(t)==="object"||typeof t=="function")?t:OZ(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jv(e,t)}function TZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=On(e),e!==null););return e}function RZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(gT=function(){return!!e})()}var wn=function(e){EZ(t,e);function t(n){$Z(this,t);var o;return o=wZ(this,t,[n]),mn(o,"props",void 0),o.props=new Qv(n==null?void 0:n.props),o}return PZ(t,[{key:"toDataBindModel",value:function(o){var r=Zl(On(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(et);mn(wn,"controlType","timescope-column"),mn(wn,"controlName","\u65E5\u671F\u533A\u95F4"),mn(wn,"controlIcon","timescope-column"),mn(wn,"controlFieldType",g.TIMESCOPE),mn(wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 IZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BZ(e,t,n){return t=Yl(t),DZ(e,mT()?Reflect.construct(t,n||[],Yl(e).constructor):t.apply(e,n))}function AZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(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&&(xZ(t)==="object"||typeof t=="function")?t:IZ(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(e,t)}function xZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mT=function(){return!!e})()}var OT=function(e){kZ(t,e);function t(n){AZ(this,t);var o;return o=BZ(this,t,[n]),Zv(o,"props",void 0),o.props=new Qv(n==null?void 0:n.props),o}return t}(nt);Zv(OT,"controlType","timescope-column"),Zv(OT,"controlFieldType",g.TIMESCOPE);function LZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wT(e,t,n){return t=ea(t),FZ(e,ET()?Reflect.construct(t,n||[],ea(e).constructor):t.apply(e,n))}function $T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ta(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(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&&th(e,t)}function FZ(e,t){return t&&(jZ(t)==="object"||typeof t=="function")?t:LZ(e)}function th(e,t){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(e,t)}function jZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ET(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ET=function(){return!!e})()}var MZ=function(e){PT(t,e);function t(n){$T(this,t);var o;return o=wT(this,t,[n]),_e.call(o,n),o}return t}(zt),eh=function(e){PT(t,e);function t(n){$T(this,t);var o;o=wT(this,t,[n]),ta(o,"dateType",void 0),ta(o,"showLinkOperation",void 0),ta(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:xe.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:En.controlName,o}return t}(q);ta(eh,"Rules",MZ);function NZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VZ(e,t,n){return t=Pn(t),qZ(e,TT()?Reflect.construct(t,n||[],Pn(e).constructor):t.apply(e,n))}function zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ST(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function CZ(e,t,n){return t&&ST(e.prototype,t),n&&ST(e,n),e}function $n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?na=Reflect.get:na=function(r,i,u){var c=UZ(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},na(e,t,n||e)}function Pn(e){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(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&&nh(e,t)}function qZ(e,t){return t&&(WZ(t)==="object"||typeof t=="function")?t:NZ(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nh(e,t)}function UZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pn(e),e!==null););return e}function WZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TT=function(){return!!e})()}var En=function(e){HZ(t,e);function t(n){zZ(this,t);var o;return o=VZ(this,t,[n]),$n(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return CZ(t,[{key:"toDataBindModel",value:function(o){var r=na(Pn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),t}(et);$n(En,"controlType","timestamp-column"),$n(En,"controlName","\u65E5\u671F"),$n(En,"controlIcon","timestamp-column"),$n(En,"controlFieldType",g.TIMESTAMP),$n(En,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 KZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GZ(e,t,n){return t=oa(t),JZ(e,RT()?Reflect.construct(t,n||[],oa(e).constructor):t.apply(e,n))}function XZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(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&&rh(e,t)}function JZ(e,t){return t&&(ZZ(t)==="object"||typeof t=="function")?t:KZ(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rh(e,t)}function ZZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RT=function(){return!!e})()}var IT=function(e){QZ(t,e);function t(n){XZ(this,t);var o;return o=GZ(this,t,[n]),oh(o,"props",void 0),o.props=new eh(n==null?void 0:n.props),o}return t}(nt);oh(IT,"controlType","timestamp-column"),oh(IT,"controlFieldType",g.TIMESTAMP);function YZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BT(e,t,n){return t=ra(t),tY(e,DT()?Reflect.construct(t,n||[],ra(e).constructor):t.apply(e,n))}function AT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function kT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function tY(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:YZ(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ih(e,t)}function eY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DT=function(){return!!e})()}var nY=function(e){kT(t,e);function t(n){AT(this,t);var o;return o=BT(this,t,[n]),_e.call(o,n),o}return t}(mb),uh=function(e){kT(t,e);function t(n){AT(this,t);var o;o=BT(this,t,[n]),Sn(o,"optionConfig",void 0),Sn(o,"datasourceBind",void 0),Sn(o,"showLinkOperation",void 0),Sn(o,"linkOperationOption",void 0),Sn(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Rn.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new G(n==null?void 0:n.datasourceBind);var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var c;return o.options=Qt((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return t}(q);Sn(uh,"Rules",nY);function oY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rY(e,t,n){return t=ia(t),cY(e,xT()?Reflect.construct(t,n||[],ia(e).constructor):t.apply(e,n))}function iY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(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&&ch(e,t)}function cY(e,t){return t&&(lY(t)==="object"||typeof t=="function")?t:oY(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ch(e,t)}function lY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xT=function(){return!!e})()}var Rn=function(e){uY(t,e);function t(n){iY(this,t);var o;return o=rY(this,t,[n]),Tn(o,"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return t}(et);Tn(Rn,"controlType","array-column"),Tn(Rn,"controlName","\u6570\u7EC4"),Tn(Rn,"controlIcon","array-column"),Tn(Rn,"controlFieldType",g.ARRAY),Tn(Rn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 aY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fY(e,t,n){return t=ua(t),sY(e,LT()?Reflect.construct(t,n||[],ua(e).constructor):t.apply(e,n))}function _Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(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&&ah(e,t)}function sY(e,t){return t&&(pY(t)==="object"||typeof t=="function")?t:aY(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ah(e,t)}function pY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(LT=function(){return!!e})()}var FT=function(e){yY(t,e);function t(n){_Y(this,t);var o;return o=fY(this,t,[n]),lh(o,"props",void 0),o.props=new uh(n==null?void 0:n.props),o}return t}(nt);lh(FT,"controlType","array-column"),lh(FT,"controlFieldType",g.ARRAY);function dY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vY(e,t,n){return t=ca(t),mY(e,jT()?Reflect.construct(t,n||[],ca(e).constructor):t.apply(e,n))}function hY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(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&&fh(e,t)}function mY(e,t){return t&&(OY(t)==="object"||typeof t=="function")?t:dY(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(e,t)}function OY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jT=function(){return!!e})()}var MT=function(e){gY(t,e);function t(n){hY(this,t);var o;o=vY(this,t,[n]),bY(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:An.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return t}(q);function wY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Y(e,t,n){return t=Bn(t),TY(e,VT()?Reflect.construct(t,n||[],Bn(e).constructor):t.apply(e,n))}function PY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NT(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function EY(e,t,n){return t&&NT(e.prototype,t),n&&NT(e,n),e}function In(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function la(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?la=Reflect.get:la=function(r,i,u){var c=RY(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},la(e,t,n||e)}function Bn(e){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(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&&_h(e,t)}function TY(e,t){return t&&(IY(t)==="object"||typeof t=="function")?t:wY(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(e,t)}function RY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bn(e),e!==null););return e}function IY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(VT=function(){return!!e})()}var An=function(e){SY(t,e);function t(n){PY(this,t);var o;return o=$Y(this,t,[n]),In(o,"props",void 0),o.props=new MT(n==null?void 0:n.props),o}return EY(t,[{key:"toDataBindModel",value:function(o){var r=la(Bn(t.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),t}(et);In(An,"controlType","department-column"),In(An,"controlName","\u90E8\u95E8"),In(An,"controlIcon","department-column"),In(An,"controlFieldType",g.DEPARTMENTS),In(An,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 BY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AY(e,t,n){return t=aa(t),xY(e,zT()?Reflect.construct(t,n||[],aa(e).constructor):t.apply(e,n))}function kY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(e)}function DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function xY(e,t){return t&&(LY(t)==="object"||typeof t=="function")?t:BY(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sh(e,t)}function LY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zT=function(){return!!e})()}var CT=function(e){DY(t,e);function t(n){kY(this,t);var o;return o=AY(this,t,[n]),yh(o,"props",void 0),o.props=new MT(n==null?void 0:n.props),o}return t}(nt);yh(CT,"controlType","department-column"),yh(CT,"controlFieldType",g.DEPARTMENTS);function FY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HT(e,t,n){return t=fa(t),jY(e,WT()?Reflect.construct(t,n||[],fa(e).constructor):t.apply(e,n))}function qT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ph(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(e)}function UT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function jY(e,t){return t&&(MY(t)==="object"||typeof t=="function")?t:FY(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dh(e,t)}function MY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(WT=function(){return!!e})()}var NY=function(e){UT(t,e);function t(n){qT(this,t);var o;return o=HT(this,t,[n]),_e.call(o,n),o}return t}(zt),vh=function(e){UT(t,e);function t(n){qT(this,t);var o;o=HT(this,t,[n]),ph(o,"showLinkOperation",void 0),ph(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Dn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(q);ph(vh,"Rules",NY);function VY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zY(e,t,n){return t=_a(t),qY(e,KT()?Reflect.construct(t,n||[],_a(e).constructor):t.apply(e,n))}function CY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(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&&hh(e,t)}function qY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:VY(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hh(e,t)}function UY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(KT=function(){return!!e})()}var Dn=function(e){HY(t,e);function t(n){CY(this,t);var o;return o=zY(this,t,[n]),kn(o,"props",void 0),o.props=new vh(n==null?void 0:n.props),o}return t}(et);kn(Dn,"controlType","auto-number-column"),kn(Dn,"controlName","\u81EA\u52A8\u7F16\u53F7"),kn(Dn,"controlIcon","auto-number-column"),kn(Dn,"controlFieldType",g.AUTO_NUMBER),kn(Dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 WY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KY(e,t,n){return t=ya(t),QY(e,GT()?Reflect.construct(t,n||[],ya(e).constructor):t.apply(e,n))}function GY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ya(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&&gh(e,t)}function QY(e,t){return t&&(JY(t)==="object"||typeof t=="function")?t:WY(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(e,t)}function JY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(GT=function(){return!!e})()}var XT=function(e){XY(t,e);function t(n){GY(this,t);var o;return o=KY(this,t,[n]),bh(o,"props",void 0),o.props=new vh(n==null?void 0:n.props),o}return t}(nt);bh(XT,"controlType","auto-number-column"),bh(XT,"controlFieldType",g.AUTO_NUMBER);function ZY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YY(e,t,n){return t=sa(t),ntt(e,QT()?Reflect.construct(t,n||[],sa(e).constructor):t.apply(e,n))}function ttt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(e)}function ett(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ntt(e,t){return t&&(ott(t)==="object"||typeof t=="function")?t:ZY(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(e,t)}function ott(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(QT=function(){return!!e})()}var JT=function(e){ett(t,e);function t(n){ttt(this,t);var o;o=YY(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ln.controlName,o}return t}(q);function rtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function itt(e,t,n){return t=pa(t),ltt(e,ZT()?Reflect.construct(t,n||[],pa(e).constructor):t.apply(e,n))}function utt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(e)}function ctt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ltt(e,t){return t&&(att(t)==="object"||typeof t=="function")?t:rtt(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oh(e,t)}function att(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ZT=function(){return!!e})()}var Ln=function(e){ctt(t,e);function t(n){utt(this,t);var o;return o=itt(this,t,[n]),xn(o,"props",void 0),o.props=new JT(n==null?void 0:n.props),o}return t}(et);xn(Ln,"controlType","file-column"),xn(Ln,"controlName","\u9644\u4EF6"),xn(Ln,"controlIcon","file-column"),xn(Ln,"controlFieldType",g.FILE),xn(Ln,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 ftt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _tt(e,t,n){return t=da(t),ptt(e,YT()?Reflect.construct(t,n||[],da(e).constructor):t.apply(e,n))}function ytt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(e)}function stt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ptt(e,t){return t&&(dtt(t)==="object"||typeof t=="function")?t:ftt(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$h(e,t)}function dtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YT=function(){return!!e})()}var tR=function(e){stt(t,e);function t(n){ytt(this,t);var o;return o=_tt(this,t,[n]),wh(o,"props",void 0),o.props=new JT(n==null?void 0:n.props),o}return t}(nt);wh(tR,"controlType","file-column"),wh(tR,"controlFieldType",g.FILE);function vtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function htt(e,t,n){return t=va(t),mtt(e,eR()?Reflect.construct(t,n||[],va(e).constructor):t.apply(e,n))}function btt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(e)}function gtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function mtt(e,t){return t&&(Ott(t)==="object"||typeof t=="function")?t:vtt(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(e,t)}function Ott(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eR=function(){return!!e})()}var nR=function(e){gtt(t,e);function t(n){btt(this,t);var o;o=htt(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:jn.controlName,o}return t}(q);function wtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $tt(e,t,n){return t=ha(t),Stt(e,oR()?Reflect.construct(t,n||[],ha(e).constructor):t.apply(e,n))}function Ptt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(e)}function Ett(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Stt(e,t){return t&&(Ttt(t)==="object"||typeof t=="function")?t:wtt(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eh(e,t)}function Ttt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(oR=function(){return!!e})()}var jn=function(e){Ett(t,e);function t(n){Ptt(this,t);var o;return o=$tt(this,t,[n]),Fn(o,"props",void 0),o.props=new nR(n==null?void 0:n.props),o}return t}(et);Fn(jn,"controlType","image-column"),Fn(jn,"controlName","\u56FE\u7247"),Fn(jn,"controlIcon","image-column"),Fn(jn,"controlFieldType",g.IMAGE),Fn(jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 Rtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Itt(e,t,n){return t=ba(t),ktt(e,rR()?Reflect.construct(t,n||[],ba(e).constructor):t.apply(e,n))}function Btt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(e)}function Att(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ktt(e,t){return t&&(Dtt(t)==="object"||typeof t=="function")?t:Rtt(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Th(e,t)}function Dtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rR=function(){return!!e})()}var iR=function(e){Att(t,e);function t(n){Btt(this,t);var o;return o=Itt(this,t,[n]),Sh(o,"props",void 0),o.props=new nR(n==null?void 0:n.props),o}return t}(nt);Sh(iR,"controlType","image-column"),Sh(iR,"controlFieldType",g.IMAGE);function xtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ltt(e,t,n){return t=ga(t),Mtt(e,uR()?Reflect.construct(t,n||[],ga(e).constructor):t.apply(e,n))}function Ftt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(e)}function jtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mtt(e,t){return t&&(Ntt(t)==="object"||typeof t=="function")?t:xtt(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(e,t)}function Ntt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uR=function(){return!!e})()}var cR=function(e){jtt(t,e);function t(n){Ftt(this,t);var o;o=Ltt(this,t,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Nn.controlName,o}return t}(q);function Vtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ztt(e,t,n){return t=ma(t),qtt(e,lR()?Reflect.construct(t,n||[],ma(e).constructor):t.apply(e,n))}function Ctt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(e)}function Htt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function qtt(e,t){return t&&(Utt(t)==="object"||typeof t=="function")?t:Vtt(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ih(e,t)}function Utt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lR=function(){return!!e})()}var Nn=function(e){Htt(t,e);function t(n){Ctt(this,t);var o;return o=ztt(this,t,[n]),Mn(o,"props",void 0),o.props=new cR(n==null?void 0:n.props),o}return t}(et);Mn(Nn,"controlType","people-column"),Mn(Nn,"controlName","\u4EBA\u5458"),Mn(Nn,"controlIcon","people-column"),Mn(Nn,"controlFieldType",g.EMPLOYEES),Mn(Nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 Wtt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ktt(e,t,n){return t=Oa(t),Qtt(e,aR()?Reflect.construct(t,n||[],Oa(e).constructor):t.apply(e,n))}function Gtt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(e)}function Xtt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qtt(e,t){return t&&(Jtt(t)==="object"||typeof t=="function")?t:Wtt(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ah(e,t)}function Jtt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(aR=function(){return!!e})()}var fR=function(e){Xtt(t,e);function t(n){Gtt(this,t);var o;return o=Ktt(this,t,[n]),Bh(o,"props",void 0),o.props=new cR(n==null?void 0:n.props),o}return t}(nt);Bh(fR,"controlType","people-column"),Bh(fR,"controlFieldType",g.EMPLOYEES);function Ztt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _R(e,t,n){return t=wa(t),Ytt(e,pR()?Reflect.construct(t,n||[],wa(e).constructor):t.apply(e,n))}function yR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(e)}function sR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function Ytt(e,t){return t&&(tet(t)==="object"||typeof t=="function")?t:Ztt(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dh(e,t)}function tet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pR=function(){return!!e})()}var eet=function(e){sR(t,e);function t(n){yR(this,t);var o;return o=_R(this,t,[n]),_e.call(o,n),o}return t}(zt),xh=function(e){sR(t,e);function t(n){yR(this,t);var o;o=_R(this,t,[n]),kh(o,"showLinkOperation",void 0),kh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:zn.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption),o}return t}(q);kh(xh,"Rules",eet);function net(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oet(e,t,n){return t=$a(t),uet(e,dR()?Reflect.construct(t,n||[],$a(e).constructor):t.apply(e,n))}function ret(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(e)}function iet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uet(e,t){return t&&(cet(t)==="object"||typeof t=="function")?t:net(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lh(e,t)}function cet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dR=function(){return!!e})()}var zn=function(e){iet(t,e);function t(n){ret(this,t);var o;return o=oet(this,t,[n]),Vn(o,"props",void 0),o.props=new xh(n==null?void 0:n.props),o}return t}(et);Vn(zn,"controlType","location-column"),Vn(zn,"controlName","\u5730\u5740"),Vn(zn,"controlIcon","location-column"),Vn(zn,"controlFieldType",g.ADDRESS),Vn(zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 aet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fet(e,t,n){return t=Pa(t),set(e,vR()?Reflect.construct(t,n||[],Pa(e).constructor):t.apply(e,n))}function _et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pa(e)}function yet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function set(e,t){return t&&(pet(t)==="object"||typeof t=="function")?t:aet(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jh(e,t)}function pet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(vR=function(){return!!e})()}var hR=function(e){yet(t,e);function t(n){_et(this,t);var o;return o=fet(this,t,[n]),Fh(o,"props",void 0),o.props=new xh(n==null?void 0:n.props),o}return t}(nt);Fh(hR,"controlType","location-column"),Fh(hR,"controlFieldType",g.ADDRESS);function det(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bR(e,t,n){return t=Sa(t),vet(e,OR()?Reflect.construct(t,n||[],Sa(e).constructor):t.apply(e,n))}function gR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ea(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sa(e)}function mR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vet(e,t){return t&&(het(t)==="object"||typeof t=="function")?t:det(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mh(e,t)}function het(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(OR=function(){return!!e})()}var bet=function(e){mR(t,e);function t(n){gR(this,t);var o;return o=bR(this,t,[n]),Ea(o,"sortFieldCode",{type:"string",message:p.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return t}(zt),Nh=function(e){mR(t,e);function t(n){gR(this,t);var o;o=bR(this,t,[n]),Ea(o,"fieldCodeList",void 0),Ea(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Ie.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var u;return o.sortFieldCode=(u=n==null?void 0:n.sortFieldCode)!==null&&u!==void 0?u:"",o}return t}(q);Ea(Nh,"Rules",bet);function get(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function met(e,t,n){return t=Cn(t),Eet(e,$R()?Reflect.construct(t,n||[],Cn(e).constructor):t.apply(e,n))}function Oet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wet(e,t,n){return t&&wR(e.prototype,t),n&&wR(e,n),e}function Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ta=Reflect.get:Ta=function(r,i,u){var c=Tet(r,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||r):a.value}},Ta(e,t,n||e)}function Cn(e){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(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&&Vh(e,t)}function Pet(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Eet(e,t){return t&&(Ret(t)==="object"||typeof t=="function")?t:get(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vh(e,t)}function Tet(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cn(e),e!==null););return e}function Ret(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($R=function(){return!!e})()}var Iet=1,Ie=function(t){$et(n,t);function n(o){Oet(this,n);var r;r=met(this,n,[o]),Ut(r,"excludes",void 0),Ut(r,"childrenMaxLength",void 0),Ut(r,"props",void 0),Ut(r,"children",void 0);var i=Pet(this,n)?this.constructor:void 0,u=i.excludes,c=i.childrenMaxLength;return r.props=new Nh(o==null?void 0:o.props),Gt(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=oe(u),r.childrenMaxLength=c,r}return wet(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(r){var i=Ta(Cn(n.prototype),"toDataBindModel",this).call(this,r);if(i){var u=this.props.fieldCodeList;i.props.fieldCodeList=u}return i}}]),n}(et);Ut(Ie,"controlType","custom-column"),Ut(Ie,"controlName","\u81EA\u5B9A\u4E49"),Ut(Ie,"controlIcon","custom-column"),Ut(Ie,"excludes",[]),Ut(Ie,"childrenMaxLength",Iet),Ut(Ie,"setting",[{key:"caption",showItems:[f.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 Bet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aet(e,t,n){return t=Ra(t),xet(e,PR()?Reflect.construct(t,n||[],Ra(e).constructor):t.apply(e,n))}function ket(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(e)}function Det(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function xet(e,t){return t&&(Let(t)==="object"||typeof t=="function")?t:Bet(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ch(e,t)}function Let(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(PR=function(){return!!e})()}var Fet=function(e){Det(t,e);function t(n){ket(this,t);var o;return o=Aet(this,t,[n]),zh(o,"props",void 0),zh(o,"children",void 0),o.props=new Nh(n==null?void 0:n.props),Gt(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return t}(nt);zh(Fet,"controlType","custom-column");function jet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Met(e,t,n){return t=Ia(t),Cet(e,ER()?Reflect.construct(t,n||[],Ia(e).constructor):t.apply(e,n))}function Net(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vet(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(e)}function zet(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cet(e,t){return t&&(Het(t)==="object"||typeof t=="function")?t:jet(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(e,t)}function Het(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ER(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ER=function(){return!!e})()}var SR=function(e){zet(t,e);function t(n){Net(this,t);var o;o=Met(this,t,[n]),Vet(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Be.controlName;var i;return o.datasourceBind=new Io((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:Be.controlCustomAttributes}),o}return t}(q);function qet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uet(e,t,n){return t=Ba(t),Xet(e,RR()?Reflect.construct(t,n||[],Ba(e).constructor):t.apply(e,n))}function Wet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TR(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ket(e,t,n){return t&&TR(e.prototype,t),n&&TR(e,n),e}function Hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(e)}function Get(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xet(e,t){return t&&(Qet(t)==="object"||typeof t=="function")?t:qet(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qh(e,t)}function Qet(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(RR=function(){return!!e})()}var Be=function(e){Get(t,e);function t(n){Wet(this,t);var o;return o=Uet(this,t,[n]),Hn(o,"props",void 0),o.props=new SR(n==null?void 0:n.props),o}return Ket(t,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),t}(et);Hn(Be,"controlType","employee-column"),Hn(Be,"controlName","\u4EBA\u5458"),Hn(Be,"controlIcon","employee-column"),Hn(Be,"controlFieldType",g.EMPLOYEES),Hn(Be,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[f.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 Jet(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zet(e,t,n){return t=Aa(t),ent(e,IR()?Reflect.construct(t,n||[],Aa(e).constructor):t.apply(e,n))}function Yet(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(e)}function tnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ent(e,t){return t&&(nnt(t)==="object"||typeof t=="function")?t:Jet(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(e,t)}function nnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(IR=function(){return!!e})()}var BR=function(e){tnt(t,e);function t(n){Yet(this,t);var o;return o=Zet(this,t,[n]),Uh(o,"props",void 0),o.props=new SR(n==null?void 0:n.props),o}return t}(nt);Uh(BR,"controlType","employee-column"),Uh(BR,"controlFieldType",g.EMPLOYEES);function ont(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rnt(e,t,n){return t=ka(t),cnt(e,AR()?Reflect.construct(t,n||[],ka(e).constructor):t.apply(e,n))}function int(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(e)}function unt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cnt(e,t){return t&&(lnt(t)==="object"||typeof t=="function")?t:ont(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(e,t)}function lnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(AR=function(){return!!e})()}var kR=function(e){unt(t,e);function t(n){int(this,t);var o;o=rnt(this,t,[n]),Kh(o,"lineEllipsis",void 0),Kh(o,"showLinkOperation",void 0),Kh(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:qn.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Xt(n==null?void 0:n.linkOperationOption);var u;return o.lineEllipsis=(u=n==null?void 0:n.lineEllipsis)!==null&&u!==void 0?u:1,o}return t}(q);function ant(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fnt(e,t,n){return t=Da(t),snt(e,DR()?Reflect.construct(t,n||[],Da(e).constructor):t.apply(e,n))}function _nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(e)}function ynt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function snt(e,t){return t&&(pnt(t)==="object"||typeof t=="function")?t:ant(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xh(e,t)}function pnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(DR=function(){return!!e})()}var qn=function(e){ynt(t,e);function t(n){_nt(this,t);var o;return o=fnt(this,t,[n]),Ae(o,"props",void 0),Ae(o,"children",void 0),o.props=new kR(n==null?void 0:n.props),o}return t}(et);Ae(qn,"controlType","approval-status-column"),Ae(qn,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Ae(qn,"controlIcon","approval-status-column"),Ae(qn,"excludes",[]),Ae(qn,"setting",[{key:"caption",showItems:[f.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 dnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vnt(e,t,n){return t=xa(t),gnt(e,xR()?Reflect.construct(t,n||[],xa(e).constructor):t.apply(e,n))}function hnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(e)}function bnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function gnt(e,t){return t&&(mnt(t)==="object"||typeof t=="function")?t:dnt(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jh(e,t)}function mnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(xR=function(){return!!e})()}var Ont=function(e){bnt(t,e);function t(n){hnt(this,t);var o;return o=vnt(this,t,[n]),Qh(o,"props",void 0),Qh(o,"children",void 0),o.props=new kR(n==null?void 0:n.props),o}return t}(nt);Qh(Ont,"controlType","approval-status-column");function wnt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LR(e,t,n){return t=La(t),$nt(e,MR()?Reflect.construct(t,n||[],La(e).constructor):t.apply(e,n))}function FR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(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&&Zh(e,t)}function $nt(e,t){return t&&(Pnt(t)==="object"||typeof t=="function")?t:wnt(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zh(e,t)}function Pnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(MR=function(){return!!e})()}var Ent=function(e){jR(t,e);function t(n){FR(this,t);var o;return o=LR(this,t,[n]),o.push({type:"object",fields:{}}),o}return t}(me),Yh=function(e){jR(t,e);function t(n){FR(this,t);var o;o=LR(this,t,[n]),Nt(o,"search",void 0),Nt(o,"cancel",void 0),Nt(o,"searchType",void 0),Nt(o,"labelPosition",void 0),Nt(o,"viewType",void 0),Nt(o,"isLoading",void 0),Nt(o,"custom",void 0),Nt(o,"queryTypeMap",void 0),Nt(o,"childMinWidth",void 0),Nt(o,"colGap",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var u;o.viewType=(u=n==null?void 0:n.viewType)!==null&&u!==void 0?u:"mini";var c;o.search=new ie((c=n==null?void 0:n.search)!==null&&c!==void 0?c:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new ie((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(m){return new ie(m)});var s;o.queryTypeMap=(s=n==null?void 0:n.queryTypeMap)!==null&&s!==void 0?s:[];var d;o.childMinWidth=(d=n==null?void 0:n.childMinWidth)!==null&&d!==void 0?d:230;var b;return o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24,o}return t}(Hf);Nt(Yh,"RuntimeRules",Ent);function Snt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tnt(e,t,n){return t=Fa(t),Bnt(e,NR()?Reflect.construct(t,n||[],Fa(e).constructor):t.apply(e,n))}function Rnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(e)}function Int(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function Bnt(e,t){return t&&(Ant(t)==="object"||typeof t=="function")?t:Snt(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e0(e,t)}function Ant(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(NR=function(){return!!e})()}var VR=function(e){Int(t,e);function t(n){Rnt(this,t);var o;return o=Tnt(this,t,[n]),t0(o,"props",void 0),o.props=new Yh(n==null?void 0:n.props),o}return t}(cx);t0(VR,"controlType","simple-search"),t0(VR,"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:[f.IS_HIDE]},{key:"search-view-type",visible:!0}]);function knt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dnt(e,t,n){return t=ja(t),Fnt(e,zR()?Reflect.construct(t,n||[],ja(e).constructor):t.apply(e,n))}function xnt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(e)}function Lnt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fnt(e,t){return t&&(jnt(t)==="object"||typeof t=="function")?t:knt(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},o0(e,t)}function jnt(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(zR=function(){return!!e})()}var Mnt=function(e){Lnt(t,e);function t(n){xnt(this,t);var o;o=Dnt(this,t,[n]),n0(o,"props",void 0),n0(o,"children",void 0),o.props=new Yh(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return t}(px);n0(Mnt,"controlType","simple-search");const Nnt=(e,t)=>{const n=Array.isArray(e),o=n?e:[e];Jnt(t==null?void 0:t.events),Unt(o),Wnt(o);const r=qnt(o),i=Knt(r,t);let u=Fe(U(i,c=>Hnt(c,t)));return n?u:u[0]},Vnt=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],znt=["subtable","grid-table"],Cnt=["simple-search"];function Hnt(e,t){var r,i,u,c,a,l;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Vnt.includes(n.type)?n.controlType="base":n.controlType="form",znt.includes(n.type)&&(n.controlType="list"),Cnt.includes(n.type)&&(n.controlType="search-view")),delete n.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),ft((r=e==null?void 0:e.props)==null?void 0:r.caption)&&(n.props.caption=e.props.caption.zh),ft((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),ft((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(ft(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ft(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const _=n.props.entry_type||n.props.entryType;n.props.openType=_==="subpage"?"modal":"default",((l=n.children[0])==null?void 0:l.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((s,d)=>{const b=new bK.Designer;b.props.caption=ft(s.field_name)?s.field_name.zh:s.field_name;const m=b.toSchema();m.id=s.header_id;const O=n.children[0].children[d].children[0];return O&&(m.children=[O]),m}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(_=>{_.label=ft(_.text)?_.text.zh:_.text,_.id=_.id||_.opt_id||_.optId||_.data_id}),n=e),e.type==="grid-row"){const _=24/n.children.length;n.children=n.children.map(s=>{const d=new rE.Designer;d.props.span=_;const b=d.toSchema();return b.children.push(s),b})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1],d={};_&&(CR(n,t),d.result=_.props.data_bind,n.id=_.id,n.props=_.props,n.props.script_src=_.props.script_src,n.props.script_echo=_.props.script_echo,n.props.precision=_.props.precision,n.props.micrometer=_.props.is_show_money,n.props.showUpperCase=_.props.is_show_chn),s&&(d.unit=s.props.data_bind,n.props.default_value={unit:s.props.value}),n.props.dataBind=d,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1],d={},b={};_&&(CR(n,t),n.id=_.id,d.amount=_.props.data_bind,n.props.range_min=Le(_.props.range_min),n.props.range_max=Le(_.props.range_max),b.amount=Le(_.props.value),n.props.required=_.props.required,n.props.is_hide=_.props.is_hide,n.props.default_state=_.props.default_state,n.props.caption=ft(_.props.caption)?_.props.caption.zh:_.props.caption,n.props.is_hide_caption=_.props.is_hide_caption,n.props.showUpperCase=_.props.is_show_chn),s&&(d.currency=s.props.data_bind,b.currency=s.props.value,n.props.datasourceBind=s.props.datasource_bind,n.props.options=s.props.options.map(m=>({label:m.text,value:m.value}))),n.props.dataBind=d,n.props.defaultValue=b,delete n.children}if(e.type==="date-range"){n.controlType="form";const _=n==null?void 0:n.children[0],s=n==null?void 0:n.children[1];n.props.placeholderStart=ft(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=ft(e.props.caption)?e.props.caption.zh:e.props.caption;const d={};_&&(d.min=_.props.data_bind),s&&(d.max=s.props.data_bind),n.props.dataBind=d,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=ft(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=Le(e.props.range_min),n.props.range_max=Le(e.props.range_max),n.props.defaultValue=Le(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),Znt(n,t==null?void 0:t.control_events),n}function CR(e,t){if(!t)return;const{displayBoList:n=[],behaviors:o=[]}=t,r=e.id,i=e.children[0].id;n.forEach(u=>{u.id===r&&(u.id=i);const c=u.show_controls.findIndex(l=>l===r),a=u.hide_controls.findIndex(l=>l===r);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),o.forEach(u=>{u.ctrl_id===r&&(u.id=i)})}function qnt(e){if(!Array.isArray(e)||!e.find(r=>r.type==="grid"))return e;const o=new VX.Designer().toSchema();return o.children=e,[o]}function Unt(e){e.forEach(t=>{t.children&&Qnt(t.children)})}function Wnt(e){e.forEach(t=>{var o,r;if(!(t&&t.children))return;const n=t.children;for(let i=0;i<n.length;i++){const u=n[i],c=(r=(o=n[i])==null?void 0:o.children)==null?void 0:r[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&n.splice(i,1,c)}})}function Knt(e,t){var b,m,O,w,h,$,T,P;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:o,children:r}=n,[i,u,c]=r;Gnt(i),c.props.is_fixed_header=(b=o==null?void 0:o.source_config)==null?void 0:b.is_fixed_header,Xnt(c,u);const a=(O=(m=o==null?void 0:o.source_config)==null?void 0:m.data_code)!=null?O:t==null?void 0:t.dataCode,l=((h=(w=o==null?void 0:o.source_config)==null?void 0:w.svc_code)!=null?h:a)?`${a}_selectMore`:void 0,_=(T=($=o==null?void 0:o.source_config)==null?void 0:$.orders)!=null?T:[],s=new gX.Designer;s.props.datasourceBind=new G({dataCode:a,svcCode:l,orders:EA(_)}),s.props.isShowSubList=o.is_show_sublist,s.props.triggerType=o.timing_type,s.props.triggerFieldCode=o.ctrl_field_code,(P=o==null?void 0:o.sublist_page)==null||P.sublists.forEach(S=>{S.title=ft(S.title)?S.title.zh:S.title}),s.props.sublistPage=o.sublist_page;const d=s.toSchema();return d.children.push(i,c),[d]}function Gnt(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var o,r;const n=ft(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(r=(o=t.dateType)==null?void 0:o.replace)==null?void 0:r.call(o,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Xnt(e,t){e.children=t.children.filter(n=>n.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(n=>{var r,i,u;let o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:ft(n.field_name)?n.field_name.zh:n.field_name}};return o.props.caption=ft(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order"?(o.type="order-column",o.props.fixed=!0):n.table_header_type==="operation"?(o.type="operation-column",o.props.check=(r=n.check)!=null?r:{},o.props.check.openType="window",o.props.delete=(i=n.delete)!=null?i:{},o.props.delete.openType="window",o.props.edit=(u=n.edit)!=null?u:{},o.props.edit.openType="window",o.props.fixed=!0):(o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column")),n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new G({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function Qnt(e){var n;let t=null;for(let o=0;o<e.length;o++){const r=e[o];if(!!r){if(r.children&&((n=r.children[0])==null?void 0:n.type)==="group-panel"){t=r.children[0];continue}t&&(t.children.push(r),e.splice(o,1),o--)}}}function Jnt(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 Znt(e,t){var o;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(r=>{!e.props.events[r].length||(t[e.id]||(t[e.id]={}),t[e.id][r]||(t[e.id][r]=[]),t[e.id][r].push(...e.props.events[r].map(i=>i.name)))}),(o=t[e.id])!=null&&o.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Ynt=(e,t)=>{const n=Array.isArray(e);let r=Fe(U(n?e:[e],i=>tot(i)));return n?r:r[0]};function tot(e,t){return e.type===y.LIST_VIEW&&e.children.find(o=>o.type===y.GRID_TABLE).props.headers.forEach(o=>{!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new At({dataCode:e.props.datasource_bind.data_code,fieldCode:o.props.field_code}))}),e}const eot=(e,t)=>{const n=Array.isArray(e);let r=Fe(U(n?e:[e],i=>not(i)));return n?r:r[0]};function not(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 oot=(e,t)=>{const n=Array.isArray(e);let r=Fe(U(n?e:[e],i=>rot(i)));return n?r:r[0]};function rot(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const iot=(e,t)=>{const n=Array.isArray(e);let r=Fe(U(n?e:[e],i=>cot(i)));return n?r:r[0]},uot=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function cot(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(n=>{if(uot.includes(n.type))return n;const o=new qW.Designer,r=new rE.Designer;o.children.push(r);const i=o.toSchema();return i.children[0].children.push(n),i})),e}const lot=(e,t)=>{const n=Array.isArray(e);let r=Fe(U(n?e:[e],i=>aot(i)));return n?r:r[0]};function aot(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===y.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const fot=(e,t)=>{const n=Array.isArray(e);let r=U(n?e:[e],i=>_ot(i));return n?r:r[0]};function _ot(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const yot=(e,t)=>{const n=Array.isArray(e);let r=U(n?e:[e],i=>sot(i));return n?r:r[0]};function ge(e,t){e.field_code&&(e.field_type=t)}function sot(e,t){var o;const n={[y.TITLE]:g.AUTO_NUMBER,[y.ADDRESS]:g.ADDRESS,[y.ATTACHMENT]:g.FILE,[y.AUTO_NUMBER]:g.AUTO_NUMBER,[y.CHECKBOX]:g.ARRAY,[y.DATE_PICKER]:g.TIMESTAMP,[y.DEPARTMENT]:g.DEPARTMENTS,[y.DEPARTMENT2]:g.DEPARTMENTS,[y.EMPLOYEE]:g.EMPLOYEES,[y.EMPLOYEE2]:g.EMPLOYEES,[y.IMAGE]:g.IMAGE,[y.INPUT]:g.VARCHAR,[y.NUMBER]:g.DECIMAL,[y.RADIO]:g.VARCHAR,[y.RICH_TEXT]:g.TEXT,[y.SCORE]:g.DECIMAL,[y.SELECT]:g.VARCHAR,[y.SELECT_MULTIPLE]:g.ARRAY,[y.SELECT_RELATION]:g.VARCHAR,[y.TEXTAREA]:g.TEXT,[y.TREE]:g.ARRAY,[y.SEARCH_DATE_RANGE]:g.ARRAY,[y.SEARCH_INPUT]:g.VARCHAR,[y.SEARCH_NUMBER_RANGE]:g.ARRAY};return n.hasOwnProperty(e.type)&&ge(e.props.data_bind,n[e.type]),e.type===y.AMOUNT&&(ge(e.props.data_bind.amount,g.DECIMAL),ge(e.props.data_bind.currency,g.VARCHAR)),e.type===y.CALC&&(ge(e.props.data_bind.result,g.DECIMAL),ge(e.props.data_bind.unit,g.VARCHAR)),e.type===y.DATE_RANGE&&(ge(e.props.data_bind.min,g.TIMESTAMP),ge(e.props.data_bind.max,g.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&ge(e.props.data_bind,(o=e.field_type)!=null?o:g.ANY),e}const pot=(e,t)=>{const n=Array.isArray(e);let r=U(n?e:[e],i=>dot(i));return n?r:r[0]};function dot(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===y.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const vot=(e,t)=>{const n=Array.isArray(e);let r=U(n?e:[e],i=>hot(i));return n?r:r[0]};function hot(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var o,r;[g.VARCHAR,g.TEXT,g.AUTO_NUMBER].includes((r=(o=n.props)==null?void 0:o.data_bind)==null?void 0:r.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const bot=(e,t)=>{const n=Array.isArray(e);let r=U(n?e:[e],i=>got(i));return n?r:r[0]};function got(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(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const mot=(e,t)=>{const n=Array.isArray(e);let r=U(n?e:[e],i=>Oot(i));return n?r:r[0]};function Oot(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(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const wot=(e,t)=>{const n=Array.isArray(e);let r=U(n?e:[e],i=>$ot(i));return n?r:r[0]};function $ot(e,t){return e.type===y.TITLE&&e.props.config.push(we.ShowTitle),e.type===y.GRID_TABLE&&e.props.headers.map(n=>{var o,r,i,u,c,a,l,_,s,d,b,m,O,w,h,$,T,P,S,F,A,ut;if(n.type===y.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(o=n==null?void 0:n.children)!=null?o:[],delete n.props.custom,((r=n.props)==null?void 0:r.check)!==void 0){const I=new iy.Designer;Object.defineProperty(I,"id",{value:"listPageCheckBtnId"}),I.props.code="view",I.props.icon="iconliulan1",I.props.command="view",I.props.content=(i=n.props)==null?void 0:i.check.content,I.props.priorityProcess=(u=n.props)==null?void 0:u.check.priority_process,I.props.openType=(c=n.props)==null?void 0:c.check.open_type,I.props.formKey=(a=n.props)==null?void 0:a.check.form_key,(l=n.props)!=null&&l.check.is_show&&n.children.push(I.toSchema()),(_=n.props)==null||delete _.check}if(((s=n.props)==null?void 0:s.edit)!==void 0){const I=new iy.Designer;Object.defineProperty(I,"id",{value:"listPageEditBtnId"}),I.props.code="edit",I.props.icon="iconbianji1",I.props.command="edit",I.props.content=(d=n.props)==null?void 0:d.edit.content,I.props.priorityProcess=(b=n.props)==null?void 0:b.edit.priority_process,I.props.openType=(m=n.props)==null?void 0:m.edit.open_type,I.props.formKey=(O=n.props)==null?void 0:O.edit.form_key,(w=n.props)!=null&&w.edit.is_show&&n.children.push(I.toSchema()),(h=n.props)==null||delete h.edit}if((($=n.props)==null?void 0:$.delete)!==void 0){const I=new iy.Designer;Object.defineProperty(I,"id",{value:"listPageDeleteBtnId"}),I.props.code="delete",I.props.icon="iconlajitong",I.props.command="delete",I.props.content=(T=n.props)==null?void 0:T.delete.content,I.props.priorityProcess=(P=n.props)==null?void 0:P.delete.priority_process,I.props.openType=(S=n.props)==null?void 0:S.delete.open_type,I.props.formKey=(F=n.props)==null?void 0:F.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=n.props)!=null&&A.delete.is_show&&n.children.push(I.toSchema()),(ut=n.props)==null||delete ut.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(n=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2,y.DEPARTMENT,y.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Pot=(e,t)=>{const n=Array.isArray(e);let r=U(n?e:[e],i=>Eot(i,t));return n?r:r[0]};function Eot(e,t){e.type===y.SUBTABLE&&e.props.headers.map(o=>{var i;o.props.meta_auto_width=new D0,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;const r=(i=o.children)==null?void 0:i[0];r&&r.type===y.CALC&&r.props.calc_on_mounted===void 0&&(r.props.calc_on_mounted=!0)});const n={[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 n&&n[e.type].forEach(o=>{e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===y.GRID_TABLE&&e.props.headers.forEach(o=>{o.type===y.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new Ya)}),e.type===y.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Sot(t),e}function Sot(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(t=>{let n,o,r;e.listeners[t].forEach((i,u)=>{switch(i.event_key||i.eventKey){case"on_click_finish":o=i,r=u;break;case"on_click":n=i;break}}),o&&(o.cases[0].handlers.unshift(r0()),n?(o.cases.forEach(i=>{n.cases[0].handlers.push(i)}),e.listeners[t].splice(r,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Tot()]}];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(n=>{n.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(r0())}}}function Tot(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[r0()]}}function r0(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}const Rot=(e,t)=>{const n=Array.isArray(e);let r=U(n?e:[e],i=>Iot(i,t));return n?r:r[0]};function Iot(e,t){if(e.type===y.LIST_VIEW){if(e.props.is_show_selection===!1){const n=[y.BATCH_SUBMISSION_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT,y.BATCH_DELETE_LIST_BUTTON];e.children.forEach(o=>{o.type===y.GRID_TABLE&&o.children.map(u=>u.type).some(u=>n.includes(u))===!0&&(e.props.is_show_selection=!0,o.props.is_show_selection=!0)})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===y.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===y.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===y.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===y.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new Bo),e}const Bot=(e,t)=>{const n=Array.isArray(e);let r=U(n?e:[e],i=>Aot(i));return n?r:r[0]};function Aot(e,t){return[y.LIST_PAGE_BTN_BATCH_PRINT_RECORD,y.EXPORT_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.CREATE_FORM_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.BATCH_DELETE_LIST_BUTTON,y.BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.LIST_PAGE_BTN_BATCH_PRINT].includes(e.type)&&(e.control_type="base"),e.type===y.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}const kot=(e,t)=>{const n=Array.isArray(e),o=n?e:[e],r={};let i=U(o,u=>{const c=Dot(u);return r[u.id]=u,c});return xot(r,t),n?i:i[0]};function Dot(e,t){if(e.type===y.ORGANIZATION_SELECTION){const n=e.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(r=>{r.value==="org_type_code"&&(r.label="\u4E1A\u52A1\u7C7B\u578B"),r.value==="org_pattern_code"&&(r.label="\u7EC4\u7EC7\u5F62\u6001")})}return e.type===y.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1),e}function xot(e,t){var n,o;if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){const r=(o=(n=t==null?void 0:t.events)==null?void 0:n.did_mount)!=null?o:[];r.length>0&&(t.events.did_init=r,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}var HR={"v1.0":Nnt,"v2.0":Ynt,"v2.1":eot,"v2.2":oot,"v2.3":iot,"v2.4":lot,"v2.5":fot,"v2.6":yot,"v2.7":pot,"v2.8":vot,"v2.9":bot,"v2.10":mot,"v3.0":wot,"v3.1":Pot,"v3.2":Rot,"v3.3":Bot,"v3.4":kot,"v3.5":()=>{}};const qR=(e,t)=>{const n=UR(e),o=UR(t),r=n.pop(),i=o.pop(),u=GR(n,o);return u!==0?u:r&&i?GR(r.split("."),i.split(".")):r||i?r?-1:1:0},Ma=(e,t,n)=>{Mot(n);const o=qR(e,t);return XR[n].includes(o)},Lot=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,UR=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Lot);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},WR=e=>e==="*"||e==="x"||e==="X",KR=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Fot=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],jot=(e,t)=>{if(WR(e)||WR(t))return 0;const[n,o]=Fot(KR(e),KR(t));return n>o?1:n<o?-1:0},GR=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=jot(e[n]||"0",t[n]||"0");if(o!==0)return o}return 0},XR={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},QR=Object.keys(XR),Mot=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(QR.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${QR.join("|")}`)};function i0(e){return e.replace(/^v/,"")}const Un=Object.keys(HR).map(e=>i0(e)).sort(qR),Oo=Un[Un.length-1];class Not{constructor(t,n=Oo){this.schemaVersion=t,this.toVersion=n,Ma(n,Oo,">")?Qn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${Oo}`):(!Un.includes(i0(n))||!Un.includes(i0(t)))&&Qn(`Version Builder: Please give me a valid version number, The valid version is: ${Un.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(Ma(this.toVersion,this.schemaVersion,"="))return t;const o=this.callDataCleanerKeys.reduce((r,i,u,c)=>{var s;const a=(s=c[u+1])!=null?s:this.toVersion;Eo(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=HR[i];let _=r;if(typeof l=="function"){const d=l(r,n);d&&(_=d)}return _},t);return Eo(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),o}get runDataCleanerKeys(){return Un.filter(t=>Ma(t,this.schemaVersion,">=")&&Ma(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Oo}static get version(){return Oo}}De.VersionBuilder=Not,Object.defineProperty(De,"__esModule",{value:!0})});